WO2024011644A1 - 设备能力交换方法、测距会话建立方法、装置及设备 - Google Patents

设备能力交换方法、测距会话建立方法、装置及设备 Download PDF

Info

Publication number
WO2024011644A1
WO2024011644A1 PCT/CN2022/106134 CN2022106134W WO2024011644A1 WO 2024011644 A1 WO2024011644 A1 WO 2024011644A1 CN 2022106134 W CN2022106134 W CN 2022106134W WO 2024011644 A1 WO2024011644 A1 WO 2024011644A1
Authority
WO
WIPO (PCT)
Prior art keywords
ranging
mode
ftm
nan
nan device
Prior art date
Application number
PCT/CN2022/106134
Other languages
English (en)
French (fr)
Inventor
黄磊
侯蓉晖
罗朝明
史凯迪
洪锋
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to PCT/CN2022/106134 priority Critical patent/WO2024011644A1/zh
Publication of WO2024011644A1 publication Critical patent/WO2024011644A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems

Definitions

  • the present application relates to the field of wireless local area networks, and in particular to a device capability exchange method, a ranging session establishment method, a device and equipment.
  • the ranging of Neighbor Awareness Networking (NAN) devices is the distance of a NAN device to other NAN devices in the same NAN cluster.
  • NAN Neighbor Awareness Networking
  • NAN has been added to support the ranging function of the Fine Timing Measurement (FTM) protocol specified in IEEE 802.11mc.
  • FTM Fine Timing Measurement
  • Embodiments of the present application provide a device capability exchange method, a ranging session establishment method, an apparatus and a device.
  • the technical solutions are as follows:
  • a method for exchanging device capabilities of a NAN device is provided.
  • the method is executed by a first NAN device, and the method includes:
  • the target ranging method includes an enhanced EDCA-based FTM ranging method and/or a Non-TB ranging method.
  • a method for exchanging device capabilities of a NAN device is provided.
  • the method is executed by a second NAN device, and the method includes:
  • the capability signaling is used to indicate whether the first NAN device supports related capabilities of the target ranging mode, and the first NAN device sends the capability signaling;
  • the target ranging method includes an enhanced EDCA-based FTM ranging method and/or a Non-TB ranging method.
  • a method for establishing a ranging session of a NAN device is provided.
  • the method is executed by a first NAN device, and the method includes:
  • setup signaling for ranging session establishment, where the setup signaling is used to indicate information related to the target ranging mode of the first NAN device
  • the target ranging method includes an enhanced EDCA-based FTM ranging method and/or a Non-TB ranging method.
  • a method for establishing a ranging session of a NAN device is provided.
  • the method is executed by a second NAN device.
  • the method includes:
  • setup signaling for ranging session establishment, where the setup signaling is used to indicate information related to a target ranging mode of the first NAN device, and the first NAN device sends the setup signaling;
  • the target ranging method includes an enhanced EDCA-based FTM ranging method and/or a Non-TB ranging method.
  • a device capability exchange device for NAN equipment includes:
  • a sending module configured to send capability signaling for device capability exchange, where the capability signaling is used to indicate whether the first NAN device supports related capabilities of the target ranging mode;
  • the target ranging method includes an enhanced EDCA-based FTM ranging method and/or a Non-TB ranging method.
  • a device capability exchange device for NAN equipment includes:
  • a receiving module configured to receive capability signaling used for device capability exchange.
  • the capability signaling is used to indicate whether the first NAN device supports relevant capabilities of the target ranging mode.
  • the first NAN device sends the capability signaling. make;
  • the target ranging method includes an enhanced EDCA-based FTM ranging method and/or a Non-TB ranging method.
  • a ranging session establishment device for a NAN device includes:
  • a sending module configured to send setting signaling for ranging session establishment, where the setting signaling is used to indicate information related to the target ranging mode of the first NAN device;
  • the target ranging method includes an enhanced EDCA-based FTM ranging method and/or a Non-TB ranging method.
  • a ranging session establishment device for a NAN device includes:
  • a receiving module configured to receive setting signaling for establishing a ranging session, where the setting signaling is used to indicate information related to the target ranging mode of the first NAN device, and the first NAN device sends the setting signaling;
  • the target ranging method includes an enhanced EDCA-based FTM ranging method and/or a Non-TB ranging method.
  • a NAN device includes a processor and a memory. There is at least one program in the memory; the processor is used to execute the program on the memory. The at least one program enables the NAN device to implement the device capability exchange method of the NAN device and/or the ranging session establishment method of the NAN device.
  • a computer-readable storage medium is provided.
  • a computer program is stored in the computer-readable storage medium.
  • the computer program is used to be executed by a NAN device to implement the above-mentioned NAN device.
  • Device capability exchange method and/or ranging session establishment method for NAN devices are provided.
  • a chip is provided.
  • the chip includes programmable logic circuits and/or program instructions.
  • a NAN device installed with the chip is running, it is used to realize the device capabilities of the above-mentioned NAN device.
  • Exchange method and/or ranging session establishment method for NAN devices is provided.
  • a computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium, and the NAN device is The computer-readable storage medium reads and executes the computer instructions to implement the device capability exchange method of the NAN device and/or the ranging session establishment method of the NAN device.
  • the capability signaling used for device capability exchange it indicates whether the first NAN device supports the relevant capabilities of the target ranging method, supports the use of ranging methods different from the traditional FTM ranging method for device capability exchange, and expands the first NAN
  • the target ranging method supported by the device meets the different requirements for ranging of NAN devices in different scenarios, and the target ranging method improves the ranging accuracy.
  • Ranging parameters expand the target ranging methods supported by the first NAN device; meet different requirements for ranging of NAN devices in different scenarios, and use the target ranging method to improve ranging accuracy.
  • Figure 1 is a schematic diagram of a proximity sensing network system provided by an embodiment of the present application.
  • Figure 2 is a schematic diagram of a ranging session initiated by the service discovery process provided by an embodiment of the present application
  • Figure 3 is a schematic diagram of a ranging session initiated by a NAN service provided by an embodiment of the present application
  • Figure 4 is a schematic diagram of a single burst FTM ranging mode provided by an embodiment of the present application.
  • Figure 5 is a schematic diagram of a Non-TB ranging method with immediate feedback reporting provided by an embodiment of the present application
  • Figure 6 is a schematic diagram of a Non-TB ranging method with delayed feedback reporting provided by an embodiment of the present application
  • Figure 7 is a schematic diagram of a Non-TB ranging method with bidirectional feedback provided by an embodiment of the present application.
  • Figure 8 is a flow chart of a device capability exchange method for a NAN device provided by an embodiment of the present application.
  • Figure 9 is a schematic diagram of capability signaling provided by an embodiment of the present application.
  • Figure 10 is a schematic diagram of capability signaling provided by an embodiment of the present application.
  • Figure 11 is a schematic diagram of capability signaling provided by an embodiment of the present application.
  • Figure 12 is a schematic diagram of capability signaling provided by an embodiment of the present application.
  • Figure 13 is a schematic diagram of capability signaling provided by an embodiment of the present application.
  • Figure 14 is a flow chart of a device capability exchange method for a NAN device provided by an embodiment of the present application.
  • Figure 15 is a flow chart of a ranging session establishment method for a NAN device provided by an embodiment of the present application.
  • Figure 16 is a schematic diagram of setting signaling provided by an embodiment of the present application.
  • Figure 17 is a schematic diagram of setting signaling provided by an embodiment of the present application.
  • Figure 18 is a schematic diagram of setting signaling provided by an embodiment of the present application.
  • Figure 19 is a schematic diagram of setting signaling provided by an embodiment of the present application.
  • Figure 20 is a flow chart of a ranging session establishment method for a NAN device provided by an embodiment of the present application.
  • Figure 21 is a flow chart of a ranging session establishment method for a NAN device provided by an embodiment of the present application.
  • Figure 22 is a schematic diagram of a method for starting the ranging mode of a NAN device according to an embodiment of the present application
  • Figure 23 is a flow chart of a method for starting the ranging mode of a NAN device according to an embodiment of the present application.
  • Figure 24 is a schematic diagram of a method for starting the ranging mode of a NAN device according to an embodiment of the present application.
  • Figure 25 is a flow chart of a method for starting the ranging mode of a NAN device according to an embodiment of the present application.
  • Figure 26 is a structural block diagram of a NAN ranging engine provided by an embodiment of the present application.
  • Figure 27 is a block diagram of a device capability exchange device for a NAN device provided by an embodiment of the present application.
  • Figure 28 is a block diagram of a device capability exchange device for a NAN device provided by an embodiment of the present application.
  • Figure 29 is a block diagram of a ranging session establishment device for a NAN device provided by an embodiment of the present application.
  • Figure 30 is a block diagram of a ranging session establishment device for a NAN device provided by an embodiment of the present application.
  • Figure 31 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
  • NAN Neighbor Awareness Networking
  • the 6th channel can be used as the discovery channel in the NAN mechanism.
  • the duration of the Discovery Window (DW) is fixed.
  • the time interval between any two adjacent DWs of this cluster is also fixed.
  • NAN devices in a cluster can send synchronization beacon (Sync Beacon) messages in the DW to keep the NAN devices in the cluster synchronized, and can also send service discovery frames. (Service Discovery Frames, SDF) message to perform service discovery.
  • SDF Service Discovery Frames
  • NAN devices in the cluster can send Discovery Beacon (Discovery Beacon) messages to announce the existence of the cluster.
  • Each NAN device in the cluster can perform service discovery in the DW to discover other NAN devices that can transmit data with it.
  • service discovery at least two NAN devices that need to transmit data to each other can use the time and frequency resources and network connection methods agreed in the DW, and when the DW ends, they can use the agreed time and frequency resources according to the agreement.
  • the network connection method a corresponding network with a central node is formed.
  • the network established according to the agreement can be a basic network of Wi-Fi technology, including an Infrastructure Basic Service Set (Infrastructure BSS) network, or a peer-to-peer (Peerto Peer, P2P) network.
  • Infrastructure BSS Infrastructure Basic Service Set
  • P2P peer-to-peer
  • the at least two NAN devices When the at least two NAN devices agree to form an InfrastructureBSS network, if a NAN device among the at least two NAN devices is an Access Point (AP), the AP can be used as the central node, and the other NAN devices can Connect to the AP; if the at least two NAN devices are not APs, the user can designate one NAN device as the central node, and other NAN devices are connected to the NAN device.
  • the at least two NAN devices When the at least two NAN devices agree to form a P2P network, the at least two NAN devices can conduct group owner (Group Owner, GO) negotiation to determine that a certain NAN device will serve as the GO, and use the GO as the central node, and other NAN devices All devices are connected to GO.
  • group owner Group Owner
  • Figure 1 shows a schematic diagram of a proximity-aware network system provided by an exemplary embodiment of the present application; in this embodiment of the present application, the proximity-aware network system includes at least two NAN devices, and the at least two NAN devices include a first NAN device 110 and second NAN device 120.
  • the second NAN device 120 is a NAN device in the NAN network where the first NAN device 110 is located. Only two NAN terminals are shown in Figure 1, but there are multiple NAN terminals in different embodiments. Several other terminals 130 can access the NAN network.
  • NAN devices may include electronic devices, and electronic devices may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to wireless modems, as well as various forms of user equipment ( User Equipment (UE), Mobile Station (MS), Terminal Device (Terminal Device), etc.
  • UE User Equipment
  • MS Mobile Station
  • Terminal Device Terminal Device
  • NAN ranging allows a NAN device to obtain the distance of other NAN devices in the same NAN cluster.
  • the NAN ranging procedure includes the following four processes: NAN ranging capability exchange; NAN ranging session initiation, update and termination; NAN ranging report; FTM protocol and procedure.
  • Ranging functionality can be called implicitly through the service discovery process or explicitly through applications and/or services.
  • the two methods of calling the NAN ranging module are introduced as follows:
  • Figure 2 provides a schematic diagram of a ranging session initiated by a service discovery process provided by an embodiment of the present application.
  • the schematic diagram of the ranging session initiated by the service discovery process includes: a first NAN device and a second NAN device; the first NAN device includes a service or application (Service/Application) and a NAN engine (Engine); similarly, the second NAN device Devices include services or applications (Service/Application) and NAN engines (Engine).
  • Step 302 The service or application of the first NAN device publishes (Publish) the ranging requirement (Ranging Required) to the NAN engine of the first NAN device;
  • Step 304 The service or application of the second NAN device sends a subscription (Subscribe) to the NAN engine of the second NAN device;
  • Step 306 The NAN engine of the second NAN device sends a subscription (Subscribe) to the NAN engine of the first NAN device;
  • Step 308 The NAN engine of the first NAN device sends the SDF to the NAN engine of the second NAN device;
  • the Service Discovery Frame (Service Discovery Frame, SDF) is of publish (Publish) type.
  • the SDF is also called the NAN Service Discovery Frame (Neighbor Awareness Networking Service Discovery Frame, NAN SDF).
  • SDF includes: Service Descriptor Attribute (SDA), ranging information (Ranging Info), and NAN Availability Attribute (NAN Availability Attribute).
  • SDA Service Descriptor Attribute
  • ranging information Ranging Info
  • NAN Availability Attribute NAN Availability Attribute
  • Step 310 The NAN engine of the second NAN device sends a NAN Ranging Request Frame to the NAN engine of the first NAN device;
  • the NAN engine of the second NAN device When the NAN engine of the second NAN device receives the NAN Service Discovery Frame (Neighbor Awareness Networking Service Discovery Frame, NAN SDF), it sets the ranging requirement ( Ranging Required) bit is set to True, the NAN engine of the second NAN device constructs and transmits a NAN Ranging Request frame to the peer NAN device transmitting this unsolicited Release NAN Service Discovery frame (Publish type) to initiate testing of the intended service. from the session establishment process. For example, the NAN engine of the second NAN device sends a NAN ranging request frame to the NAN engine of the first NAN device.
  • NAN Service Discovery Frame Neighbor Awareness Networking Service Discovery Frame, NAN SDF
  • the NAN engine of the second NAN device constructs and transmits a NAN Ranging Request frame to the peer NAN device transmitting this unsolicited Release NAN Service Discovery frame (Publish type) to initiate testing of the intended service. from the session establishment process.
  • the NAN engine of the second NAN device sends
  • the NAN ranging request frame includes: ranging information (Ranging Info), ranging setting attribute (Ranging Setup Attribute, RSUA), and NAN availability attribute (NAN Availability Attribute).
  • Step 312 The NAN engine of the first NAN device sends a NAN Ranging Response Frame (NAN Ranging Response Frame) to the NAN engine of the second NAN device;
  • NAN Ranging Response Frame NAN Ranging Response Frame
  • the NAN ranging response frame includes: ranging information (Ranging Info), ranging setting attribute (Ranging Setup Attribute, RSUA), and NAN availability attribute (NAN Availability Attribute).
  • Step 314 Execute one or more FTM ranging methods between the NAN engine of the first NAN device and the NAN engine of the second NAN device;
  • Step 316 The NAN engine of the second NAN device sends a NAN Ranging Report Frame to the NAN engine of the first NAN device;
  • the NAN ranging report frame includes an FTM ranging mode ranging report (FTM Ranging Report).
  • FTM Ranging Report FTM Ranging Report
  • Step 318 The NAN engine of the second NAN device sends the discovery result (Discovery Result) to the service or application of the second NAN device;
  • Step 320 The NAN engine of the first NAN device sends a receive (Receive) to the service or application of the first NAN device.
  • Figure 3 provides a schematic diagram of a ranging session initiated by a NAN service according to an embodiment of the present application.
  • the schematic diagram of the ranging session initiated by the service discovery process includes: a first NAN device and a second NAN device; the first NAN device includes a service or application (Service/Application) and a NAN engine (Engine); similarly, the second NAN device Devices include services or applications (Service/Application) and NAN engines (Engine).
  • Step 352 The NAN engine of the second NAN device sends the SDF to the NAN engine of the first NAN device;
  • the Service Discovery Frame is of publish or subscribe (Publish or Subscribe) type.
  • SDF includes: Ranging Information (Ranging Info), NAN Availability Attribute (NAN Availability Attribute).
  • Step 354 The NAN engine of the first NAN device sends the SDF to the NAN engine of the second NAN device;
  • the Service Discovery Frame is of publish or subscribe (Publish or Subscribe) type.
  • SDF includes: Ranging Information (Ranging Info), NAN Availability Attribute (NAN Availability Attribute).
  • Step 356 The service or application of the first NAN device sends a ranging request (Range_Request) to the NAN engine of the first NAN device;
  • Step 358 The service or application of the second NAN device sends a ranging request (Range_Request) to the NAN engine of the second NAN device;
  • Step 360 The NAN engine of the first NAN device sends a NAN Ranging Request Frame to the NAN engine of the second NAN device;
  • the NAN engine of the first NAN device constructs and transmits a ranging request frame to start the ranging session initiation procedure.
  • the NAN ranging request frame includes: ranging information (Ranging Info), NAN availability attribute (NAN Availability Attribute), and ranging setting attribute (Ranging Setup Attribute, RSUA).
  • Step 362 The NAN engine of the second NAN device sends a ranging request indication (Range_Request_Indication) to the service or application of the second NAN device;
  • the NAN engine of the second NAN device checks whether the value of the automatic response (Auto Response) is True. If the automatic response is set to False, a ranging request indication (Range_Request_Indication) event is generated and sent to the application layer. That is, a ranging request indication (Range_Request_Indication) is sent to the service or application that sends the second NAN device.
  • Automatic Response the value of the automatic response
  • a ranging request indication (Range_Request_Indication) event is generated and sent to the application layer. That is, a ranging request indication (Range_Request_Indication) is sent to the service or application that sends the second NAN device.
  • Step 364 The service or application of the second NAN device sends a ranging response (Range_Response) to the NAN engine of the second NAN device;
  • the application layer may reject or agree to the event transaction by initiating a ranging request indication primitive. Indicate the ranging request as the ranging response.
  • Step 366 The NAN engine of the second NAN device sends a NAN Ranging Response Frame (NAN Ranging Response Frame) to the NAN engine of the first NAN device;
  • NAN Ranging Response Frame NAN Ranging Response Frame
  • the NAN engine constructs and transmits the NAN ranging response frame to the peer entity.
  • the NAN ranging response frame includes: ranging information (Ranging Info), NAN availability attribute (NAN Availability Attribute), and ranging setting attribute (Ranging Setup Attribute, RSUA).
  • Step 368 Execute one or more FTM ranging methods between the NAN engine of the first NAN device and the NAN engine of the second NAN device;
  • Step 370 The NAN engine of the first NAN device sends a NAN Ranging Report Frame (NAN Ranging Report Frame) to the NAN engine of the second NAN device;
  • the NAN ranging report frame includes an FTM ranging mode ranging report (FTM Ranging Report).
  • FTM Ranging Report FTM Ranging Report
  • Step 372 The NAN engine of the second NAN device sends the ranging result (Range_Result) to the service or application of the second NAN device;
  • Step 374 The NAN engine of the first NAN device sends the ranging result (Range_Result) to the service or application of the first NAN device.
  • NAN beacon frames include NAN discovery beacon frames and NAN synchronization beacon frames.
  • the following attributes can be carried in the NAN beacon frame:
  • Ranging Information Attribute is used to indicate whether the coordinates of the LCI location of the NAN device are available, whether the geographic LCI is available, whether the citizen location information is available, and the last movement situation, etc.
  • the NAN service discovery frame can carry the following attributes:
  • ⁇ Service Descriptor Extension Attribute used to indicate the update instructions of the service, the ranging restrictions of the service, and the control information of the service (whether further service discovery is needed, whether a data path is needed, QoS requirements, whether it is needed ranging information).
  • ⁇ Ranging attribute signaling (Ranging Attribute) is used to carry the MAC address of the device, the specified ranging mode (FTM ranging mode), channel and bandwidth availability information, etc.
  • the NAN device that starts the initiation phase of the NAN ranging session is called the ranging initiator.
  • the responding device is the ranging responder.
  • the ranging initiator and the ranging responder serve as the FTM initiator (initiator STA) and the FTM responder (responder STA) respectively in the corresponding FTM session.
  • the ranging initiator initiates a ranging session by sending a Transmit Ranging Request frame to the ranging responder.
  • the ranging request frame should contain:
  • ⁇ Ranging Setup Attribute which establishes, updates and terminates a ranging session for a NAN device.
  • FTM ranging related parameters should be carried.
  • new ranging scheduling parameters should be indicated.
  • terminating the ranging session a termination indication should be indicated and the reason for ranging termination should be carried.
  • NAN Availability Attribute is used to carry potential, conditional and committed FAWs that can be used for ranging operations.
  • the ranging schedule consists of one or more ranging common resource blocks (CRB).
  • CRBs are basically the overlapping parts of the committed FAW of two NAN ranging devices. They are composed of the Ranging Setup Attribute Time bitmap selection in . Both NAN ranging devices should ensure that the ranging schedule contains sufficient ranging CRBs to support the required FTM parameters.
  • the ranging initiator may update an existing ranging session by transmitting a ranging request frame to the ranging responder.
  • the ranging responder MAY transmit a schedule update notification NAF containing a potential, conditional, or committed FAW to request an update to the ranging session.
  • the ranging session update process is the same as the ranging startup process.
  • a NAN ranging device may terminate the ranging session by transmitting a ranging termination frame to the peer device.
  • a NAN ranging device may decide to terminate a ranging session at any time and for any reason by transmitting a ranging termination frame to the peer ranging device. Either the ranging initiator or the ranging responder can terminate the ranging session. If a ranging session is terminated, the resource blocks committed in the corresponding ranging session will be released.
  • the ranging initiator shall transmit a message containing the FTM measurement to the ranging responder after the completion of each ranging session.
  • the ranging report frame of the Range Report Attribute When the Ranging Report Required bit in the ranging setting attribute in the ranging response frame is set to 1, the ranging initiator shall transmit a message containing the FTM measurement to the ranging responder after the completion of each ranging session.
  • the ranging report frame of the Range Report Attribute When the Ranging Report Required bit in the ranging setting attribute in the ranging response frame is set to 1, the ranging initiator shall transmit a message containing the FTM measurement to the ranging responder after the completion of each ranging session.
  • the ranging report frame of the Range Report Attribute When the Ranging Report Required bit in the ranging setting attribute in the ranging response frame is set to 1, the ranging initiator shall transmit a message containing the FTM measurement to the ranging responder after the completion of each ranging session.
  • both parties should execute the FTM ranging procedure in each CRB of the established ranging schedule.
  • the ranging initiator should send an Initial FTM Request Frame (IFTMR) to the ranging responder to initiate a single burst of As Soon As Possible (ASAP) FTM session.
  • FTM parameters Min Delta FTM (Min Delta FTM) and FTM Format and Bandwidth (FTM Format and Bandwidth) contained in the initial FTM request frame should be the same as the ranging parameters of the latest ranging response frame.
  • the ranging initiator may change other parameters of the initial FTM request frame, but the changed parameters are only valid for the current burst instance.
  • Figure 4 provides a schematic diagram of the single-burst FTM ranging mode provided by an embodiment of the present application.
  • the initiating station (Initiating STA, ISTA) transmits an Initial FTM Request Frame (IFTMR) to initiate a ranging session request, and should be set as follows:
  • ITMR Initial FTM Request Frame
  • the Trigger field is set to 1 to start or continue sending FTM frames.
  • the negotiated parameters include:
  • the maximum (Max) R2I STS ⁇ 80MHz subfield indicates the maximum number of spatio-temporal streams that can be received for R2I NDP transmission when the bandwidth is less than or equal to 80MHz.
  • the maximum (Max) R2I STS>80MHz subfield indicates the maximum number of spatio-temporal streams that can be received for R2I NDP transmission when the bandwidth is greater than 80MHz.
  • the maximum (Max) I2R LTF Total subfield indicates the maximum total number of LTFs in the I2R NDP that can be transmitted, including all repetition times.
  • the responding station (Responding STA, RSTA) should transmit an IFTM frame (Initial FTM Frame, IFTM) within 10ms, which contains a ranging parameter element (Ranging Parameters Element).
  • IFTM frame Initial FTM Frame, IFTM
  • ranging parameter element Ranging Parameters Element
  • ISTA shall initiate a Non-TB ranging instance by sending a Ranging Null Data Packet Announcement (NDPA) addressed to RSTA, Short Interframe Space, After SIFS), the ranging initiator transmits an NDP frame to the ranging responder.
  • NDPA Ranging Null Data Packet Announcement
  • SIFS Short Interframe Space
  • the ranging reporting stage can be divided into immediate reporting and delayed reporting according to the reporting time.
  • Figure 5 provides a schematic diagram of the Non-TB ranging method with immediate feedback reporting provided by an embodiment of the present application.
  • FIG. 6 provides a schematic diagram of a Non-TB ranging method with delayed feedback reporting provided by an embodiment of the present application.
  • Bidirectional feedback determines whether the initiating STA needs to report measurement results to the responding STA during the negotiation phase.
  • Figure 7 provides a schematic diagram of the Non-TB ranging method with bidirectional feedback provided by an embodiment of the present application.
  • capability signaling for device capability exchange is modified and/or added to enable enhanced EDCA FTM ranging or Non-TB between the first NAN device and the second NAN device. Measure distance using distance measurement mode.
  • the first NAN device serves as a sender device of capability signaling and sends capability signaling for device capability exchange.
  • the second NAN device serves as a recipient device of capability signaling and receives capability signaling for device capability exchange.
  • Figure 8 provides a flow chart of a device capability exchange method for a NAN device provided by an embodiment of the present application.
  • the method can be executed by the first NAN device.
  • the method includes:
  • Step 510 Send capability signaling for device capability exchange
  • the capability signaling is used to indicate whether the first NAN device supports the relevant capabilities of the target ranging mode; exemplary, the capability signaling is used to indicate whether the NAN device sending the capability signaling supports the relevant capabilities of the target ranging mode. . In one example, the capability signaling may be used to directly indicate whether the first NAN supports the target ranging mode, or may be used to indirectly indicate whether the first NAN device supports related capabilities of the target ranging capability. This application does not make any restrictive provisions on this.
  • Capability signaling is used to exchange device capabilities of the first NAN device to the device receiving the capability signaling.
  • the second NAN device receives the above capability signaling, and the capability signaling is used to exchange the device capabilities of the first NAN device to the second NAN device.
  • the second NAN device may also send capability signaling for device capability exchange to the first NAN device.
  • the sending of capability signaling by the first NAN device in this embodiment is only an exemplary description in the case where the first NAN device serves as the sender device of the capability signaling.
  • Those skilled in the art can understand that other embodiments in this application can also be executed by other NAN devices, such as the first NAN device or the second NAN device.
  • the target ranging method is a ranging method different from the Fine Timing Measurement (FTM) ranging method.
  • FTM Fine Timing Measurement
  • the target ranging method is different from the traditional FTM ranging method, and no restrictive provisions are made on the target ranging method.
  • the ranging accuracy of the target ranging method is better than the traditional FTM ranging method; for example, the target ranging method is an enhanced ranging method based on the traditional FTM ranging method, or is different from the time-based ranging method. Other distance measurement methods with different measurement methods.
  • the target ranging method includes but is not limited to the FTM ranging method and/or the Non-TB ranging method of Enhanced Distributed Channel Access (EDCA); for example, in this application
  • EDCA Enhanced Distributed Channel Access
  • the enhanced distributed channel access FTM ranging method is also called the enhanced EDCA-based FTM ranging method.
  • the traditional FTM ranging mode in this application is the ranging mode that appears before the target ranging mode.
  • the traditional FTM ranging mode is the NAN device and/or the relevant protocol of the NAN device that appears before the target ranging mode.
  • the provided FTM ranging method, the traditional FTM ranging method and the enhanced EDCA-based FTM ranging method are different ranging methods.
  • the target ranging method is an exemplary introduction, and the target ranging method may include other ranging methods.
  • the method provided by this embodiment indicates whether the first NAN device supports the relevant capabilities of the target ranging method through the capability signaling used for device capability exchange, and supports the use of measurement methods that are different from the traditional FTM ranging method.
  • Device capabilities are exchanged in distance mode, which expands the target ranging methods supported by the first NAN device; it meets the different requirements for ranging of NAN devices in different scenarios, and uses the target ranging mode to improve ranging accuracy.
  • capability signaling includes at least one of the following three implementation methods:
  • Implementation method 1 Capability signaling is used to indicate whether the first NAN device supports the target ranging mode.
  • Implementation method 2 Capability signaling is used to indicate which target ranging method is used by the service of the first NAN device (if the target ranging method is supported).
  • Implementation method three Capability signaling is also used to indicate whether the first NAN device has HE PHY mode.
  • Implementation method 1 Capability signaling is used to indicate whether the first NAN device supports the target ranging mode.
  • the capability information is used to indicate the first NAN device's support for the target ranging mode.
  • Target ranging methods include enhanced EDCA-based FTM ranging methods and/or Non-TB ranging methods.
  • capability signaling is carried in a NAN beacon frame or a NAN service discovery frame (Neighbor Awareness Networking Service Discovery Frame, NAN SDF).
  • the capability signaling includes a ranging method description field (Ranging Protocol Indication), and the ranging method description field is used to indicate whether the first NAN device supports the target ranging method.
  • the capability signaling is ranging information attribute signaling (Ranging Information Attribute). By adding a ranging mode description field in the ranging information attribute signaling, it is indicated whether the first NAN device supports the target ranging mode.
  • Figure 9 provides a schematic diagram of capability signaling provided by an embodiment of the present application, taking the capability signaling as ranging information attribute signaling as an example.
  • the capability signaling includes the following fields: attribute identification (Attribute ID), length (Length ), Location Information Availability, Last Movement Indication and Ranging Protocol Indication.
  • Figure 9 also shows the number of bytes (Octets) of the fields included in the capability signaling, for example: the number of bytes of the attribute identifier is 1, the number of bytes of the length is 2, and the number of bytes of the position The number of bytes is 1 for information availability, 2 bytes for recent movement indication, and 1 byte for ranging method description.
  • the ranging mode description field in capability signaling is further introduced.
  • the ranging mode description field includes first indication information and second indication information.
  • the above ranging mode description field includes first indication information and second indication information.
  • the first indication information refers to "FTM indication information of enhanced EDCA”
  • the second indication information refers to "Non-TB indication information”.
  • the first indication information is used to indicate whether the first NAN device supports the enhanced EDCA-based FTM ranging mode; and/or the second indication information is used to indicate whether the first NAN device supports the Non-TB ranging mode.
  • the first NAN device when the first indication information is a first value, the first NAN device is instructed to support the enhanced EDCA-based FTM ranging mode. For example, the value of the first indication information is 1.
  • the first indication information is the second value, it indicates that the first NAN device does not support the enhanced EDCA-based FTM ranging mode.
  • the second indication information when the second indication information has a third value, it indicates that the first NAN device supports the Non-TB ranging mode. For example, the value of the second indication information is 1. When the second indication information is the fourth value, it indicates that the first NAN device does not support the Non-TB ranging mode.
  • the first indication information and the second indication information may respectively indicate the enhanced EDCA-based FTM ranging mode and/or the Non-TB ranging mode, or may jointly indicate the enhanced EDCA-based FTM ranging mode and/or Or Non-TB ranging mode.
  • the first information and the second information may belong to the same field or may belong to different fields; the indication manner of the first indication information and the second indication information may be explicit or implicit.
  • This application does not make any restrictive provisions on the indication methods and fields to which the first indication information and the second indication information belong. Similarly, there are no restrictions on the indication methods and fields of other information in this application, such as the third indication information.
  • Figure 10 provides a schematic diagram of capability signaling provided by an embodiment of the present application. Taking the capability signaling as ranging information attribute signaling as an example, the ranging mode description field in the capability signaling is further explained.
  • Capability signaling includes a ranging mode description field, which includes: enhanced EDCA FTM indication information and Non-TB indication information.
  • the first indication information is enhanced EDCA FTM indication information, used to indicate whether the first NAN device supports the enhanced EDCA-based FTM ranging mode; the second indication information is Non-TB indication information, used to indicate the first Whether the NAN device supports Non-TB ranging mode.
  • the FTM indication information and Non-TB indication information of enhanced EDCA are both bits (Bits) information.
  • Figure 10 also shows the number of bits (Bits) of the information included in the ranging mode description field: Enhanced EDCA
  • the number of bits of the FTM indication information and the Non-TB indication information are both 1.
  • the ranging mode description field also includes 6 reserved information (Reserved) whose number is 1. In one example, the value of the reserved information is 0.
  • the enhanced EDCA-based FTM indication information and Non-TB indication information in the ranging mode description field are used to indicate that the NAN device supporting the HE PHY mode responds to the enhanced EDCA-based FTM ranging mode and/or Non-TB indication information. Support status of TB ranging mode.
  • the capability signaling when the ranging mode description field includes the FTM indication information and the Non-TB indication information of the enhanced EDCA, the capability signaling also includes the ranging attribute signaling (Ranging Attribute).
  • the signaling is used to indicate whether the first NAN device supports the traditional FTM ranging method; specifically, the ranging attribute signaling includes a ranging protocol (Ranging Protocol) field. Specifically, when the value of the ranging protocol field is 0, it indicates that the first NAN device supports the traditional FTM ranging method.
  • ranging attribute signaling is used to indicate whether a NAN device supporting HT or VHT mode supports traditional FTM ranging methods.
  • the ranging mode description field also includes third indication information.
  • the above ranging mode description field includes first indication information and second indication information, and the ranging mode description field also includes third indication information.
  • the first indication information is used to indicate whether the first NAN device supports the enhanced EDCA-based FTM ranging mode;
  • the second indication information is used to indicate whether the first NAN device supports the Non-TB ranging mode;
  • the third indication information is used to indicate Whether the first NAN device supports traditional FTM ranging method.
  • the third indication information when the third indication information has a fifth value, it indicates that the first NAN device supports the traditional FTM ranging method. For example, the value of the fifth indication information is 0. When the third indication information is the sixth value, it indicates that the first NAN device does not support the traditional FTM ranging method.
  • Figure 11 provides a schematic diagram of capability signaling provided by an embodiment of the present application. Taking the capability signaling as ranging information attribute signaling as an example, the ranging mode description field in the capability signaling is further explained.
  • Capability signaling includes a ranging mode description field, which includes: FTM indication information, enhanced EDCA FTM indication information, and Non-TB indication information.
  • the first indication information is FTM indication information of enhanced EDCA
  • the second indication information is Non-TB indication information
  • the third indication information is FTM indication information.
  • FTM indication information, enhanced EDCA FTM indication information and Non-TB indication information are all bits (Bits) information.
  • Figure 11 also shows the number of bits of information included in the ranging mode description field: FTM indication The number of bits of information, the FTM indication information of enhanced EDCA and the Non-TB indication information are all 1.
  • the ranging mode description field also includes 5 reserved information (Reserved) whose number is 1. In one example, Reserved The value of information is 0.
  • the enhanced EDCA FTM indication information and Non-TB indication information in the ranging method description field are used to indicate that the NAN device supporting the HE PHY mode is sensitive to the enhanced EDCA-based FTM ranging method and Non-TB measurement. distance mode support.
  • the FTM indication information is used to indicate whether NAN devices that support HT or VHT mode support the traditional FTM ranging method.
  • the capability signaling also includes ranging attribute signaling (Ranging Attribute).
  • the ranging attribute signaling is used to indicate whether the first NAN device supports the traditional FTM ranging method; specifically, the ranging attribute
  • the signaling includes the Ranging Protocol field. Specifically, when the value of the ranging protocol field is 0, it indicates that the first NAN device supports the traditional FTM ranging method.
  • the method provided by this embodiment indicates whether the first NAN device supports the target ranging mode through the capability signaling used for device capability exchange, and supports using a ranging mode different from the traditional FTM ranging mode.
  • Device capability exchange expands the target ranging methods supported by the first NAN device; it meets different requirements for NAN device ranging in different scenarios, and uses the target ranging method to improve ranging accuracy.
  • Implementation Mode 2 Capability signaling is used to indicate the target ranging mode used by the service of the first NAN device.
  • the capability signaling is used to indicate the target ranging mode used by the service of the first NAN device.
  • the capability information is used to indicate, among the ranging modes supported by the first NAN device, a target ranging mode specifically used by the service of the first NAN device.
  • the target ranging mode usually includes one ranging mode.
  • capability signaling is carried in a NAN Service Discovery Frame (Neighbor Awareness Networking Service Discovery Frame, NAN SDF).
  • the capability signaling includes ranging type information (Ranging with Specific Type), and the ranging type information is used to indicate the target ranging method used by the service of the first NAN device.
  • the ranging type information is carried in the control (Control) field in the capability signaling.
  • the capability signaling is Service Descriptor Extension Attribute signaling (Service Descriptor Extension Attribute).
  • the target ranging method includes FTM indication information and Non-TB indication information of enhanced EDCA; when the ranging type information is the first value, the capability signaling is used to indicate the service usage of the first NAN device.
  • the target ranging method is the enhanced EDCA-based FTM ranging method; and/or, in the case where the ranging type information is the second value, the capability signaling is used to indicate the target measurement used by the service of the first NAN device.
  • the ranging mode is Non-TB ranging mode.
  • the target ranging method also includes a traditional FTM ranging method.
  • the ranging type information is the third value
  • the capability signaling is used to indicate that the target ranging method used by the service of the first NAN device is the traditional FTM. Ranging mode.
  • Capability signaling is a service descriptor extended attribute signaling as an example.
  • Capability signaling includes the following fields: attribute identification (Attribute ID), length ( Length), Instance ID, Control, Range Limit, Service Update Indicator, Service Info Length and Service Info.
  • Figure 12 also shows the number of bytes of the fields included in the capability signaling, for example: the number of bytes of the attribute identifier is 1, the number of bytes of the length is 2, and the number of bytes of the example identifier is 2.
  • the number of sections is 1, the number of bytes for control is 2, the number of bytes for ranging limits is 0 or 4, the number of bytes for service update indicators is 0 or 1, the number of bytes for the length of service information is 0 or 2, The number of bytes of service information is variable.
  • the control field includes the following information: FSD Required, FSD with GAS, Data Path Required, Data Path Type, Reserved Information ( Reserved), QoS Required (QoS Required), Security Required (Security Required), Ranging Required, Ranging Limit Present, Service Update Indicator Present, Ranging Type information (Ranging with Specific Type).
  • the reserved information above can be implemented as a multicast type (Multicast Type).
  • the control field also includes 4 reserved information (Reserved) with a number of 1 bits; for example, Figure 12 also shows the number of bits of information included in the control field:
  • the control field above includes The number of bits of ranging type information in the information is 2, and the number of bits of other information is 1.
  • the target ranging method used to indicate the service of the first NAN device is the traditional FTM ranging method; when the value of the ranging type information is In the case of 01, the target ranging mode used to indicate the service usage of the first NAN device is the Non-TB ranging mode; in the case where the value of the ranging type information is 10, it is used to indicate the first NAN device.
  • the target ranging method used by the service is the enhanced FTM ranging method based on EDCA.
  • the method provided by this embodiment indicates the target ranging method used by the service of the first NAN device through the capability signaling used for device capability exchange, and supports the use of ranging methods that are different from the traditional FTM ranging method.
  • the method is used to exchange device capabilities, expanding the target ranging methods supported by the first NAN device; meeting different requirements for ranging of NAN devices in different scenarios, and using the target ranging method to improve ranging accuracy.
  • Implementation method three Capability signaling is also used to indicate whether the first NAN device has HE PHY mode.
  • this application is aimed at NAN devices that support HE PHY mode, such as HE STA, EHT STA and other devices that support HE PHY mode in related technologies; it adds enhanced EDCA-based FTM ranging methods in IEEE 802.11az and /or support for Non-TB ranging mode.
  • capability signaling is used to indicate the first NAN device's support for the HE PHY mode.
  • capability signaling is carried in a NAN beacon frame or a NAN service discovery frame (Neighbor Awareness Networking Service Discovery Frame, NAN SDF).
  • the capability signaling includes extended mode information (Extended PHY Mode), and the extended mode information is used to indicate the first NAN device's support for the HE PHY mode.
  • the capability signaling is Device Capability Attribute signaling; when the extended mode information in the Device Capability Attribute signaling is the first value, the capability signaling is used to indicate the first value.
  • the NAN device has the HE PHY mode; and/or, when the extended mode information is the second value, the capability signaling is used to indicate that the first NAN device does not have the HE PHY mode, and further, when the extended mode information is the second value, the capability signaling is used to indicate that the first NAN device does not have the HE PHY mode.
  • capability signaling is used to indicate that the first NAN device has HT PHY mode or VHT PHY mode.
  • the capability signaling is also used to indicate the channel bandwidth mode support status of the first NAN device.
  • the capability signaling may be used to indicate the first NAN device's support for one channel bandwidth mode, or may be used to indicate support for multiple channel bandwidth modes at the same time.
  • the capability signaling further includes at least one of first bandwidth indication information and second bandwidth indication information.
  • the capability signaling includes the first bandwidth indication information and the second bandwidth indication information, and is used to indicate support for the two channel bandwidth modes.
  • the first bandwidth indication information is an 80+80MHz bandwidth indication
  • the second bandwidth indication information is a 160MHz bandwidth indication.
  • the capability signaling is used to indicate that the first NAN device has the HE PHY mode and supports the first bandwidth
  • the capability signaling is used to indicate that the first NAN device has the HE PHY mode and does not support the first bandwidth;
  • the capability signaling is used to indicate that the first NAN device has the HE PHY mode and supports the second bandwidth;
  • the capability signaling is used to indicate that the first NAN device has the HE PHY mode and does not support the second bandwidth.
  • Figure 13 provides a schematic diagram of capability signaling provided by an embodiment of the present application, taking capability signaling as device function attribute signaling as an example.
  • Capability signaling includes the following fields: attribute identification (Attribute ID), length (Length) , mapping identification (Map ID), commitment window information (Committed DW info), supported frequency bands (Supported Bands), operation mode (Operation Mode), number of antennas (Number of Antennas), maximum channel switching time (Max Channel Switch Time) and Capabilities.
  • Figure 13 also shows the number of bytes of the fields included in the capability signaling, for example: the number of bytes of the attribute identifier is 1, the number of bytes of the length is 2, and the number of bytes of the map identifier is 2.
  • the number of nodes is 1, the number of bytes of the delegation window information is 2, the number of bytes of the supported frequency bands is 1, the number of bytes of the operating mode is 1, the number of bytes of the number of antennas is 1, the number of bytes of the maximum channel switching time is 2, the byte count of the function is 1.
  • the operation mode field in capability signaling is further introduced.
  • the operation mode field includes the following information: PHY mode (PHY Mode), 80+80MHz bandwidth indication (80+80), 160MHz bandwidth indication (160 ), retain information, extended mode (Extended PHY Mode).
  • Figure 13 also shows the number of bits of information included in the operation mode field: the above reserved information can be implemented as paging NDL support (Paging NDL Support), and the number of bits supported by paging NDL is 2.
  • the operation mode field also includes two reserved information (Reserved), both of which are 1. The number of bits of other information in the operation mode field is all 1.
  • the first bandwidth indication information is an 80+80MHz bandwidth indication, used to indicate whether the first NAN device supports the first bandwidth;
  • the second bandwidth indication information is a 160MHz bandwidth indication, used to indicate whether the first NAN device supports the second bandwidth.
  • Table 1 shows the description of the four pieces of information in the operation mode field: PHY mode, 80+80MHz bandwidth indication, 160MHz bandwidth indication, and extended mode.
  • the extended mode information is reserved information (Reserved)
  • the value of the extended mode information is 0.
  • the PHY mode value is 0, the 80+80MHz bandwidth indication value is 0, the 160MHz bandwidth indication value is 0 and the extended mode value is 0, it indicates that the first NAN device only has the HT PHY mode .
  • the first NAN does not have VHT PHY mode and HE PHY mode, but only has HT PHY mode.
  • the PHY mode value is 1, the 80+80MHz bandwidth indication value is 0, the 160MHz bandwidth indication value is 0 and the extended mode value is 0, it indicates that the first NAN device has VHT PHY mode, but does not support 80 +80MHz bandwidth mode and 160MHz bandwidth mode.
  • the PHY mode value is 1
  • the 80+80MHz bandwidth indication value is 1
  • the 160MHz bandwidth indication value is 0
  • the extended mode value is 0, it indicates that the first NAN device has VHT PHY mode and supports 80+80MHz bandwidth mode.
  • the PHY mode value is 1, the 80+80MHz bandwidth indication value is 0, the 160MHz bandwidth indication value is 1 and the extended mode value is 0, it indicates that the first NAN device has VHT PHY mode and supports 160MHz bandwidth mode. .
  • the PHY mode value is 1, the 80+80MHz bandwidth indication value is 1, the 160MHz bandwidth indication value is 1 and the extended mode value is 0, it indicates that the first NAN device has VHT PHY mode and supports 80+80MHz Bandwidth mode and supports 160MHz bandwidth mode.
  • the extended mode information is the second value
  • the capability signaling is used to indicate that the first NAN device does not have the HE PHY mode.
  • the PHY mode value is 1, the 80+80MHz bandwidth indication value is 0, the 160MHz bandwidth indication value is 0 and the extended mode value is 1, it indicates that the first NAN device has HE PHY mode, but does not support 80 +80MHz bandwidth mode and 160MHz bandwidth mode.
  • the 80+80MHz bandwidth indication value is 1
  • the 160MHz bandwidth indication value is 0
  • the extended mode value is 1, it indicates that the first NAN device has HE PHY mode and supports 80+80MHz bandwidth mode.
  • the PHY mode value is 1, the 80+80MHz bandwidth indication value is 0, the 160MHz bandwidth indication value is 1 and the extended mode value is 1, it indicates that the first NAN device has HE PHY mode and supports 160MHz bandwidth mode. .
  • the PHY mode value is 1
  • the 80+80MHz bandwidth indication value is 1
  • the 160MHz bandwidth indication value is 1
  • the extended mode value is 1, it indicates that the first NAN device has HE PHY mode and supports 80+80MHz Bandwidth mode and supports 160MHz bandwidth mode.
  • the extended mode information is the first value
  • the capability signaling is used to indicate that the first NAN device has the HE PHY mode.
  • the above-mentioned HT PHY mode, VHT PHY mode and HE PHY mode are all compatible with the NAN device mode of the previous version.
  • the method provided by this embodiment indicates whether the first NAN device has the HE PHY mode through the capability signaling used for device capability exchange, and supports the use of ranging methods different from the traditional FTM ranging method.
  • Capability exchange expands the target ranging methods supported by the first NAN device; it meets different requirements for NAN device ranging in different scenarios, and uses the target ranging method to improve ranging accuracy.
  • Figure 14 provides a flow chart of a device capability exchange method for a NAN device provided by an embodiment of the present application.
  • the method can be executed by a second NAN device.
  • the method includes:
  • Step 520 Receive capability signaling for device capability exchange
  • the capability signaling is used to indicate whether the first NAN device supports the relevant capabilities of the target ranging mode; in one example, the capability signaling can be directly used to indicate whether the first NAN supports the target ranging mode, or it can be used to indicate whether the first NAN device supports the target ranging mode. Indirectly indicating the first NAN device's support for related capabilities of the target ranging capability. This application does not make any restrictive provisions on this. The first NAN device sends signaling with said capabilities.
  • Capability signaling is used to exchange device capabilities of the first NAN device to the device receiving the capability signaling.
  • the second NAN device receives the above capability signaling, and the capability signaling is used to exchange the device capabilities of the first NAN device to the second NAN device.
  • the target ranging method is a ranging method different from the Fine Timing Measurement (FTM) ranging method.
  • FTM Fine Timing Measurement
  • the target ranging method is different from the traditional FTM ranging method, and no restrictive provisions are made on the target ranging method.
  • the ranging accuracy of the target ranging method is better than the traditional FTM ranging method; for example, the target ranging method is an enhanced ranging method based on the traditional FTM ranging method, or is different from the time-based ranging method. Other distance measurement methods with different measurement methods.
  • the target ranging method includes but is not limited to the enhanced FTM ranging method and/or the Non-TB ranging method based on Enhanced Distributed Channel Access (EDCA); those skilled in the art can It should be understood that the above description of the target ranging method is an exemplary introduction, and the target ranging method may include other ranging methods.
  • EDCA Enhanced Distributed Channel Access
  • capability signaling has at least one of the following three implementation methods:
  • Implementation method 1 Capability signaling is used to indicate whether the first NAN device supports the target ranging mode.
  • Implementation Mode 2 Capability signaling is used to indicate the target ranging mode used by the service of the first NAN device.
  • Implementation method three Capability signaling is also used to indicate whether the first NAN device has HE PHY mode.
  • the method provided by this embodiment indicates whether the first NAN device supports the relevant capabilities of the target ranging method through the capability signaling used for device capability exchange, and supports the use of measurement methods that are different from the traditional FTM ranging method.
  • Device capabilities are exchanged in distance mode, which expands the target ranging methods supported by the first NAN device; it meets the different requirements for ranging of NAN devices in different scenarios, and uses the target ranging mode to improve ranging accuracy.
  • Figure 15 provides a flow chart of a ranging session establishment method for a NAN device provided by an embodiment of the present application.
  • the method can be executed by the first NAN device.
  • the method includes:
  • Step 530 Send setup signaling for ranging session establishment
  • the setting signaling is used to indicate information related to the target ranging mode of the first NAN device;
  • the setting signaling is used to indicate the target ranging of the NAN device that sends the setting signaling. information related to the method.
  • the setting signaling may be directly used to set the target ranging mode of the first NAN device, or may be used to indirectly indicate information related to the target ranging mode of the first NAN device. This application does not make any restrictive provisions on this.
  • the setting signaling is used to convey the device setting status of the first NAN device to the device receiving the setting signaling.
  • the second NAN device receives the above-mentioned setting signaling, and the setting signaling is used to convey the device setting status of the first NAN device to the second NAN device.
  • the setting signaling is used to convey the device setting status of the first NAN device to the second NAN device.
  • the target ranging method is a ranging method different from the Fine Timing Measurement (FTM) ranging method.
  • FTM Fine Timing Measurement
  • the target ranging method is different from the traditional FTM ranging method, and no restrictive provisions are made on the target ranging method.
  • the ranging accuracy of the target ranging method is better than the traditional FTM ranging method; for example, the target ranging method is an enhanced ranging method based on the traditional FTM ranging method, or is different from the time-based ranging method. Other distance measurement methods with different measurement methods.
  • the target ranging method includes but is not limited to the enhanced FTM ranging method and/or the Non-TB ranging method based on Enhanced Distributed Channel Access (EDCA); those skilled in the art can It should be understood that the above description of the target ranging method is an exemplary introduction, and the target ranging method may include other ranging methods.
  • EDCA Enhanced Distributed Channel Access
  • the method provided by this embodiment indicates information related to the target ranging mode of the first NAN device through the setting signaling used for ranging session establishment, and adopts ranging methods that are different from the traditional FTM ranging mode.
  • method to perform ranging, and negotiate the ranging parameters of the target ranging method, expanding the target ranging methods supported by the first NAN device; meeting the different requirements for ranging of NAN devices in different scenarios, using target ranging This method improves the ranging accuracy.
  • the setting signaling is used to set the target ranging mode among the candidate ranging modes supported by the first NAN device.
  • the setting signaling is ranging setup attribute signaling (Ranging Setup Attribute), and the target ranging mode is set among the candidate ranging modes supported by the first NAN device through the ranging setting attribute signaling.
  • the setting signaling is carried in the ranging request frame.
  • the target ranging method includes an enhanced EDCA-based FTM ranging method and/or a Non-TB ranging method.
  • the setting signaling also carries ranging parameters for the negotiated target ranging mode.
  • the setting signaling includes at least one of the following three implementation methods:
  • the setting signaling includes an FTM parameter indication field and an enhanced FTM ranging indication field.
  • the setting signaling includes an FTM parameter indication field and an FTM format bandwidth field.
  • Implementation method six The setting signaling includes the Non-TB parameter indication field.
  • the setting signaling includes an FTM parameter indication field and an enhanced FTM ranging indication field.
  • the FTM parameter indication field is used to indicate that the target ranging method adopted by the first NAN device is any one of the enhanced EDCA-based FTM ranging method and the traditional FTM ranging method; the enhanced FTM ranging indication field is used To explicitly indicate whether the target ranging method is the enhanced EDCA-based FTM ranging method.
  • the enhanced FTM ranging indication field is used to directly indicate whether the target ranging mode is the enhanced EDCA-based FTM ranging mode. For example: when the value of the enhanced FTM ranging indication field is the first value, the target ranging method is the enhanced EDCA-based FTM ranging method; when the value of the enhanced FTM ranging indication field is the second value In the case of value, the target ranging method is different from the enhanced EDCA-based FTM ranging method.
  • Figure 16 provides a schematic diagram of setting signaling provided by an embodiment of the present application, taking the setting signaling for ranging and setting attribute signaling as an example.
  • the setting signaling includes the following fields: attribute identification (Attribute ID), length (Length ), Dialog Token, Type and Status, Reason Code, Ranging Control, NAN FTM Parameters and Ranging Schedule Entry List).
  • Figure 16 also shows the number of bytes of the fields included in the capability signaling, for example: the number of bytes of the attribute identifier is 1, the number of bytes of the length is 2, and the number of bytes of the session flag is 2.
  • the number of nodes is 1, the number of bytes for type and status is 1, the number of bytes for reason code is 1, the number of bytes for ranging control is 1, the number of bytes for NAN FTM parameters is 0 or 3, the ranging schedule The number of bytes is 0 or variable.
  • the FTM parameter indication field is implemented as a NAN FTM Parameters Present indication in the ranging control field.
  • the NAN FTM Parameters Present indication is used to indicate that the target ranging method is enhanced EDCA-based FTM measurement. Any one of the distance measurement method and the traditional FTM ranging method.
  • the ranging control field includes the following information: ranging report requirement (Ranging Report Required), whether the NAN FTM parameters exist (NAN FTM Parameters Present), whether the ranging schedule exists (Ranging Schedule Entry List Present); ranging
  • the control field also includes 5 reserved information (Reserved) whose number of bits is all 1; for example, Figure 16 also shows the number of bits of information included in the ranging control field: the number of bits of the information in the ranging control field is equal to 1. is 1.
  • Figure 17 provides a schematic diagram of setting signaling provided by an embodiment of the present application.
  • the setting signaling is ranging setting attribute signaling as an example.
  • the NAN FTM parameter field in ranging setting attribute signaling is further introduced.
  • the NAN FTM parameter field includes the following information: maximum burst duration (Max Burst Duration), minimum delta FTM (Min Delta FTM), maximum number of FTM interactions in each burst (Max FTMs per burst), FTM format bandwidth (FTM Format and Bandwidth), Enhanced FTM Ranging Indication (Enhanced FTM Ranging Indication) and 3 reserved information (Reserved) whose number is all 1.
  • Figure 17 also shows the number of bits of information included in the NAN FTM parameter field: the number of bits for the maximum burst duration is 4, the number of bits for the minimum delta FTM is 6, and the number of bits for the maximum number of FTM interactions in each burst The number is 5, the number of bits of the FTM format bandwidth is 6, and the number of bits of the enhanced FTM ranging indication is 1.
  • the enhanced FTM ranging indication field is implemented as enhanced FTM ranging indication information in the NAN FTM parameter field.
  • the enhanced FTM ranging indication information is used to explicitly indicate whether the target ranging mode is enhanced EDCA-based FTM ranging. Way. For example, when the value of the enhanced FTM ranging indication information is the first value, the target ranging mode is the enhanced EDCA-based FTM ranging mode, and the first value is 1. When the value of the enhanced FTM ranging indication information is the second value, the target ranging method is the traditional FTM ranging method, and the second value is 0.
  • the NAN FTM parameter field is also used to carry the ranging parameters of the enhanced EDCA-based FTM ranging method, and is used to indicate that the ranging parameters of the enhanced EDCA-based FTM ranging method need to be negotiated.
  • the method provided by this embodiment directly uses the setting signaling for ranging session establishment, and the setting signaling includes the FTM parameter indication field and the enhanced FTM ranging indication field, directly on the candidate supported by the first NAN device.
  • the target ranging mode is set in the ranging mode, and a ranging method different from the traditional FTM ranging method is used for ranging, which expands the target ranging methods supported by the first NAN device; it satisfies the measurement of NAN devices in different scenarios.
  • the target ranging method is used to improve the ranging accuracy.
  • the setting signaling includes an FTM parameter indication field and an FTM format bandwidth field.
  • the FTM parameter indication field is used to indicate that the target ranging method adopted by the first NAN device is any one of the enhanced EDCA-based FTM ranging method and the traditional FTM ranging method; the FTM format bandwidth field is used to hide The formula indicates whether the target ranging method is the enhanced FTM ranging method based on EDCA.
  • the FTM format bandwidth field is used to indirectly indicate whether the target ranging method is an enhanced EDCA-based FTM ranging method. For example: when the field value of the FTM format bandwidth field belongs to the first field value interval, the target ranging method is the enhanced EDCA-based FTM ranging method, and the first field value interval corresponds to the EDCA-based HE type format. field value interval; and/or, when the field value of the FTM format bandwidth field belongs to the second field value interval, the target ranging method is the traditional FTM ranging method.
  • the FTM format bandwidth field is implemented as FTM format bandwidth information in the NAN FTM parameter field, and the FTM format bandwidth information is used to implicitly indicate whether the target ranging mode is It is an enhanced FTM ranging method based on EDCA.
  • the target ranging method is the enhanced EDCA-based FTM ranging method; when the field value of the FTM format bandwidth field belongs to the second field value interval In this case, the target ranging method is the traditional FTM ranging method.
  • the first field value range is 17 to 22, and the second field value range is 0 to 16.
  • the method provided by this embodiment uses the setting signaling for ranging session establishment.
  • the signaling including the FTM parameter indication field and the FTM format bandwidth field
  • the candidate ranging supported by the first NAN device is indirectly connected.
  • the target ranging method is set in the method, and a ranging method is used for ranging that is different from the traditional FTM ranging method, which expands the target ranging methods supported by the first NAN device; it satisfies the ranging requirements for NAN devices in different scenarios. According to different requirements, the target ranging method is used to improve the ranging accuracy.
  • Implementation method six The setting signaling includes the Non-TB parameter indication field.
  • the Non-TB parameter indication field is used to indicate that the target ranging mode adopted by the first NAN device is the Non-TB ranging mode.
  • Figure 18 provides a schematic diagram of setting signaling provided by an embodiment of the present application.
  • the setting signaling is ranging setting attribute signaling as an example.
  • Figure 16 provides a setting provided by an embodiment of the present application.
  • Ranging setting attribute signaling also includes the following fields: Non-TB Parameters; the number of bytes of Non-TB parameters is 0 or variable.
  • the Ranging Control field compared to Figure 16, the first reserved information (Reserved) is defined as the Non-TB Parameters Present indication.
  • the Non-TB parameter indication field is implemented as a Non-TB parameter presence indication; for example, when the value of the Non-TB parameter presence indication is the first value, the target ranging mode is Non-TB. Ranging mode, the first value is 1. And/or, when the value indicating whether the Non-TB parameter exists is the second value, the target ranging method is different from the Non-TB ranging method, and the second value is 0.
  • Non-TB parameter field is used to carry the ranging parameters of the Non-TB ranging mode and is used to indicate that the ranging parameters of the Non-TB ranging mode need to be negotiated.
  • Figure 19 provides a schematic diagram of setting signaling provided by an embodiment of the present application, further explaining the Non-TB parameter field in the ranging setting attribute signaling.
  • the Non-TB parameter field includes the following information: the number of ranging priority (Ranging Priority) bits is 2, and the number of R2I TOA Type (R2I TOA Type) bits
  • the number is 1, the I2R TOA Type (I2R TOA Type) bit number is 1, the R2I AOA Request (R2I AOA Request) bit number is 1, the I2R TOA Request (I2R AOA Request) bit number is 1, the format and bandwidth (Format and Bandwidth) ) bit number is 6, the immediate I2R feedback (Immediate I2R Feedback) bit number is 3, and the immediate R2I feedback (Immediate R2I Feedback) bit number is 3.
  • the minimum measurement interval time (Min Time Between Measurements) is 23 bits
  • the maximum measurement interval time (Max Time Between Measurements) is 20 bits
  • the R2I transmit power (R2I Tx Power) bit number is 1
  • the I2R transmit power (I2R Tx Power ) bit number is 1
  • 7 bit numbers are all 1 reserved information (Reserved).
  • the method provided by this embodiment uses the setting signaling used for ranging session establishment and the setting signaling includes the Non-TB parameter indication field to set the target in the candidate ranging mode supported by the first NAN device.
  • the ranging method adopts a ranging method that is different from the traditional FTM ranging method, which expands the target ranging methods supported by the first NAN device; it meets the different requirements for ranging of NAN devices in different scenarios.
  • the target ranging method is adopted to improve the ranging accuracy.
  • the setting signaling is used to indicate whether the first NAN device has the HE PHY mode.
  • the setting signaling is used to indicate the first NAN device's support for the HE PHY mode.
  • the setting signaling is carried in the ranging request frame.
  • Figure 20 provides a flow chart of a ranging session establishment method for a NAN device provided by an embodiment of the present application.
  • the method can be executed by a second NAN device.
  • the method includes:
  • Step 540 Receive setup signaling for ranging session establishment
  • the setting signaling is used to indicate information related to the target ranging mode of the first NAN device; in one example, the setting signaling can be directly used to set the target ranging mode of the first NAN device, or it can be used to set the target ranging mode of the first NAN device. to indirectly indicate information related to the target ranging mode of the first NAN device.
  • This application does not make any restrictive provisions on this.
  • the setting signaling is used to convey the device setting status of the first NAN device to the device receiving the setting signaling.
  • the second NAN device receives the above-mentioned setting signaling, and the setting signaling is used to convey the device setting status of the first NAN device to the second NAN device.
  • the target ranging method is a ranging method different from the Fine Timing Measurement (FTM) ranging method.
  • FTM Fine Timing Measurement
  • the target ranging method is different from the traditional FTM ranging method, and no restrictive provisions are made on the target ranging method.
  • the ranging accuracy of the target ranging method is better than the traditional FTM ranging method; for example, the target ranging method is an enhanced ranging method based on the traditional FTM ranging method, or is different from the time-based ranging method. Other distance measurement methods with different measurement methods.
  • the target ranging method includes but is not limited to the enhanced FTM ranging method and/or the Non-TB ranging method based on Enhanced Distributed Channel Access (EDCA); those skilled in the art can It should be understood that the above description of the target ranging method is an exemplary introduction, and the target ranging method may include other ranging methods.
  • EDCA Enhanced Distributed Channel Access
  • the setting signaling is used to set the target ranging mode among the candidate ranging modes supported by the first NAN device.
  • the setting signaling is used to indicate whether the first NAN device has the HE PHY mode.
  • the method provided by this embodiment indicates information related to the target ranging mode of the first NAN device through the setting signaling used for ranging session establishment, and adopts ranging methods that are different from the traditional FTM ranging mode.
  • the method is used for ranging, which expands the target ranging methods supported by the first NAN device; it meets the different requirements for ranging of NAN devices in different scenarios, and uses the target ranging method to improve the ranging accuracy.
  • Figure 21 provides a flow chart of a device capability exchange method for a NAN device provided by an embodiment of the present application.
  • the method can be executed by a second NAN device.
  • the method includes:
  • Step 540 Receive setup signaling for ranging session establishment
  • the setting signaling is used to indicate information related to the target ranging mode of the first NAN device; in one example, the setting signaling can be directly used to set the target ranging mode of the first NAN device, or it can be used to set the target ranging mode of the first NAN device. to indirectly indicate information related to the target ranging mode of the first NAN device.
  • This application does not make any restrictive provisions on this.
  • the setting signaling also carries ranging parameters for the negotiated target ranging mode.
  • the ranging parameters of the target ranging mode include the ranging parameters of the Non-TB ranging mode or the ranging parameters of the enhanced EDCA-based FTM ranging mode.
  • Step 550 Send response setting signaling for ranging session establishment
  • the response setting signaling is used to indicate that the ranging parameters of the target ranging mode received by the second NAN device do not meet the target condition.
  • the response setting signaling is carried in the ranging response frame.
  • the response to the setting signaling includes a reason code field, which is used to indicate the reason why the parameters of the enhanced EDCA-based FTM ranging mode or the Non-TB ranging mode do not meet the target conditions.
  • the reason code field is the first value
  • the reason code field is used to indicate that the parameters of the Non-TB ranging mode cannot meet the requirements
  • the reason code field is the second value
  • the reason code field is used to indicate that the enhanced EDCA-based FTM ranging method cannot meet the ranging accuracy requirements.
  • the response setting signaling is ranging setup attribute signaling (Ranging Setup Attribute).
  • the ranging setting attribute signaling includes a reason code (Reason Code) field; setting the reason code field to 13 (NTB_PARAMETERS_INCAPABLE) indicates The ranging request from the ranging initiator is rejected because the parameters of the Non-TB ranging mode cannot meet the requirements.
  • the reason code field indicates that the current ranging method cannot meet the service ranging accuracy requirements and the ranging session needs to be updated or terminated. Further, when the first NAN device supporting the HE PHY mode and the second NAN device supporting the HE PHY mode in the first NAN cluster perform ranging, the ranging accuracy is not satisfactory due to the enhanced FTM ranging method based on EDCA. When upper layer is applied, the first or second NAN device supporting HE PHY mode may send a NAN Ranging Session Update or Termination frame indicating that the Reason Code field should be set to 14.
  • the method provided by this embodiment uses the response setting signaling for ranging session establishment to indicate that the ranging parameters of the target ranging mode received by the second NAN device do not meet the target conditions, and adopts the same method as traditional FTM measurement.
  • Different ranging methods are used for ranging, which expands the target ranging methods supported by the first NAN device; it meets the different requirements for ranging of NAN devices in different scenarios, and uses the target ranging method to improve ranging Accuracy.
  • the first NAN device is used to indicate the sender device of capability signaling or setting signaling.
  • the second NAN device is used to indicate the recipient device of capability signaling or setup signaling.
  • the first NAN device and the second NAN device may be any device in the NAN network.
  • the first NAN device is the sender device of capability signaling
  • the second NAN device is the receiver device of setting signaling. Even though the names of the first NAN device and the second NAN device are different, in the above specific In the example, the first NAN device and the second NAN device may be the same device or different devices.
  • the recipient device and the sender device are typically different for either capability signaling or setup signaling.
  • the receiver device for capability signaling and any party device for setting signaling and the receiver device for setting signaling and any party device for capability signaling may be the same or different.
  • Any party device includes any one of a receiver device and a sender device.
  • Figure 22 provides a schematic diagram of a method for starting the ranging mode of a NAN device according to an embodiment of the present application.
  • the first NAN device sends a NAN service discovery frame (SDF) to the second NAN device for subscription or publishing;
  • the NAN service discovery frame includes a service descriptor attribute (Service Descriptor Attribute, SDA), device function attribute (Device Capability) Attribute, DCA).
  • SDA Service Descriptor Attribute
  • DCA Device Function attribute
  • the second NAN device sends a NAN Service Discovery Frame (SDF) to the first NAN device to subscribe or publish.
  • SDF Service Discovery Frame
  • the first NAN device sends a NAN Ranging Request Frame to the second NAN device.
  • the second NAN device sends a NAN Ranging Response Frame to the first NAN device. Frame).
  • one or more FTM ranging methods and/or Non-TB ranging methods of enhanced EDCA are performed between the first NAN device and the second NAN device; it should be noted that the above ranging method can only be performed. It can be executed once or multiple times, and this embodiment does not make any restrictive provisions on this.
  • the first NAN device sends a NAN Ranging Report Frame to the second NAN device; the first NAN device, as the initiator, uses the ranging report frame to report the ranging results of the current measurement instance to the second NAN device as the responder. NAN device.
  • Figure 23 provides a flow chart of a method for starting the ranging mode of a NAN device according to an embodiment of the present application.
  • the method can be executed by the first NAN device.
  • the method includes:
  • Step 612 The first NAN device sends a NAN beacon frame or a NAN service discovery frame;
  • any two NAN devices that support HE PHY mode in the same NAN cluster can indicate that the device supports HE PHY mode through the NAN ranging capability exchange phase.
  • the first NAN device sends a NAN beacon frame or a NAN service discovery frame as an example for description.
  • the service or application of the first NAN device that supports HE PHY mode can instruct the subscription or publishing service by calling the Subscribe or Publish method of the NAN MAC or NAN engine in the device.
  • the NAN MAC or NAN engine in the first NAN device that supports HE PHY mode can generate and transmit a NAN service discovery frame within the DW after receiving the subscribe or publish method.
  • the NAN service discovery frame should carry the Service Descriptor Attribute and the Device Capability Attribute; the NAN service discovery frame can also carry the Ranging Information Attribute and the Ranging Attribute. Attribute) etc.
  • the service descriptor attribute is used to describe the type of service, filter, specific information of the service, etc. For example, when the value of the 0th bit (Bit 0) and the 1st bit (Bit 1) in the service descriptor attribute is "00", it indicates that the service is a publishing type; when the 0th bit in the service descriptor attribute When the value of the first bit (Bit 0) and the first bit (Bit 1) is "01", it indicates that the service is a subscription type.
  • Device function attributes are used to describe information such as DW information, supported frequency bands, PHY modes, and number of antennas committed by the device.
  • the value of the PHY Mode information in the Operation Mode (Operation Mode) field of a NAN device that supports HE PHY mode is 1, and the value of the Extended PHY Mode information is 1 to indicate that it supports HE PHY mode. If the value of the first bandwidth indication information and/or the second bandwidth indication information is 1, it indicates that the device supports the 80+80MHz bandwidth mode and/or the 160MHz bandwidth mode.
  • the device function attributes please refer to the above implementation method 3, which will not be described again in this embodiment.
  • the ranging information attribute is used to indicate whether the coordinates of its LCI place are available, whether the geographic LCI is available, whether the citizen's location information is available, and the last movement situation.
  • the first NAN device may indicate whether the first NAN device supports the target ranging mode according to the first indication information and the second indication information.
  • the first NAN device may also indicate whether the first NAN device supports the target ranging mode according to the first indication information, the second indication information and the third indication information. Whether a NAN device supports target ranging mode.
  • the implementation mode 1 above please refer to the implementation mode 1 above, which will not be described again in this embodiment.
  • the service or application of the second NAN device that supports HE PHY mode can instruct the subscription or publishing service by calling the Subscribe or Publish method of the NAN MAC or NAN engine in the device. After receiving the subscribe or publish method, the NAN MAC or NAN engine in the second NAN device supporting HE PHY mode can generate and transmit a NAN service discovery frame within the DW.
  • the first NAN device carries NAN ranging-related attributes through a NAN beacon frame, including a NAN discovery beacon frame and a NAN synchronization beacon frame.
  • Non-Master Sync devices there are at least three types of devices in NAN: Master devices, Non-Master Sync devices and Non-Master non-Sync devices.
  • the above three device indications support the enhanced EDCA-based FTM ranging method or Non-TB ranging method as follows:
  • synchronization beacon frames can be transmitted within the DW.
  • the synchronization beacon frame optionally carries the device capability attribute (Device Capability Attribute) and/or the ranging information attribute (Ranging Information Attribute) to indicate relevant information about the ranging methods supported by the NAN device.
  • the value of the PHY Mode information in the operation mode (Operation Mode) field of the NAN device that supports the HE PHY mode is 1, and the value of the Extended PHY Mode information is 1 to indicate that it supports the HE PHY mode. If the value of the first bandwidth indication information and/or the second bandwidth indication information is 1, it indicates that the device supports the 80+80MHz bandwidth mode and/or the 160MHz bandwidth mode.
  • the value of the first bandwidth indication information and/or the second bandwidth indication information is 1, it indicates that the device supports the 80+80MHz bandwidth mode and/or the 160MHz bandwidth mode.
  • the ranging information attribute is used to indicate whether the coordinates of its LCI place are available, whether the geographic LCI is available, whether the citizen's location information is available, and the last movement situation.
  • the ranging information attribute is used to indicate whether the coordinates of its LCI place are available, whether the geographic LCI is available, whether the citizen's location information is available, and the last movement situation.
  • the Master device transmits the discovery beacon frame outside the DW.
  • the discovery beacon frame optionally carries the device function attribute (Device Capability Attribute) and/or the ranging information attribute (Ranging Information Attribute) to indicate the ranging method supported by the NAN device. related information.
  • the value of the PHY Mode information in the operation mode (Operation Mode) field of the NAN device that supports the HE PHY mode is 1, and the value of the Extended PHY Mode information is 1 to indicate that it supports the HE PHY mode. If the value of the first bandwidth indication information and/or the second bandwidth indication information is 1, it indicates that the device supports the 80+80MHz bandwidth mode and/or the 160MHz bandwidth mode.
  • the value of the first bandwidth indication information and/or the second bandwidth indication information is 1, it indicates that the device supports the 80+80MHz bandwidth mode and/or the 160MHz bandwidth mode.
  • the ranging information attribute is used to indicate whether the coordinates of its LCI place are available, whether the geographic LCI is available, whether the citizen's location information is available, and the last movement situation.
  • the ranging information attribute is used to indicate whether the coordinates of its LCI place are available, whether the geographic LCI is available, whether the citizen's location information is available, and the last movement situation.
  • Step 614 The first NAN device sends a ranging request frame for negotiating the target ranging mode
  • the NAN device decides to initiate a NAN ranging session start.
  • the device that starts the NAN ranging session is called the NAN ranging initiator, and the device that responds to the NAN ranging session is called the NAN ranging responder.
  • the NAN ranging initiator is the first NAN device
  • the NAN ranging responder is the second NAN device.
  • the NAN device can initiate the ranging session negotiation process with the peer device by transmitting a NAN ranging request frame to the peer device.
  • a NAN ranging request frame to the peer device.
  • two NAN ranging devices need to negotiate corresponding ranging parameters based on the ranging method.
  • Ranging methods include but are not limited to: traditional FTM ranging method, enhanced EDCA-based FTM ranging method or Non-TB ranging method.
  • the ranging initiator and ranging responder are both NAN devices supporting HE PHY mode as an example for explanation.
  • Two NAN devices that support HE PHY mode in the same NAN cluster can use the enhanced EDCA-based FTM ranging method or the Non-TB ranging method.
  • two NAN devices supporting HE PHY mode in the same NAN cluster are supported to perform FTM ranging. This embodiment only introduces the execution process of the enhanced EDCA-based FTM ranging method and the Non-TB ranging method.
  • the control module of the ranging engine in the first NAN device in the first NAN cluster that supports the HE PHY mode should be based on the second NAN device in the first NAN cluster that supports the HE PHY mode (i.e., the second NAN device).
  • the capability information of the device), the last mobility indication and the FAW information determine whether to initiate a NAN ranging session to the second NAN device in the first NAN cluster that supports HE PHY mode and determine what needs to be negotiated when transmitting the first NAN ranging request frame. Ranging mode.
  • the ranging request frame transmission time can be within the DW or the FAW of the second NAN device that supports HE PHY mode during the ranging capability exchange phase.
  • the NAN ranging request frame should contain ranging setup attribute signaling (Ranging Setup Attribute), ranging information attribute signaling (Ranging Information Attribute), NAN availability attribute (NAN Availability Attribute) and device function attribute signaling (Device Capability Attribute).
  • the value of Non-TB Parameters Present in the ranging control (Ranging Control) field is 1 to indicate the NAN Non-TB ranging mode.
  • the ranging setting attribute signaling carries the supported NAN Non- Relevant parameters of TB ranging mode.
  • the value of NAN FTM Parameters Present is set to 1, and the parameters of the enhanced EDCA-based FTM ranging method are carried in the NAN FTM Parameters field.
  • the first NAN device uses explicit or implicit instructions.
  • the enhanced EDCA-based FTM ranging method is illustrative. For detailed introduction to the ranging setting attributes, please refer to Implementation Mode 4 and Implementation Mode 5 above, which will not be described again in this embodiment.
  • the value of the PHY Mode information in the operation mode (Operation Mode) field of the NAN device that supports the HE PHY mode is 1, and the value of the Extended PHY Mode information is 1 to indicate that it supports the HE PHY mode. If the value of the first bandwidth indication information and/or the second bandwidth indication information is 1, it indicates that the device supports the 80+80MHz bandwidth mode and/or the 160MHz bandwidth mode.
  • the value of the first bandwidth indication information and/or the second bandwidth indication information is 1, it indicates that the device supports the 80+80MHz bandwidth mode and/or the 160MHz bandwidth mode.
  • the ranging information attribute is used to indicate whether the coordinates of its LCI place are available, whether the geographic LCI is available, whether the citizen's location information is available, and the last movement situation.
  • the ranging information attribute is used to indicate whether the coordinates of its LCI place are available, whether the geographic LCI is available, whether the citizen's location information is available, and the last movement situation.
  • the NAN availability attribute is used to carry potential FAW, conditional FAW and committed FAW that can perform Non-TB ranging mode.
  • the second NAN device in the first NAN cluster After receiving the ranging request frame of the first NAN device supporting the HE PHY mode in the first NAN cluster, the second NAN device in the first NAN cluster supports the HE PHY mode.
  • the control module in the ranging engine of the second NAN device supporting HE PHY mode in the first NAN cluster should decide to accept or reject the ranging request based on the ranging parameters in the ranging request frame.
  • the second NAN device in the first NAN cluster that supports HE PHY mode should transmit a ranging response frame to the first NAN device in the first NAN cluster that supports HE PHY mode, which should include ranging setup attribute signaling (Ranging Setup Attribute), ranging information attribute signaling (Ranging Information Attribute), NAN Availability Attribute (NAN Availability Attribute) and device function attribute signaling (Device Capability Attribute).
  • ranging setup attribute signaling Ranging Setup Attribute
  • ranging information attribute signaling Ranging Information Attribute
  • NAN Availability Attribute NAN Availability Attribute
  • device function attribute signaling Device Capability Attribute
  • the second NAN device in the first NAN cluster that supports HE PHY mode should The NAN device should transmit a ranging response frame to the first NAN device in the first NAN cluster that supports HE PHY mode, which should include ranging setup attribute signaling (Ranging Setup Attribute) and ranging information attribute signaling (Ranging Information Attribute) ); optionally includes NAN Availability Attribute and Device Capability Attribute signaling.
  • the Status subfield indicates rejection. Since the Non-TB ranging parameters contained in the ranging request frame of the first NAN device supporting HE PHY mode in the first NAN cluster do not meet the requirements, the Reason Code field is set to 13 (NTB_PARAMETERS_INCAPABLE) to indicate Non-TB ranging. The parameters do not meet the requirements and are rejected.
  • the Reason Code is set to 12 (RANGING_SCHEDULE_UNACCEPTABLE) due to resource scheduling reasons for the first HE PHY mode in the first NAN cluster; the Reason Code is set to "2" (RESOURCE_LIMITATION) due to any FAW that cannot appear in the ranging request frame. and other ways.
  • the NAN ranging initiator may initiate a ranging session update by transmitting a NAN ranging request frame to the responder.
  • the NAN ranging responder may request an update to the ranging session by transmitting a scheduled update notification NAF containing a potential FAW, conditional FAW, or committed FAW.
  • the NAN ranging initiator decides whether to start the ranging session update after receiving the scheduling update notification NAF.
  • the process of updating the NAN ranging session is the same as the process of starting the NAN ranging session.
  • both the ranging initiator and the ranging responder can terminate the ranging session by transmitting a ranging termination frame to the peer device. If the ranging session is terminated, the corresponding committed resource blocks in the ranging session should be released.
  • the ranging termination frame should carry the ranging setup attribute signaling (Ranging Setup Attribute), optionally including the ranging information attribute signaling (Ranging Information Attribute), NAN Availability Attribute (NAN Availability Attribute) and alignment time attribute (Unaligned Schedule Attribute).
  • the Type subfield in the Type and Status field in the ranging setting attribute signaling is set to "2" (termination)
  • b0, b1, b2, b3, and b4 in the Ranging Control field should be set to "0" and do not appear.
  • FTM ranging parameters, NAN Non-TB ranging parameters, and ranging scheduling attribute list fields are examples of the Type subfield in the Type and Status field in the ranging setting attribute signaling.
  • Step 616 Perform a ranging process in the target ranging mode between the first NAN device and the second NAN device;
  • the ranging initiator and the ranging responder After completing the NAN ranging negotiation, the ranging initiator and the ranging responder successfully established a ranging schedule (schedule), that is, a ranging schedule was successfully established between the first NAN device and the second NAN device.
  • the ranging initiator should transmit the IFTMR to the ranging responder to initiate a ranging request, and carry different parameters according to the different ranging methods.
  • the ranging responder IFTM frames should also be transmitted in response to ranging requests from the ranging initiator. Then the ranging responder and the ranging initiator perform one or more measurement instances according to the negotiated ranging method.
  • Step 618 The first NAN device sends the ranging result of the target ranging mode
  • the responder indicates that ranging results are required.
  • the initiator uses the ranging report frame to report the ranging results of the current measurement instance to the responder. That is, the first NAN device sends the ranging result of the target ranging mode.
  • the method provided by this embodiment indicates whether the first NAN device supports the relevant capabilities of the target ranging method through the capability signaling used for device capability exchange, and adopts ranging methods that are different from the traditional FTM ranging method.
  • Method to perform device capability exchange through the setting signaling used for ranging session establishment, information related to the target ranging method of the first NAN device is indicated, and a ranging method different from the traditional FTM ranging method is used for ranging; expansion It is the first target ranging method supported by NAN equipment; it meets the different requirements for ranging of NAN equipment in different scenarios, and uses the target ranging method to improve ranging accuracy.
  • the NAN ranging session startup phase is divided into two situations: the ranging initiator is a NAN device that supports the HE PHY mode and the ranging responder is a NAN device that supports the HE PHY mode.
  • the ranging initiator When the ranging initiator is a NAN device that supports HE PHY mode, it should initiate a ranging method that conforms to the capabilities of the peer device based on the capability information of the peer device. For example, if the peer device is an HT NAN device, the ranging initiator should initiate The ranging session startup process of the traditional FTM ranging method based on HT format and bandwidth. If the peer device is a VHT NAN device, the ranging initiator can initiate the ranging session startup based on the FTM ranging request based on HT or VHT format and bandwidth. process, if the peer device supports HE PHY mode, the ranging initiator can initiate the ranging session initiation process of existing FTM ranging, enhanced EDCA-based FTM ranging mode, or Non-TB ranging mode.
  • the ranging responder When the ranging responder is a NAN device that supports HE PHY mode, the ranging responder should decide whether to accept the ranging request based on the capability information of the peer device and the initiated ranging request. There are two situations, such as:
  • the ranging initiator is an HT NAN device or a VHT NAN device
  • the ranging responder is a NAN device that supports HE PHY, using the traditional FTM ranging method
  • the ranging initiator is a NAN device that supports HE PHY
  • the ranging responder is a NAN device that supports HE PHY, using the traditional FTM ranging method, the enhanced EDCA-based FTM ranging method, or the Non-TB ranging method.
  • the device When the ranging initiator is an HT NAN device or a VHT NAN device, the device will treat the ranging responder that supports the HE PHY mode as an HT NAN or VHT NAN device. This is introduced above and will not be repeated here. .
  • Figure 24 provides a schematic diagram of a method for starting the ranging mode of a NAN device according to an embodiment of the present application.
  • the second NAN device sends a NAN service discovery frame (SDF) to the first NAN device for subscription; the first NAN device sends a NAN service discovery frame (SDF) to the second NAN device for publishing; the NAN service discovery frame includes the service descriptor.
  • SDF Service Descriptor Attribute
  • SDA Service Descriptor Attribute
  • SDEA Service Descriptor Extension Attribute signaling
  • the second NAN device sends a NAN Ranging Request Frame to the first NAN device.
  • the first NAN device sends a NAN Ranging Response Frame to the second NAN device. Frame).
  • one or more FTM ranging methods and/or Non-TB ranging methods of enhanced EDCA are performed between the first NAN device and the second NAN device; it should be noted that the above ranging method can only be performed. It can be executed once or multiple times, and this embodiment does not make any restrictive provisions on this.
  • the second NAN device sends a NAN Ranging Report Frame to the first NAN device; the first NAN device, as the initiator, uses the ranging report frame to report the ranging results of the current measurement instance to the second NAN device as the responder. NAN device.
  • Figure 25 provides a flow chart of a method for starting the ranging mode of a NAN device according to an embodiment of the present application.
  • the method can be executed by the first NAN device and the second NAN device.
  • the method includes:
  • Step 662 The first NAN device sends a NAN service discovery frame to indicate the target ranging method used by the first NAN service;
  • the service or application of the first NAN device that supports HE PHY mode (the first NAN device) in the first NAN cluster calls the Subscribe method and indicates the service to be subscribed, subscription type, configuration parameters and other information.
  • Optional subscription types include passive and active subscriptions. If the subscription type is proactive, the NAN MAC or NAN engine should transmit a NAN service discovery frame within the DW; when the 0th bit (Bit 0) and the 1st bit (Bit 1) of the Service Control field in the service descriptor attribute ) is "01", it indicates that the service is a subscription type.
  • the NAN service discovery frame carries the service descriptor attribute (Service Descriptor Attribute) and can carry the device function attribute signaling (Device Capability Attribute).
  • the value of the PHY Mode information in the operation mode (Operation Mode) field of the NAN device that supports the HE PHY mode is 1, and the value of the Extended PHY Mode information is 1 to indicate that it supports the HE PHY mode.
  • the value of the first bandwidth indication information and/or the second bandwidth indication information is 1, indicating that the device supports the 80+80MHz bandwidth mode and/or the 160MHz bandwidth mode.
  • the service/application of the second NAN device supporting HE PHY mode in the first NAN cluster calls the publishing method and indicates the information that needs to be published, such as services, advertising types, configuration parameters, and ranging configuration parameters.
  • Advertising types are available in three modes: Unsolicited Transmissions Only, Solicited Transmissions Only, and Requested and Unsolicited Transmissions:
  • the NAN device When using unsolicited transmission, the NAN device generates and transmits a NAN service discovery frame within the DW; when the values of the 0th bit (Bit 0) and the 1st bit (Bit 1) in the service descriptor attribute are " 00" indicates that the service is a publishing type.
  • the NAN device When using on-demand transmission, the NAN device should generate and transmit a NAN service discovery frame within the DW after receiving a subscription message that meets the requirements; when the 0th bit (Bit 0) and the 1st bit in the service descriptor attribute When the value of Bit 1 is "00", it indicates that the service is a publishing type.
  • the NAN device When requesting and unsolicited transmission are used, it means that the NAN device should respond with a publish message after receiving a peer subscription message, and should also actively transmit a publish message when no subscription message is received.
  • the NAN service discovery frame should carry the Service Descriptor Attribute, Service Descriptor Extension Attribute, Device Capability Attribute, and Ranging Information Attribute; it can be carried Ranging Attribute.
  • Service descriptor extended attributes are used to describe additional information about the service.
  • the value of the ranging type information is "01", which means that the service needs to adopt the Non-TB ranging method.
  • the value of the ranging type information (Ranging with Specific Type) is "10”, which means that the service needs to adopt the enhanced based on EDCA's FTM ranging method, the ranging type information (Ranging with Specific Type) value is "00", indicating that the service needs to use the traditional FTM ranging method.
  • the ranging information attribute is used to indicate whether the coordinates of its LCI place are available, whether the geographic LCI is available, whether the citizen's location information is available, and the last movement situation.
  • the ranging information attribute is used to indicate whether the coordinates of its LCI place are available, whether the geographic LCI is available, whether the citizen's location information is available, and the last movement situation.
  • the value of the PHY Mode information in the operation mode (Operation Mode) field of the NAN device that supports the HE PHY mode is 1, and the value of the Extended PHY Mode information is 1 to indicate that it supports the HE PHY mode. If the value of the first bandwidth indication information and/or the second bandwidth indication information is 1, it indicates that the device supports the 80+80MHz bandwidth mode and/or the 160MHz bandwidth mode.
  • the value of the first bandwidth indication information and/or the second bandwidth indication information is 1, it indicates that the device supports the 80+80MHz bandwidth mode and/or the 160MHz bandwidth mode.
  • the first NAN device in the first NAN cluster that supports HE PHY mode and the second NAN device that supports HE PHY mode can optionally pass the NAN service discovery frame; the 0th bit (Bit) of the Service Control field in the service descriptor attribute in the NAN service discovery frame 0) and the value of the first bit (Bit1) is "10", it indicates that the service is a Follow-up type.
  • the NAN service discovery frame optionally carries attributes such as Service Descriptor Extension Attribute, Device Capability Attribute, and Ranging Information Attribute.
  • Step 664 The second NAN device sends a ranging request frame for negotiating the target ranging mode
  • NAN devices in the same NAN cluster need to subscribe to services, they need to complete ranging with the service publisher first.
  • the service subscriber serves as the NAN ranging initiator (second NAN device) to perform the ranging session startup process.
  • the specific process is as follows:
  • the service subscriber should act as the NAN ranging initiator, and the service publisher should act as the ranging responder.
  • the NAN ranging initiator should initiate a ranging session to the service publisher based on the ranging type indicated by the SDEA contained in the NAN service discovery frame received during the NAN ranging capability exchange process.
  • the value of the ranging type information is "01", which means that the service needs to adopt the Non-TB ranging method.
  • the value of the ranging type information is "10", which means that the service needs to adopt the enhanced based on EDCA's FTM ranging method
  • the ranging type information (Ranging with Specific Type) value is "00", indicating that the service needs to use the traditional FTM ranging method.
  • the ranging type information please refer to the second implementation method above, which will not be described again in this embodiment.
  • the control module of the service subscriber should decide whether to initiate a NAN ranging session to the service Publish party and decide to transmit the first NAN device based on the capability information, the last movement indication and the FAW information of the first NAN device in the first NAN cluster that supports HE PHY mode.
  • the ranging method needs to be specified when NAN ranging request frame.
  • the time of transmission of the first ranging request frame can be within the DW or the FAW of the second NAN device that supports HE PHY mode during the ranging capability exchange phase.
  • the first NAN ranging request frame should contain ranging setup attribute signaling (Ranging Setup Attribute), ranging information attribute (Ranging Information Attribute), NAN availability attribute (NAN Availability Attribute) and device function attribute (Device Capability Attribute) .
  • the value of NAN FTM Parameters Present is set to 1, and the parameters of the enhanced EDCA-based FTM ranging method are carried in the NAN FTM Parameters field.
  • the first NAN device uses explicit or implicit instructions.
  • the enhanced EDCA-based FTM ranging method is illustrative. For a detailed introduction to the ranging setting attributes, please refer to the fourth and fifth implementation methods above, which will not be described again in this embodiment.
  • the value of the PHY Mode information in the Operation Mode (Operation Mode) field of a NAN device that supports HE PHY mode is 1, and the value of the Extended PHY Mode information is 1 to indicate that it supports HE PHY mode. If the value of the first bandwidth indication information and/or the second bandwidth indication information is 1, it indicates that the device supports the 80+80MHz bandwidth mode and/or the 160MHz bandwidth mode.
  • the value of the first bandwidth indication information and/or the second bandwidth indication information is 1, it indicates that the device supports the 80+80MHz bandwidth mode and/or the 160MHz bandwidth mode.
  • the ranging information attribute is used to indicate whether the coordinates of its LCI place are available, whether the geographic LCI is available, whether the citizen's location information is available, and the last movement situation.
  • the ranging information attribute is used to indicate whether the coordinates of its LCI place are available, whether the geographic LCI is available, whether the citizen's location information is available, and the last movement situation.
  • the NAN availability attribute is used to carry potential FAW, conditional FAW, and committed FAW that can perform the Non-TB ranging method.
  • the service publisher receives the first ranging request frame from the service subscriber.
  • the control module in the ranging engine of the service subscriber should decide whether to accept or reject the ranging request based on the ranging parameters in the ranging request frame.
  • the service publisher should transmit a ranging response frame to the service subscriber, which should contain the ranging Setting attribute signaling (Ranging Setup Attribute), ranging information attribute signaling (Ranging Information Attribute), NAN Availability Attribute (NAN Availability Attribute) and device function attribute signaling (Device Capability Attribute).
  • ranging Setting attribute signaling Ranging Setup Attribute
  • ranging information attribute signaling Ranging Information Attribute
  • NAN Availability Attribute NAN Availability Attribute
  • device function attribute signaling Device Capability Attribute
  • the service publisher should transmit a ranging response frame to the service subscriber in the first NAN cluster, which should contain the ranging settings.
  • Attribute signaling (Ranging Setup Attribute), ranging information attribute signaling (Ranging Information Attribute); optionally including NAN Availability Attribute (NAN Availability Attribute) and device function attribute signaling (Device Capability Attribute).
  • the Status subfield indicates rejection. Since the Non-TB ranging parameters contained in the ranging request frame of the first NAN device supporting HE PHY mode in the first NAN cluster do not meet the requirements, the Reason Code field is set to 13 (NTB_PARAMETERS_INCAPABLE) to indicate Non-TB ranging. The parameters do not meet the requirements and are rejected.
  • the Reason Code is set to 12 (RANGING_SCHEDULE_UNACCEPTABLE) due to resource scheduling reasons for the first HE PHY mode in the first NAN cluster; the Reason Code is set to "2" (RESOURCE_LIMITATION) due to any FAW that cannot appear in the ranging request frame. and other ways.
  • the NAN ranging initiator may initiate a ranging session update by transmitting a NAN ranging request frame to the responder.
  • the NAN ranging responder may request an update to the ranging session by transmitting a scheduled update notification NAF containing a potential FAW, conditional FAW, or committed FAW.
  • the NAN ranging initiator decides whether to start the ranging session update after receiving the scheduling update notification NAF.
  • the process of updating the NAN ranging session is the same as the process of starting the NAN ranging session.
  • both the ranging initiator and the ranging responder can terminate the ranging session by transmitting a ranging termination frame to the peer device. If the ranging session is terminated, the corresponding committed resource blocks in the ranging session should be released.
  • the ranging termination frame should carry the ranging setup attribute signaling (Ranging Setup Attribute), optionally including the ranging information attribute signaling (Ranging Information Attribute), NAN Availability Attribute (NAN Availability Attribute) and alignment time attribute (Unaligned Schedule Attribute).
  • the Type subfield in the Type and Status field in the ranging setting attribute signaling is set to "2" (termination)
  • b0, b1, b2, b3, and b4 in the Ranging Control field should be set to "0" and do not appear.
  • FTM ranging parameters, NAN Non-TB ranging parameters, and ranging scheduling attribute list fields are examples of the Type subfield in the Type and Status field in the ranging setting attribute signaling.
  • Step 666 Perform a ranging process in the target ranging mode between the first NAN device and the second NAN device;
  • the ranging initiator and the ranging responder After completing the NAN ranging negotiation, the ranging initiator and the ranging responder successfully established a ranging schedule (schedule), that is, a ranging schedule was successfully established between the first NAN device and the second NAN device.
  • the ranging initiator should transmit the IFTMR to the ranging responder to initiate a ranging request, and carry different parameters according to the different ranging methods.
  • the ranging responder IFTM frames should also be transmitted in response to ranging requests from the ranging initiator. Then the ranging responder and the ranging initiator perform one or more measurement instances according to the negotiated ranging method.
  • Step 668 The second NAN device sends the ranging result of the target ranging mode
  • the responder indicates that ranging results are required.
  • the initiator uses the ranging report frame to report the ranging results of the current measurement instance to the responder. That is, the second NAN device sends the ranging result of the target ranging mode.
  • the method provided by this embodiment indicates whether the first NAN device supports the relevant capabilities of the target ranging method through the capability signaling used for device capability exchange, and adopts ranging methods that are different from the traditional FTM ranging method.
  • Method to perform device capability exchange through the setting signaling used for ranging session establishment, information related to the target ranging method of the first NAN device is indicated, and a ranging method different from the traditional FTM ranging method is used for ranging; expansion It is the first target ranging method supported by NAN equipment; it meets the different requirements for ranging of NAN equipment in different scenarios, and uses the target ranging method to improve ranging accuracy.
  • Figure 26 provides a structural block diagram of a NAN ranging engine provided by an embodiment of the present application.
  • the NAN ranging engine includes a ranging receiving unit 710, a ranging transmitting unit 720, an analyzing unit 730, and a ranging control unit 740.
  • the ranging receiving unit 710 is used to receive and cache the NAN ranging request frame, NAN ranging response frame, NAN ranging termination frame, NAN ranging update frame and other frames related to the NAN ranging process, such as IFTMR frame, IFTM frames, FTM frames, etc.
  • the ranging transmission unit 720 is used to cache and transmit the NAN ranging request frame, NAN ranging response frame, NAN ranging termination frame, NAN ranging update frame and other frames related to the NAN ranging process, such as IFTMR frame, IFTM frames, FTM frames, etc.
  • the parsing unit 730 is configured to parse the NAN ranging request frame, NAN ranging response frame, NAN ranging termination frame, NAN ranging update frame and other ranging information related to the NAN ranging process, and report the results to the measuring from the control unit 740.
  • the ranging control unit 740 is used for control logic of the ranging operation process.
  • a ranging session that meets the requirements should be initiated based on the needs of the NAN service or application and device capabilities.
  • a specific ranging session should be initiated based on service requirements.
  • the NAN ranging reporting phase should calculate the final ranging results based on the ranging data, and return the results to the NAN application/service or NAN discovery engine. It also needs to report the ranging results to the peer device according to whether the ranging results need to be reported to the peer device during the NAN ranging negotiation phase. , decides whether to generate and transmit NAN ranging results to the peer device.
  • Figure 27 shows a block diagram of a device capability exchange device for a NAN device provided by an exemplary embodiment of the present application.
  • the device includes:
  • Sending module 810 configured to send capability signaling for device capability exchange, where the capability signaling is used to indicate whether the first NAN device supports relevant capabilities of the target ranging mode;
  • the target ranging method includes an enhanced EDCA-based FTM ranging method and/or a Non-TB ranging method.
  • the capability signaling is used to indicate whether the first NAN device supports the target ranging mode.
  • the capability signaling includes a ranging mode description field, and the ranging mode description field is used to indicate whether the first NAN device supports the target ranging mode.
  • the target ranging mode Methods include enhanced EDCA-based FTM ranging and/or Non-TB ranging.
  • the ranging mode description field includes first indication information and second indication information
  • the first indication information is used to indicate whether the first NAN device supports the enhanced EDCA-based FTM ranging mode; and/or the second indication information is used to indicate the first NAN device Whether the Non-TB ranging method is supported.
  • the ranging mode description field also includes third indication information; the third indication information is used to indicate whether the first NAN device supports the FTM ranging mode.
  • the capability signaling is carried in a NAN beacon frame or a NAN service discovery frame.
  • the capability signaling is used to indicate a target ranging method used by the service of the first NAN device.
  • the capability signaling includes ranging type information
  • the capability signaling is used to indicate that the target ranging method used by the service of the first NAN device is the enhanced EDCA-based FTM ranging method
  • the capability signaling is used to indicate that the target ranging mode used by the service of the first NAN device is the Non-TB Ranging mode.
  • the capability signaling is used to indicate the target ranging method used by the service of the first NAN device. It is the FTM ranging method.
  • the capability signaling is carried in a NAN service discovery frame.
  • the capability signaling is also used to indicate whether the first NAN device has HE PHY mode.
  • the capability signaling includes extended mode information
  • the capability signaling is used to indicate that the first NAN device is equipped with the HE PHY mode
  • the capability signaling is used to indicate that the first NAN device does not have the HE PHY mode.
  • the capability signaling is also used to indicate the channel bandwidth mode support status of the first NAN device.
  • the capability signaling further includes at least one of first bandwidth indication information and second bandwidth indication information
  • the capability signaling is used to indicate that the first NAN device has the HE PHY mode and Support the first bandwidth;
  • the capability signaling is used to indicate that the first NAN device has the HE PHY mode and does not support the first bandwidth
  • the capability signaling is used to indicate that the first NAN device has the HE PHY mode and supports second bandwidth;
  • the capability signaling is used to indicate that the first NAN device has the HE PHY mode and does not support the second bandwidth.
  • the extended mode information is carried in the operation mode field in the capability signaling, and the operation mode field also carries the first bandwidth information and the second bandwidth information. at least one of them.
  • the capability signaling is carried in a NAN beacon frame or a NAN service discovery frame.
  • Figure 28 shows a block diagram of a device capability exchange device for a NAN device provided by an exemplary embodiment of the present application.
  • the device includes:
  • the receiving module 820 is configured to receive capability signaling for device capability exchange.
  • the capability signaling is used to indicate whether the first NAN device supports the relevant capabilities of the target ranging mode.
  • the first NAN device sends the capability signaling;
  • the target ranging method includes an enhanced EDCA-based FTM ranging method and/or a Non-TB ranging method.
  • the capability signaling is used to indicate whether the first NAN device supports the target ranging mode.
  • the capability signaling includes a ranging mode description field, and the ranging mode description field is used to indicate whether the first NAN device supports the target ranging mode.
  • the target ranging mode Methods include enhanced EDCA-based FTM ranging and/or Non-TB ranging.
  • the ranging mode description field includes first indication information and second indication information
  • the first indication information is used to indicate whether the first NAN device supports the enhanced EDCA-based FTM ranging mode; and/or the second indication information is used to indicate the first NAN device Whether the Non-TB ranging method is supported.
  • the ranging mode description field also includes third indication information; the third indication information is used to indicate whether the first NAN device supports the FTM ranging mode.
  • the capability signaling is carried in a NAN beacon frame or a NAN service discovery frame.
  • the capability signaling is used to indicate a target ranging method used by the service of the first NAN device.
  • the capability signaling includes ranging type information
  • the capability signaling is used to indicate that the target ranging method used by the service of the first NAN device is the enhanced EDCA-based FTM ranging method
  • the capability signaling is used to indicate that the target ranging mode used by the service of the first NAN device is the Non-TB Ranging mode.
  • the capability signaling is used to indicate the target ranging method used by the service of the first NAN device. It is the FTM ranging method.
  • the capability signaling is carried in a NAN service discovery frame.
  • the capability signaling is used to indicate whether the first NAN device has HE PHY mode.
  • the capability signaling includes extended mode information
  • the capability signaling is used to indicate that the first NAN device is equipped with the HE PHY mode
  • the capability signaling is used to indicate that the first NAN device does not have the HE PHY mode.
  • the capability signaling is also used to indicate the channel bandwidth mode support status of the first NAN device.
  • the capability signaling further includes at least one of first bandwidth indication information and second bandwidth indication information
  • the capability signaling is used to indicate that the first NAN device has the HE PHY mode and Support the first bandwidth;
  • the capability signaling is used to indicate that the first NAN device has the HE PHY mode and does not support the first bandwidth
  • the capability signaling is used to indicate that the first NAN device has the HE PHY mode and supports second bandwidth;
  • the capability signaling is used to indicate that the first NAN device has the HE PHY mode and does not support the second bandwidth.
  • the extended mode information is carried in the operation mode field in the capability signaling, and the operation mode field also carries the first bandwidth information and the second bandwidth information. at least one of them.
  • the capability signaling is carried in a NAN beacon frame or a NAN service discovery frame.
  • Figure 29 shows a block diagram of a ranging session establishment device for a NAN device provided by an exemplary embodiment of the present application.
  • the device includes:
  • Sending module 830 configured to send setting signaling for ranging session establishment, where the setting signaling is used to indicate information related to the target ranging mode of the first NAN device;
  • the target ranging method includes an enhanced EDCA-based FTM ranging method and/or a Non-TB ranging method.
  • the setting signaling is used to set the target ranging mode among the candidate ranging modes supported by the first NAN device.
  • the setting signaling includes an FTM parameter indication field and an enhanced FTM ranging indication field;
  • the FTM parameter indication field is used to indicate that the target ranging mode adopted by the first NAN device is any one of the enhanced EDCA-based FTM ranging mode and the FTM ranging mode;
  • the enhanced FTM ranging indication field is used to explicitly indicate whether the target ranging mode is the enhanced EDCA-based FTM ranging mode.
  • the target ranging method is the enhanced EDCA-based FTM ranging method
  • the target ranging mode is the FTM ranging mode.
  • the setting signaling includes an FTM parameter indication field and an FTM format bandwidth field;
  • the FTM parameter indication field is used to indicate that the target ranging mode adopted by the first NAN device is any one of the enhanced EDCA-based FTM ranging mode and the FTM ranging mode;
  • the FTM format bandwidth field is used to implicitly indicate whether the target ranging method is the enhanced EDCA-based FTM ranging method;
  • the target ranging method is the enhanced EDCA-based FTM ranging method, so
  • the first field value interval is a field value interval corresponding to the HE type format based on EDCA;
  • the target ranging mode is the FTM ranging mode.
  • the setting signaling includes a Non-TB parameter indication field; the Non-TB parameter indication field is used to indicate that the target ranging method adopted by the first NAN device is the Describe the Non-TB ranging method.
  • the setting signaling also carries ranging parameters of the target ranging mode used for negotiation.
  • the setting signaling includes an FTM parameter field, and the FTM parameter field is used to carry ranging parameters of the enhanced EDCA-based FTM ranging mode.
  • the setting signaling includes a Non-TB parameter field, and the Non-TB parameter field is used to carry the ranging parameters of the Non-TB ranging mode.
  • the setting signaling is also used to indicate whether the first NAN device has HE PHY mode.
  • the setting signaling is carried in a ranging request frame.
  • Figure 30 shows a block diagram of a ranging session establishment device for a NAN device provided by an exemplary embodiment of the present application.
  • the device includes:
  • the receiving module 840 is configured to receive setting signaling for ranging session establishment, where the setting signaling is used to indicate information related to the target ranging mode of the first NAN device, and the first NAN device sends the Set signaling;
  • the target ranging method includes an enhanced EDCA-based FTM ranging method and/or a Non-TB ranging method.
  • the setting signaling is used to set a target ranging mode among the candidate ranging modes supported by the first NAN device.
  • the setting signaling includes an FTM parameter indication field and an enhanced FTM ranging indication field;
  • the FTM parameter indication field is used to indicate that the target ranging mode adopted by the first NAN device is any one of the enhanced EDCA-based FTM ranging mode and the FTM ranging mode;
  • the enhanced FTM ranging indication field is used to explicitly indicate whether the target ranging mode is the enhanced EDCA-based FTM ranging mode.
  • the target ranging method is the enhanced EDCA-based FTM ranging method
  • the target ranging mode is the FTM ranging mode.
  • the setting signaling includes an FTM parameter indication field and an FTM format bandwidth field;
  • the FTM parameter indication field is used to indicate that the target ranging mode adopted by the first NAN device is any one of the enhanced EDCA-based FTM ranging mode and the FTM ranging mode;
  • the FTM format bandwidth field is used to implicitly indicate whether the target ranging method is the enhanced EDCA-based FTM ranging method;
  • the target ranging method is the enhanced EDCA-based FTM ranging method, so
  • the first field value interval is a field value interval corresponding to the HE type format based on EDCA;
  • the target ranging mode is the FTM ranging mode.
  • the setting signaling includes a Non-TB parameter indication field; the Non-TB parameter indication field is used to indicate that the target ranging method adopted by the first NAN device is the Describe the Non-TB ranging method.
  • the setting signaling also carries ranging parameters of the target ranging mode used for negotiation.
  • the ranging parameters of the target ranging mode include the ranging parameters of the Non-TB ranging mode or the ranging parameters of the enhanced EDCA-based FTM ranging mode.
  • the device further includes: a sending module 850, configured to send response setting signaling for ranging session establishment, where the response setting signaling is used to instruct the second NAN device The received ranging parameters of the target ranging mode do not meet the target conditions.
  • a sending module 850 configured to send response setting signaling for ranging session establishment, where the response setting signaling is used to instruct the second NAN device The received ranging parameters of the target ranging mode do not meet the target conditions.
  • the response setting signaling includes a reason code field, and the reason code field is used to indicate the enhanced EDCA-based FTM ranging mode or the Non-TB ranging mode. The reason why the parameters do not meet the target conditions.
  • the reason code field is the first value
  • the reason code field is used to indicate that the parameters of the Non-TB ranging mode cannot meet the requirements
  • the reason code field is used to indicate that the enhanced EDCA-based FTM ranging method cannot meet the ranging accuracy requirements.
  • the response setting signaling is carried in a ranging response frame.
  • the setting signaling also carries ranging parameters of the target ranging mode used for negotiation.
  • the setting signaling includes an FTM parameter field, and the FTM parameter field is used to carry ranging parameters of the enhanced EDCA-based FTM ranging mode.
  • the setting signaling includes a Non-TB parameter field, and the Non-TB parameter field is used to carry the ranging parameters of the Non-TB ranging mode.
  • the setting signaling is also used to indicate whether the first NAN device has HE PHY mode.
  • the setting signaling is carried in a ranging request frame.
  • the device provided in the above embodiment implements its functions, only the division of the above functional modules is used as an example. In practical applications, the above functions can be allocated to different functional modules according to actual needs. That is, the content structure of the device is divided into different functional modules to complete all or part of the functions described above.
  • Figure 31 shows a schematic structural diagram of a computer device provided by an embodiment of the present application.
  • the computer device may include a processor 1201, a receiver 1202, a transmitter 1203, a memory 1204, and a bus 1205.
  • the processor 1201 includes one or more processing cores.
  • the processor 1201 executes various functional applications and information processing by running software programs and modules.
  • the receiver 1202 and the transmitter 1203 can be implemented as a transceiver, and the transceiver can be a communication chip.
  • the memory 1204 is connected to the processor 1201 through the bus 1205; for example, the processor 1201 can be implemented as a first IC chip, and the processor 1201 and the memory 1204 can be implemented together as a second IC chip; the first chip or the second chip can be It is an Application Specific Integrated Circuit (ASIC) chip.
  • ASIC Application Specific Integrated Circuit
  • the memory 1204 can be used to store at least one computer program, and the processor 1201 is used to execute the at least one computer program to implement various steps performed by the computer device in the above method embodiments.
  • the memory 1204 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, including but not limited to: read-only memory (ROM). ), Random-Access Memory (RAM), Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory, EEPROM), flash memory or other solid-state storage technology, compact disc (Compact Disc Read-Only Memory, CD-ROM), high-density digital video disc (Digital Video Disc, DVD) or other optical storage, tape cassette, magnetic tape, disk storage or other magnetic storage device.
  • ROM read-only memory
  • RAM Random-Access Memory
  • EPROM Erasable Programmable Read-Only Memory
  • EEPROM Electrically Erasable Programmable Read-Only Memory
  • flash memory or other solid-state storage technology
  • compact disc Compact Disc Read-Only Memory
  • CD-ROM Compact Disc Read-Only Memory
  • DVD high-density digital video disc
  • the above computer device can be implemented as a NAN device.
  • Embodiments of the present application also provide a computer-readable storage medium.
  • a computer program is stored in the computer-readable storage medium.
  • the computer program is used to be executed by a NAN device to implement the device capability exchange method of the NAN device. /or Ranging session establishment method for NAN devices.
  • the computer-readable storage medium may include: read-only memory (Read-Only Memory, ROM), random access memory (Random-Access Memory, RAM), solid state drive (Solid State Drives, SSD) or optical disk, etc.
  • random access memory can include resistive random access memory (Resistance Random Access Memory, ReRAM) and dynamic random access memory (Dynamic Random Access Memory, DRAM).
  • Embodiments of the present application also provide a chip, which includes programmable logic circuits and/or program instructions.
  • a NAN device installed with the chip is running, it is used to implement the device capability exchange method and/or of the above NAN device. Ranging session establishment method for NAN devices.
  • Embodiments of the present application also provide a computer program product or computer program.
  • the computer program product or computer program includes computer instructions.
  • the computer instructions are stored in a computer-readable storage medium.
  • the NAN device obtains data from the computer-readable storage medium.
  • the medium reads and executes the computer instructions to implement the device capability exchange method of the NAN device and/or the ranging session establishment method of the NAN device.
  • the "instruction” mentioned in the embodiments of this application may be a direct instruction, an indirect instruction, or an association relationship.
  • 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 between A and B. relation.
  • correlate can mean that there is a direct correspondence or indirect correspondence between the two, it can also mean that there is an associated relationship between the two, or it can mean indicating and being instructed, configuration and being. Configuration and other relationships.
  • the "plurality” mentioned in this article means two or more than two.
  • “And/or” describes the relationship between related objects, indicating that there can be three relationships.
  • a and/or B can mean: A exists alone, A and B exist simultaneously, and B exists alone.
  • the character "/" generally indicates that the related objects are in an "or” relationship.
  • the step numbers described in this article only illustrate a possible execution sequence between the steps. In some other embodiments, the above steps may not be executed in the numbering sequence, such as two different numbers. The steps are executed simultaneously, or two steps with different numbers are executed in the reverse order as shown in the figure, which is not limited in the embodiments of the present application.
  • Computer-readable media includes computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another.
  • Storage media can be any available media that can be accessed by a general purpose or special purpose computer.

Landscapes

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

Abstract

本申请公开了一种设备能力交换方法、测距会话建立方法、装置及设备,属于无线局域网领域。该方法由第一NAN设备或第二NAN设备执行,该方法包括:在第一NAN设备与第二NAN设备支持增强型EDCA的FTM测距方式和/或Non-TB测距方式的情况下,修改和/或增加用于设备能力交换的能力信令;以及修改和/或增加用于测距会话建立的设置信令,以实现第一NAN设备和第二NAN设备之间能够启用增强型EDCA的FTM测距方式或Non-TB测距方式进行测距。

Description

设备能力交换方法、测距会话建立方法、装置及设备 技术领域
本申请涉及无线局域网领域,特别涉及一种设备能力交换方法、测距会话建立方法、装置及设备。
背景技术
邻近感知网络(Neighbor Awareness Networking,NAN)设备的测距是一个NAN设备获得同一个NAN簇中其他NAN设备的距离。
相关机制下,增加了NAN对IEEE 802.11mc中规定的精细时间测量(Fine Timing Measurement,FTM)协议对测距功能的支持,FTM测距方式精度为2米。
随着个性化服务的需求不断提高,在诸如控制无人机或室内地理位置标记之类的一些场景下,对NAN设备的测距提出了更高的精度要求。
发明内容
本申请实施例提供了一种设备能力交换方法、测距会话建立方法、装置及设备。所述技术方案如下:
根据本申请实施例的一个方面,提供了一种NAN设备的设备能力交换方法,所述方法由第一NAN设备执行,所述方法包括:
发送用于设备能力交换的能力信令,所述能力信令用于指示所述第一NAN设备是否支持目标测距方式的相关能力;
其中,所述目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。
根据本申请实施例的另一个方面,提供了一种NAN设备的设备能力交换方法,所述方法由第二NAN设备执行,所述方法包括:
接收用于设备能力交换的能力信令,所述能力信令用于指示第一NAN设备是否支持目标测距方式的相关能力,所述第一NAN设备发送有所述能力信令;
其中,所述目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。
根据本申请实施例的另一个方面,提供了一种NAN设备的测距会话建立方法,所述方法由第一NAN设备执行,所述方法包括:
发送用于测距会话建立的设置信令,所述设置信令用于指示与所述第一NAN设备的目标测距方式相关的信息;
其中,所述目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。
根据本申请实施例的另一个方面,提供了一种NAN设备的测距会话建立方法,所述方法由第二NAN设备执行,所述方法包括:
接收用于测距会话建立的设置信令,所述设置信令用于指示与第一NAN设备的目标测距方式相关的信息,所述第一NAN设备发送有所述设置信令;
其中,所述目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。
根据本申请实施例的另一个方面,提供了一种NAN设备的设备能力交换装置,所述装置包括:
发送模块,用于发送用于设备能力交换的能力信令,所述能力信令用于指示所述第一NAN设备是否支持目标测距方式的相关能力;
其中,所述目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。
根据本申请实施例的另一个方面,提供了一种NAN设备的设备能力交换装置,所述装置包括:
接收模块,用于接收用于设备能力交换的能力信令,所述能力信令用于指示第一NAN设备是否支持目标测距方式的相关能力,所述第一NAN设备发送有所述能力信令;
其中,所述目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。
根据本申请实施例的另一个方面,提供了一种NAN设备的测距会话建立装置,所述装置包括:
发送模块,用于发送用于测距会话建立的设置信令,所述设置信令用于指示与所述第一NAN设备的目标测距方式相关的信息;
其中,所述目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。
根据本申请实施例的另一个方面,提供了一种NAN设备的测距会话建立装置,所述装置包括:
接收模块,用于接收用于测距会话建立的设置信令,所述设置信令用于指示与第一NAN设备的目标 测距方式相关的信息,所述第一NAN设备发送有所述设置信令;
其中,所述目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。
根据本申请实施例的另一个方面,提供了一种NAN设备,所述NAN设备包括处理器和存储器,所述存储器中有至少一段程序;所述处理器,用于执行所述存储器上中的所述至少一段程序以使得所述NAN设备实现上述NAN设备的设备能力交换方法和/或NAN设备的测距会话建立方法。
根据本申请实施例的另一个方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,所述计算机程序用于被NAN设备执行,以实现上述NAN设备的设备能力交换方法和/或NAN设备的测距会话建立方法。
根据本申请实施例的另一个方面,提供了一种芯片,所述芯片包括可编程逻辑电路和/或程序指令,安装有所述芯片的NAN设备运行时,用于实现上述NAN设备的设备能力交换方法和/或NAN设备的测距会话建立方法。
根据本申请实施例的另一个方面,提供了一种计算机程序产品或计算机程序,所述计算机程序产品或计算机程序包括计算机指令,所述计算机指令存储在计算机可读存储介质中,NAN设备从所述计算机可读存储介质读取并执行所述计算机指令,以实现上述NAN设备的设备能力交换方法和/或NAN设备的测距会话建立方法。
本申请实施例提供的技术方案可以带来如下有益效果:
通过用于设备能力交换的能力信令,指示了第一NAN设备是否支持目标测距方式的相关能力,支持采用与传统FTM测距方式不同的测距方式进行设备能力交换,拓展了第一NAN设备支持的目标测距方式;满足了在不同场景下对NAN设备的测距提出的不同要求,采用目标测距方式提升了测距精度。
通过用于测距会话建立的设置信令,指示了第一NAN设备的目标测距方式相关的信息,采用与传统FTM测距方式不同的测距方式进行测距,并协商目标测距方式的测距参数,拓展了第一NAN设备支持的目标测距方式;满足了在不同场景下对NAN设备的测距提出的不同要求,采用目标测距方式提升了测距精度。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请一个实施例提供的邻近感知网络系统的示意图;
图2是本申请一个实施例提供的由服务发现过程启动的测距会话的示意图;
图3是本申请一个实施例提供的由NAN服务启动的测距会话的示意图;
图4是本申请一个实施例提供的单突发FTM测距模式的示意图;
图5是本申请一个实施例提供的具有立即反馈报告的Non-TB测距方式的示意图;
图6是本申请一个实施例提供的具有延迟反馈报告的Non-TB测距方式的示意图;
图7是本申请一个实施例提供的具有双向反馈的Non-TB测距方式的示意图;
图8是本申请一个实施例提供的NAN设备的设备能力交换方法的流程图;
图9是本申请一个实施例提供的能力信令的示意图;
图10是本申请一个实施例提供的能力信令的示意图;
图11是本申请一个实施例提供的能力信令的示意图;
图12是本申请一个实施例提供的能力信令的示意图;
图13是本申请一个实施例提供的能力信令的示意图;
图14是本申请一个实施例提供的NAN设备的设备能力交换方法的流程图;
图15是本申请一个实施例提供的NAN设备的测距会话建立方法的流程图;
图16是本申请一个实施例提供的设置信令的示意图;
图17是本申请一个实施例提供的设置信令的示意图;
图18是本申请一个实施例提供的设置信令的示意图;
图19是本申请一个实施例提供的设置信令的示意图;
图20是本申请一个实施例提供的NAN设备的测距会话建立方法的流程图;
图21是本申请一个实施例提供的NAN设备的测距会话建立方法的流程图;
图22是本申请一个实施例提供的NAN设备的测距方式启动方法的示意图;
图23是本申请一个实施例提供的NAN设备的测距方式启动方法的流程图;
图24是本申请一个实施例提供的NAN设备的测距方式启动方法的示意图;
图25是本申请一个实施例提供的NAN设备的测距方式启动方法的流程图;
图26是本申请一个实施例提供的NAN测距引擎的结构框图;
图27是本申请一个实施例提供的NAN设备的设备能力交换装置的框图;
图28是本申请一个实施例提供的NAN设备的设备能力交换装置的框图;
图29是本申请一个实施例提供的NAN设备的测距会话建立装置的框图;
图30是本申请一个实施例提供的NAN设备的测距会话建立装置的框图;
图31是本申请一个实施例提供的计算机设备的结构示意图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
本申请实施例描述的网络架构以及业务场景是为了更加清楚地说明本申请实施例的技术方案,并不构成对本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。
首先,对邻近感知网络(Neighbor Awareness Networking,NAN)进行介绍:
在Wi-Fi联盟制定的标准中,在NAN机制中可以以第6信道为发现信道,在第6信道上,对于每个簇而言,发现窗口(Discovery Window,DW)的时长是固定的,且该簇的任意相邻的两个DW之间的时间间隔也是固定的。
根据Wi-Fi联盟制定的标准,在DW中,一个簇中的NAN设备可以在DW中发送同步信标(Sync Beacon)消息,以使得该簇中的NAN设备保持同步,也可以发送服务发现帧(Service Discovery Frames,SDF)消息,进行服务发现,在DW以外的时间中,该簇中的NAN设备可以发送发现信标(Discovery Beacon)消息,以宣告该簇的存在。
簇中的每个NAN设备都可以在DW中进行服务发现,以发现能够和其进行数据传输的其他NAN设备。经过服务发现后,相互之间需要进行数据传输的至少两个NAN设备,可以在该DW中约定的时频资源和网络连接方式,并当该DW结束后,在约定的时频资源上根据约定的网络连接方式组建相应的具有中心节点的网络。
其中,根据约定组建的网络可以为Wi-Fi技术的基本网络,包括基础设施基本服务集(Infrastructure Basic Service Set,Infrastructure BSS)网络,或者是点对点(Peerto Peer,P2P)网络。
当该至少两个NAN设备约定组建InfrastructureBSS网络时,若该至少两个NAN设备中的某个NAN设备为接入点(Access Point,AP),则可以以该AP作为中心节点,其他NAN设备均与该AP相连;若该至少两个NAN设备都不为AP时,则用户可以指定一个NAN设备作为中心节点,其他NAN设备均与该NAN设备相连。当该至少两个NAN设备约定组建P2P网络时,该至少两个NAN设备可以进行组所有者(Group Owner,GO)协商,确定以某个NAN设备担任GO,并以GO作为中心节点,其他NAN设备均与GO相连。
图1示出了本申请的一个示例性实施例提供的邻近感知网络系统的示意图;在本申请实施例中,该邻近感知网络系统包括至少两个NAN设备,上述至少两个NAN设备包括第一NAN设备110和第二NAN设备120,第二NAN设备120是第一NAN设备110所在的NAN网络中的NAN设备,图1中仅示出了两个NAN终端,但在不同实施例中存在多个其它终端130可以接入NAN网络。
其中,NAN设备可以包括电子设备,电子设备可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(Terminal Device)等等。
首先,对相关技术中的测距方式进行介绍:
NAN测距:
NAN测距允许一个NAN设备获得同一个NAN簇中其他NAN设备的距离。NAN测距的程序包括有以下四个过程:NAN测距能力交换;NAN测距会话启动、更新和终止;NAN测距报告;FTM协议和程序。
测距功能可以通过服务发现过程隐式调用,也可以通过应用和/或服务显式调用。两种调用NAN测距模块的方式分别介绍如下:
图2提供了本申请一个实施例提供的由服务发现过程启动的测距会话的示意图。
由服务发现过程启动的测距会话的示意图中包括:第一NAN设备和第二NAN设备;第一NAN设备包括服务或应用(Service/Application)、NAN引擎(Engine);相似的,第二NAN设备包括服务或应用 (Service/Application)、NAN引擎(Engine)。
步骤302:第一NAN设备的服务或应用向第一NAN设备的NAN引擎发布(Publish)测距需求(Ranging Required);
步骤304:第二NAN设备的服务或应用向第二NAN设备的NAN引擎发送订阅(Subscribe);
步骤306:第二NAN设备的NAN引擎向第一NAN设备的NAN引擎发送订阅(Subscribe);
步骤308:第一NAN设备的NAN引擎向第二NAN设备的NAN引擎发送SDF;
示例性的,服务发现帧(Service Discovery Frame,SDF)为发布(Publish)类型,在申请的一个实例中,SDF也称为NAN服务发现帧(Neighbor Awareness Networking Service Discovery Frame,NAN SDF)。
示例性的,SDF包括:服务描述符属性(Service Descriptor Attribute,SDA)、测距信息(Ranging Info)、NAN可用性属性(NAN Availability Attribute)。
步骤310:第二NAN设备的NAN引擎向第一NAN设备的NAN引擎发送NAN测距请求帧(NAN Ranging Request Frame);
第二NAN设备的NAN引擎在接收到NAN服务发现帧(Neighbor Awareness Networking Service Discovery Frame,NAN SDF)时,在NAN服务发现帧的服务描述符扩展属性(Service Descriptor Extension Attribute)中将测距需求(Ranging Required)位设置为True,第二NAN设备的NAN引擎构造并传输NAN测距请求帧到传输此未经请求的发布NAN服务发现帧(发布类型)的对等NAN设备以启动预期服务的测距会话建立过程。示例性的,第二NAN设备的NAN引擎向第一NAN设备的NAN引擎发送NAN测距请求帧。
示例性的,NAN测距请求帧包括:测距信息(Ranging Info)、测距设置属性(Ranging Setup Attribute,RSUA)、NAN可用性属性(NAN Availability Attribute)。
步骤312:第一NAN设备的NAN引擎向第二NAN设备的NAN引擎发送NAN测距响应帧(NAN Ranging Response Frame);
示例性的,NAN测距响应帧包括:测距信息(Ranging Info)、测距设置属性(Ranging Setup Attribute,RSUA)、NAN可用性属性(NAN Availability Attribute)。
步骤314:第一NAN设备的NAN引擎和第二NAN设备的NAN引擎之间执行一个或多个FTM测距方式;
步骤316:第二NAN设备的NAN引擎向第一NAN设备的NAN引擎发送NAN测距报告帧(NAN Ranging Report Frame);
示例性的,NAN测距报告帧包括FTM测距方式测距报告(FTM Ranging Report)。
步骤318:第二NAN设备的NAN引擎向第二NAN设备的服务或应用发送发现结果(Discovery Result);
步骤320:第一NAN设备的NAN引擎向第一NAN设备的服务或应用发送收到(Receive)。
图3提供了本申请一个实施例提供的由NAN服务启动的测距会话的示意图。
由服务发现过程启动的测距会话的示意图中包括:第一NAN设备和第二NAN设备;第一NAN设备包括服务或应用(Service/Application)、NAN引擎(Engine);相似的,第二NAN设备包括服务或应用(Service/Application)、NAN引擎(Engine)。
步骤352:第二NAN设备的NAN引擎向第一NAN设备的NAN引擎发送SDF;
示例性的,服务发现帧(Service Discovery Frame,SDF)为发布或订阅(Publish or Subscribe)类型。SDF包括:测距信息(Ranging Info)、NAN可用性属性(NAN Availability Attribute)。
步骤354:第一NAN设备的NAN引擎向第二NAN设备的NAN引擎发送SDF;
示例性的,服务发现帧(Service Discovery Frame,SDF)为发布或订阅(Publish or Subscribe)类型。SDF包括:测距信息(Ranging Info)、NAN可用性属性(NAN Availability Attribute)。
步骤356:第一NAN设备的服务或应用向第一NAN设备的NAN引擎发送测距请求(Range_Request);
步骤358:第二NAN设备的服务或应用向第二NAN设备的NAN引擎发送测距请求(Range_Request);
步骤360:第一NAN设备的NAN引擎向第二NAN设备的NAN引擎发送NAN测距请求帧(NAN Ranging Request Frame);
示例性的,第一NAN设备的NAN引擎在接收到测距请求(Range_Request)原语后,第一NAN设备的NAN引擎构造并传输一个测距请求帧以启动测距会话启动程序。
示例性的,NAN测距请求帧包括:测距信息(Ranging Info)、NAN可用性属性(NAN Availability Attribute)、测距设置属性(Ranging Setup Attribute,RSUA)。
步骤362:第二NAN设备的NAN引擎向第二NAN设备的服务或应用发送测距请求指示(Range_Request_Indication);
示例性的,第二NAN设备的NAN引擎在接收到测距请求帧后,第二NAN设备的NAN引擎检查自动响应(Auto Response)的取值是否为True。若自动响应设置为False,则生成测距请求指示(Range_Request_Indication)事件并发送给应用层。即向发送第二NAN设备的服务或应用发送测距请求指示(Range_Request_Indication)。
步骤364:第二NAN设备的服务或应用向第二NAN设备的NAN引擎发送测距响应(Range_Response);
示例性的,应用层可以通过启动测距请求指示原语拒绝或同意事件事务。将测距请求指示作为测距响应。
步骤366:第二NAN设备的NAN引擎向第一NAN设备的NAN引擎发送NAN测距响应帧(NAN Ranging Response Frame);
示例性的,收到测距请求指示原语或自动响应被设置为True作为测距响应的情况下,NAN引擎构造并传输NAN测距响应帧发送至对等实体。
示例性的,NAN测距响应帧包括:测距信息(Ranging Info)、NAN可用性属性(NAN Availability Attribute)、测距设置属性(Ranging Setup Attribute,RSUA)。
步骤368:第一NAN设备的NAN引擎和第二NAN设备的NAN引擎之间执行一个或多个FTM测距方式;
步骤370:第一NAN设备的NAN引擎向第二NAN设备的NAN引擎发送NAN测距报告帧(NAN Ranging Report Frame);
示例性的,NAN测距报告帧包括FTM测距方式测距报告(FTM Ranging Report)。
步骤372:第二NAN设备的NAN引擎向第二NAN设备的服务或应用发送测距结果(Range_Result);
步骤374:第一NAN设备的NAN引擎向第一NAN设备的服务或应用发送测距结果(Range_Result)。
对于NAN测距能力交换;
设备之间通过在NAN服务发现帧和NAN信标(Beacon)帧中携带相关的NAN属性来交换各自的测距能力。NAN信标帧包括NAN发现信标帧和NAN同步信标帧。
在NAN信标帧中可以携带如下属性:
·测距信息属性(Ranging Information Attribute);其中,测距信息属性用于指示NAN设备其LCI地方的坐标是否可用、地理LCI是否可用、公民位置信息是否可用以及最后一次的移动情况等。
·设备功能属性信令(Device Capability Attribute)。
在NAN服务发现帧中可以携带如下属性:
·测距信息属性(Ranging Information Attribute);
·设备功能属性(Device Capability Attribute);
·服务描述符扩展属性(Service Descriptor Extension Attribute),用于指示服务的更新指示、服务的测距限制、以及服务的控制信息(是否需要进一步的服务发现、是否需要数据路径、QoS需求、是否需要测距等信息)。
·测距属性信令(Ranging Attribute),用于携带设备的MAC地址、指定的测距方式(FTM测距方式)、信道和带宽的可用性信息等。
对于NAN测距会话启动、更新和终止;
开始NAN测距会话启动阶段的NAN设备称为测距发起方。响应设备是测距响应方。测距发起方和测距响应方在相应的FTM会话中分别作为FTM发起方(发起方STA)和FTM响应方(响应方STA)。
测距发起方通过向测距响应方发送一个传输测距请求帧以开始测距会话启动。该测距请求帧应该包含:
·测距设置属性(Ranging Setup Attribute),为NAN设备建立、更新和终止一个测距会话。建立测距会话时应该携带FTM测距相关参数、更新测距会话时需要指示新的测距调度参数,终止测距会话时需要指示终止表示并携带测距终止原因。
·测距信息属性(Ranging Information Attribute);
·NAN可用性属性(NAN Availability Attribute),用于携带各自可用于测距操作的潜在型、条件型和承诺型FAW。测距时间表一旦建立,由一个或多个测距通用资源块(Common Resource Block,CRB)组成,这些CRB基本上是两个NAN测距设备的承诺型FAW的重叠部分,他们由Ranging Setup Attribute中的时间位图选择。两个NAN测距设备应该确保测距时间表包含足够的测距CRB以支持所需的FTM参数。
测距发起方可以通过向测距响应方传输一个测距请求帧更新一个已经存在的测距会话。
测距响应方可以传输一个包含潜在型、条件型或承诺型FAW的时间表更新通知NAF来请求更新测距会话。
测距会话更新流程和测距启动流程一样。
在接收到取消测距(Cancel_Range)原语,NAN测距设备可以通过向对等设备传输测距终止帧来终止测距会话。NAN测距设备可以决定在任何时间由于任何原因通过向对等测距设备传输测距终止帧来终止一个测距会话。测距发起方或测距响应方都可以终止测距会话。如果测距会话终止,则相应测距会话中承诺的资源块将被释放。
对于NAN测距报告;
当测距响应帧中测距设置属性中的测距报告规定(Ranging Report Required)位设置为1时,测距发起方应该在每个测距会话完成之后向测距响应方传输一个包含FTM测距报告属性(Range Report Attribute)的测距报告帧。
对于FTM测距;
当测距发起方和测距响应方协商会话协商成功之后,双方应该在已经建立的测距调度的每个CRB中执行FTM测距程序。FTM程序应该以ASAP=1和单突发模式运行。
在每个调度的测距CRB期间,测距发起方应该向测距响应方发送初始FTM请求帧(Initial FTM Request Frame,IFTMR)以启动单突发尽可能快(As Soon As Possible,ASAP)FTM会话。并且初始FTM请求帧中包含的FTM参数最小德尔塔FTM(Min Delta FTM)和FTM格式带宽(FTM Format and Bandwidth)应该和最新的测距响应帧的测距参数一样。测距发起方可能改变初始FTM请求帧的其他参数,但是更改的参数仅对当前突发实例有效。图4提供了本申请一个实施例提供的单突发FTM测距模式的示意图。
介绍Non-TB测距方式:
对于Non-TB测距会话协商阶段;
发起方站(Initiating STA,ISTA)传输一个初始FTM请求帧(Initial FTM Request Frame,IFTMR)发起测距会话请求,并应该设置如下:
触发(Trigger)字段设置为1,用于代表开始或继续发送FTM帧。
测距参数(Ranging Parameters)元素中的一组调度参数,描述ISTA对测量交换的可用性。其中协商的参数包含有:
·格式和带宽子字段中的最大支持带宽。
·在最大R2I重复(Max R2I Repetition)子字段中指示能够接收的在R2I NDP的前导码中LTF重复的最大数量。
·在最大I2R重复(Max I2R Repetition)子字段中指示在I2R NDP的前导码中能够传输的最大LTF重复次数。
·在最大(Max)R2I STS<80MHz子字段中指示带宽小于或等于80MHz时,能够接收的R2I NDP传输的最大时空流数量。
·在最大(Max)R2I STS>80MHz子字段中指示带宽大于80MHz时能够接收的R2I NDP传输的最大时空流数量。
·在最大(Max)I2R STS<80MHz子字段中指示对于小于或等于80MHz的带宽,能够传输的I2R NDP的最大时空流数量。
·在最大(Max)I2R STS>80MHz子字段中指示对于大于80MHz的带宽,能够传输的I2R NDP的最大时空流数量。
·在最大(Max)R2I LTF Total子字段中指示能够接收的在R2I NDP中的LTF总数的最大数量,包括所有的重复次数。
·在最大(Max)I2R LTF Total子字段中指示能够传输的I2R NDP中的最大LTF总数,包括所有的重复次数。
·通过将I2R即时反馈子字段分别设置为1或0,在I2R LMR中提供即时或延迟反馈。
包含一个Non-TB特定子元素(Non-TB Specific subelement)。
响应方站(Responding STA,RSTA)应该在10ms内传输一个IFTM帧(Initial FTM Frame,IFTM)其中包含一个测距参数元素(Ranging Parameters Element)。状态指示字段的值应该表示请求的结果。
对于Non-TB测距探测阶段;
ISTA应通过发送一个向RSTA寻址的测距(Ranging)空数据公告帧(Null Data Packet Announcement,NDPA)来启动一个非TB(Non-TB)测距实例,短帧间间隔(Short Interframe Space,SIFS)之后,测距 发起方向测距响应方传输一个NDP帧。作为对正确接收到的针对自身的Ranging NDP公告帧的响应,测距响应方也应向测距发起方发送一个NDP帧。
对于Non-TB测距报告阶段;
测距报告阶段根据报告的时间可分为立即报告和延迟报告。
立即报告是指在每个测量实例完成之后响应方传输当前测距实例的结果,图5提供了本申请一个实施例提供的具有立即反馈报告的Non-TB测距方式的示意图。
延迟报告是指当前的测量报告携带前一个测量实例的测量结果,由于第一个测量报告没有有效的测量信息,因此需要将无效测量(Invalid Measurement)设置为“1”。图6提供了本申请一个实施例提供的具有延迟反馈报告的Non-TB测距方式的示意图。
上述的立即反馈和延迟反馈都属于单向反馈,单向反馈时强制性的。双向反馈是在协商阶段确定发起方STA是否需要向响应方STA测距报告测量结果,图7提供了本申请一个实施例提供的具有双向反馈的Non-TB测距方式的示意图。
接下来,通过几个实施例对本申请技术方案进行介绍说明。
在本申请的一个示例中,修改和/或增加用于设备能力交换的能力信令,以实现第一NAN设备和第二NAN设备之间能够启用增强型EDCA的FTM测距方式或Non-TB测距方式进行测距。第一NAN设备作为能力信令的发送方设备,发送用于设备能力交换的能力信令,第二NAN设备作为能力信令的接收方设备,接收用于设备能力交换的能力信令。
图8提供了本申请一个实施例提供的NAN设备的设备能力交换方法的流程图,该方法可以由第一NAN设备执行,该方法包括:
步骤510:发送用于设备能力交换的能力信令;
示例性的,能力信令用于指示第一NAN设备是否支持目标测距方式的相关能力;示例性的,能力信令用于指示发送能力信令的NAN设备是否支持目标测距方式的相关能力。在一个示例中,能力信令可以直接用于指示第一NAN是否支持目标测距方式,也可以用于间接指示第一NAN设备对目标测距能力的相关能力的支持情况。本申请对此不做出任何限制性规定。
能力信令用于向接收能力信令的设备交换第一NAN设备的设备能力。在一个示例中,第二NAN设备接收上述能力信令,能力信令用于向第二NAN设备交换第一NAN设备的设备能力。相似的,在本申请的一个示例中,第二NAN设备也可以向第一NAN设备发送用于设备能力交换的能力信令。本实施例第一NAN设备发送能力信令仅仅是在第一NAN设备作为能力信令的发送方设备的情况下的一种示例性描述。本领域技术人员可以理解,本申请中的其他实施例也可以由其他NAN设备执行,比如第一NAN设备或第二NAN设备执行。
示例性的,目标测距方式是与精细时间测量(Fine Timing Measurement,FTM)测距方式不同的测距方式。在一个示例中,目标测距方式与传统FTM测距方式不同,对目标测距方式不做出任何限制性规定。在一种可选实现方式中,目标测距方式的测距精度优于传统FTM测距方式;比如,目标测距方式是基于传统FTM测距方式的增强型测距方式,或与基于时间的测量方式不同的其他测距方式。在一个示例中,目标测距方式包括但不限于增强的分布式信道访问(Enhanced Distributed Channel Access,EDCA)的FTM测距方式和/或Non-TB测距方式;示例性的,在本申请中增强的分布式信道访问的FTM测距方式也称为增强的基于EDCA的FTM测距方式。
需要说明的是,本申请中的传统FTM测距方式是在目标测距方式之前出现的测距方式,传统FTM测距方式是NAN设备和/或NAN设备的相关协议中在目标测距方式之前提供的FTM测距方式,传统FTM测距方式和增强的基于EDCA的FTM测距方式是不同的测距方式。
本领域技术人员可以理解,上述对目标测距方式的描述是一种示例性介绍,目标测距方式可以包括其他测距方式。
综上所述,本实施例提供的方法,通过用于设备能力交换的能力信令,指示了第一NAN设备是否支持目标测距方式的相关能力,支持采用与传统FTM测距方式不同的测距方式进行设备能力交换,拓展了第一NAN设备支持的目标测距方式;满足了在不同场景下对NAN设备的测距提出的不同要求,采用目标测距方式提升了测距精度。
在本申请中,能力信令包括以下三种实现方式中的至少一种:
实现方式一:能力信令用于指示第一NAN设备是否支持目标测距方式。
实现方式二:能力信令用于指示第一NAN设备的服务使用的目标测距方式是哪一种(在支持目标测距方式的情况下)。
实现方式三:能力信令还用于指示第一NAN设备是否具备HE PHY模式。
接下来,将通过以下实施例,对三种实现方式逐个进行介绍。
实现方式一:能力信令用于指示第一NAN设备是否支持目标测距方式。
示例性的,能力信息用于指示第一NAN设备对目标测距方式的支持情况。目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。可选的,能力信令携带在NAN信标(Beacon)帧或NAN服务发现帧(Neighbor Awareness Networking Service Discovery Frame,NAN SDF)中。
在一种可选实现方式中,能力信令包括测距方式说明字段(Ranging Protocol Indication),测距方式说明字段用于指示第一NAN设备是否支持目标测距方式。在一种实现方式中,能力信令为测距信息属性信令(Ranging Information Attribute),通过在测距信息属性信令中新增测距方式说明字段指示第一NAN设备是否支持目标测距方式。图9提供了本申请一个实施例提供的能力信令的示意图,以能力信令为测距信息属性信令为例进行说明,能力信令包括以下字段:属性标识(Attribute ID)、长度(Length)、位置信息可用性(Location Info Availability)、最近移动指示(Last Movement Indication)和测距方式说明(Ranging Protocol Indication)。在一种可选实现方式中,图9中还示出了能力信令包括的字段的字节数(Octets),比如:属性标识的字节数为1,长度的字节数为2,位置信息可用性的字节数为1,最近移动指示的字节数为2,测距方式说明的字节数为1。
对能力信令中的测距方式说明字段进行进一步介绍。
测距方式说明字段包括第一指示信息和第二指示信息。
在一种实现方式中,上述测距方式说明字段包括第一指示信息和第二指示信息。比如,第一指示信息是指“增强型EDCA的FTM指示信息”,第二指示信息是指“Non-TB指示信息”。
其中,第一指示信息用于指示第一NAN设备是否支持增强的基于EDCA的FTM测距方式;和/或,第二指示信息用于指示第一NAN设备是否支持Non-TB测距方式。
在一个示例中,在第一指示信息为第一取值的情况下,指示第一NAN设备支持增强的基于EDCA的FTM测距方式,比如,第一指示信息的取值为1。在第一指示信息为第二取值的情况下,指示第一NAN设备不支持增强的基于EDCA的FTM测距方式。
在一个示例中,在第二指示信息为第三取值的情况下,指示第一NAN设备支持Non-TB测距方式,比如,第二指示信息的取值为1。在第二指示信息为第四取值的情况下,指示第一NAN设备不支持Non-TB测距方式。
示例性的,第一指示信息和第二指示信息可以分别指示增强的基于EDCA的FTM测距方式和/或Non-TB测距方式,也可以联合指示增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。可以理解的,第一信息和第二信息可以所属于相同字段,也可以所属于不同字段;第一指示信息和第二指示信息的指示方式可以是显式的也可以是隐式的。本申请对第一指示信息和第二指示信息的指示方式和所属字段等不做出任何限制性规定。相似的,对本申请中的其他信息,如第三指示信息等的指示方式和所属字段也不做出任何限制性规定。
图10提供了本申请一个实施例提供的能力信令的示意图,以能力信令为测距信息属性信令为例,对能力信令中的测距方式说明字段进行进一步说明。
能力信令包括测距方式说明字段,测距方式说明字段中包括:增强型EDCA的FTM指示信息和Non-TB指示信息。其中,第一指示信息为增强型EDCA的FTM指示信息,用于指示第一NAN设备是否支持增强的基于EDCA的FTM测距方式;第二指示信息为Non-TB指示信息,用于指示第一NAN设备是否支持Non-TB测距方式。示例性的,增强型EDCA的FTM指示信息和Non-TB指示信息均为比特(Bits)信息,图10中还示出了测距方式说明字段包括的信息的比特数(Bits):增强型EDCA的FTM指示信息和Non-TB指示信息的比特数均为1,测距方式说明字段中还包括6个比特数均为1的保留信息(Reserved),在一个示例中,保留信息的取值为0。
需要说明的是,本申请中对字段或信息的字段数、比特数介绍均为一种示例性的举例说明。本领域技术人员可以理解,在另一个示例中,字段或信息的字段数、比特数可以是其他数值。
在一个示例中,测距方式说明字段中的增强型EDCA的FTM指示信息和Non-TB指示信息用于指示支持HE PHY模式的NAN设备对增强的基于EDCA的FTM测距方式和/或Non-TB测距方式的支持情况。
在一种实现方式中,在测距方式说明字段中包括增强型EDCA的FTM指示信息和Non-TB指示信息的情况下,能力信令还包括测距属性信令(Ranging Attribute),测距属性信令用于指示第一NAN设备是否支持传统FTM测距方式;具体的,测距属性信令中包括测距协议(Ranging Protocol)字段。具体的,在 测距协议字段的取值为0的情况下,指示第一NAN设备支持传统FTM测距方式。在一个示例中,测距属性信令用于指示支持HT或VHT模式的NAN设备对传统FTM测距方式的支持情况。
测距方式说明字段还包括第三指示信息。
在一种实现方式中,上述测距方式说明字段包括第一指示信息和第二指示信息,测距方式说明字段还包括第三指示信息。第一指示信息用于指示第一NAN设备是否支持增强的基于EDCA的FTM测距方式;第二指示信息用于指示第一NAN设备是否支持Non-TB测距方式;第三指示信息用于指示第一NAN设备是否支持传统FTM测距方式。
在一个示例中,在第三指示信息为第五取值的情况下,指示第一NAN设备支持传统FTM测距方式,比如,第五指示信息的取值为0。在第三指示信息为第六取值的情况下,指示第一NAN设备不支持传统FTM测距方式。
图11提供了本申请一个实施例提供的能力信令的示意图,以能力信令为测距信息属性信令为例,对能力信令中的测距方式说明字段进行进一步说明。
能力信令包括测距方式说明字段,测距方式说明字段中包括:FTM指示信息、增强型EDCA的FTM指示信息和Non-TB指示信息。其中,第一指示信息为增强型EDCA的FTM指示信息,第二指示信息为Non-TB指示信息,第三指示信息为FTM指示信息。示例性的,FTM指示信息、增强型EDCA的FTM指示信息和Non-TB指示信息均为比特(Bits)信息,图11中还示出了测距方式说明字段包括的信息的比特数:FTM指示信息、增强型EDCA的FTM指示信息和Non-TB指示信息的比特数均为1,测距方式说明字段中还包括5个比特数均为1的保留信息(Reserved),在一个示例中,保留信息的取值为0。
在一个示例中,测距方式说明字段中的增强型EDCA的FTM指示信息和Non-TB指示信息用于指示支持HE PHY模式的NAN设备对增强的基于EDCA的FTM测距方式和Non-TB测距方式的支持情况。FTM指示信息用于指示支持HT或VHT模式的NAN设备对传统FTM测距方式的支持情况。
在一种可选实现方式中,能力信令还包括测距属性信令(Ranging Attribute),测距属性信令用于指示第一NAN设备是否支持传统FTM测距方式;具体的,测距属性信令中包括测距协议(Ranging Protocol)字段。具体的,在测距协议字段的取值为0的情况下,指示第一NAN设备支持传统FTM测距方式。
综上所述,本实施例提供的方法,通过用于设备能力交换的能力信令,指示了第一NAN设备是否支持目标测距方式,支持采用与传统FTM测距方式不同的测距方式进行设备能力交换,拓展了第一NAN设备支持的目标测距方式;满足了在不同场景下对NAN设备的测距提出的不同要求,采用目标测距方式提升了测距精度。
实现方式二:能力信令用于指示第一NAN设备的服务使用的目标测距方式。
示例性的,能力信令用于指示第一NAN设备的服务使用的目标测距方式的情况。在一个示例中,能力信息用于在第一NAN设备支持的测距方式中,指示第一NAN设备的服务具体使用的目标测距方式,目标测距方式通常包括一个测距方式。可选的,能力信令携带在NAN服务发现帧(Neighbor Awareness Networking Service Discovery Frame,NAN SDF)中。
在一种可选实现方式中,能力信令包括测距类型信息(Ranging with Specific Type),测距类型信息用于指示第一NAN设备的服务使用的目标测距方式。示例性的,测距类型信息携带在能力信令中的控制(Control)字段中。示例性的,能力信令为服务描述符扩展属性信令(Service Descriptor Extension Attribute)。
示例性的,目标测距方式包括增强型EDCA的FTM指示信息和Non-TB指示信息;在测距类型信息为第一取值的情况下,能力信令用于指示第一NAN设备的服务使用的目标测距方式为增强的基于EDCA的FTM测距方式;和/或,在测距类型信息为第二取值的情况下,能力信令用于指示第一NAN设备的服务使用的目标测距方式为Non-TB测距方式。
进一步的,目标测距方式还包括传统FTM测距方式,在测距类型信息为第三取值的情况下,能力信令用于指示第一NAN设备的服务使用的目标测距方式为传统FTM测距方式。
图12提供了本申请一个实施例提供的能力信令的示意图,以能力信令为服务描述符扩展属性信令为例进行说明,能力信令包括以下字段:属性标识(Attribute ID)、长度(Length)、示例标识(Instance ID)、控制(Control)、测距限制(Range Limit)、服务更新指标(Service Update Indicator)、服务信息的长度(Service Info Length)和服务信息(Service Info)。在一种可选实现方式中,图12中还示出了能力信令包括的字段的字节数,比如:属性标识的字节数为1,长度的字节数为2,示例标识的字节数为1,控制的字节数为2,测距限制的字节数为0或4,服务更新指标的字节数为0或1,服务信息的长度的字节数为0或2,服务信息的字节数为变量。
示例性的,控制(Control)字段包括以下信息:FSD需求(FSD Required)、FSD和GAS(FSD with GAS)、数据通路需求(Data Path Required)、数据通路类型(Data Path Type)、保留信息(Reserved)、QoS需求(QoS  Required)、安全需求(Security Required)、测距需求(Ranging Required)、测距限制是否存在(Ranging Limit Present)、服务更新指示是否存在(Service Update Indicator Present)、测距类型信息(Ranging with Specific Type)。示例性的,上文中的保留信息可以实现为多路广播类型(Multicast Type)。在一种实现方式中,控制字段还包括4个比特数均为1的保留信息(Reserved);示例性的,图12中还示出了控制字段包括的信息的比特数:上文中控制字段包括的信息中测距类型信息的比特数为2,其他信息的比特数均为1。
在一个示例中,在测距类型信息的取值为00的情况下,用于指示第一NAN设备的服务使用的目标测距方式为传统FTM测距方式;在测距类型信息的取值为01的情况下,用于指示第一NAN设备的服务使用的目标测距方式为Non-TB测距方式;在测距类型信息的取值为10的情况下,用于指示第一NAN设备的服务使用的目标测距方式为增强的基于EDCA的FTM测距方式。
综上所述,本实施例提供的方法,通过用于设备能力交换的能力信令,指示了第一NAN设备的服务使用的目标测距方式,支持采用与传统FTM测距方式不同的测距方式进行设备能力交换,拓展了第一NAN设备支持的目标测距方式;满足了在不同场景下对NAN设备的测距提出的不同要求,采用目标测距方式提升了测距精度。
实现方式三:能力信令还用于指示第一NAN设备是否具备HE PHY模式。
示例性的,本申请针对支持HE PHY模式的NAN设备,比如相关技术中支持HE PHY模式的HE STA、EHT STA等设备;添加了对IEEE 802.11az中的增强的基于EDCA的FTM测距方式和/或Non-TB测距方式的支持。
示例性的,能力信令用于指示第一NAN设备对HE PHY模式的支持情况。可选的,能力信令携带在NAN信标(Beacon)帧或NAN服务发现帧(Neighbor Awareness Networking Service Discovery Frame,NAN SDF)中。
在一种可选实现方式中,能力信令包括拓展模式信息(Extended PHY Mode),拓展模式信息用于指示第一NAN设备对HE PHY模式的支持情况。在一种实现方式中,能力信令为设备功能属性信令(Device Capability Attribute);在设备功能属性信令中的拓展模式信息为第一取值的情况下,能力信令用于指示第一NAN设备具备HE PHY模式;和/或,在拓展模式信息为第二取值的情况下,能力信令用于指示第一NAN设备不具备HE PHY模式,进一步的,在拓展模式信息为第二取值的情况下,能力信令用于指示第一NAN设备具备HT PHY模式或VHT PHY模式。
进一步的,能力信令还用于指示第一NAN设备的信道带宽模式支持情况。在一种实现方式中,能力信令可以用于指示第一NAN设备对一种信道带宽模式的支持情况,也可以是同时指示多种信道带宽模式的支持情况。
示例性的,能力信令还包括第一带宽指示信息和第二带宽指示信息中的至少之一。能力信令包括在第一带宽指示信息和第二带宽指示信息的情况下,用于指示对两种信道带宽模式的支持情况。示例性的,第一带宽指示信息是80+80MHz带宽指示,第二带宽指示信息是160MHz带宽指示。
具体的,在拓展模式信息为第一取值,且第一带宽指示信息为第三取值的情况下,能力信令用于指示第一NAN设备具备HE PHY模式且支持第一带宽;
和/或,在拓展模式信息为第一取值,且第一带宽指示信息为第四取值的情况下,能力信令用于指示第一NAN设备具备HE PHY模式且不支持第一带宽;
和/或,在拓展模式信息为第一取值,且第二带宽指示信息为第五取值的情况下,能力信令用于指示第一NAN设备具备HE PHY模式且支持第二带宽;
和/或,在拓展模式信息为第一取值,且第二带宽指示信息为第六取值的情况下,能力信令用于指示第一NAN设备具备HE PHY模式且不支持第二带宽。
图13提供了本申请一个实施例提供的能力信令的示意图,以能力信令为设备功能属性信令为例进行说明,能力信令包括以下字段:属性标识(Attribute ID)、长度(Length)、映射标识(Map ID)、承诺窗口信息(Committed DW info)、支持频段(Supported Bands)、操作模式(Operation Mode)、天线数量(Number of Antennas)、最大信道切换时间(Max Channel Switch Time)和功能(Capabilities)。在一种可选实现方式中,图13中还示出了能力信令包括的字段的字节数,比如:属性标识的字节数为1,长度的字节数为2,地图标识的字节数为1,委托窗口信息的字节数为2,支持频段的字节数为1,操作模式的字节数为1,天线数量的字节数为1,最大通道切换时间的字节数为2,功能的字节数为1。
对能力信令中的操作模式字段进行进一步介绍,在一种实现方式中,操作模式字段包括以下信息:PHY模式(PHY Mode)、80+80MHz带宽指示(80+80)、160MHz带宽指示(160)、保留信息、拓展模式(Extended PHY Mode)。图13中还示出了操作模式字段包括的信息的比特数:上述保留信息可以实现为寻呼NDL支持(Paging NDL Support),寻呼NDL支持的比特数为2。示例性的,操作模式字段还包括2个比特数均为 1的保留信息(Reserved)。操作模式字段的其他信息的比特数均为1。
其中,第一带宽指示信息为80+80MHz带宽指示,用于指示第一NAN设备是否支持第一带宽;第二带宽指示信息为160MHz带宽指示,用于指示第一NAN设备是否支持第二带宽。
表一示出了操作模式字段中PHY模式、80+80MHz带宽指示、160MHz带宽指示、拓展模式,四个信息的描述说明。
表一
Figure PCTCN2022106134-appb-000001
需要说明的是,拓展模式信息为保留信息(Reserved)的情况下,拓展模式信息的取值为0。
示例性的,在PHY模式取值为0,80+80MHz带宽指示取值为0,160MHz带宽指示取值为0且拓展模式取值为0的情况下,指示第一NAN设备只具备HT PHY模式。示例性的,第一NAN不具备VHT PHY模式和HE PHY模式,仅具备HT PHY模式。
在PHY模式取值为1,80+80MHz带宽指示取值为0,160MHz带宽指示取值为0且拓展模式取值为0的情况下,指示第一NAN设备具备VHT PHY模式,但不支持80+80MHz带宽模式和160MHz带宽模式。
在PHY模式取值为1,80+80MHz带宽指示取值为1,160MHz带宽指示取值为0且拓展模式取值为0的情况下,指示第一NAN设备具备VHT PHY模式,支持80+80MHz带宽模式。
在PHY模式取值为1,80+80MHz带宽指示取值为0,160MHz带宽指示取值为1且拓展模式取值为0的情况下,指示第一NAN设备具备VHT PHY模式,支持160MHz带宽模式。
在PHY模式取值为1,80+80MHz带宽指示取值为1,160MHz带宽指示取值为1且拓展模式取值为0的情况下,指示第一NAN设备具备VHT PHY模式,支持80+80MHz带宽模式和支持160MHz带宽模式。
在上述五个实现方式中,拓展模式信息为第二取值,能力信令用于指示第一NAN设备不具备HE PHY模式。
在PHY模式取值为1,80+80MHz带宽指示取值为0,160MHz带宽指示取值为0且拓展模式取值为1的情况下,指示第一NAN设备具备HE PHY模式,但不支持80+80MHz带宽模式和160MHz带宽模式。
在PHY模式取值为1,80+80MHz带宽指示取值为1,160MHz带宽指示取值为0且拓展模式取值为1的情况下,指示第一NAN设备具备HE PHY模式,支持80+80MHz带宽模式。
在PHY模式取值为1,80+80MHz带宽指示取值为0,160MHz带宽指示取值为1且拓展模式取值为1的情况下,指示第一NAN设备具备HE PHY模式,支持160MHz带宽模式。
在PHY模式取值为1,80+80MHz带宽指示取值为1,160MHz带宽指示取值为1且拓展模式取值为1的情况下,指示第一NAN设备具备HE PHY模式,支持80+80MHz带宽模式和支持160MHz带宽模式。
在上述四个实现方式中,拓展模式信息为第一取值,能力信令用于指示第一NAN设备具备HE PHY 模式。
示例性的,上述HT PHY模式、VHT PHY模式和HE PHY模式均兼容在前版本的NAN设备模式。
综上所述,本实施例提供的方法,通过用于设备能力交换的能力信令,指示了第一NAN设备是否具备HE PHY模式,支持采用与传统FTM测距方式不同的测距方式进行设备能力交换,拓展了第一NAN设备支持的目标测距方式;满足了在不同场景下对NAN设备的测距提出的不同要求,采用目标测距方式提升了测距精度。
图14提供了本申请一个实施例提供的NAN设备的设备能力交换方法的流程图,该方法可以由第二NAN设备执行,该方法包括:
步骤520:接收用于设备能力交换的能力信令;
示例性的,能力信令用于指示第一NAN设备是否支持目标测距方式的相关能力;在一个示例中,能力信令可以直接用于指示第一NAN是否支持目标测距方式,也可以用于间接指示第一NAN设备对目标测距能力的相关能力的支持情况。本申请对此不做出任何限制性规定。第一NAN设备发送有所述能力信令。
能力信令用于向接收能力信令的设备交换第一NAN设备的设备能力。在一个示例中,第二NAN设备接收上述能力信令,能力信令用于向第二NAN设备交换第一NAN设备的设备能力。
示例性的,目标测距方式是与精细时间测量(Fine Timing Measurement,FTM)测距方式不同的测距方式。在一个示例中,目标测距方式与传统FTM测距方式不同,对目标测距方式不做出任何限制性规定。在一中可选实现方式中,目标测距方式的测距精度优于传统FTM测距方式;比如,目标测距方式是基于传统FTM测距方式的增强型测距方式,或与基于时间的测量方式不同的其他测距方式。在一个示例中,目标测距方式包括但不限于增强的基于增强的分布式信道访问(Enhanced Distributed Channel Access,EDCA)的FTM测距方式和/或Non-TB测距方式;本领域技术人员可以理解,上述对目标测距方式的描述是一种示例性介绍,目标测距方式可以包括其他测距方式。
在本申请中,能力信令至少存在以下三种实现方式中的至少之一:
实现方式一:能力信令用于指示第一NAN设备是否支持目标测距方式。
实现方式二:能力信令用于指示第一NAN设备的服务使用的目标测距方式。
实现方式三:能力信令还用于指示第一NAN设备是否具备HE PHY模式。
本实施例中示出的三种实现方式和上文中图9至图13中对应的三种实现方式相同,对三种实现方式的详细说明请参考上文中的实施例,在本实施例中不再赘述。
综上所述,本实施例提供的方法,通过用于设备能力交换的能力信令,指示了第一NAN设备是否支持目标测距方式的相关能力,支持采用与传统FTM测距方式不同的测距方式进行设备能力交换,拓展了第一NAN设备支持的目标测距方式;满足了在不同场景下对NAN设备的测距提出的不同要求,采用目标测距方式提升了测距精度。
图15提供了本申请一个实施例提供的NAN设备的测距会话建立方法的流程图,该方法可以由第一NAN设备执行,该方法包括:
步骤530:发送用于测距会话建立的设置信令;
示例性的,设置信令用于指示与第一NAN设备的目标测距方式相关的信息;示例性的,在一个示例中,设置信令用于指示发送设置信令的NAN设备的目标测距方式相关的信息。设置信令可以直接用于设置第一NAN设备的目标测距方式,也可以用于间接指示与第一NAN设备的目标测距方式相关的信息。本申请对此不做出任何限制性规定。
设置信令用于向接收设置信令的设备传递第一NAN设备的设备设置情况。在一个示例中,第二NAN设备接收上述设置信令,设置信令用于向第二NAN设备传递第一NAN设备的设备设置情况。本领域技术人员可以理解,本申请中的其他实施例也可以由其他NAN设备执行,比如第一NAN设备或第二NAN设备执行。
示例性的,目标测距方式是与精细时间测量(Fine Timing Measurement,FTM)测距方式不同的测距方式。在一个示例中,目标测距方式与传统FTM测距方式不同,对目标测距方式不做出任何限制性规定。在一中可选实现方式中,目标测距方式的测距精度优于传统FTM测距方式;比如,目标测距方式是基于传统FTM测距方式的增强型测距方式,或与基于时间的测量方式不同的其他测距方式。在一个示例中,目标测距方式包括但不限于增强的基于增强的分布式信道访问(Enhanced Distributed Channel Access,EDCA)的FTM测距方式和/或Non-TB测距方式;本领域技术人员可以理解,上述对目标测距方式的描述是一种示例性介绍,目标测距方式可以包括其他测距方式。
综上所述,本实施例提供的方法,通过用于测距会话建立的设置信令,指示了第一NAN设备的目标 测距方式相关的信息,采用与传统FTM测距方式不同的测距方式进行测距,并协商目标测距方式的测距参数,拓展了第一NAN设备支持的目标测距方式;满足了在不同场景下对NAN设备的测距提出的不同要求,采用目标测距方式提升了测距精度。
在本申请的一个可选设计中,设置信令用于在第一NAN设备支持的候选测距方式中设置目标测距方式。在一种实现方式中,设置信令为测距设置属性信令(Ranging Setup Attribute),通过测距设置属性信令在第一NAN设备支持的候选测距方式中设置目标测距方式。可选的,设置信令携带在测距请求帧中。
在一种实现方式中,目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。可选的,设置信令还携带有用于协商的目标测距方式的测距参数。
接下来,对设置信令进行进一步介绍,在本实施例中设置信令包括以下三种实现方式中的至少之一:
实现方式四:设置信令包括FTM参数指示字段和增强FTM测距指示字段。
实现方式五:设置信令包括FTM参数指示字段和FTM格式带宽字段。
实现方式六:设置信令包括Non-TB参数指示字段。
实现方式四:设置信令包括FTM参数指示字段和增强FTM测距指示字段。
示例性的,FTM参数指示字段用于指示第一NAN设备采用的目标测距方式为增强的基于EDCA的FTM测距方式和传统FTM测距方式中的任意之一;增强FTM测距指示字段用于显式指示目标测距方式是否为增强的基于EDCA的FTM测距方式。
在一个示例中,增强FTM测距指示字段用于直接指示目标测距方式是否为增强的基于EDCA的FTM测距方式。比如:在增强FTM测距指示字段的取值为第一取值的情况下,目标测距方式为增强的基于EDCA的FTM测距方式;在增强FTM测距指示字段的取值为第二取值的情况下,目标测距方式与增强的基于EDCA的FTM测距方式不同。
图16提供了本申请一个实施例提供的设置信令的示意图,以设置信令为测距设置属性信令为例进行说明,设置信令包括以下字段:属性标识(Attribute ID)、长度(Length)、会话标志(Dialog Token)、类型和状态(Type and Status)、原因代码(Reason Code)、测距控制(Ranging Control)、NAN FTM参数(NAN FTM Parameters)和测距调度表(Ranging Schedule Entry List)。在一种可选实现方式中,图16中还示出了能力信令包括的字段的字节数,比如:属性标识的字节数为1,长度的字节数为2,会话标志的字节数为1,类型和状态的字节数为1,原因代码的字节数为1,测距控制的字节数为1,NAN FTM参数的字节数为0或3,测距调度表的字节数为0或变量。
示例性的,FTM参数指示字段实现为测距控制字段中的NAN FTM参数是否存在(NAN FTM Parameters Present)指示,NAN FTM参数是否存在指示用于指示目标测距方式为增强的基于EDCA的FTM测距方式和传统FTM测距方式中的任意之一。
示例性的,测距控制字段包括如下信息:测距报告需求(Ranging Report Required)、NAN FTM参数是否存在(NAN FTM Parameters Present)、测距调度表是否存在(Ranging Schedule Entry List Present);测距控制字段还包括5个比特数均为1的保留信息(Reserved);示例性的,图16中还示出了测距控制字段包括的信息的比特数:测距控制字段中信息的比特数均为1。
图17提供了本申请一个实施例提供的设置信令的示意图,以设置信令为测距设置属性信令为例进行说明,对测距设置属性信令中的NAN FTM参数字段进行进一步介绍。NAN FTM参数字段包括如下信息:最大突发持续时间(Max Burst Duration)、最小德尔塔FTM(Min Delta FTM)、每个突发中最大FTM交互次数(Max FTMs per burst)、FTM格式带宽(FTM Format and Bandwidth)、增强FTM测距指示(Enhanced FTM Ranging Indication)以及3个比特数均为1的保留信息(Reserved)。图17中还示出了NAN FTM参数字段包括的信息的比特数:最大突发持续时间的比特数为4,最小德尔塔FTM的比特数为6,每个突发中最大FTM交互次数的比特数为5,FTM格式带宽的比特数为6,增强FTM测距指示的比特数为1。
示例性的,增强FTM测距指示字段实现为NAN FTM参数字段中的增强FTM测距指示信息,增强FTM测距指示信息用于显式指示目标测距方式是否为增强的基于EDCA的FTM测距方式。比如,在增强FTM测距指示信息的取值为第一取值的情况下,目标测距方式为增强的基于EDCA的FTM测距方式,第一取值为1。在增强FTM测距指示信息的取值为第二取值的情况下,目标测距方式为传统FTM测距方式,第二取值为0。
需要进一步说明的是,NAN FTM参数字段还用于携带增强的基于EDCA的FTM测距方式的测距参数,用于指示需要协商增强的基于EDCA的FTM测距方式的测距参数。
综上所述,本实施例提供的方法,通过用于测距会话建立的设置信令,通过设置信令包括FTM参数指示字段和增强FTM测距指示字段,直接在第一NAN设备支持的候选测距方式中设置目标测距方式,采 用与传统FTM测距方式不同的测距方式进行测距,拓展了第一NAN设备支持的目标测距方式;满足了在不同场景下对NAN设备的测距提出的不同要求,采用目标测距方式提升了测距精度。
实现方式五:设置信令包括FTM参数指示字段和FTM格式带宽字段。
示例性的,FTM参数指示字段用于指示第一NAN设备采用的目标测距方式为增强的基于EDCA的FTM测距方式和传统FTM测距方式中的任意之一;FTM格式带宽字段用于隐式指示目标测距方式是否为增强的基于EDCA的FTM测距方式。
在一个示例中,FTM格式带宽字段用于间接指示目标测距方式是否为增强的基于EDCA的FTM测距方式。比如:在FTM格式带宽字段的字段值属于第一字段值区间的情况下,目标测距方式为增强的基于EDCA的FTM测距方式,第一字段值区间是采用基于EDCA的HE类型格式对应的字段值区间;和/或,在FTM格式带宽字段的字段值属于第二字段值区间的情况下,目标测距方式为传统FTM测距方式。
参考上文中图17中示出的设置信令的示意图;示例性的,FTM格式带宽字段实现为NAN FTM参数字段中的FTM格式带宽信息,FTM格式带宽信息用于隐式指示目标测距方式是否为增强的基于EDCA的FTM测距方式。
比如,在FTM格式带宽字段的字段值属于第一字段值区间的情况下,目标测距方式为增强的基于EDCA的FTM测距方式;在FTM格式带宽字段的字段值属于第二字段值区间的情况下,目标测距方式为传统FTM测距方式。第一字段值区间为17至22,第二字段值区间为0至16。
综上所述,本实施例提供的方法,通过用于测距会话建立的设置信令,通过设置信令包括FTM参数指示字段和FTM格式带宽字段,间接在第一NAN设备支持的候选测距方式中设置目标测距方式,采用与传统FTM测距方式不同的测距方式进行测距,拓展了第一NAN设备支持的目标测距方式;满足了在不同场景下对NAN设备的测距提出的不同要求,采用目标测距方式提升了测距精度。
实现方式六:设置信令包括Non-TB参数指示字段。
示例性的,Non-TB参数指示字段用于指示第一NAN设备采用的目标测距方式为Non-TB测距方式。
图18提供了本申请一个实施例提供的设置信令的示意图,以设置信令为测距设置属性信令为例进行说明,相较于上文中图16提供了本申请一个实施例提供的设置信令的示意图,测距设置属性信令还包括以下字段:Non-TB参数(Non-TB Parameters);Non-TB参数的字节数为0或变量。在测距控制(Ranging Control)字段中,相较于图16,将第一个保留信息(Reserved)定义为Non-TB参数是否存在(Non-TB Parameters Present)指示。
示例性的,Non-TB参数指示字段实现为Non-TB参数是否存在指示;比如,在Non-TB参数是否存在指示的取值为第一取值的情况下,目标测距方式为Non-TB测距方式,第一取值为1。和/或,在Non-TB参数是否存在指示的取值为第二取值的情况下,目标测距方式与Non-TB测距方式不同,第二取值为0。
需要进一步说明的是,Non-TB参数字段用于携带Non-TB测距方式的测距参数,用于指示需要协商Non-TB测距方式的测距参数。图19提供了本申请一个实施例提供的设置信令的示意图,对测距设置属性信令中的Non-TB参数字段进行进一步说明。图19中还示出了Non-TB参数字段包括的信息的比特数:Non-TB参数字段包括如下信息:测距优先级(Ranging Priority)比特数为2,R2I TOA类型(R2I TOA Type)比特数为1,I2R TOA类型(I2R TOA Type)比特数为1,R2I AOA请求(R2I AOA Request)比特数为1,I2R TOA请求(I2R AOA Request)比特数为1,格式和带宽(Format and Bandwidth)比特数为6,即时I2R反馈(Immediate I2R Feedback)比特数为3,即时R2I反馈(Immediate R2I Feedback)比特数为3。最大I2R重复(Max I2R Repetition)比特数为3,最大R2I重复(Max R2I Repetition)比特数为3,Max R2I STS<=80MHz信息比特数为2,Max R2I STS>80MHz信息比特数为2,Max R2I LTF总数(Max R2I LTF Total)比特数为3,Max I2R LTF总数(Max I2R LTF Total)比特数为3,Max I2R STS<=80MHz信息比特数为1,Max I2R STS>80MHz信息比特数为1。最小测量间隔时间(Min Time Between Measurements)比特数为23,最大测量间隔时间(Max Time Between Measurements)比特数为20,R2I发射功率(R2I Tx Power)比特数为1,I2R发射功率(I2R Tx Power)比特数为1,以及7个比特数均为1的保留信息(Reserved)。
综上所述,本实施例提供的方法,通过用于测距会话建立的设置信令,通过设置信令包括Non-TB参数指示字段,在第一NAN设备支持的候选测距方式中设置目标测距方式,采用与传统FTM测距方式不同的测距方式进行测距,拓展了第一NAN设备支持的目标测距方式;满足了在不同场景下对NAN设备的测距提出的不同要求,采用目标测距方式提升了测距精度。
在本申请的一个可选设计中,设置信令用于指示第一NAN设备是否具备HE PHY模式。在一种实现方式中,设置信令用于指示第一NAN设备对HE PHY模式的支持情况。可选的,设置信令携带在测距请 求帧中。
需要说明的是,本实施例中设置信令用于指示第一NAN设备是否具备HE PHY模式的详细说明与上文中的实现方式三完全相同,第一NAN设备是否具备HE PHY模式的详细说明请参考上文中的实施例,在本实施例中不再赘述。
图20提供了本申请一个实施例提供的NAN设备的测距会话建立方法的流程图,该方法可以由第二NAN设备执行,该方法包括:
步骤540:接收用于测距会话建立的设置信令;
示例性的,设置信令用于指示与第一NAN设备的目标测距方式相关的信息;在一个示例中,设置信令可以直接用于设置第一NAN设备的目标测距方式,也可以用于间接指示与第一NAN设备的目标测距方式相关的信息。本申请对此不做出任何限制性规定。
设置信令用于向接收设置信令的设备传递第一NAN设备的设备设置情况。在一个示例中,第二NAN设备接收上述设置信令,设置信令用于向第二NAN设备传递第一NAN设备的设备设置情况。
示例性的,目标测距方式是与精细时间测量(Fine Timing Measurement,FTM)测距方式不同的测距方式。在一个示例中,目标测距方式与传统FTM测距方式不同,对目标测距方式不做出任何限制性规定。在一中可选实现方式中,目标测距方式的测距精度优于传统FTM测距方式;比如,目标测距方式是基于传统FTM测距方式的增强型测距方式,或与基于时间的测量方式不同的其他测距方式。在一个示例中,目标测距方式包括但不限于增强的基于增强的分布式信道访问(Enhanced Distributed Channel Access,EDCA)的FTM测距方式和/或Non-TB测距方式;本领域技术人员可以理解,上述对目标测距方式的描述是一种示例性介绍,目标测距方式可以包括其他测距方式。
在本申请的一个可选设计中,设置信令用于在第一NAN设备支持的候选测距方式中设置目标测距方式。在本申请的一个可选设计中,设置信令用于指示第一NAN设备是否具备HE PHY模式。上述两种实现方式与上文中的实现方式三至实现方式六完全相同,详细说明请参考上文中的实施例,在本实施例中不再赘述。
综上所述,本实施例提供的方法,通过用于测距会话建立的设置信令,指示了第一NAN设备的目标测距方式相关的信息,采用与传统FTM测距方式不同的测距方式进行测距,拓展了第一NAN设备支持的目标测距方式;满足了在不同场景下对NAN设备的测距提出的不同要求,采用目标测距方式提升了测距精度。
图21提供了本申请一个实施例提供的NAN设备的设备能力交换方法的流程图,该方法可以由第二NAN设备执行,该方法包括:
步骤540:接收用于测距会话建立的设置信令;
示例性的,设置信令用于指示与第一NAN设备的目标测距方式相关的信息;在一个示例中,设置信令可以直接用于设置第一NAN设备的目标测距方式,也可以用于间接指示与第一NAN设备的目标测距方式相关的信息。本申请对此不做出任何限制性规定。
示例性的,设置信令还携带有用于协商的目标测距方式的测距参数。目标测距方式的测距参数包括Non-TB测距方式的测距参数或增强的基于EDCA的FTM测距方式的测距参数。
步骤550:发送用于测距会话建立的响应设置信令;
示例性的,响应设置信令用于指示第二NAN设备接收的目标测距方式的测距参数不满足目标条件。可选的,响应设置信令携带在测距响应帧中。
响应设置信令包括原因代码字段,原因代码字段用于指示增强的基于EDCA的FTM测距方式或Non-TB测距方式的参数不满足目标条件的原因。具体的,在原因代码字段为第一取值的情况下,原因代码字段用于指示Non-TB测距方式的参数不能满足要求;和/或,在原因代码字段为第二取值的情况下,原因代码字段用于指示增强的基于EDCA的FTM测距方式不能满足测距精度要求。
在一个具体的实例中,响应设置信令为测距设置属性信令(Ranging Setup Attribute),测距设置属性信令包括原因代码(Reason Code)字段;将原因代码字段设置为13(NTB_PARAMETERS_INCAPABLE)表示因为Non-TB测距方式的参数不能满足要求而拒绝测距发起方的测距请求。
将原因代码字段设置为14(RANGING PRECISION_INCAPABLE)表示当前测距方式不能满足服务测距精度要求需要更新或终止测距会话。进一步的,当第一NAN簇中第一支持HE PHY模式的NAN设备和第二支持HE PHY模式的NAN设备执行测距时,由于采用增强的基于EDCA的FTM测距方式导致测距精度不满足上层应用时,第一或第二支持HE PHY模式的NAN设备可以发送NAN测距会话更新或终止帧指示应该将原因代码字段设置为14。
综上所述,本实施例提供的方法,通过用于测距会话建立的响应设置信令,指示第二NAN设备接收的目标测距方式的测距参数不满足目标条件,采用与传统FTM测距方式不同的测距方式进行测距,拓展了第一NAN设备支持的目标测距方式;满足了在不同场景下对NAN设备的测距提出的不同要求,采用目标测距方式提升了测距精度。
需要说明的是,本申请的各个实施例中对第一NAN设备、第二NAN设备的描述仅仅为一种示例性描述,第一NAN设备用于指示能力信令或设置信令的发送方设备,第二NAN设备用于指示能力信令或设置信令的接收方设备。本领域技术人员可以理解第一NAN设备、第二NAN设备可以是NAN网络中的任一设备。在一个示例中,第一NAN设备为能力信令的发送方设备,第二NAN设备为设置信令的接收方设备,即使第一NAN设备和第二NAN设备的名称不同,但在上述这个具体的示例中,第一NAN设备和第二NAN设备可以是相同的设备,也可以是不同的设备。相似的,对于能力信令或设置信令中的任意之一,接收方设备和发送方设备通常是不同的。但能力信令的接收方设备和设置信令的任意方设备,设置信令的接收方设备和能力信令的任意方设备,可以是相同的也可以是不同的。任意方设备包括接收方设备和发送方设备中的任意之一。
可以理解的是,上述方法实施例可以单独实施,也可以组合实施,本申请对此不加以限制。
接下来,将通过以下两个实施例,对本申请的内容进行继续介绍:
图22提供了本申请一个实施例提供的NAN设备的测距方式启动方法的示意图。
示例性的,第一NAN设备向第二NAN设备发送NAN服务发现帧(SDF)进行订阅或发布;NAN服务发现帧中包括服务描述符属性(Service Descriptor Attribute,SDA)、设备功能属性(Device Capability Attribute,DCA)。相似的,第二NAN设备向第一NAN设备发送NAN服务发现帧(SDF)进行订阅或发布。
第一NAN设备向第二NAN设备发送NAN测距请求帧(NAN Ranging Request Frame),响应于上述NAN测距请求帧,第二NAN设备向第一NAN设备发送NAN测距响应帧(NAN Ranging Response Frame)。
进一步的,在第一NAN设备和第二NAN设备之间执行一个或多个增强型EDCA的FTM测距方式和/或Non-TB测距方式;需要说明的是,执行上述测距方式可以仅执行一次,也可以执行多次,本实施例对此不作出任何限制性规定。
第一NAN设备向第二NAN设备发送NAN测距报告帧(NAN Ranging Report Frame);第一NAN设备作为发起方使用测距报告帧将当前测量实例的测距结果报告给作为响应方的第二NAN设备。
图23提供了本申请一个实施例提供的NAN设备的测距方式启动方法的流程图,该方法可以由第一NAN设备执行,该方法包括:
步骤612:第一NAN设备发送NAN信标帧或NAN服务发现帧;
在同一NAN簇中任意两个支持HE PHY模式的NAN设备都可以通过NAN测距能力交换阶段指示该设备支持HE PHY模式。本实施例中以第一NAN设备发送NAN信标帧或NAN服务发现帧为例进行说明。
首先,对NAN服务发现帧进行介绍:
支持HE PHY模式的第一NAN设备的服务或应用可以通过调用该设备中NAN MAC或NAN引擎的订阅(Subscribe)或发布(Publish)方法,指示订阅或发布服务。支持HE PHY模式的第一NAN设备中NAN MAC或NAN引擎接收订阅或发布方法后可以生成并在DW内传输一个NAN服务发现帧。该NAN服务发现帧中应该携带服务描述符属性(Service Descriptor Attribute)、设备功能属性(Device Capability Attribute);NAN服务发现帧中还可以携带测距信息属性(Ranging Information Attribute)、测距属性(Ranging Attribute)等。
其中,服务描述符属性用于描述服务的类型、过滤器、服务的具体信息等。示例性的,当服务描述符属性中第0个比特(Bit 0)和第1个比特(Bit 1)的取值为“00”时,表示服务为发布类型;当服务描述符属性中第0个比特(Bit 0)和第1个比特(Bit 1)的取值为“01”时,表示服务为订阅类型。
设备功能属性用于描述设备承诺的DW信息、支持的频段、PHY模式和天线数量等信息。支持HE PHY模式的NAN设备的操作模式(Operation Mode)字段中的PHY Mode信息的取值为1,Extended PHY Mode信息的取值为1,以指示其支持HE PHY模式。通过第一带宽指示信息和/或第二带宽指示信息的取值为1,指示该设备支持80+80MHz带宽模式和/或160MHz带宽模式。示例性的,关于设备功能属性的详细介绍请参考上文中的实现方式三,在本实施例中不再赘述。
测距信息属性用于指示其LCI地方的坐标是否可用、地理LCI是否可用、公民位置信息是否可用以及最后一次的移动情况。第一NAN设备可以根据第一指示信息和第二指示信息指示第一NAN设备是否支持 目标测距方式,第一NAN设备还可以根据第一指示信息、第二指示信息和第三指示信息指示第一NAN设备是否支持目标测距方式。示例性的,关于测距信息属性的详细介绍请参考上文中的实现方式一,在本实施例中不再赘述。
相似的,支持HE PHY模式的第二NAN设备的服务或应用可以通过调用该设备中NAN MAC或NAN引擎的订阅(Subscribe)或发布(Publish)方法,指示订阅或发布服务。支持HE PHY模式的第二NAN设备中NAN MAC或NAN引擎接收订阅或发布方法后可以生成并在DW内传输一个NAN服务发现帧。
其次,对NAN信标帧进行介绍:
示例性的,第一NAN设备通过NAN信标帧携带NAN测距相关的属性,包括NAN发现信标帧和NAN同步信标帧。
本领域技术人员可以理解,NAN中存在至少三种类型的设备:Master设备、Non-Master Sync设备和Non-Master non-Sync设备。对上述三种设备指示支持增强的基于EDCA的FTM测距方式或Non-TB测距方式介绍如下:
·Master设备和Non-Master Sync设备;
对于NAN中的Master设备和Non-Master Sync设备可以在DW内传输携同步信标帧。在同步信标帧中可选的携带设备功能属性(Device Capability Attribute)和/或测距信息属性(Ranging Information Attribute)指示NAN设备支持的测距方式的相关信息。
具体的,支持HE PHY模式的NAN设备的操作模式(Operation Mode)字段中的PHY Mode信息的取值为1,Extended PHY Mode信息的取值为1,以指示其支持HE PHY模式。通过第一带宽指示信息和/或第二带宽指示信息的取值为1,指示该设备支持80+80MHz带宽模式和/或160MHz带宽模式。示例性的,关于设备功能属性的详细介绍请参考上文中的实现方式三,在本实施例中不再赘述。
测距信息属性用于指示其LCI地方的坐标是否可用、地理LCI是否可用、公民位置信息是否可用以及最后一次的移动情况。示例性的,关于测距信息属性的详细介绍请参考上文中的实现方式一,在本实施例中不再赘述。
·Master设备;
Master设备通过在DW外传输发现信标帧,在发现信标帧中可选的携带设备功能属性(Device Capability Attribute)和/或测距信息属性(Ranging Information Attribute)指示NAN设备支持的测距方式的相关信息。
具体的,支持HE PHY模式的NAN设备的操作模式(Operation Mode)字段中的PHY Mode信息的取值为1,Extended PHY Mode信息的取值为1,以指示其支持HE PHY模式。通过第一带宽指示信息和/或第二带宽指示信息的取值为1,指示该设备支持80+80MHz带宽模式和/或160MHz带宽模式。示例性的,关于设备功能属性的详细介绍请参考上文中的实现方式三,在本实施例中不再赘述。
测距信息属性用于指示其LCI地方的坐标是否可用、地理LCI是否可用、公民位置信息是否可用以及最后一次的移动情况。示例性的,关于测距信息属性的详细介绍请参考上文中的实现方式一,在本实施例中不再赘述。
步骤614:第一NAN设备发送用于协商目标测距方式的测距请求帧;
NAN设备决定发起NAN测距会话启动。启动NAN测距会话的设备称为NAN测距发起方,响应NAN测距会话的设备称为NAN测距响应方。示例性的,NAN测距发起方为第一NAN设备,NAN测距响应方为第二NAN设备。
NAN设备可以通过向对等设备传输NAN测距请求帧以启动和对等设备进行测距会话协商过程。在NAN测距会话启动过程中,两个NAN测距设备需要根据测距方式协商相应的测距参数。测距方式包括但不限于:传统FTM测距方式、增强的基于EDCA的FTM测距方式或Non-TB测距方式。
以测距发起方和测距响应方都是支持HE PHY模式的NAN设备为例进行说明。
同一NAN簇中两个支持HE PHY模式的NAN设备除了可以使用增强的基于EDCA的FTM测距方式或Non-TB测距方式。相关技术中支持同一NAN簇中两个支持HE PHY模式的NAN设备执行FTM测距的方法,本实施例仅介绍增强的基于EDCA的FTM测距方式和Non-TB测距方式的执行过程。
第一NAN簇中的第一支持HE PHY模式的NAN设备(即第一NAN设备)中测距引擎的控制模块应该根据第一NAN簇中第二支持HE PHY模式的NAN设备(即第二NAN设备)的能力信息、最后一次的移动指示和FAW信息决定是否向第一NAN簇中第二支持HE PHY模式的NAN设备发起NAN测距会话并决定传输第一NAN测距请求帧时需要协商的测距方式。
测距请求帧传输的时间可以是DW内也可以是测距能力交换阶段第二支持HE PHY模式的NAN设备的FAW。NAN测距请求帧中应该包含有测距设置属性信令(Ranging Setup Attribute)、测距信息属性信令(Ranging Information Attribute)、NAN可用性属性(NAN Availability Attribute)以及设备功能属性信令 (Device Capability Attribute)。
测距设置属性信令中将测距控制(Ranging Control)字段中的Non-TB Parameters Present的取值为1指示NAN Non-TB测距方式,测距设置属性信令携带可以支持的NAN Non-TB测距方式的相关参数。
测距设置属性信令中将NAN FTM Parameters Present的取值为1,并在NAN FTM Parameters字段中携带增强的基于EDCA的FTM测距方式的参数,第一NAN设备采用显式或隐式方式指示增强的基于EDCA的FTM测距方式,示例性的,关于测距设置属性的详细介绍请参考上文中的实现方式四、实现方式五,在本实施例中不再赘述。
具体的,支持HE PHY模式的NAN设备的操作模式(Operation Mode)字段中的PHY Mode信息的取值为1,Extended PHY Mode信息的取值为1,以指示其支持HE PHY模式。通过第一带宽指示信息和/或第二带宽指示信息的取值为1,指示该设备支持80+80MHz带宽模式和/或160MHz带宽模式。示例性的,关于设备功能属性的详细介绍请参考上文中的实现方式三,在本实施例中不再赘述。
测距信息属性用于指示其LCI地方的坐标是否可用、地理LCI是否可用、公民位置信息是否可用以及最后一次的移动情况。示例性的,关于测距信息属性的详细介绍请参考上文中的实现方式一,在本实施例中不再赘述。
NAN可用性属性用于携带可以执行Non-TB测距方式的潜在型FAW、条件型FAW和承诺型FAW。
第一NAN簇中的第二支持HE PHY模式的NAN设备在接收到第一NAN簇中第一支持HE PHY模式的NAN设备的测距请求帧后。第一NAN簇中的第二支持HE PHY模式的NAN设备测距引擎中控制模块应该根据测距请求帧中的测距参数决定接受或拒绝该测距请求。
若第一NAN簇中的第一支持HE PHY模式的NAN设备的测距请求帧中包含的测距参数以及NAN调度资源满足测距要求,则应该第一NAN簇中的第二支持HE PHY模式的NAN设备应该向第一NAN簇中的第一支持HE PHY模式的NAN设备传输测距响应帧,其中应该包含测距设置属性信令(Ranging Setup Attribute)、测距信息属性信令(Ranging Information Attribute)、NAN可用性属性(NAN Availability Attribute)以及设备功能属性信令(Device Capability Attribute)。对于测距响应帧中的测距设置属性信令、测距信息属性信令、NAN可用性属性以及设备功能属性信令,请参考上文中测距请求帧中的描述,在本实施例中不再赘述。
若第一NAN簇中的第一支持HE PHY模式的NAN设备的测距请求帧中包含的测距参数以及NAN调度资源不满足要求,则应该第一NAN簇中的第二支持HE PHY模式的NAN设备应该向第一NAN簇中的第一支持HE PHY模式的NAN设备传输测距响应帧,其中应该包含测距设置属性信令(Ranging Setup Attribute)、测距信息属性信令(Ranging Information Attribute);可选的包含NAN可用性属性(NAN Availability Attribute)以及设备功能属性信令(Device Capability Attribute)。
具体的,测距设置属性信令中将Status子字段设置为“1”表示拒绝。由于第一NAN簇中的第一支持HE PHY模式的NAN设备的测距请求帧中包含的Non-TB测距参数不满足要求,将Reason Code字段设置为13(NTB_PARAMETERS_INCAPABLE)表示Non-TB测距参数不满足要求而拒绝。
由于第一NAN簇中的第一支持HE PHY模式的资源调度原因将Reason Code设置为12(RANGING_SCHEDULE_UNACCEPTABLE);由于不能出现在测距请求帧中的任何FAW将Reason Code设置为“2”(RESOURCE_LIMITATION)等其他方式。
对于NAN测距会话更新
NAN测距发起方可以通过向响应方传输一个NAN测距请求帧来启动一个测距会话更新。
NAN测距响应方可以通过传输一个包含潜在型FAW、条件型FAW、承诺型FAW的调度更新通知NAF来请求测距会话的更新。NAN测距发起方接收到调度更新通知NAF后决定是否启动测距会话更新。NAN测距会话更新的过程和NAN测距会话启动过程相同。
对于NAN测距会话终止
在NAN测距会话过程中,当测距发起方和测距响应方都可以通过向对等设备传输测距终止帧来终止测距会话。若测距会话被终止,则在测距会话中相应的承诺的资源块应该被释放。测距终止帧应该携带有测距设置属性信令(Ranging Setup Attribute),可选的包含有测距信息属性信令(Ranging Information Attribute)、NAN可用性属性(NAN Availability Attribute)和对齐时间属性(Unaligned Schedule Attribute)。其中,测距设置属性信令中Type and Status字段中Type子字段设置“2”(终止),则Ranging Control字段中的b0、b1、b2、b3、b4应该设置为“0”,并且不出现FTM测距参数、NAN Non-TB测距参数以及测距调度属性列表字段。
步骤616:第一NAN设备和第二NAN设备之间执行目标测距方式的测距过程;
在完成NAN测距协商后,测距发起方和测距响应方成功建立了测距调度表(schedule),即第一NAN设备和第二NAN设备之间成功建立了测距调度表。
包含一个或多个测距CRB,在每个调度的测距CRB,测距发起方应该向测距响应方传输IFTMR发起测距请求,并根据测距方式的不同携带不同参数,测距响应方也应该传输IFTM帧响应测距发起方的测距请求。随后测距响应方和测距发起方根据所协商的测距方式执行一次或多次测量实例。
步骤618:第一NAN设备发送目标测距方式的测距结果;
在测距协商阶段响应方指示需要测距结果,在完成每个FTM或Non-TB测量实例之后,发起方使用测距报告帧将当前测量实例的测距结果报告给响应方。即第一NAN设备发送目标测距方式的测距结果。
综上所述,本实施例提供的方法,通过用于设备能力交换的能力信令,指示了第一NAN设备是否支持目标测距方式的相关能力,采用与传统FTM测距方式不同的测距方式进行设备能力交换;通过用于测距会话建立的设置信令,指示了第一NAN设备的目标测距方式相关的信息,采用与传统FTM测距方式不同的测距方式进行测距;拓展了第一NAN设备支持的目标测距方式;满足了在不同场景下对NAN设备的测距提出的不同要求,采用目标测距方式提升了测距精度。
示例性的,NAN测距会话启动阶段分为测距发起方是支持HE PHY模式的NAN设备和测距响应方是支持HE PHY模式两种情况。
当测距发起方是支持HE PHY模式的NAN设备则应该根据对等设备的能力信息发起符合对等设备能力的测距方法,例如:对等设备是HT NAN设备,则测距发起方应该发起基于HT格式和带宽的传统FTM测距方式的测距会话启动过程,对等设备是VHT NAN设备,则测距发起方可以发起基于HT或VHT格式和带宽的FTM测距请求的测距会话启动过程,如果对等设备支持HE PHY模式,则测距发起方可以发起现有的FTM测距、增强的基于EDCA的FTM测距方式或Non-TB测距方式的测距会话启动过程。
当测距响应方是支持HE PHY模式的NAN设备,则测距响应方应该根据对等设备的能力信息以及所发起的测距请求决定是否接受。存在两种情况,比如:
测距发起方为HT NAN设备或VHT NAN设备,测距响应方为支持HE PHY的NAN设备,采用传统FTM测距方式;
测距发起方为支持HE PHY的NAN设备,测距响应方为支持HE PHY的NAN设备,采用传统FTM测距方式、增强的基于EDCA的FTM测距方式或Non-TB测距方式。
当测距发起方是一个HT NAN设备或VHT NAN设备时,该设备会将支持HE PHY模式的测距响应方当作一个HT NAN或VHT NAN设备,在上文中进行了介绍,这里不再赘述。
图24提供了本申请一个实施例提供的NAN设备的测距方式启动方法的示意图。
示例性的,第二NAN设备向第一NAN设备发送NAN服务发现帧(SDF)进行订阅;第一NAN设备向第二NAN设备发送NAN服务发现帧进行发布;NAN服务发现帧中包括服务描述符属性(Service Descriptor Attribute,SDA)、服务描述符扩展属性信令(Service Descriptor Extension Attribute,SDEA)。
第二NAN设备向第一NAN设备发送NAN测距请求帧(NAN Ranging Request Frame),响应于上述NAN测距请求帧,第一NAN设备向第二NAN设备发送NAN测距响应帧(NAN Ranging Response Frame)。
进一步的,在第一NAN设备和第二NAN设备之间执行一个或多个增强型EDCA的FTM测距方式和/或Non-TB测距方式;需要说明的是,执行上述测距方式可以仅执行一次,也可以执行多次,本实施例对此不作出任何限制性规定。
第二NAN设备向第一NAN设备发送NAN测距报告帧(NAN Ranging Report Frame);第一NAN设备作为发起方使用测距报告帧将当前测量实例的测距结果报告给作为响应方的第二NAN设备。
图25提供了本申请一个实施例提供的NAN设备的测距方式启动方法的流程图,该方法可以由第一NAN设备和第二NAN设备执行,该方法包括:
步骤662:第一NAN设备发送NAN服务发现帧指示第一NAN服务使用的目标测距方式;
第一NAN簇中第一支持HE PHY模式的NAN设备(第一NAN设备)的服务或应用调用订阅(Subscribe)方法,并指示需要订阅的服务、订阅类型、配置参数等信息。订阅类型可选的包含有被动型(Passive)和主动型(Active)订阅两种方式。若订阅类型为主动型,则NAN MAC或NAN引擎应该在DW内传输一个NAN服务发现帧;当服务描述符属性中Service Control字段的第0个比特(Bit 0)和第1个比特(Bit 1)的取值为“01”时,表示服务为订阅类型。
NAN服务发现帧中携带有服务描述符属性(Service Descriptor Attribute),可以携带有设备功能属性信令(Device Capability Attribute)。
具体的,支持HE PHY模式的NAN设备的操作模式(Operation Mode)字段中的PHY Mode信息的取值为1,Extended PHY Mode信息的取值为1,以指示其支持HE PHY模式。通过第一带宽指示信息和/或 第二带宽指示信息的取值为1,指示该设备支持80+80MHz带宽模式和/或160MHz带宽模式。示例性的,关于设备功能属性的详细介绍请参考上文中的实现方式三,在本实施例中不再赘述。
第一NAN簇中第二支持HE PHY模式的NAN设备的服务/应用调用发布方式,并指示需要发布的服务、广告类型、配置参数和测距配置参数等信息。广告类型可选的包含有仅非请求式传输(Unsolicited Transmissions Only)、仅请求式传输(Solicited Transmissions Only)以及请求和非请求式传输三种方式:
当采用非请求式传输时,NAN设备生成并在DW内传输一个NAN服务发现帧;当服务描述符属性中第0个比特(Bit 0)和第1个比特(Bit 1)的取值为“00”时,表示服务为发布类型。
当采用请求式传输时,该NAN设备应该在接收到一个符合要求的订阅消息后生成并在DW内传输一个NAN服务发现帧;当服务描述符属性中第0个比特(Bit 0)和第1个比特(Bit 1)的取值为“00”时,表示服务为发布类型。
当采用请求和非请求式传输时,则表示该NAN设备在接收到对等订阅消息后应该以一个发布消息响应,没有接收到订阅消息时也应该主动传输发布消息。
NAN服务发现帧中应该携带服务描述符属性(Service Descriptor Attribute)、服务描述符扩展属性(Service Descriptor Extension Attribute)、设备功能属性(Device Capability Attribute)、测距信息属性(Ranging Information Attribute);可以携带测距属性(Ranging Attribute)。
服务描述符扩展属性用于描述服务的附加信息。
测距类型信息(Ranging with Specific Type)取值为“01”表示服务需要采用Non-TB测距方式,测距类型信息(Ranging with Specific Type)取值为“10”表示服务需要采用增强的基于EDCA的FTM测距方式,测距类型信息(Ranging with Specific Type)取值为“00”表示服务需要采用传统FTM测距方式。示例性的,关于测距类型信息的详细介绍请参考上文中的实现方式二,在本实施例中不再赘述。
测距信息属性用于指示其LCI地方的坐标是否可用、地理LCI是否可用、公民位置信息是否可用以及最后一次的移动情况。示例性的,关于测距信息属性的详细介绍请参考上文中的实现方式一,在本实施例中不再赘述。
具体的,支持HE PHY模式的NAN设备的操作模式(Operation Mode)字段中的PHY Mode信息的取值为1,Extended PHY Mode信息的取值为1,以指示其支持HE PHY模式。通过第一带宽指示信息和/或第二带宽指示信息的取值为1,指示该设备支持80+80MHz带宽模式和/或160MHz带宽模式。示例性的,关于设备功能属性的详细介绍请参考上文中的实现方式三,在本实施例中不再赘述。
第一NAN簇中第一支持HE PHY模式和第二支持HE PHY模式的NAN设备可选的通过NAN服务发现帧;NAN服务发现帧中服务描述符属性中Service Control字段的第0个比特(Bit 0)和第1个比特(Bit1)的取值为“10”时,表示服务为Follow-up类型。该NAN服务发现帧中可选的携带服务描述符扩展属性(Service Descriptor Extension Attribute)、设备功能属性(Device Capability Attribute)、测距信息属性(Ranging Information Attribute)等属性。
步骤664:第二NAN设备发送用于协商目标测距方式的测距请求帧;
如果同一NAN簇中的NAN设备需要订阅服务,则需要先和服务发布方完成测距。
以服务订阅方是HE NAN设备为例进行说明,服务订阅方作为NAN测距发起方(第二NAN设备)进行测距会话启动过程。具体流程如下:
NAN测距通过服务发现过程而被调用的测距会话过程中,服务订阅方应该作为NAN测距发起方,而服务发布方应该作为测距响应方。NAN测距发起方应该根据NAN测距能力交换过程中接收的NAN服务发现帧包含的SDEA用于指示的测距类型向服务发布方启动测距会话。测距类型信息(Ranging with Specific Type)取值为“01”表示服务需要采用Non-TB测距方式,测距类型信息(Ranging with Specific Type)取值为“10”表示服务需要采用增强的基于EDCA的FTM测距方式,测距类型信息(Ranging with Specific Type)取值为“00”表示服务需要采用传统FTM测距方式。示例性的,关于测距类型信息的详细介绍请参考上文中的实现方式二,在本实施例中不再赘述。
服务订阅方的控制模块应该根据第一NAN簇中第一支持HE PHY模式的NAN设备的能力信息、最后一次的移动指示和FAW信息决定是否向服务Publish方发起NAN测距会话并决定传输第一NAN测距请求帧时需要指定的测距方式。第一测距请求帧传输的时间可以是DW内也可以是测距能力交换阶段第二支持HE PHY模式的NAN设备的FAW。第一NAN测距请求帧中应该包含有测距设置属性信令(Ranging Setup Attribute)、测距信息属性(Ranging Information Attribute)、NAN可用性属性(NAN Availability Attribute)以及设备功能属性(Device Capability Attribute)。
测距设置属性信令中将NAN FTM Parameters Present的取值为1,并在NAN FTM Parameters字段中携带增强的基于EDCA的FTM测距方式的参数,第一NAN设备采用显式或隐式方式指示增强的基于EDCA的FTM测距方式,示例性的,关于测距设置属性的详细介绍请参考上文中的实现方式四、实现方式五, 在本实施例中不再赘述。
支持HE PHY模式的NAN设备的操作模式(Operation Mode)字段中的PHY Mode信息的取值为1,Extended PHY Mode信息的取值为1,以指示其支持HE PHY模式。通过第一带宽指示信息和/或第二带宽指示信息的取值为1,指示该设备支持80+80MHz带宽模式和/或160MHz带宽模式。示例性的,关于设备功能属性的详细介绍请参考上文中的实现方式三,在本实施例中不再赘述。
测距信息属性用于指示其LCI地方的坐标是否可用、地理LCI是否可用、公民位置信息是否可用以及最后一次的移动情况。示例性的,关于测距信息属性的详细介绍请参考上文中的实现方式一,在本实施例中不再赘述。
NAN可用性属性用于携带可以执行Non-TB测距方法的潜在型FAW、条件型FAW和承诺型FAW。
进一步的,服务发布方在接收到服务订阅方的第一测距请求帧后。服务订阅方测距引擎中控制模块应该根据测距请求帧中的测距参数决定是否应该接收或拒绝测距请求。
若服务订阅方的测距请求帧中包含的测距参数以及NAN调度资源满足第一发布服务中的测距要求,则服务发布方应该向服务订阅方传输测距响应帧,其中应该包含测距设置属性信令(Ranging Setup Attribute)、测距信息属性信令(Ranging Information Attribute)、NAN可用性属性(NAN Availability Attribute)以及设备功能属性信令(Device Capability Attribute)。对于测距响应帧中的测距设置属性信令、测距信息属性信令、NAN可用性属性以及设备功能属性信令,请参考上文中测距请求帧中的描述,在本实施例中不再赘述。
若服务订阅方的测距请求帧中包含的测距参数以及NAN调度资源不满足要求,则服务发布方应该向第一NAN簇中的服务订阅方传输测距响应帧,其中应该包含测距设置属性信令(Ranging Setup Attribute)、测距信息属性信令(Ranging Information Attribute);可选的包含NAN可用性属性(NAN Availability Attribute)以及设备功能属性信令(Device Capability Attribute)。
具体的,测距设置属性信令中将Status子字段设置为“1”表示拒绝。由于第一NAN簇中的第一支持HE PHY模式的NAN设备的测距请求帧中包含的Non-TB测距参数不满足要求,将Reason Code字段设置为13(NTB_PARAMETERS_INCAPABLE)表示Non-TB测距参数不满足要求而拒绝。
由于第一NAN簇中的第一支持HE PHY模式的资源调度原因将Reason Code设置为12(RANGING_SCHEDULE_UNACCEPTABLE);由于不能出现在测距请求帧中的任何FAW将Reason Code设置为“2”(RESOURCE_LIMITATION)等其他方式。
对于NAN测距会话更新
NAN测距发起方可以通过向响应方传输一个NAN测距请求帧来启动一个测距会话更新。
NAN测距响应方可以通过传输一个包含潜在型FAW、条件型FAW、承诺型FAW的调度更新通知NAF来请求测距会话的更新。NAN测距发起方接收到调度更新通知NAF后决定是否启动测距会话更新。NAN测距会话更新的过程和NAN测距会话启动过程相同。
对于NAN测距会话终止
在NAN测距会话过程中,当测距发起方和测距响应方都可以通过向对等设备传输测距终止帧来终止测距会话。若测距会话被终止,则在测距会话中相应的承诺的资源块应该被释放。测距终止帧应该携带有测距设置属性信令(Ranging Setup Attribute),可选的包含有测距信息属性信令(Ranging Information Attribute)、NAN可用性属性(NAN Availability Attribute)和对齐时间属性(Unaligned Schedule Attribute)。其中,测距设置属性信令中Type and Status字段中Type子字段设置“2”(终止),则Ranging Control字段中的b0、b1、b2、b3、b4应该设置为“0”,并且不出现FTM测距参数、NAN Non-TB测距参数以及测距调度属性列表字段。
步骤666:第一NAN设备和第二NAN设备之间执行目标测距方式的测距过程;
在完成NAN测距协商后,测距发起方和测距响应方成功建立了测距调度表(schedule),即第一NAN设备和第二NAN设备之间成功建立了测距调度表。
包含一个或多个测距CRB,在每个调度的测距CRB,测距发起方应该向测距响应方传输IFTMR发起测距请求,并根据测距方式的不同携带不同参数,测距响应方也应该传输IFTM帧响应测距发起方的测距请求。随后测距响应方和测距发起方根据所协商的测距方式执行一次或多次测量实例。
步骤668:第二NAN设备发送目标测距方式的测距结果;
在测距协商阶段响应方指示需要测距结果,在完成每个FTM或Non-TB测量实例之后,发起方使用测距报告帧将当前测量实例的测距结果报告给响应方。即第二NAN设备发送目标测距方式的测距结果。
综上所述,本实施例提供的方法,通过用于设备能力交换的能力信令,指示了第一NAN设备是否支持目标测距方式的相关能力,采用与传统FTM测距方式不同的测距方式进行设备能力交换;通过用于测距会话建立的设置信令,指示了第一NAN设备的目标测距方式相关的信息,采用与传统FTM测距方式不 同的测距方式进行测距;拓展了第一NAN设备支持的目标测距方式;满足了在不同场景下对NAN设备的测距提出的不同要求,采用目标测距方式提升了测距精度。
图26提供了本申请一个实施例提供的NAN测距引擎的结构框图。
NAN测距引擎包括测距接收单元710、测距传输单元720、解析单元730和测距控制单元740。
测距接收单元710用于接收并缓存NAN测距请求帧、NAN测距响应帧、NAN测距终止帧、NAN测距更新帧等其他和NAN测距过程中相关的帧,例如IFTMR帧、IFTM帧、FTM帧等。
测距传输单元720用于缓存并传输NAN测距请求帧、NAN测距响应帧、NAN测距终止帧、NAN测距更新帧等其他和NAN测距过程中相关的帧,例如IFTMR帧、IFTM帧、FTM帧等。
解析单元730用于对NAN测距请求帧、NAN测距响应帧、NAN测距终止帧、NAN测距更新帧等和NAN测距过程中相关的测距信息进行解析,并将结果报告至测距控制单元740。
测距控制单元740用于测距运行过程的控制逻辑。在测距会话启动过程,由NAN服务发起时应该根据NAN服务或应用的需要和设备能力启动一种符合要求的测距会话,由NAN发现引擎启动时应该根据服务要求启动特定的测距会话。在NAN测距会话协商阶段,应该根据参数判断是否满足服务/应用的要求决定接受或终止会话。NAN测距报告阶段应该根据测距数据计算最终的测距结果,并且将结果返回给NAN应用/服务或者NAN发现引擎,还需要根据NAN测距协商阶段中是否需要向对等设备报告测距结果,决定是否生成并传输NAN测距结果给对等设备。
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。
图27示出了本申请一个示例性实施例提供的NAN设备的设备能力交换装置的框图,该装置包括:
发送模块810,用于发送用于设备能力交换的能力信令,所述能力信令用于指示所述第一NAN设备是否支持目标测距方式的相关能力;
其中,所述目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。
在本申请的一个可选设计中,所述能力信令用于指示所述第一NAN设备是否支持所述目标测距方式。
在本申请的一个可选设计中,所述能力信令包括测距方式说明字段,所述测距方式说明字段用于指示所述第一NAN设备是否支持目标测距方式,所述目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。
在本申请的一个可选设计中,所述测距方式说明字段包括第一指示信息和第二指示信息;
其中,所述第一指示信息用于指示所述第一NAN设备是否支持所述增强的基于EDCA的FTM测距方式;和/或,所述第二指示信息用于指示所述第一NAN设备是否支持所述Non-TB测距方式。
在本申请的一个可选设计中,所述测距方式说明字段还包括第三指示信息;所述第三指示信息用于指示所述第一NAN设备是否支持FTM测距方式。
在本申请的一个可选设计中,所述能力信令携带在NAN信标帧或NAN服务发现帧中。
在本申请的一个可选设计中,所述能力信令用于指示所述第一NAN设备的服务使用的目标测距方式。
在本申请的一个可选设计中,所述能力信令包括测距类型信息;
其中,在所述测距类型信息为第一取值的情况下,所述能力信令用于指示所述第一NAN设备的服务使用的所述目标测距方式为所述增强的基于EDCA的FTM测距方式;
和/或,在所述测距类型信息为第二取值的情况下,所述能力信令用于指示所述第一NAN设备的服务使用的所述目标测距方式为所述Non-TB测距方式。
在本申请的一个可选设计中,在所述测距类型信息为第三取值的情况下,所述能力信令用于指示所述第一NAN设备的服务使用的所述目标测距方式为FTM测距方式。
在本申请的一个可选设计中,所述能力信令携带在NAN服务发现帧中。
在本申请的一个可选设计中,所述能力信令还用于指示所述第一NAN设备是否具备HE PHY模式。
在本申请的一个可选设计中,所述能力信令包括拓展模式信息;
其中,在所述拓展模式信息为第一取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式;
和/或,在所述拓展模式信息为第二取值的情况下,所述能力信令用于指示所述第一NAN设备不具备所述HE PHY模式。
在本申请的一个可选设计中,所述能力信令还用于指示所述第一NAN设备的信道带宽模式支持情况。
在本申请的一个可选设计中,所述能力信令还包括第一带宽指示信息和第二带宽指示信息中的至少之一;
在所述拓展模式信息为第一取值,且所述第一带宽指示信息为第三取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式且支持第一带宽;
和/或,在所述拓展模式信息为第一取值,且所述第一带宽指示信息为第四取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式且不支持所述第一带宽;
和/或,在所述拓展模式信息为第一取值,且所述第二带宽指示信息为第五取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式且支持第二带宽;
和/或,在所述拓展模式信息为第一取值,且所述第二带宽指示信息为第六取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式且不支持所述第二带宽。
在本申请的一个可选设计中,所述拓展模式信息携带在所述能力信令中的操作模式字段中,所述操作模式字段还携带有所述第一带宽信息和所述第二带宽信息中的至少之一。
在本申请的一个可选设计中,所述能力信令携带在NAN信标帧或NAN服务发现帧中。
图28示出了本申请一个示例性实施例提供的NAN设备的设备能力交换装置的框图,该装置包括:
接收模块820,用于接收用于设备能力交换的能力信令,所述能力信令用于指示第一NAN设备是否支持目标测距方式的相关能力,所述第一NAN设备发送有所述能力信令;
其中,所述目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。
在本申请的一个可选设计中,所述能力信令用于指示所述第一NAN设备是否支持所述目标测距方式。
在本申请的一个可选设计中,所述能力信令包括测距方式说明字段,所述测距方式说明字段用于指示所述第一NAN设备是否支持目标测距方式,所述目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。
在本申请的一个可选设计中,所述测距方式说明字段包括第一指示信息和第二指示信息;
其中,所述第一指示信息用于指示所述第一NAN设备是否支持所述增强的基于EDCA的FTM测距方式;和/或,所述第二指示信息用于指示所述第一NAN设备是否支持所述Non-TB测距方式。
在本申请的一个可选设计中,所述测距方式说明字段还包括第三指示信息;所述第三指示信息用于指示所述第一NAN设备是否支持FTM测距方式。
在本申请的一个可选设计中,所述能力信令携带在NAN信标帧或NAN服务发现帧中。
在本申请的一个可选设计中,所述能力信令用于指示所述第一NAN设备的服务使用的目标测距方式。
在本申请的一个可选设计中,所述能力信令包括测距类型信息;
其中,在所述测距类型信息为第一取值的情况下,所述能力信令用于指示所述第一NAN设备的服务使用的所述目标测距方式为所述增强的基于EDCA的FTM测距方式;
和/或,在所述测距类型信息为第二取值的情况下,所述能力信令用于指示所述第一NAN设备的服务使用的所述目标测距方式为所述Non-TB测距方式。
在本申请的一个可选设计中,在所述测距类型信息为第三取值的情况下,所述能力信令用于指示所述第一NAN设备的服务使用的所述目标测距方式为FTM测距方式。
在本申请的一个可选设计中,所述能力信令携带在NAN服务发现帧中。
在本申请的一个可选设计中,所述能力信令用于指示所述第一NAN设备是否具备HE PHY模式。
在本申请的一个可选设计中,所述能力信令包括拓展模式信息;
其中,在所述拓展模式信息为第一取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式;
和/或,在所述拓展模式信息为第二取值的情况下,所述能力信令用于指示所述第一NAN设备不具备所述HE PHY模式。
在本申请的一个可选设计中,所述能力信令还用于指示所述第一NAN设备的信道带宽模式支持情况。
在本申请的一个可选设计中,所述能力信令还包括第一带宽指示信息和第二带宽指示信息中的至少之一;
在所述拓展模式信息为第一取值,且所述第一带宽指示信息为第三取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式且支持第一带宽;
和/或,在所述拓展模式信息为第一取值,且所述第一带宽指示信息为第四取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式且不支持所述第一带宽;
和/或,在所述拓展模式信息为第一取值,且所述第二带宽指示信息为第五取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式且支持第二带宽;
和/或,在所述拓展模式信息为第一取值,且所述第二带宽指示信息为第六取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式且不支持所述第二带宽。
在本申请的一个可选设计中,所述拓展模式信息携带在所述能力信令中的操作模式字段中,所述操作模式字段还携带有所述第一带宽信息和所述第二带宽信息中的至少之一。
在本申请的一个可选设计中,所述能力信令携带在NAN信标帧或NAN服务发现帧中。
图29示出了本申请一个示例性实施例提供的NAN设备的测距会话建立装置的框图,该装置包括:
发送模块830,用于发送用于测距会话建立的设置信令,所述设置信令用于指示与所述第一NAN设备的目标测距方式相关的信息;
其中,所述目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。
在本申请的一个可选设计中,所述设置信令用于在所述第一NAN设备支持的候选测距方式中设置所述目标测距方式。
在本申请的一个可选设计中,所述设置信令包括FTM参数指示字段和增强FTM测距指示字段;
其中,所述FTM参数指示字段用于指示所述第一NAN设备采用的所述目标测距方式为所述增强的基于EDCA的FTM测距方式和FTM测距方式中的任意之一;所述增强FTM测距指示字段用于显式指示所述目标测距方式是否为所述增强的基于EDCA的FTM测距方式。
在本申请的一个可选设计中,在所述增强FTM测距指示字段为第一取值的情况下,所述目标测距方式为所述增强的基于EDCA的FTM测距方式;
和/或,在所述增强FTM测距指示字段为第二取值的情况下,所述目标测距方式为所述FTM测距方式。
在本申请的一个可选设计中,所述设置信令包括FTM参数指示字段和FTM格式带宽字段;
其中,所述FTM参数指示字段用于指示所述第一NAN设备采用的所述目标测距方式为所述增强的基于EDCA的FTM测距方式和FTM测距方式中的任意之一;所述FTM格式带宽字段用于隐式指示所述目标测距方式是否为所述增强的基于EDCA的FTM测距方式;
在本申请的一个可选设计中,在所述FTM格式带宽字段的字段值属于第一字段值区间的情况下,所述目标测距方式为所述增强的基于EDCA的FTM测距方式,所述第一字段值区间是采用基于EDCA的HE类型格式对应的字段值区间;
和/或,在所述FTM格式带宽字段的字段值属于第二字段值区间的情况下,所述目标测距方式为所述FTM测距方式。
在本申请的一个可选设计中,所述设置信令包括Non-TB参数指示字段;所述Non-TB参数指示字段用于指示所述第一NAN设备采用的所述目标测距方式为所述Non-TB测距方式。
在本申请的一个可选设计中,所述设置信令还携带有用于协商的所述目标测距方式的测距参数。
在本申请的一个可选设计中,所述设置信令包括FTM参数字段,所述FTM参数字段用于携带所述增强的基于EDCA的FTM测距方式的测距参数。
在本申请的一个可选设计中,所述设置信令包括Non-TB参数字段,所述Non-TB参数字段用于携带所述Non-TB测距方式的测距参数。
在本申请的一个可选设计中,所述设置信令还用于指示所述第一NAN设备是否具备HE PHY模式。
在本申请的一个可选设计中,所述设置信令携带在测距请求帧中。
图30示出了本申请一个示例性实施例提供的NAN设备的测距会话建立装置的框图,该装置包括:
接收模块840,用于接收用于测距会话建立的设置信令,所述设置信令用于指示与第一NAN设备的目标测距方式相关的信息,所述第一NAN设备发送有所述设置信令;
其中,所述目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。
在本申请的一个可选设计中,所述设置信令用于在所述第一NAN设备在支持的候选测距方式中设置目标测距方式。
在本申请的一个可选设计中,所述设置信令包括FTM参数指示字段和增强FTM测距指示字段;
其中,所述FTM参数指示字段用于指示所述第一NAN设备采用的所述目标测距方式为所述增强的基于EDCA的FTM测距方式和FTM测距方式中的任意之一;所述增强FTM测距指示字段用于显式指示所述目标测距方式是否为所述增强的基于EDCA的FTM测距方式。
在本申请的一个可选设计中,在所述增强FTM测距指示字段为第一取值的情况下,所述目标测距方式为所述增强的基于EDCA的FTM测距方式;
和/或,在所述增强FTM测距指示字段为第二取值的情况下,所述目标测距方式为所述FTM测距方式。
在本申请的一个可选设计中,所述设置信令包括FTM参数指示字段和FTM格式带宽字段;
其中,所述FTM参数指示字段用于指示所述第一NAN设备采用的所述目标测距方式为所述增强的基于EDCA的FTM测距方式和FTM测距方式中的任意之一;所述FTM格式带宽字段用于隐式指示所述目 标测距方式是否为所述增强的基于EDCA的FTM测距方式;
在本申请的一个可选设计中,在所述FTM格式带宽字段的字段值属于第一字段值区间的情况下,所述目标测距方式为所述增强的基于EDCA的FTM测距方式,所述第一字段值区间是采用基于EDCA的HE类型格式对应的字段值区间;
和/或,在所述FTM格式带宽字段的字段值属于第二字段值区间的情况下,所述目标测距方式为所述FTM测距方式。
在本申请的一个可选设计中,所述设置信令包括Non-TB参数指示字段;所述Non-TB参数指示字段用于指示所述第一NAN设备采用的所述目标测距方式为所述Non-TB测距方式。
在本申请的一个可选设计中,所述设置信令还携带有用于协商的所述目标测距方式的测距参数。
在本申请的一个可选设计中,所述目标测距方式的测距参数包括所述Non-TB测距方式的测距参数或所述增强的基于EDCA的FTM测距方式的测距参数。
在本申请的一个可选设计中,所述装置还包括:发送模块850,用于发送用于测距会话建立的响应设置信令,所述响应设置信令用于指示所述第二NAN设备接收的所述目标测距方式的测距参数不满足目标条件。
在本申请的一个可选设计中,所述响应设置信令包括原因代码字段,所述原因代码字段用于指示所述增强的基于EDCA的FTM测距方式或所述Non-TB测距方式的参数不满足目标条件的原因。
在本申请的一个可选设计中,在所述原因代码字段为第一取值的情况下,所述原因代码字段用于指示所述Non-TB测距方式的参数不能满足要求;
和/或,在所述原因代码字段为第二取值的情况下,所述原因代码字段用于指示所述增强的基于EDCA的FTM测距方式不能满足测距精度要求。
在本申请的一个可选设计中,所述响应设置信令携带在测距响应帧中。
在本申请的一个可选设计中,所述设置信令还携带有用于协商的所述目标测距方式的测距参数。
在本申请的一个可选设计中,所述设置信令包括FTM参数字段,所述FTM参数字段用于携带所述增强的基于EDCA的FTM测距方式的测距参数。
在本申请的一个可选设计中,所述设置信令包括Non-TB参数字段,所述Non-TB参数字段用于携带所述Non-TB测距方式的测距参数。
在本申请的一个可选设计中,所述设置信令还用于指示所述第一NAN设备是否具备HE PHY模式。
在本申请的一个可选设计中,所述设置信令携带在测距请求帧中。
需要说明的一点是,上述实施例提供的装置在实现其功能时,仅以上述各个功能模块的划分进行举例说明,实际应用中,可以根据实际需要而将上述功能分配由不同的功能模块完成,即将设备的内容结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
图31示出了本申请一个实施例提供的计算机设备的结构示意图。该计算机设备可以包括:处理器1201、接收器1202、发射器1203、存储器1204和总线1205。
处理器1201包括一个或者一个以上处理核心,处理器1201通过运行软件程序以及模块,从而执行各种功能应用以及信息处理。
接收器1202和发射器1203可以实现为一个收发器,该收发器可以是一块通信芯片。
存储器1204通过总线1205与处理器1201相连;示例性的,可以将处理器1201实现为第一IC芯片,将处理器1201和存储器1204共同实现为第二IC芯片;第一芯片或第二芯片可以是一种专用集成电路(Application Specific Integrated Circuit,ASIC)芯片。
存储器1204可用于存储至少一个计算机程序,处理器1201用于执行该至少一个计算机程序,以实现上述方法实施例中计算机设备执行的各个步骤。
此外,存储器1204可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,易失性或非易失性存储设备包括但不限于:只读存储器(Read-Only Memory,ROM)、随机存储器(Random-Access Memory,RAM)、可擦写可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)、电可擦写可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、闪存或其他固态存储其技术、只读光盘(Compact Disc Read-Only Memory,CD-ROM)、高密度数字视频光盘(Digital Video Disc,DVD)或其他光学存储、磁带盒、磁带、磁盘存储或其他磁性存储设备。
在一种实现方式中,上述计算机设备可以实现为NAN设备。
本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,所述计算机程序用于被NAN设备执行,以实现上述NAN设备的设备能力交换方法和/或NAN设备的测距会话建立方法。
可选地,该计算机可读存储介质可以包括:只读存储器(Read-Only Memory,ROM)、随机存储器(Random-Access Memory,RAM)、固态硬盘(Solid State Drives,SSD)或光盘等。其中,随机存取记忆体可以包括电阻式随机存取记忆体(Resistance Random Access Memory,ReRAM)和动态随机存取存储器(Dynamic Random Access Memory,DRAM)。
本申请实施例还提供了一种芯片,所述芯片包括可编程逻辑电路和/或程序指令,安装有所述芯片的NAN设备运行时,用于实现上述NAN设备的设备能力交换方法和/或NAN设备的测距会话建立方法。
本申请实施例还提供了一种计算机程序产品或计算机程序,所述计算机程序产品或计算机程序包括计算机指令,所述计算机指令存储在计算机可读存储介质中,NAN设备从所述计算机可读存储介质读取并执行所述计算机指令,以实现上述NAN设备的设备能力交换方法和/或NAN设备的测距会话建立方法。
应理解,在本申请的实施例中提到的“指示”可以是直接指示,也可以是间接指示,还可以是表示具有关联关系。举例说明,A指示B,可以表示A直接指示B,例如B可以通过A获取;也可以表示A间接指示B,例如A指示C,B可以通过C获取;还可以表示A和B之间具有关联关系。
在本申请实施例的描述中,术语“对应”可表示两者之间具有直接对应或间接对应的关系,也可以表示两者之间具有关联关系,也可以是指示与被指示、配置与被配置等关系。
在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。另外,本文中描述的步骤编号,仅示例性示出了步骤间的一种可能的执行先后顺序,在一些其它实施例中,上述步骤也可以不按照编号顺序来执行,如两个不同编号的步骤同时执行,或者两个不同编号的步骤按照与图示相反的顺序执行,本申请实施例对此不作限定。
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。
以上所述仅为本申请的示例性实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (132)

  1. 一种NAN设备的设备能力交换方法,其特征在于,所述方法由第一NAN设备执行,所述方法包括:
    发送用于设备能力交换的能力信令,所述能力信令用于指示所述第一NAN设备是否支持目标测距方式的相关能力;
    其中,所述目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。
  2. 根据权利要求1所述的方法,其特征在于,所述能力信令用于指示所述第一NAN设备是否支持所述目标测距方式。
  3. 根据权利要求2所述的方法,其特征在于,所述能力信令包括测距方式说明字段,所述测距方式说明字段用于指示所述第一NAN设备是否支持目标测距方式。
  4. 根据权利要求3所述的方法,其特征在于,所述测距方式说明字段包括第一指示信息和第二指示信息;
    其中,所述第一指示信息用于指示所述第一NAN设备是否支持所述增强的基于EDCA的FTM测距方式;和/或,所述第二指示信息用于指示所述第一NAN设备是否支持所述Non-TB测距方式。
  5. 根据权利要求4所述的方法,其特征在于,所述测距方式说明字段还包括第三指示信息;所述第三指示信息用于指示所述第一NAN设备是否支持传统FTM测距方式。
  6. 根据权利要求2至5任一所述的方法,其特征在于,所述能力信令携带在NAN信标帧或NAN服务发现帧中。
  7. 根据权利要求1所述的方法,其特征在于,所述能力信令用于指示所述第一NAN设备的服务使用的目标测距方式。
  8. 根据权利要求7所述的方法,其特征在于,所述能力信令包括测距类型信息;
    其中,在所述测距类型信息为第一取值的情况下,所述能力信令用于指示所述第一NAN设备的服务使用的所述目标测距方式为所述增强的基于EDCA的FTM测距方式;
    和/或,在所述测距类型信息为第二取值的情况下,所述能力信令用于指示所述第一NAN设备的服务使用的所述目标测距方式为所述Non-TB测距方式。
  9. 根据权利要求8所述的方法,其特征在于,
    在所述测距类型信息为第三取值的情况下,所述能力信令用于指示所述第一NAN设备的服务使用的所述目标测距方式为传统FTM测距方式。
  10. 根据权利要求7至9任一所述的方法,其特征在于,所述能力信令携带在NAN服务发现帧中。
  11. 根据权利要求1至6任一所述的方法,其特征在于,所述能力信令还用于指示所述第一NAN设备是否具备HE PHY模式。
  12. 根据权利要求11所述的方法,其特征在于,所述能力信令包括拓展模式信息;
    其中,在所述拓展模式信息为第一取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式;
    和/或,在所述拓展模式信息为第二取值的情况下,所述能力信令用于指示所述第一NAN设备不具备所述HE PHY模式。
  13. 根据权利要求12所述的方法,其特征在于,所述能力信令还用于指示所述第一NAN设备的信道带宽模式支持情况。
  14. 根据权利要求13所述的方法,其特征在于,所述能力信令还包括第一带宽指示信息和第二带宽指示信息中的至少之一;
    在所述拓展模式信息为第一取值,且所述第一带宽指示信息为第三取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式且支持第一带宽;
    和/或,在所述拓展模式信息为第一取值,且所述第一带宽指示信息为第四取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式且不支持所述第一带宽;
    和/或,在所述拓展模式信息为第一取值,且所述第二带宽指示信息为第五取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式且支持第二带宽;
    和/或,在所述拓展模式信息为第一取值,且所述第二带宽指示信息为第六取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式且不支持所述第二带宽。
  15. 根据权利要求14所述的方法,其特征在于,所述拓展模式信息携带在所述能力信令中的操作模式字段中,所述操作模式字段还携带有所述第一带宽信息和所述第二带宽信息中的至少之一。
  16. 根据权利要求11至15任一所述的方法,其特征在于,所述能力信令携带在NAN信标帧或NAN 服务发现帧中。
  17. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    发送或接收用于测距会话建立的设置信令,所述设置信令用于指示发送所述设置信令的NAN设备的目标测距方式相关的信息;
    其中,所述目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。
  18. 根据权利要求17所述的方法,其特征在于,所述设置信令用于在所述第一NAN设备在支持的候选测距方式中设置目标测距方式。
  19. 根据权利要求18所述的方法,其特征在于,所述设置信令包括FTM参数指示字段和增强FTM测距指示字段;
    其中,所述FTM参数指示字段用于指示所述第一NAN设备采用的所述目标测距方式为所述增强的基于EDCA的FTM测距方式和传统FTM测距方式中的任意之一;所述增强FTM测距指示字段用于显式指示所述目标测距方式是否为所述增强的基于EDCA的FTM测距方式。
  20. 根据权利要求19所述的方法,其特征在于,
    在所述增强FTM测距指示字段为第一取值的情况下,所述目标测距方式为所述增强的基于EDCA的FTM测距方式;
    和/或,在所述增强FTM测距指示字段为第二取值的情况下,所述目标测距方式为所述传统FTM测距方式。
  21. 根据权利要求18所述的方法,其特征在于,所述设置信令包括FTM参数指示字段和FTM格式带宽字段;
    其中,所述FTM参数指示字段用于指示所述第一NAN设备采用的所述目标测距方式为所述增强的基于EDCA的FTM测距方式和传统FTM测距方式中的任意之一;所述FTM格式带宽字段用于隐式指示所述目标测距方式是否为所述增强的基于EDCA的FTM测距方式。
  22. 根据权利要求21所述的方法,其特征在于,
    在所述FTM格式带宽字段的字段值属于第一字段值区间的情况下,所述目标测距方式为所述增强的基于EDCA的FTM测距方式,所述第一字段值区间是采用基于EDCA的HE类型格式对应的字段值区间;
    和/或,在所述FTM格式带宽字段的字段值属于第二字段值区间的情况下,所述目标测距方式为所述传统FTM测距方式。
  23. 根据权利要求18所述的方法,其特征在于,所述设置信令包括Non-TB参数指示字段;所述Non-TB参数指示字段用于指示所述第一NAN设备采用的所述目标测距方式为所述Non-TB测距方式。
  24. 根据权利要求18所述的方法,其特征在于,所述设置信令还携带有用于协商的所述目标测距方式的测距参数。
  25. 根据权利要求24所述的方法,其特征在于,所述设置信令包括FTM参数字段,所述FTM参数字段用于携带所述增强的基于EDCA的FTM测距方式的测距参数。
  26. 根据权利要求24所述的方法,其特征在于,所述设置信令包括Non-TB参数字段,所述Non-TB参数字段用于携带所述Non-TB测距方式的测距参数。
  27. 根据权利要求24所述的方法,其特征在于,所述发送或接收用于测距会话建立的设置信令,包括:
    接收用于测距会话建立的设置信令;
    所述方法还包括:
    发送用于测距会话建立的响应设置信令,所述响应设置信令用于指示所述第一NAN设备接收的所述目标测距方式的测距参数不满足目标条件。
  28. 根据权利要求27所述的方法,其特征在于,所述响应设置信令包括原因代码字段,所述原因代码字段用于指示所述增强的基于EDCA的FTM测距方式或所述Non-TB测距方式的参数不满足目标条件的原因。
  29. 根据权利要求28所述的方法,其特征在于,
    在所述原因代码字段为第一取值的情况下,所述原因代码字段用于指示所述Non-TB测距方式的参数不能满足要求;
    和/或,在所述原因代码字段为第二取值的情况下,所述原因代码字段用于指示所述增强的基于EDCA的FTM测距方式不能满足测距精度要求。
  30. 根据权利要求27至29任一所述的方法,其特征在于,所述响应设置信令携带在测距响应帧中。
  31. 根据权利要求17所述的方法,其特征在于,所述设置信令还用于指示所述第一NAN设备是否具备HE PHY模式。
  32. 根据权利要求17至29任一所述的方法,其特征在于,所述设置信令携带在测距请求帧中。
  33. 一种NAN设备的设备能力交换方法,其特征在于,所述方法由第二NAN设备执行,所述方法包括:
    接收用于设备能力交换的能力信令,所述能力信令用于指示第一NAN设备是否支持目标测距方式的相关能力,所述第一NAN设备发送有所述能力信令;
    其中,所述目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。
  34. 根据权利要求33所述的方法,其特征在于,所述能力信令用于指示所述第一NAN设备是否支持所述目标测距方式。
  35. 根据权利要求34所述的方法,其特征在于,所述能力信令包括测距方式说明字段,所述测距方式说明字段用于指示所述第一NAN设备是否支持目标测距方式。
  36. 根据权利要求35所述的方法,其特征在于,所述测距方式说明字段包括第一指示信息和第二指示信息;
    其中,所述第一指示信息用于指示所述第一NAN设备是否支持所述增强的基于EDCA的FTM测距方式;和/或,所述第二指示信息用于指示所述第一NAN设备是否支持所述Non-TB测距方式。
  37. 根据权利要求36所述的方法,其特征在于,所述测距方式说明字段还包括第三指示信息;所述第三指示信息用于指示所述第一NAN设备是否支持传统FTM测距方式。
  38. 根据权利要求34至37任一所述的方法,其特征在于,所述能力信令携带在NAN信标帧或NAN服务发现帧中。
  39. 根据权利要求33所述的方法,其特征在于,所述能力信令用于指示所述第一NAN设备的服务使用的目标测距方式。
  40. 根据权利要求39所述的方法,其特征在于,所述能力信令包括测距类型信息;
    其中,在所述测距类型信息为第一取值的情况下,所述能力信令用于指示所述第一NAN设备的服务使用的所述目标测距方式为所述增强的基于EDCA的FTM测距方式;
    和/或,在所述测距类型信息为第二取值的情况下,所述能力信令用于指示所述第一NAN设备的服务使用的所述目标测距方式为所述Non-TB测距方式。
  41. 根据权利要求40所述的方法,其特征在于,
    在所述测距类型信息为第三取值的情况下,所述能力信令用于指示所述第一NAN设备的服务使用的所述目标测距方式为传统FTM测距方式。
  42. 根据权利要求39至41任一所述的方法,其特征在于,所述能力信令携带在NAN服务发现帧中。
  43. 根据权利要求33所述的方法,其特征在于,所述能力信令用于指示所述第一NAN设备是否具备HE PHY模式。
  44. 根据权利要求43所述的方法,其特征在于,所述能力信令包括拓展模式信息;
    其中,在所述拓展模式信息为第一取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式;
    和/或,在所述拓展模式信息为第二取值的情况下,所述能力信令用于指示所述第一NAN设备不具备所述HE PHY模式。
  45. 根据权利要求44所述的方法,其特征在于,所述能力信令还用于指示所述第一NAN设备的信道带宽模式支持情况。
  46. 根据权利要求45所述的方法,其特征在于,所述能力信令还包括第一带宽指示信息和第二带宽指示信息中的至少之一;
    在所述拓展模式信息为第一取值,且所述第一带宽指示信息为第三取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式且支持第一带宽;
    和/或,在所述拓展模式信息为第一取值,且所述第一带宽指示信息为第四取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式且不支持所述第一带宽;
    和/或,在所述拓展模式信息为第一取值,且所述第二带宽指示信息为第五取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式且支持第二带宽;
    和/或,在所述拓展模式信息为第一取值,且所述第二带宽指示信息为第六取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式且不支持所述第二带宽。
  47. 根据权利要求46所述的方法,其特征在于,所述拓展模式信息携带在所述能力信令中的操作模式字段中,所述操作模式字段还携带有所述第一带宽信息和所述第二带宽信息中的至少之一。
  48. 根据权利要求43至47任一所述的方法,其特征在于,所述能力信令携带在NAN信标帧或NAN服务发现帧中。
  49. 根据权利要求33所述的方法,其特征在于,所述方法还包括:
    发送或接收用于测距会话建立的设置信令,所述设置信令用于指示发送所述设置信令的NAN设备的目标测距方式相关的信息;
    其中,所述目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。
  50. 根据权利要求49所述的方法,其特征在于,所述设置信令用于在所述第一NAN设备在支持的候选测距方式中设置目标测距方式。
  51. 根据权利要求50所述的方法,其特征在于,所述设置信令包括FTM参数指示字段和增强FTM测距指示字段;
    其中,所述FTM参数指示字段用于指示所述第一NAN设备采用的所述目标测距方式为所述增强的基于EDCA的FTM测距方式和传统FTM测距方式中的任意之一;所述增强FTM测距指示字段用于显式指示所述目标测距方式是否为所述增强的基于EDCA的FTM测距方式。
  52. 根据权利要求51所述的方法,其特征在于,
    在所述增强FTM测距指示字段为第一取值的情况下,所述目标测距方式为所述增强的基于EDCA的FTM测距方式;
    和/或,在所述增强FTM测距指示字段为第二取值的情况下,所述目标测距方式为所述传统FTM测距方式。
  53. 根据权利要求50所述的方法,其特征在于,所述设置信令包括FTM参数指示字段和FTM格式带宽字段;
    其中,所述FTM参数指示字段用于指示所述第一NAN设备采用的所述目标测距方式为所述增强的基于EDCA的FTM测距方式和传统FTM测距方式中的任意之一;所述FTM格式带宽字段用于隐式指示所述目标测距方式是否为所述增强的基于EDCA的FTM测距方式。
  54. 根据权利要求53所述的方法,其特征在于,
    在所述FTM格式带宽字段的字段值属于第一字段值区间的情况下,所述目标测距方式为所述增强的基于EDCA的FTM测距方式,所述第一字段值区间是采用基于EDCA的HE类型格式对应的字段值区间;
    和/或,在所述FTM格式带宽字段的字段值属于第二字段值区间的情况下,所述目标测距方式为所述传统FTM测距方式。
  55. 根据权利要求50所述的方法,其特征在于,所述设置信令包括Non-TB参数指示字段;所述Non-TB参数指示字段用于指示所述第一NAN设备采用的所述目标测距方式为所述Non-TB测距方式。
  56. 根据权利要求50所述的方法,其特征在于,所述设置信令还携带有用于协商的所述目标测距方式的测距参数。
  57. 根据权利要求56所述的方法,其特征在于,所述设置信令包括FTM参数字段,所述FTM参数字段用于携带所述增强的基于EDCA的FTM测距方式的测距参数。
  58. 根据权利要求56所述的方法,其特征在于,所述设置信令包括Non-TB参数字段,所述Non-TB参数字段用于携带所述Non-TB测距方式的测距参数。
  59. 根据权利要求56所述的方法,其特征在于,所述发送或接收用于测距会话建立的设置信令,包括:
    接收用于测距会话建立的设置信令;
    所述方法还包括:
    发送用于测距会话建立的响应设置信令,所述响应设置信令用于指示所述第一NAN设备接收的所述目标测距方式的测距参数不满足目标条件。
  60. 根据权利要求59所述的方法,其特征在于,所述响应设置信令包括原因代码字段,所述原因代码字段用于指示所述增强的基于EDCA的FTM测距方式或所述Non-TB测距方式的参数不满足目标条件的原因。
  61. 根据权利要求60所述的方法,其特征在于,
    在所述原因代码字段为第一取值的情况下,所述原因代码字段用于指示所述Non-TB测距方式的参数不能满足要求;
    和/或,在所述原因代码字段为第二取值的情况下,所述原因代码字段用于指示所述增强的基于EDCA的FTM测距方式不能满足测距精度要求。
  62. 根据权利要求59至61任一所述的方法,其特征在于,所述响应设置信令携带在测距响应帧中。
  63. 根据权利要求49所述的方法,其特征在于,所述设置信令还用于指示所述第一NAN设备是否具备HE PHY模式。
  64. 根据权利要求49至61任一所述的方法,其特征在于,所述设置信令携带在测距请求帧中。
  65. 一种NAN设备的测距会话建立方法,其特征在于,所述方法由第一NAN设备执行,所述方法包括:
    发送用于测距会话建立的设置信令,所述设置信令用于指示与所述第一NAN设备的目标测距方式相关的信息;
    其中,所述目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。
  66. 根据权利要求65所述的方法,其特征在于,所述设置信令用于在所述第一NAN设备支持的候选测距方式中设置所述目标测距方式。
  67. 根据权利要求66所述的方法,其特征在于,所述设置信令包括FTM参数指示字段和增强FTM测距指示字段;
    其中,所述FTM参数指示字段用于指示所述第一NAN设备采用的所述目标测距方式为所述增强的基于EDCA的FTM测距方式和传统FTM测距方式中的任意之一;所述增强FTM测距指示字段用于显式指示所述目标测距方式是否为所述增强的基于EDCA的FTM测距方式。
  68. 根据权利要求67所述的方法,其特征在于,
    在所述增强FTM测距指示字段为第一取值的情况下,所述目标测距方式为所述增强的基于EDCA的FTM测距方式;
    和/或,在所述增强FTM测距指示字段为第二取值的情况下,所述目标测距方式为所述传统FTM测距方式。
  69. 根据权利要求66所述的方法,其特征在于,所述设置信令包括FTM参数指示字段和FTM格式带宽字段;
    其中,所述FTM参数指示字段用于指示所述第一NAN设备采用的所述目标测距方式为所述增强的基于EDCA的FTM测距方式和传统FTM测距方式中的任意之一;所述FTM格式带宽字段用于隐式指示所述目标测距方式是否为所述增强的基于EDCA的FTM测距方式。
  70. 根据权利要求69所述的方法,其特征在于,
    在所述FTM格式带宽字段的字段值属于第一字段值区间的情况下,所述目标测距方式为所述增强的基于EDCA的FTM测距方式,所述第一字段值区间是采用基于EDCA的HE类型格式对应的字段值区间;
    和/或,在所述FTM格式带宽字段的字段值属于第二字段值区间的情况下,所述目标测距方式为所述传统FTM测距方式。
  71. 根据权利要求66所述的方法,其特征在于,所述设置信令包括Non-TB参数指示字段;所述Non-TB参数指示字段用于指示所述第一NAN设备采用的所述目标测距方式为所述Non-TB测距方式。
  72. 根据权利要求66所述的方法,其特征在于,所述设置信令还携带有用于协商的所述目标测距方式的测距参数。
  73. 根据权利要求72所述的方法,其特征在于,所述设置信令包括FTM参数字段,所述FTM参数字段用于携带所述增强的基于EDCA的FTM测距方式的测距参数。
  74. 根据权利要求72所述的方法,其特征在于,所述设置信令包括Non-TB参数字段,所述Non-TB参数字段用于携带所述Non-TB测距方式的测距参数。
  75. 根据权利要求65所述的方法,其特征在于,所述设置信令还用于指示所述第一NAN设备是否具备HE PHY模式。
  76. 根据权利要求65至75任一所述的方法,其特征在于,所述设置信令携带在测距请求帧中。
  77. 根据权利要求65所述的方法,其特征在于,所述方法还包括:
    发送或接收用于设备能力交换的能力信令,所述能力信令用于指示发送所述能力信令的NAN设备是否支持目标测距方式的相关能力;
    其中,所述目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。
  78. 根据权利要求77所述的方法,其特征在于,所述能力信令用于指示所述第一NAN设备是否支持所述目标测距方式。
  79. 根据权利要求78所述的方法,其特征在于,所述能力信令包括测距方式说明字段,所述测距方式说明字段用于指示所述第一NAN设备是否支持目标测距方式。
  80. 根据权利要求79所述的方法,其特征在于,所述测距方式说明字段包括第一指示信息和第二指示信息;
    其中,所述第一指示信息用于指示所述第一NAN设备是否支持所述增强的基于EDCA的FTM测距方式;和/或,所述第二指示信息用于指示所述第一NAN设备是否支持所述Non-TB测距方式。
  81. 根据权利要求80所述的方法,其特征在于,所述测距方式说明字段还包括第三指示信息;所述第三指示信息用于指示所述第一NAN设备是否支持传统FTM测距方式。
  82. 根据权利要求78至81任一所述的方法,其特征在于,所述能力信令携带在NAN信标帧或NAN服务发现帧中。
  83. 根据权利要求77所述的方法,其特征在于,所述能力信令用于指示所述第一NAN设备的服务使用的目标测距方式。
  84. 根据权利要求83所述的方法,其特征在于,所述能力信令包括测距类型信息;
    其中,在所述测距类型信息为第一取值的情况下,所述能力信令用于指示所述第一NAN设备的服务使用的所述目标测距方式为所述增强的基于EDCA的FTM测距方式;
    和/或,在所述测距类型信息为第二取值的情况下,所述能力信令用于指示所述第一NAN设备的服务使用的所述目标测距方式为所述Non-TB测距方式。
  85. 根据权利要求84所述的方法,其特征在于,
    在所述测距类型信息为第三取值的情况下,所述能力信令用于指示所述第一NAN设备的服务使用的所述目标测距方式为传统FTM测距方式。
  86. 根据权利要求83至85任一所述的方法,其特征在于,所述能力信令携带在NAN服务发现帧中。
  87. 根据权利要求77至82任一所述的方法,其特征在于,所述能力信令还用于指示所述第一NAN设备是否具备HE PHY模式。
  88. 根据权利要求87所述的方法,其特征在于,所述能力信令包括拓展模式信息;
    其中,在所述拓展模式信息为第一取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式;
    和/或,在所述拓展模式信息为第二取值的情况下,所述能力信令用于指示所述第一NAN设备不具备所述HE PHY模式。
  89. 根据权利要求88所述的方法,其特征在于,所述能力信令还用于指示所述第一NAN设备的信道带宽模式支持情况。
  90. 根据权利要求89所述的方法,其特征在于,所述能力信令还包括第一带宽指示信息和第二带宽指示信息中的至少之一;
    在所述拓展模式信息为第一取值,且所述第一带宽指示信息为第三取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式且支持第一带宽;
    和/或,在所述拓展模式信息为第一取值,且所述第一带宽指示信息为第四取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式且不支持所述第一带宽;
    和/或,在所述拓展模式信息为第一取值,且所述第二带宽指示信息为第五取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式且支持第二带宽;
    和/或,在所述拓展模式信息为第一取值,且所述第二带宽指示信息为第六取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式且不支持所述第二带宽。
  91. 根据权利要求90所述的方法,其特征在于,所述拓展模式信息携带在所述能力信令中的操作模式字段中,所述操作模式字段还携带有所述第一带宽信息和所述第二带宽信息中的至少之一。
  92. 根据权利要求87至91任一所述的方法,其特征在于,所述能力信令携带在NAN信标帧或NAN服务发现帧中。
  93. 一种NAN设备的测距会话建立方法,其特征在于,所述方法由第二NAN设备执行,所述方法包括:
    接收用于测距会话建立的设置信令,所述设置信令用于指示与第一NAN设备的目标测距方式相关的信息,所述第一NAN设备发送有所述设置信令;
    其中,所述目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。
  94. 根据权利要求93所述的方法,其特征在于,所述设置信令用于在所述第一NAN设备在支持的候选测距方式中设置目标测距方式。
  95. 根据权利要求94所述的方法,其特征在于,所述设置信令包括FTM参数指示字段和增强FTM测距指示字段;
    其中,所述FTM参数指示字段用于指示所述第一NAN设备采用的所述目标测距方式为所述增强的基于EDCA的FTM测距方式和传统FTM测距方式中的任意之一;所述增强FTM测距指示字段用于显式指示所述目标测距方式是否为所述增强的基于EDCA的FTM测距方式。
  96. 根据权利要求95所述的方法,其特征在于,
    在所述增强FTM测距指示字段为第一取值的情况下,所述目标测距方式为所述增强的基于EDCA的FTM测距方式;
    和/或,在所述增强FTM测距指示字段为第二取值的情况下,所述目标测距方式为所述传统FTM测距方式。
  97. 根据权利要求94所述的方法,其特征在于,所述设置信令包括FTM参数指示字段和FTM格式带 宽字段;
    其中,所述FTM参数指示字段用于指示所述第一NAN设备采用的所述目标测距方式为所述增强的基于EDCA的FTM测距方式和传统FTM测距方式中的任意之一;所述FTM格式带宽字段用于隐式指示所述目标测距方式是否为所述增强的基于EDCA的FTM测距方式。
  98. 根据权利要求97所述的方法,其特征在于,
    在所述FTM格式带宽字段的字段值属于第一字段值区间的情况下,所述目标测距方式为所述增强的基于EDCA的FTM测距方式,所述第一字段值区间是采用基于EDCA的HE类型格式对应的字段值区间;
    和/或,在所述FTM格式带宽字段的字段值属于第二字段值区间的情况下,所述目标测距方式为所述传统FTM测距方式。
  99. 根据权利要求94所述的方法,其特征在于,所述设置信令包括Non-TB参数指示字段;所述Non-TB参数指示字段用于指示所述第一NAN设备采用的所述目标测距方式为所述Non-TB测距方式。
  100. 根据权利要求94所述的方法,其特征在于,所述设置信令还携带有用于协商的所述目标测距方式的测距参数。
  101. 根据权利要求100所述的方法,其特征在于,所述设置信令包括FTM参数字段,所述FTM参数字段用于携带所述增强的基于EDCA的FTM测距方式的测距参数。
  102. 根据权利要求100所述的方法,其特征在于,所述设置信令包括Non-TB参数字段,所述Non-TB参数字段用于携带所述Non-TB测距方式的测距参数。
  103. 根据权利要求100所述的方法,其特征在于,所述方法还包括:
    发送用于测距会话建立的响应设置信令,所述响应设置信令用于指示所述第二NAN设备接收的所述目标测距方式的测距参数不满足目标条件。
  104. 根据权利要求103所述的方法,其特征在于,所述响应设置信令包括原因代码字段,所述原因代码字段用于指示所述增强的基于EDCA的FTM测距方式或所述Non-TB测距方式的参数不满足目标条件的原因。
  105. 根据权利要求104所述的方法,其特征在于,
    在所述原因代码字段为第一取值的情况下,所述原因代码字段用于指示所述Non-TB测距方式的参数不能满足要求;
    和/或,在所述原因代码字段为第二取值的情况下,所述原因代码字段用于指示所述增强的基于EDCA的FTM测距方式不能满足测距精度要求。
  106. 根据权利要求103至105任一所述的方法,其特征在于,所述响应设置信令携带在测距响应帧中。
  107. 根据权利要求93所述的方法,其特征在于,所述设置信令还用于指示所述第一NAN设备是否具备HE PHY模式。
  108. 根据权利要求93至105任一所述的方法,其特征在于,所述设置信令携带在测距请求帧中。
  109. 根据权利要求93所述的方法,其特征在于,所述方法还包括:
    发送或接收用于设备能力交换的能力信令,所述能力信令用于指示发送所述能力信令的NAN设备是否支持目标测距方式的相关能力;
    其中,所述目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。
  110. 根据权利要求109所述的方法,其特征在于,所述能力信令用于指示所述第一NAN设备是否支持所述目标测距方式。
  111. 根据权利要求110所述的方法,其特征在于,所述能力信令包括测距方式说明字段,所述测距方式说明字段用于指示所述第一NAN设备是否支持目标测距方式。
  112. 根据权利要求111所述的方法,其特征在于,所述测距方式说明字段包括第一指示信息和第二指示信息;
    其中,所述第一指示信息用于指示所述第一NAN设备是否支持所述增强的基于EDCA的FTM测距方式;和/或,所述第二指示信息用于指示所述第一NAN设备是否支持所述Non-TB测距方式。
  113. 根据权利要求112所述的方法,其特征在于,所述测距方式说明字段还包括第三指示信息;所述第三指示信息用于指示所述第一NAN设备是否支持传统FTM测距方式。
  114. 根据权利要求110至113任一所述的方法,其特征在于,所述能力信令携带在NAN信标帧或NAN服务发现帧中。
  115. 根据权利要求109所述的方法,其特征在于,所述能力信令用于指示所述第一NAN设备的服务使用的目标测距方式。
  116. 根据权利要求115所述的方法,其特征在于,所述能力信令包括测距类型信息;
    其中,在所述测距类型信息为第一取值的情况下,所述能力信令用于指示所述第一NAN设备的服务 使用的所述目标测距方式为所述增强的基于EDCA的FTM测距方式;
    和/或,在所述测距类型信息为第二取值的情况下,所述能力信令用于指示所述第一NAN设备的服务使用的所述目标测距方式为所述Non-TB测距方式。
  117. 根据权利要求116所述的方法,其特征在于,
    在所述测距类型信息为第三取值的情况下,所述能力信令用于指示所述第一NAN设备的服务使用的所述目标测距方式为传统FTM测距方式。
  118. 根据权利要求115至117任一所述的方法,其特征在于,所述能力信令携带在NAN服务发现帧中。
  119. 根据权利要求109至114任一所述的方法,其特征在于,所述能力信令还用于指示所述第一NAN设备是否具备HE PHY模式。
  120. 根据权利要求119所述的方法,其特征在于,所述能力信令包括拓展模式信息;
    其中,在所述拓展模式信息为第一取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式;
    和/或,在所述拓展模式信息为第二取值的情况下,所述能力信令用于指示所述第一NAN设备不具备所述HE PHY模式。
  121. 根据权利要求120所述的方法,其特征在于,所述能力信令还用于指示所述第一NAN设备的信道带宽模式支持情况。
  122. 根据权利要求121所述的方法,其特征在于,所述能力信令还包括第一带宽指示信息和第二带宽指示信息中的至少之一;
    在所述拓展模式信息为第一取值,且所述第一带宽指示信息为第三取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式且支持第一带宽;
    和/或,在所述拓展模式信息为第一取值,且所述第一带宽指示信息为第四取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式且不支持所述第一带宽;
    和/或,在所述拓展模式信息为第一取值,且所述第二带宽指示信息为第五取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式且支持第二带宽;
    和/或,在所述拓展模式信息为第一取值,且所述第二带宽指示信息为第六取值的情况下,所述能力信令用于指示所述第一NAN设备具备所述HE PHY模式且不支持所述第二带宽。
  123. 根据权利要求122所述的方法,其特征在于,所述拓展模式信息携带在所述能力信令中的操作模式字段中,所述操作模式字段还携带有所述第一带宽信息和所述第二带宽信息中的至少之一。
  124. 根据权利要求119至123任一所述的方法,其特征在于,所述能力信令携带在NAN信标帧或NAN服务发现帧中。
  125. 一种NAN设备的设备能力交换装置,其特征在于,所述装置包括:
    发送模块,用于发送用于设备能力交换的能力信令,所述能力信令用于指示所述第一NAN设备是否支持目标测距方式的相关能力;
    其中,所述目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。
  126. 一种NAN设备的设备能力交换装置,其特征在于,所述装置包括:
    接收模块,用于接收用于设备能力交换的能力信令,所述能力信令用于指示第一NAN设备是否支持目标测距方式的相关能力,所述第一NAN设备发送有所述能力信令;
    其中,所述目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。
  127. 一种NAN设备的测距会话建立装置,其特征在于,所述装置包括:
    发送模块,用于发送用于测距会话建立的设置信令,所述设置信令用于指示与所述第一NAN设备的目标测距方式相关的信息;
    其中,所述目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。
  128. 一种NAN设备的测距会话建立装置,其特征在于,所述装置包括:
    接收模块,用于接收用于测距会话建立的设置信令,所述设置信令用于指示与第一NAN设备的目标测距方式相关的信息,所述第一NAN设备发送有所述设置信令;
    其中,所述目标测距方式包括增强的基于EDCA的FTM测距方式和/或Non-TB测距方式。
  129. 一种NAN设备,其特征在于,所述NAN设备包括处理器和存储器,所述存储器中有至少一段程序;所述处理器,用于执行所述存储器上中的所述至少一段程序以使得所述NAN设备实现上述权利要求1至64任一项所述的NAN设备的设备能力交换方法,和/或权利要求65至124任一项所述的NAN设备的测距会话建立方法。
  130. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序,所述计算机程序用于被NAN设备执行,以实现上述权利要求1至64任一项所述的NAN设备的设备能力交换方 法,和/或权利要求65至124任一项所述的NAN设备的测距会话建立方法。
  131. 一种芯片,其特征在于,所述芯片包括可编程逻辑电路和/或程序指令,安装有所述芯片的NAN设备运行时,用于实现上述权利要求1至64任一项所述的NAN设备的设备能力交换方法,和/或权利要求65至124任一项所述的NAN设备的测距会话建立方法。
  132. 一种计算机程序产品或计算机程序,其特征在于,所述计算机程序产品或计算机程序包括计算机指令,所述计算机指令存储在计算机可读存储介质中,NAN设备从所述计算机可读存储介质读取并执行所述计算机指令,以实现上述权利要求1至64任一项所述的NAN设备的设备能力交换方法,和/或权利要求65至124任一项所述的NAN设备的测距会话建立方法。
PCT/CN2022/106134 2022-07-15 2022-07-15 设备能力交换方法、测距会话建立方法、装置及设备 WO2024011644A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/106134 WO2024011644A1 (zh) 2022-07-15 2022-07-15 设备能力交换方法、测距会话建立方法、装置及设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/106134 WO2024011644A1 (zh) 2022-07-15 2022-07-15 设备能力交换方法、测距会话建立方法、装置及设备

Publications (1)

Publication Number Publication Date
WO2024011644A1 true WO2024011644A1 (zh) 2024-01-18

Family

ID=89535338

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/106134 WO2024011644A1 (zh) 2022-07-15 2022-07-15 设备能力交换方法、测距会话建立方法、装置及设备

Country Status (1)

Country Link
WO (1) WO2024011644A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017030415A1 (ko) * 2015-08-19 2017-02-23 엘지전자 주식회사 무선 통신 시스템에서 레인징 오퍼레이션을 수행하는 방법 및 장치
CN109314633A (zh) * 2016-06-28 2019-02-05 英特尔Ip公司 增强型精细定时测量协议协商
CN112218328A (zh) * 2019-07-11 2021-01-12 华为技术有限公司 一种感知测量方法及装置
CN112995081A (zh) * 2019-12-12 2021-06-18 华为技术有限公司 一种测距的方法和装置
CN114667761A (zh) * 2022-02-14 2022-06-24 北京小米移动软件有限公司 通信方法及装置、电子设备及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017030415A1 (ko) * 2015-08-19 2017-02-23 엘지전자 주식회사 무선 통신 시스템에서 레인징 오퍼레이션을 수행하는 방법 및 장치
CN109314633A (zh) * 2016-06-28 2019-02-05 英特尔Ip公司 增强型精细定时测量协议协商
CN112218328A (zh) * 2019-07-11 2021-01-12 华为技术有限公司 一种感知测量方法及装置
CN112995081A (zh) * 2019-12-12 2021-06-18 华为技术有限公司 一种测距的方法和装置
CN114667761A (zh) * 2022-02-14 2022-06-24 北京小米移动软件有限公司 通信方法及装置、电子设备及存储介质

Similar Documents

Publication Publication Date Title
US10194468B2 (en) Wireless channel reservation
JP6527965B2 (ja) チャネル効率の高い分散方式のピアステーション間のデータ伝送の方法及びシステム
US11418999B2 (en) Buffer status report for high priority transmission
US20210212150A1 (en) Method and apparatus for multi-link operations
JP2021522715A (ja) Message3プロトコルデータユニットを送受信する装置及び方法
US10548086B2 (en) Method for neighbor aware network according to paging scheme and wireless terminal using same
CN106465251B (zh) 利用存储的高层信息的系统和方法
US11723091B2 (en) Unicast connection establishment method for direct link, terminal and device
WO2015131358A1 (zh) 信道资源指示方法及装置
US20160088669A1 (en) System and Method for Direct Multi-User Transmission
WO2019191985A1 (zh) 一种信息发送、接收方法及装置
US20230086209A1 (en) Method and apparatus for management of extended mobile device identity information
US20220132419A1 (en) Device and method for multi-link communications
US20240031918A1 (en) Indicating support for a broadcast service
CN107534848B (zh) 一种以分散和省电方式进行数据通信的系统和方法
CN113455026A (zh) 接入方法及通信装置
WO2020156184A1 (zh) 获取系统信息的方法及装置
CN106537955B (zh) 数据传输方法和设备
WO2018036421A1 (zh) 网络接入方法、接入设备和终端设备
WO2018165955A1 (zh) 系统信息的获取方法、装置及系统
WO2024011644A1 (zh) 设备能力交换方法、测距会话建立方法、装置及设备
KR20210025098A (ko) 트리거 기반의 다중 사용자 전송들에서 직접 링크 및 다운링크 전송들
WO2023272649A1 (zh) 参考信号的配置方法、装置、设备及可读存储介质
WO2017036258A1 (zh) 竞争接入方法、竞争接入装置、站点及竞争接入系统
WO2023093729A1 (zh) 随机接入方法、装置、电子设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22950762

Country of ref document: EP

Kind code of ref document: A1