Equipment capability exchange method, ranging session establishment method, device and equipment
Patent Information
- Application Number
- CN202280095897.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-15
- Publication Date
- 2024-12-20
AI Technical Summary
Existing technologies require high ranging accuracy for NAN devices in scenarios such as drone control and indoor geolocation tagging. However, the accuracy of traditional FTM ranging methods is insufficient to meet personalized service needs.
By sending and receiving capability signaling, it supports the enhanced EDCA-based FTM ranging method and Non-TB ranging method, expands the ranging method of NAN devices, negotiates the parameters of the target ranging method, and improves the ranging accuracy.
To meet the accuracy requirements for NAN device ranging in different scenarios, the target ranging method is used to improve ranging accuracy, expand the ranging methods supported by NAN devices, and meet higher accuracy requirements.
Smart Images

Figure CN119174147A_ABST
Abstract
Description
Device capability exchange method, ranging session establishment method, device and equipment Technical Field
[0001] 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, an apparatus, and a device. Background Art
[0002] The ranging of Neighbor Awareness Networking (NAN) devices is a process in which a NAN device obtains the distances of other NAN devices in the same NAN cluster.
[0003] Under the relevant mechanism, NAN has added support for the ranging function of the Fine Timing Measurement (FTM) protocol specified in IEEE 802.11mc. The FTM ranging method has an accuracy of 2 meters.
[0004] With the increasing demand for personalized services, higher accuracy requirements are placed on the ranging of NAN devices in some scenarios such as controlling drones or indoor geolocation tagging.
[0005] Summary of the Invention
[0006] The present invention provides a method for exchanging device capabilities, a method for establishing a ranging session, an apparatus, and a device. The technical solution is as follows:
[0007] According to one aspect of an embodiment of the present application, a method for exchanging device capabilities of a NAN device is provided, where the method is performed by a first NAN device and includes:
[0008] Sending 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;
[0009] The target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode.
[0010] According to another aspect of an embodiment of the present application, a method for exchanging device capabilities of a NAN device is provided, where the method is performed by a second NAN device and includes:
[0011] receiving 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, and the first NAN device sends the capability signaling;
[0012] The target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode.
[0013] According to another aspect of an embodiment of the present application, a method for establishing a ranging session of a NAN device is provided, the method being performed by a first NAN device, the method including:
[0014] Sending setup signaling for establishing a ranging session, where the setup signaling is used to indicate information related to a target ranging mode of the first NAN device;
[0015] The target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode.
[0016] According to another aspect of an embodiment of the present application, a method for establishing a ranging session of a NAN device is provided, where the method is performed by a second NAN device, and the method includes:
[0017] receiving a setup signaling for establishing a ranging session, where the setup signaling is used to indicate information related to a target ranging mode of a first NAN device, and the first NAN device sends the setup signaling;
[0018] The target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode.
[0019] According to another aspect of an embodiment of the present application, a device capability exchange apparatus for a NAN device is provided, the apparatus comprising:
[0020] a sending module, configured to send capability signaling for device capability exchange, wherein the capability signaling is used to indicate whether the first NAN device supports relevant capabilities of the target ranging mode;
[0021] The target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode.
[0022] According to another aspect of an embodiment of the present application, a device capability exchange apparatus for a NAN device is provided, the apparatus comprising:
[0023] a receiving module, configured to receive capability signaling for device capability exchange, wherein the capability signaling is used to indicate whether the first NAN device supports relevant capabilities of the target ranging mode, and the first NAN device sends the capability signaling;
[0024] The target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode.
[0025] According to another aspect of an embodiment of the present application, a device for establishing a ranging session of a NAN device is provided, the device including:
[0026] a sending module, configured to send a setting signaling for establishing a ranging session, where the setting signaling is used to indicate information related to a target ranging mode of the first NAN device;
[0027] The target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode.
[0028] According to another aspect of an embodiment of the present application, a device for establishing a ranging session of a NAN device is provided, the device including:
[0029] a receiving module, configured to receive a setup signaling for establishing a ranging session, wherein the setup signaling is used to indicate information related to a target ranging mode of a first NAN device, and the first NAN device sends the setup signaling;
[0030] The target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode.
[0031] According to another aspect of an embodiment of the present application, a NAN device is provided, comprising a processor and a memory, wherein the memory contains at least one program; the processor is configured to execute the at least one program in the memory so that the NAN device implements the above-mentioned device capability exchange method of the NAN device and / or the ranging session establishment method of the NAN device.
[0032] According to another aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is used to be executed by a NAN device to implement the above-mentioned device capability exchange method of the NAN device and / or the ranging session establishment method of the NAN device.
[0033] According to another aspect of an embodiment of the present application, a chip is provided, comprising a programmable logic circuit and / or program instructions. When a NAN device equipped with the chip is running, the chip is used to implement the device capability exchange method of the NAN device and / or the ranging session establishment method of the NAN device.
[0034] According to another aspect of an embodiment of the present application, a computer program product or computer program is provided, wherein the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium, and a NAN device reads and executes the computer instructions from the computer-readable storage medium to implement the above-mentioned device capability exchange method of the NAN device and / or the ranging session establishment method of the NAN device.
[0035] The technical solutions provided in the embodiments of the present application can bring the following beneficial effects:
[0036] Through 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 target ranging methods supported by the first NAN device; meets the different requirements for ranging of NAN devices in different scenarios, and improves the ranging accuracy by using the target ranging method.
[0037] Through the setup signaling for establishing the ranging session, information related to the target ranging method of the first NAN device is indicated, a ranging method different from the traditional FTM ranging method is used for ranging, and the ranging parameters of the target ranging method are negotiated, thereby expanding the target ranging methods supported by the first NAN device; meeting the different requirements for ranging of NAN devices in different scenarios, and improving the ranging accuracy by using the target ranging method. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0039] FIG1 is a schematic diagram of a proximity awareness network system provided by one embodiment of the present application;
[0040] FIG2 is a schematic diagram of a ranging session initiated by a service discovery process according to an embodiment of the present application;
[0041] FIG3 is a schematic diagram of a ranging session initiated by a NAN service according to an embodiment of the present application;
[0042] FIG4 is a schematic diagram of a single burst FTM ranging mode provided by an embodiment of the present application;
[0043] FIG5 is a schematic diagram of a Non-TB ranging method with immediate feedback reporting provided by an embodiment of the present application;
[0044] FIG6 is a schematic diagram of a Non-TB ranging method with delayed feedback reporting provided by an embodiment of the present application;
[0045] FIG7 is a schematic diagram of a Non-TB ranging method with bidirectional feedback provided by an embodiment of the present application;
[0046] FIG8 is a flowchart of a method for exchanging device capabilities of NAN devices provided by one embodiment of the present application;
[0047] FIG9 is a schematic diagram of capability signaling provided by one embodiment of the present application;
[0048] FIG10 is a schematic diagram of capability signaling provided by one embodiment of the present application;
[0049] FIG11 is a schematic diagram of capability signaling provided by one embodiment of the present application;
[0050] FIG12 is a schematic diagram of capability signaling provided by one embodiment of the present application;
[0051] FIG13 is a schematic diagram of capability signaling provided by one embodiment of the present application;
[0052] FIG14 is a flowchart of a method for exchanging device capabilities of a NAN device provided by one embodiment of the present application;
[0053] FIG15 is a flowchart of a method for establishing a ranging session of a NAN device provided by one embodiment of the present application;
[0054] FIG16 is a schematic diagram of setting signaling provided by an embodiment of the present application;
[0055] FIG17 is a schematic diagram of setting signaling provided by one embodiment of the present application;
[0056] FIG18 is a schematic diagram of setting signaling provided by an embodiment of the present application;
[0057] FIG19 is a schematic diagram of setting signaling provided by an embodiment of the present application;
[0058] FIG20 is a flowchart of a method for establishing a ranging session of a NAN device provided by one embodiment of the present application;
[0059] FIG21 is a flowchart of a method for establishing a ranging session of a NAN device provided by one embodiment of the present application;
[0060] FIG22 is a schematic diagram of a method for starting a ranging mode of a NAN device provided by one embodiment of the present application;
[0061] FIG23 is a flowchart of a method for starting a ranging mode of a NAN device provided by one embodiment of the present application;
[0062] FIG24 is a schematic diagram of a method for starting a ranging mode of a NAN device provided by one embodiment of the present application;
[0063] FIG25 is a flowchart of a method for starting a ranging mode of a NAN device provided by one embodiment of the present application;
[0064] FIG26 is a block diagram of a NAN ranging engine provided by one embodiment of the present application;
[0065] FIG27 is a block diagram of a device capability exchange apparatus for a NAN device provided by one embodiment of the present application;
[0066] FIG28 is a block diagram of a device capability exchange apparatus for a NAN device provided by one embodiment of the present application;
[0067] FIG29 is a block diagram of a ranging session establishment apparatus for a NAN device provided by one embodiment of the present application;
[0068] FIG30 is a block diagram of a ranging session establishment apparatus for a NAN device provided by one embodiment of the present application;
[0069] FIG31 is a schematic diagram of the structure of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0070] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0071] The network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. A person skilled in the art will appreciate that, with the evolution of the network architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.
[0072] First, let’s introduce Neighbor Awareness Networking (NAN):
[0073] In the standards developed by the Wi-Fi Alliance, channel 6 can be used as the discovery channel in the NAN mechanism. On channel 6, for each cluster, the duration of the discovery window (DW) is fixed, and the time interval between any two adjacent DWs in the cluster is also fixed.
[0074] According to the standards set by the Wi-Fi Alliance, in a DW, NAN devices in a cluster can send Sync Beacon messages in the DW to synchronize NAN devices in the cluster. They can also send Service Discovery Frames (SDF) messages for service discovery. Outside of the DW, NAN devices in the cluster can send Discovery Beacon messages to announce the existence of the cluster.
[0075] Each NAN device in the cluster can perform service discovery in the DW to find other NAN devices with which it can transmit data. After service discovery, at least two NAN devices that need to transmit data to each other can agree on the time-frequency resources and network connection method in the DW. When the DW ends, they will establish a corresponding network with a central node based on the agreed time-frequency resources and network connection method.
[0076] The network formed according to the agreement may be a basic network of Wi-Fi technology, including an Infrastructure Basic Service Set (Infrastructure BSS) network, or a Peer to Peer (P2P) network.
[0077] When the at least two NAN devices agree to form an InfrastructureBSS network, if one of the at least two NAN devices is an Access Point (AP), the AP can be used as the central node, and all other NAN devices are connected to the AP; if neither of the at least two NAN devices is an AP, the user can designate one NAN device as the central node, and all other NAN devices are connected to the NAN device. When the at least two NAN devices agree to form a P2P network, the at least two NAN devices can negotiate a Group Owner (GO) to determine which NAN device will serve as the GO, and the GO will be used as the central node, and all other NAN devices will be connected to the GO.
[0078] Figure 1 shows a schematic diagram of a proximity awareness network system provided by an exemplary embodiment of the present application; in this embodiment of the present application, the proximity awareness network system includes at least two NAN devices, and the above-mentioned at least two NAN devices include a first NAN device 110 and a 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. Figure 1 only shows two NAN terminals, but in different embodiments, there are multiple other terminals 130 that can access the NAN network.
[0079] Among them, NAN devices may include electronic devices, which 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 (UE), mobile stations (MS), terminal devices, etc.
[0080] First, the ranging method in related technologies is introduced:
[0081] NAN ranging:
[0082] NAN ranging allows a NAN device to obtain the distance to other NAN devices in the same NAN cluster. The NAN ranging procedure includes the following four steps: NAN ranging capability exchange; NAN ranging session initiation, update, and termination; NAN ranging report; and FTM protocol and procedures.
[0083] The ranging function can be called implicitly through the service discovery process or explicitly through applications and / or services. The two ways to call the NAN ranging module are described as follows:
[0084] FIG2 provides a schematic diagram of a ranging session initiated by a service discovery process according to an embodiment of the present application.
[0085] 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 includes a service or application (Service / Application) and a NAN engine (Engine).
[0086] Step 302: The service or application of the first NAN device publishes a ranging requirement to the NAN engine of the first NAN device.
[0087] Step 304: The service or application of the second NAN device sends a subscription (Subscribe) to the NAN engine of the second NAN device;
[0088] Step 306: The NAN engine of the second NAN device sends a subscription (Subscribe) to the NAN engine of the first NAN device;
[0089] Step 308: The NAN engine of the first NAN device sends the SDF to the NAN engine of the second NAN device;
[0090] Exemplarily, the Service Discovery Frame (SDF) is of the Publish type. In one example of the application, the SDF is also referred to as the Neighbor Awareness Networking Service Discovery Frame (NAN SDF).
[0091] Exemplarily, the SDF includes: a service descriptor attribute (SDA), ranging information (Ranging Info), and a NAN availability attribute (NAN Availability Attribute).
[0092] 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;
[0093] Upon receiving a NAN service discovery frame (NAN SDF), the NAN engine of the second NAN device sets the ranging required bit in the service descriptor extension attribute of the NAN service discovery frame to True. The NAN engine of the second NAN device constructs and transmits a NAN ranging request frame to the peer NAN device that transmitted the unsolicited Publish NAN service discovery frame (Publish type) to initiate a ranging session establishment process for the intended service. Exemplarily, the NAN engine of the second NAN device sends the NAN ranging request frame to the NAN engine of the first NAN device.
[0094] Exemplarily, the NAN ranging request frame includes: ranging information (Ranging Info), a ranging setup attribute (Ranging Setup Attribute, RSUA), and a NAN availability attribute (NAN Availability Attribute).
[0095] Step 312: The NAN engine of the first NAN device sends a NAN ranging response frame to the NAN engine of the second NAN device.
[0096] Illustratively, the NAN ranging response frame includes: ranging information (Ranging Info), a ranging setup attribute (Ranging Setup Attribute, RSUA), and a NAN availability attribute (NAN Availability Attribute).
[0097] Step 314: One or more FTM ranging modes are executed between the NAN engine of the first NAN device and the NAN engine of the second NAN device;
[0098] 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.
[0099] Exemplarily, the NAN ranging report frame includes an FTM ranging mode ranging report (FTM Ranging Report).
[0100] Step 318: The NAN engine of the second NAN device sends a discovery result to the service or application of the second NAN device;
[0101] Step 320: The NAN engine of the first NAN device sends a Receive message to the service or application of the first NAN device.
[0102] FIG3 provides a schematic diagram of a ranging session initiated by a NAN service according to an embodiment of the present application.
[0103] 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 includes a service or application (Service / Application) and a NAN engine (Engine).
[0104] Step 352: The NAN engine of the second NAN device sends the SDF to the NAN engine of the first NAN device;
[0105] Exemplarily, the Service Discovery Frame (SDF) is of the Publish or Subscribe type and includes: Ranging Info and NAN Availability Attribute.
[0106] Step 354: The NAN engine of the first NAN device sends the SDF to the NAN engine of the second NAN device;
[0107] Exemplarily, the Service Discovery Frame (SDF) is of the Publish or Subscribe type and includes: Ranging Info and NAN Availability Attribute.
[0108] 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;
[0109] 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;
[0110] 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.
[0111] Exemplarily, after receiving the ranging request (Range_Request) primitive, the NAN engine of the first NAN device constructs and transmits a ranging request frame to start a ranging session initiation procedure.
[0112] Exemplarily, the NAN ranging request frame includes: ranging information (Ranging Info), a NAN availability attribute (NAN Availability Attribute), and a Ranging Setup Attribute (Ranging Setup Attribute, RSUA).
[0113] 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;
[0114] For example, after receiving the ranging request frame, the NAN engine of the second NAN device checks whether the value of the Auto Response field is True. If the Auto Response field is False, a Range_Request_Indication event is generated and sent to the application layer. Specifically, the Range_Request_Indication event is sent to the service or application that sent the ranging request frame.
[0115] 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;
[0116] For example, the application layer may reject or approve the event transaction by initiating a ranging request indication primitive and use the ranging request indication as a ranging response.
[0117] Step 366: The NAN engine of the second NAN device sends a NAN Ranging Response Frame to the NAN engine of the first NAN device.
[0118] Illustratively, when a ranging request indication primitive is received or the automatic response is set to True as a ranging response, the NAN engine constructs and transmits a NAN ranging response frame to the peer entity.
[0119] Illustratively, the NAN ranging response frame includes: ranging information (Ranging Info), a NAN availability attribute (NAN Availability Attribute), and a Ranging Setup Attribute (Ranging Setup Attribute, RSUA).
[0120] Step 368: One or more FTM ranging modes are executed between the NAN engine of the first NAN device and the NAN engine of the second NAN device;
[0121] Step 370: The NAN engine of the first NAN device sends a NAN ranging report frame to the NAN engine of the second NAN device.
[0122] Exemplarily, the NAN ranging report frame includes an FTM ranging mode ranging report (FTM Ranging Report).
[0123] Step 372: The NAN engine of the second NAN device sends a ranging result (Range_Result) to the service or application of the second NAN device;
[0124] 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.
[0125] For NAN ranging capability exchange;
[0126] Devices exchange their ranging capabilities by carrying relevant NAN attributes in NAN service discovery frames and NAN beacon frames. NAN beacon frames include NAN discovery beacon frames and NAN synchronization beacon frames.
[0127] The following attributes can be carried in a NAN beacon frame:
[0128] Ranging Information Attribute: The Ranging Information Attribute is used to indicate to the NAN device whether the coordinates of its LCI location are available, whether the geographic LCI is available, whether the citizen location information is available, and the last movement status.
[0129] Device Capability Attribute signaling.
[0130] The following attributes can be carried in the NAN service discovery frame:
[0131] Ranging Information Attribute;
[0132] Device Capability Attribute
[0133] Service Descriptor Extension Attributes, which indicate service update instructions, service ranging limits, and service control information (such as whether further service discovery is required, whether a data path is required, QoS requirements, and whether ranging is required).
[0134] Ranging Attribute signaling, which carries the device's MAC address, the specified ranging method (FTM ranging method), and channel and bandwidth availability information.
[0135] For NAN ranging session initiation, update and termination;
[0136] The NAN device that initiates the NAN ranging session initiation phase is called the ranging initiator. The responding device is the ranging responder. The ranging initiator and ranging responder act as the FTM initiator (initiator STA) and FTM responder (responder STA) in the corresponding FTM session, respectively.
[0137] The ranging initiator starts a ranging session by sending a ranging request frame to the ranging responder. The ranging request frame should contain:
[0138] The Ranging Setup Attribute is used to establish, update, and terminate a ranging session for NAN devices. Establishing a ranging session should include FTM ranging parameters, updating a ranging session requires indicating new ranging scheduling parameters, and terminating a ranging session requires indicating a termination indication and carrying the ranging termination reason.
[0139] Ranging Information Attribute;
[0140] The NAN Availability Attribute carries the potential, conditional, and committed FAWs that each NAN device can use for ranging operations. Once established, the ranging schedule consists of one or more ranging Common Resource Blocks (CRBs). These CRBs are essentially overlapping portions of the committed FAWs of the two NAN ranging devices, selected by the time bitmap in the Ranging Setup Attribute. Both NAN ranging devices should ensure that the ranging schedule contains enough ranging CRBs to support the required FTM parameters.
[0141] The ranging initiator can update an existing ranging session by transmitting a ranging request frame to the ranging responder.
[0142] The ranging responder may transmit a schedule update notification NAF containing a potential, conditional or committed FAW to request an update of the ranging session.
[0143] The ranging session update process is the same as the ranging start process.
[0144] Upon receiving the Cancel_Range primitive, a NAN ranging device can terminate a ranging session by transmitting a Ranging_Terminate frame to its peer device. A NAN ranging device can terminate a ranging session at any time and for any reason by transmitting a Ranging_Terminate frame to its peer device. Either the ranging initiator or the ranging responder can terminate a ranging session. If a ranging session is terminated, the resource blocks committed in the corresponding ranging session are released.
[0145] For NAN ranging reports;
[0146] When the Ranging Report Required bit in the Ranging Settings attribute in the Ranging Response frame is set to 1, the Ranging Initiator shall transmit a Ranging Report frame containing the FTM Range Report Attribute to the Ranging Responder after each ranging session is completed.
[0147] For FTM ranging;
[0148] After the ranging initiator and ranging responder successfully negotiate a session, they should execute the FTM ranging procedure in each CRB of the established ranging schedule. The FTM procedure should run in ASAP=1 and single burst mode.
[0149] During each scheduled ranging CRB, the ranging initiator should send an Initial FTM Request Frame (IFTMR) to the ranging responder to initiate a single-burst As Soon As Possible (ASAP) FTM session. Furthermore, the FTM parameters (Min Delta FTM) and FTM Format and Bandwidth) contained in the initial FTM request frame should be the same as the ranging parameters in the latest ranging response frame. The ranging initiator may change other parameters in the initial FTM request frame, but the changed parameters are only valid for the current burst instance. Figure 4 provides a schematic diagram of a single-burst FTM ranging mode provided by one embodiment of the present application.
[0150] Introducing the Non-TB ranging method:
[0151] For the Non-TB ranging session negotiation phase;
[0152] The initiating STA (ISTA) transmits an Initial FTM Request Frame (IFTMR) to initiate a ranging session request and should be configured as follows:
[0153] The Trigger field is set to 1 to indicate the start or continuation of sending FTM frames.
[0154] A set of scheduling parameters in the Ranging Parameters element describes the availability of ISTA for measurement exchanges. The negotiated parameters include:
[0155] • Maximum supported bandwidth in the Format and Bandwidth subfields.
[0156] The Max R2I Repetition subfield indicates the maximum number of LTF repetitions that can be received in the preamble of the R2I NDP.
[0157] The Max I2R Repetition subfield indicates the maximum number of LTF repetitions that can be transmitted in the preamble of the I2R NDP.
[0158] The Max R2I STS<80MHz subfield indicates the maximum number of space-time streams that can be received for R2I NDP transmissions when the bandwidth is less than or equal to 80 MHz.
[0159] The Max R2I STS>80MHz subfield indicates the maximum number of space-time streams of R2I NDP transmissions that can be received when the bandwidth is greater than 80 MHz.
[0160] The Maximum (Max) I2R STS<80MHz subfield indicates the maximum number of space-time streams of the I2R NDP that can be transmitted for a bandwidth less than or equal to 80MHz.
[0161] The Maximum (Max) I2R STS>80MHz subfield indicates the maximum number of space-time streams of the I2R NDP that can be transmitted for bandwidths greater than 80MHz.
[0162] The Max R2I LTF Total subfield indicates the maximum number of LTFs that can be received in an R2I NDP, including all repetitions.
[0163] The maximum total number of LTFs that can be transmitted in an I2R NDP, including all repetitions, is indicated in the Max I2R LTF Total subfield.
[0164] • Provide immediate or delayed feedback in the I2R LMR by setting the I2R Immediate Feedback subfield to 1 or 0, respectively.
[0165] Contains a Non-TB Specific subelement.
[0166] The responding STA (RSTA) shall transmit an Initial FTM Frame (IFTM) containing a Ranging Parameters Element within 10ms. The value of the Status Indication field shall indicate the result of the request.
[0167] For the Non-TB ranging detection phase;
[0168] The ISTA shall initiate a non-TB ranging instance by sending a Ranging Null Data Packet Announcement (NDPA) frame addressed to the RSTA. After a short interframe space (SIFS), the ranging initiator transmits an NDP frame to the ranging responder. In response to a correctly received Ranging NDP announcement frame addressed to itself, the ranging responder shall also send an NDP frame to the ranging initiator.
[0169] For the Non-TB ranging reporting phase;
[0170] The ranging report phase can be divided into immediate report and delayed report according to the reporting time.
[0171] Immediate reporting means that the responder transmits the result of the current ranging instance after each measurement instance is completed. FIG5 provides a schematic diagram of a Non-TB ranging method with immediate feedback reporting provided by an embodiment of the present application.
[0172] Delayed reporting means that the current measurement report carries the measurement results of the previous measurement instance. Since the first measurement report does not contain valid measurement information, the invalid measurement (Invalid Measurement) flag needs to be set to "1." Figure 6 provides a schematic diagram of a non-TB ranging method with delayed feedback reporting, provided by an embodiment of the present application.
[0173] Both immediate and delayed feedback are unidirectional, and unidirectional feedback is mandatory. Bidirectional feedback determines during the negotiation phase whether the initiating STA needs to report ranging measurement results to the responding STA. Figure 7 provides a schematic diagram of a non-TB ranging method with bidirectional feedback, as provided in one embodiment of the present application.
[0174] Next, the technical solution of this application is introduced and explained through several embodiments.
[0175] In one example of the present application, capability signaling for device capability exchange is modified and / or added to enable ranging between a first NAN device and a second NAN device using an FTM ranging mode or a non-TB ranging mode with enhanced EDCA. The first NAN device, as the sender of the capability signaling, sends the capability signaling for device capability exchange, and the second NAN device, as the receiver of the capability signaling, receives the capability signaling for device capability exchange.
[0176] FIG8 provides a flowchart of a method for exchanging device capabilities of a NAN device according to an embodiment of the present application. The method may be performed by a first NAN device. The method includes:
[0177] Step 510: Send capability signaling for device capability exchange;
[0178] Exemplarily, capability signaling is used to indicate whether the first NAN device supports the relevant capabilities of the target ranging mode; exemplary, 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, capability signaling can be used to directly indicate whether the first NAN supports the target ranging mode, or can be used to indirectly indicate the first NAN device's support for the relevant capabilities of the target ranging capability. This application does not make any restrictive provisions on this.
[0179] Capability signaling is used to exchange the device capabilities of the first NAN device with the device receiving the capability signaling. In one example, the second NAN device receives the capability signaling, and the capability signaling is used to exchange the device capabilities of the first NAN device with the second NAN device. Similarly, in one example of the present application, the second NAN device may also send capability signaling to the first NAN device for exchanging device capabilities. In this embodiment, the first NAN device sending capability signaling is merely an exemplary description of the case where the first NAN device is the sender of the capability signaling. Those skilled in the art will appreciate that other embodiments of the present application may also be performed by other NAN devices, such as the first NAN device or the second NAN device.
[0180] Exemplarily, the target ranging method is a ranging method different from the fine timing measurement (FTM) ranging method. In one example, the target ranging method is different from the traditional FTM ranging method, and no restrictive provisions are made on the target ranging method. In an optional implementation 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 other ranging methods different from the time-based measurement method. In one example, the target ranging method includes but is not limited to the Enhanced Distributed Channel Access (EDCA) FTM ranging method and / or the Non-TB ranging method; exemplarily, in this application, the enhanced distributed channel access FTM ranging method is also referred to as an enhanced EDCA-based FTM ranging method.
[0181] It should be noted that the traditional FTM ranging method in this application is a ranging method that appeared before the target ranging method. The traditional FTM ranging method is an FTM ranging method provided before the target ranging method in the NAN device and / or the relevant protocol of the NAN device. The traditional FTM ranging method and the enhanced EDCA-based FTM ranging method are different ranging methods.
[0182] Those skilled in the art will appreciate that the above description of the target ranging method is an exemplary introduction, and the target ranging method may include other ranging methods.
[0183] To summarize, the method provided in this embodiment indicates whether the first NAN device supports the relevant capabilities of the target ranging method through capability signaling for device capability exchange, supports the use of ranging methods different from the traditional FTM ranging method for device capability exchange, and expands the target ranging methods supported by the first NAN device; meets the different requirements for ranging of NAN devices in different scenarios, and improves the ranging accuracy by using the target ranging method.
[0184] In this application, capability signaling includes at least one of the following three implementations:
[0185] Implementation method 1: Capability signaling is used to indicate whether the first NAN device supports the target ranging method.
[0186] Implementation method 2: Capability signaling is used to indicate which target ranging mode is used by the service of the first NAN device (if the target ranging mode is supported).
[0187] Implementation method three: The capability signaling is also used to indicate whether the first NAN device has the HE PHY mode.
[0188] Next, the three implementation methods will be introduced one by one through the following embodiments.
[0189] Implementation method 1: Capability signaling is used to indicate whether the first NAN device supports the target ranging method.
[0190] Exemplarily, the capability information is used to indicate the first NAN device's support for the target ranging mode. The target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a non-TB ranging mode. Optionally, the capability signaling is carried in a NAN beacon frame or a NAN service discovery frame (Neighbor Awareness Networking Service Discovery Frame, NAN SDF).
[0191] In an optional implementation, the capability signaling includes a ranging protocol indication field (Ranging Protocol Indication), which is used to indicate whether the first NAN device supports the target ranging method. In one implementation, the capability signaling is a ranging information attribute signaling (Ranging Information Attribute), which indicates whether the first NAN device supports the target ranging method by adding a ranging protocol indication field in the ranging information attribute signaling. Figure 9 provides a schematic diagram of the capability signaling provided by an embodiment of the present application, taking the capability signaling as the ranging information attribute signaling as an example for explanation, the capability signaling includes the following fields: attribute identification (Attribute ID), length (Length), location information availability (Location Info Availability), last movement indication (Last Movement Indication) and ranging protocol indication (Ranging Protocol Indication). In an optional implementation, 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, the number of bytes of the location information availability is 1, the number of bytes of the recent movement indication is 2, and the number of bytes of the ranging method description is 1.
[0192] The ranging mode description field in capability signaling is further introduced.
[0193] The ranging mode description field includes first indication information and second indication information.
[0194] In one implementation, the ranging mode description field includes first indication information and second indication information. For example, the first indication information refers to "FTM indication information of enhanced EDCA" and the second indication information refers to "Non-TB indication information."
[0195] The first indication information is used to indicate whether the first NAN device supports the enhanced EDCA-based FTM ranging method; and / or, the second indication information is used to indicate whether the first NAN device supports the Non-TB ranging method.
[0196] In one example, when the first indication information has a first value, it indicates that the first NAN device supports the enhanced EDCA-based FTM ranging method, for example, the value of the first indication information is 1. When the first indication information has a second value, it indicates that the first NAN device does not support the enhanced EDCA-based FTM ranging method.
[0197] In one example, when the second indication information has the 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 has the fourth value, it indicates that the first NAN device does not support the Non-TB ranging mode.
[0198] Exemplarily, the first indication information and the second indication information may respectively indicate an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode, or may jointly indicate an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode. It is understandable that the first information and the second information may belong to the same field or to different fields; the indication method 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 method and the fields to which the first indication information and the second indication information belong. Similarly, no restrictive provisions are made on the indication method and the fields to which other information in this application, such as the third indication information, etc.
[0199] FIG10 provides a schematic diagram of capability signaling provided by an embodiment of the present application, and takes the capability signaling as ranging information attribute signaling as an example to further illustrate the ranging mode description field in the capability signaling.
[0200] The capability signaling includes a ranging mode description field, and the ranging mode description field includes: FTM indication information of enhanced EDCA and Non-TB indication information. Among them, the first indication information is the FTM indication information of enhanced EDCA, which is used to indicate whether the first NAN device supports the enhanced EDCA-based FTM ranging mode; the second indication information is the Non-TB indication information, which is used to indicate whether the first NAN device supports the Non-TB ranging mode. Exemplarily, the FTM indication information and the Non-TB indication information of enhanced EDCA are both bit (Bits) information. Figure 10 also shows the number of bits (Bits) of information included in the ranging mode description field: the number of bits of the FTM indication information and the Non-TB indication information of enhanced EDCA are both 1, and the ranging mode description field also includes 6 reserved information (Reserved) with the number of bits being 1. In one example, the value of the reserved information is 0.
[0201] It should be noted that the description of the number of fields or information and the number of bits in this application is for illustrative purposes only. Those skilled in the art will appreciate that in another example, the number of fields or information and the number of bits may be other values.
[0202] In one example, the enhanced EDCA FTM indication information and the Non-TB indication information in the ranging mode description field are used to indicate the support status of the NAN device supporting the HE PHY mode for the enhanced EDCA-based FTM ranging mode and / or the Non-TB ranging mode.
[0203] In one implementation, when the ranging mode description field includes FTM indication information and Non-TB indication information of enhanced EDCA, the capability signaling further includes ranging attribute signaling (Ranging Attribute), and the ranging attribute signaling is used to indicate whether the first NAN device supports the traditional FTM ranging mode; 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 mode. In one example, the ranging attribute signaling is used to indicate the support status of the traditional FTM ranging mode by a NAN device that supports HT or VHT mode.
[0204] The ranging mode description field also includes third indication information.
[0205] In one implementation, the 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; and the third indication information is used to indicate whether the first NAN device supports the traditional FTM ranging mode.
[0206] In one example, when the third indication information has the fifth value, it indicates that the first NAN device supports the traditional FTM ranging mode, for example, the value of the fifth indication information is 0. When the third indication information has the sixth value, it indicates that the first NAN device does not support the traditional FTM ranging mode.
[0207] FIG11 provides a schematic diagram of capability signaling provided by an embodiment of the present application, and takes the capability signaling as ranging information attribute signaling as an example to further illustrate the ranging mode description field in the capability signaling.
[0208] The capability signaling includes a ranging mode description field, which includes: FTM indication information, FTM indication information for enhanced EDCA, and non-TB indication information. The first indication information is the FTM indication information for enhanced EDCA, the second indication information is the non-TB indication information, and the third indication information is the FTM indication information. Exemplarily, the FTM indication information, the FTM indication information for enhanced EDCA, and the non-TB indication information are all bits. FIG11 also shows the number of bits of information included in the ranging mode description field: the number of bits of the FTM indication information, the FTM indication information for enhanced EDCA, and the non-TB indication information are all 1. The ranging mode description field also includes five reserved information bits, each of which has a bit number of 1. In one example, the value of the reserved information is 0.
[0209] In one example, the enhanced EDCA FTM indication information and the non-TB indication information in the ranging mode description field are used to indicate whether a NAN device supporting HE PHY mode supports the enhanced EDCA-based FTM ranging mode and the non-TB ranging mode. The FTM indication information is used to indicate whether a NAN device supporting HT or VHT mode supports the traditional FTM ranging mode.
[0210] In an optional implementation, the capability signaling further includes ranging attribute signaling, which is used to indicate whether the first NAN device supports the traditional FTM ranging method. Specifically, the ranging attribute signaling includes a 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.
[0211] To sum up, the method provided in this embodiment indicates whether the first NAN device supports the target ranging method through capability signaling for device capability exchange, supports the use of a ranging method different from the traditional FTM ranging method for device capability exchange, and expands the target ranging method supported by the first NAN device; meets the different requirements for ranging of NAN devices in different scenarios, and improves the ranging accuracy by using the target ranging method.
[0212] Implementation method 2: Capability signaling is used to indicate the target ranging method used by the service of the first NAN device.
[0213] Exemplarily, capability signaling is used to indicate the target ranging mode used by the service of the first NAN device. In one example, the capability information is used to indicate the target ranging mode used by the service of the first NAN device among the ranging modes supported by the first NAN device, and the target ranging mode generally includes one ranging mode. Optionally, capability signaling is carried in a NAN service discovery frame (Neighbor Awareness Networking Service Discovery Frame, NAN SDF).
[0214] In one optional implementation, the capability signaling includes ranging type information (Ranging with Specific Type), where the ranging type information is used to indicate a target ranging method used by the service of the first NAN device. Exemplarily, the ranging type information is carried in a control field in the capability signaling. Exemplarily, the capability signaling is a Service Descriptor Extension Attribute signaling.
[0215] Exemplarily, the target ranging method includes FTM indication information of enhanced EDCA and Non-TB indication information; when the ranging type information is a first value, the capability signaling is used to indicate that the target ranging method used by the service of the first NAN device is an enhanced EDCA-based FTM ranging method; and / or, when the ranging type information is a second value, the capability signaling is used to indicate that the target ranging method used by the service of the first NAN device is a Non-TB ranging method.
[0216] Furthermore, the target ranging mode also includes a traditional FTM ranging mode. When the ranging type information is the third value, the capability signaling is used to indicate that the target ranging mode used by the service of the first NAN device is the traditional FTM ranging mode.
[0217] FIG12 provides a schematic diagram of capability signaling provided by an embodiment of the present application, taking capability signaling as service descriptor extended attribute signaling as an example for illustration, capability signaling includes the following fields: attribute ID, length, instance ID, control, range limit, service update indicator, service information length, and service information. In an optional implementation, FIG12 also shows the number of bytes of the fields included in the capability signaling, for example: the number of bytes of the attribute ID is 1, the number of bytes of the length is 2, the number of bytes of the instance ID is 1, the number of bytes of the control is 2, the number of bytes of the ranging limit is 0 or 4, the number of bytes of the service update indicator is 0 or 1, the number of bytes of the service information length is 0 or 2, and the number of bytes of the service information is variable.
[0218] Exemplarily, the Control field includes the following information: FSD Required, FSD with GAS, Data Path Required, Data Path Type, Reserved information, QoS Required, Security Required, Ranging Required, Ranging Limit Present, Service Update Indicator Present, and Ranging with Specific Type. Exemplarily, the reserved information described above can be implemented as a multicast type. In one implementation, the Control field also includes four bits of reserved information (Reserved), each of which is 1. Exemplarily, FIG12 also shows the number of bits of the information included in the Control field: the number of bits of the ranging type information in the information included in the Control field described above is 2, and the number of bits of the other information is all 1.
[0219] In one example, when the value of the ranging type information is 00, the target ranging mode used to indicate that the service of the first NAN device is used is the traditional FTM ranging mode; when the value of the ranging type information is 01, the target ranging mode used to indicate that the service of the first NAN device is used is the Non-TB ranging mode; when the value of the ranging type information is 10, the target ranging mode used to indicate that the service of the first NAN device is used is the enhanced EDCA-based FTM ranging mode.
[0220] In summary, the method provided in this embodiment indicates the target ranging method used by the service of the first NAN device through capability signaling for device capability exchange, supports the use of ranging methods different from the traditional FTM ranging method for device capability exchange, and expands the target ranging methods supported by the first NAN device; meets the different requirements for ranging of NAN devices in different scenarios, and improves the ranging accuracy by using the target ranging method.
[0221] Implementation method three: The capability signaling is also used to indicate whether the first NAN device has the HE PHY mode.
[0222] Exemplarily, the present application is directed to NAN devices that support HE PHY mode, such as HE STA, EHT STA, and other devices that support HE PHY mode in the related art; and adds support for the enhanced EDCA-based FTM ranging method and / or Non-TB ranging method in IEEE 802.11az.
[0223] Exemplarily, the capability signaling is used to indicate whether the first NAN device supports the HE PHY mode. Optionally, the capability signaling is carried in a NAN beacon frame or a NAN service discovery frame (Neighbor Awareness Networking Service Discovery Frame, NAN SDF).
[0224] In an optional implementation, the capability signaling includes extended mode information (Extended PHY Mode), and the extended mode information is used to indicate whether the first NAN device supports the HE PHY mode. In one implementation, the capability signaling is device capability attribute signaling; when the extended mode information in the device capability attribute signaling is a first value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode; and / or, when the extended mode information is a 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 has the HT PHY mode or the VHT PHY mode.
[0225] Furthermore, the capability signaling is also used to indicate the channel bandwidth mode support of the first NAN device. In one implementation, the capability signaling can be used to indicate the first NAN device's support for one channel bandwidth mode, or can simultaneously indicate support for multiple channel bandwidth modes.
[0226] Exemplarily, the capability signaling further includes at least one of first bandwidth indication information and second bandwidth indication information. The capability signaling includes, in the case of the first bandwidth indication information and the second bandwidth indication information, at least one of the first bandwidth indication information and the second bandwidth indication information, indicating support for two channel bandwidth modes. Exemplarily, the first bandwidth indication information is 80+80 MHz bandwidth indication, and the second bandwidth indication information is 160 MHz bandwidth indication.
[0227] Specifically, when the extended mode information is the first value and the first bandwidth indication information is the third value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and supports the first bandwidth;
[0228] And / or, when the extended mode information is the first value and the first bandwidth indication information is the fourth value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and does not support the first bandwidth;
[0229] And / or, when the extended mode information is the first value and the second bandwidth indication information is the fifth value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and supports the second bandwidth;
[0230] And / or, when the extended mode information is the first value and the second bandwidth indication information is the sixth value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and does not support the second bandwidth.
[0231] 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 for illustration, capability signaling includes the following fields: attribute identifier (Attribute ID), length (Length), mapping identifier (Map ID), committed 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 (Capabilities). In an optional implementation, Figure 13 also shows the number of bytes of the fields included in the capability signaling, for example: the number of bytes of attribute identifier is 1, the number of bytes of length is 2, the number of bytes of map identifier is 1, the number of bytes of committed window information is 2, the number of bytes of supported frequency bands is 1, the number of bytes of operation mode is 1, the number of bytes of number of antennas is 1, the number of bytes of maximum channel switching time is 2, and the number of bytes of capabilities is 1.
[0232] The operation mode field in the capability signaling is further introduced. In one implementation, the operation mode field includes the following information: PHY mode (PHY Mode), 80+80MHz bandwidth indication (80+80), 160MHz bandwidth indication (160), reservation information, and extended mode (Extended PHY Mode). Figure 13 also shows the number of bits of information included in the operation mode field: the above-mentioned reservation information can be implemented as paging NDL support (Paging NDL Support), and the number of bits of paging NDL support is 2. Exemplarily, the operation mode field also includes 2 bits of reservation information (Reserved) each of which has a bit number of 1. The number of bits of other information in the operation mode field is all 1.
[0233] The first bandwidth indication information is an 80+80 MHz bandwidth indication, which is used to indicate whether the first NAN device supports the first bandwidth; the second bandwidth indication information is a 160 MHz bandwidth indication, which is used to indicate whether the first NAN device supports the second bandwidth.
[0234] Table 1 shows the description of the four pieces of information in the operation mode field: PHY mode, 80+80 MHz bandwidth indication, 160 MHz bandwidth indication, and extended mode.
[0235] Table 1
[0236]
[0237] It should be noted that, when the extended mode information is reserved information (Reserved), the value of the extended mode information is 0.
[0238] Exemplarily, when the PHY mode value is 0, the 80+80 MHz bandwidth indication value is 0, the 160 MHz 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. Exemplarily, the first NAN does not have the VHT PHY mode and the HE PHY mode, but only has the HT PHY mode.
[0239] When 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 the VHT PHY mode but does not support the 80+80MHz bandwidth mode and the 160MHz bandwidth mode.
[0240] When the PHY mode value is 1, the 80+80 MHz bandwidth indication value is 1, the 160 MHz bandwidth indication value is 0, and the extended mode value is 0, it indicates that the first NAN device has a VHT PHY mode and supports the 80+80 MHz bandwidth mode.
[0241] When the PHY mode value is 1, the 80+80 MHz bandwidth indication value is 0, the 160 MHz bandwidth indication value is 1 and the extended mode value is 0, it indicates that the first NAN device has a VHT PHY mode and supports a 160 MHz bandwidth mode.
[0242] When 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, supports 80+80MHz bandwidth mode and supports 160MHz bandwidth mode.
[0243] In the above five implementations, the extended mode information is the second value, and the capability signaling is used to indicate that the first NAN device does not have the HE PHY mode.
[0244] When 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.
[0245] When the PHY mode value is 1, the 80+80MHz bandwidth indication value is 1, 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 and supports 80+80MHz bandwidth mode.
[0246] When 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.
[0247] When 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 1, it indicates that the first NAN device has HE PHY mode, supports 80+80MHz bandwidth mode and supports 160MHz bandwidth mode.
[0248] In the above four implementations, the extended mode information is the first value, and the capability signaling is used to indicate that the first NAN device has the HE PHY mode.
[0249] Exemplarily, 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.
[0250] In summary, the method provided in this embodiment indicates whether the first NAN device has the HE PHY mode through capability signaling for device capability exchange, supports the use of a ranging method different from the traditional FTM ranging method for device capability exchange, and expands the target ranging method supported by the first NAN device; meets the different requirements for ranging of NAN devices in different scenarios, and improves the ranging accuracy by using the target ranging method.
[0251] FIG14 provides a flowchart of a method for exchanging device capabilities of a NAN device according to an embodiment of the present application. The method may be performed by a second NAN device. The method includes:
[0252] Step 520: Receive capability signaling for device capability exchange;
[0253] Exemplarily, the capability signaling is used to indicate whether the first NAN device supports the relevant capabilities of the target ranging method. In one example, the capability signaling can be used to directly indicate whether the first NAN supports the target ranging method, or can be used to indirectly indicate the first NAN device's support for the relevant capabilities of the target ranging capability. This application does not make any restrictive provisions on this. The first NAN device sends the capability signaling.
[0254] The capability signaling is used to exchange the device capabilities of the first NAN device with the device receiving the capability signaling. In one example, the second NAN device receives the capability signaling, and the capability signaling is used to exchange the device capabilities of the first NAN device with the second NAN device.
[0255] Exemplarily, the target ranging method is a ranging method different from the fine timing measurement (FTM) ranging method. In one example, the target ranging method is different from the traditional FTM ranging method, and no restrictive provisions are made on the target ranging method. In an optional implementation 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 other ranging methods different from the time-based measurement method. In one example, the target ranging method includes but is not limited to an enhanced FTM ranging method based on enhanced distributed channel access (EDCA) and / or a Non-TB ranging method; those skilled in the art will understand that the above description of the target ranging method is an exemplary introduction, and the target ranging method may include other ranging methods.
[0256] In this application, capability signaling includes at least one of the following three implementation methods:
[0257] Implementation method 1: Capability signaling is used to indicate whether the first NAN device supports the target ranging method.
[0258] Implementation method 2: Capability signaling is used to indicate the target ranging method used by the service of the first NAN device.
[0259] Implementation method three: The capability signaling is also used to indicate whether the first NAN device has the HE PHY mode.
[0260] The three implementation methods shown in this embodiment are the same as the three corresponding implementation methods in Figures 9 to 13 above. For detailed descriptions of the three implementation methods, please refer to the embodiments above and will not be repeated in this embodiment.
[0261] To summarize, the method provided in this embodiment indicates whether the first NAN device supports the relevant capabilities of the target ranging method through capability signaling for device capability exchange, supports the use of ranging methods different from the traditional FTM ranging method for device capability exchange, and expands the target ranging methods supported by the first NAN device; meets the different requirements for ranging of NAN devices in different scenarios, and improves the ranging accuracy by using the target ranging method.
[0262] FIG15 provides a flowchart of a method for establishing a ranging session of a NAN device according to an embodiment of the present application. The method may be performed by a first NAN device. The method includes:
[0263] Step 530: Send setup signaling for ranging session establishment;
[0264] Exemplarily, the setup signaling is used to indicate information related to the target ranging mode of the first NAN device. Exemplarily, in one example, the setup signaling is used to indicate information related to the target ranging mode of the NAN device that sends the setup signaling. The setup signaling can be used directly to set the target ranging mode of the first NAN device, or can be used to indirectly indicate information related to the target ranging mode of the first NAN device. This application does not impose any restrictive provisions on this.
[0265] The setup signaling is used to transmit the device settings of the first NAN device to the device receiving the setup signaling. In one example, the second NAN device receives the setup signaling, and the setup signaling is used to transmit the device settings of the first NAN device to the second NAN device. Those skilled in the art will appreciate that other embodiments of the present application may also be performed by other NAN devices, such as the first NAN device or the second NAN device.
[0266] Exemplarily, the target ranging method is a ranging method different from the fine timing measurement (FTM) ranging method. In one example, the target ranging method is different from the traditional FTM ranging method, and no restrictive provisions are made on the target ranging method. In an optional implementation 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 other ranging methods different from the time-based measurement method. In one example, the target ranging method includes but is not limited to an enhanced FTM ranging method based on enhanced distributed channel access (EDCA) and / or a Non-TB ranging method; those skilled in the art will understand that the above description of the target ranging method is an exemplary introduction, and the target ranging method may include other ranging methods.
[0267] To summarize, the method provided in this embodiment indicates information related to the target ranging method of the first NAN device through the setup signaling for establishing a ranging session, adopts a ranging method different from the traditional FTM ranging method for ranging, and negotiates the ranging parameters of the target ranging method, thereby expanding the target ranging method supported by the first NAN device; meeting the different requirements for ranging of NAN devices in different scenarios, and improving the ranging accuracy by adopting the target ranging method.
[0268] In an optional design of the present application, setup signaling is used to set a target ranging mode among candidate ranging modes supported by the first NAN device. In one implementation, the setup signaling is a ranging setup attribute signaling (Ranging Setup Attribute), which is used to set the target ranging mode among candidate ranging modes supported by the first NAN device. Optionally, the setup signaling is carried in a ranging request frame.
[0269] In one implementation, the target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode. Optionally, the setup signaling further carries ranging parameters of the target ranging mode for negotiation.
[0270] Next, the setup signaling is further introduced. In this embodiment, the setup signaling includes at least one of the following three implementations:
[0271] Implementation method 4: Set the signaling to include the FTM parameter indication field and the enhanced FTM ranging indication field.
[0272] Implementation method five: Set the signaling to include the FTM parameter indication field and the FTM format bandwidth field.
[0273] Implementation method six: Set the signaling to include a Non-TB parameter indication field.
[0274] Implementation method 4: Set the signaling to include the FTM parameter indication field and the enhanced FTM ranging indication field.
[0275] Exemplarily, 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.
[0276] In one example, 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, if the value of the enhanced FTM ranging indication field is a first value, the target ranging mode is the enhanced EDCA-based FTM ranging mode; if the value of the enhanced FTM ranging indication field is a second value, the target ranging mode is different from the enhanced EDCA-based FTM ranging mode.
[0277] FIG16 provides a schematic diagram of setup signaling provided by one embodiment of the present application. Taking ranging setup attribute signaling as an example, the setup signaling includes the following fields: Attribute ID, Length, Dialog Token, Type and Status, Reason Code, Ranging Control, NAN FTM Parameters, and Ranging Schedule Entry List. In an optional implementation, FIG16 also illustrates the number of bytes of the fields included in the capability signaling. For example, the byte number of the attribute ID is 1, the byte number of the length is 2, the byte number of the session token is 1, the byte number of the type and status is 1, the byte number of the reason code is 1, the byte number of the ranging control is 1, the byte number of the NAN FTM parameters is 0 or 3, and the byte number of the ranging schedule entry is 0 or a variable.
[0278] Exemplarily, the FTM parameter indication field is implemented as a NAN FTM Parameters Present indication in the ranging control field, and the NAN FTM Parameters Present indication is used to indicate that the target ranging mode is any one of the enhanced EDCA-based FTM ranging mode and the traditional FTM ranging mode.
[0279] Exemplarily, the ranging control field includes the following information: ranging report requirement (Ranging Report Required), whether NAN FTM parameters exist (NAN FTM Parameters Present), and whether the ranging schedule table exists (Ranging Schedule Entry List Present); the ranging control field also includes 5 bits of reserved information (Reserved) each of which is 1; exemplarily, Figure 16 also shows the number of bits of information included in the ranging control field: the number of bits of information in the ranging control field is 1.
[0280] Figure 17 provides a schematic diagram of setup signaling provided by one embodiment of the present application. Using ranging setup attribute signaling as an example, the NAN FTM parameter field in the ranging setup attribute signaling is further described. The NAN FTM parameter field includes the following information: Maximum Burst Duration, Minimum Delta FTM, Maximum FTM Interactions per Burst, FTM Format and Bandwidth, Enhanced FTM Ranging Indication, and three bits of reserved information (Reserved), each with a value of 1. Figure 17 also shows the number of bits included in the NAN FTM parameter field: Maximum Burst Duration has 4 bits, Minimum Delta FTM has 6 bits, Maximum FTM Interactions per Burst has 5 bits, FTM Format and Bandwidth has 6 bits, and Enhanced FTM Ranging Indication has 1 bit.
[0281] Exemplarily, 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 the enhanced EDCA-based FTM ranging mode. For example, when the value of the enhanced FTM ranging indication information is a 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 a second value, the target ranging mode is the traditional FTM ranging mode, and the second value is 0.
[0282] It should be further explained that the NAN FTM parameter field is also used to carry ranging parameters of the enhanced EDCA-based FTM ranging mode, and is used to indicate that the ranging parameters of the enhanced EDCA-based FTM ranging mode need to be negotiated.
[0283] In summary, the method provided in this embodiment, through the setup signaling for establishing a ranging session, includes an FTM parameter indication field and an enhanced FTM ranging indication field in the setup signaling, directly sets the target ranging method in the candidate ranging methods supported by the first NAN device, and uses a ranging method different from the traditional FTM ranging method for ranging, thereby expanding the target ranging method supported by the first NAN device; meeting the different requirements for ranging of NAN devices in different scenarios, and using the target ranging method to improve the ranging accuracy.
[0284] Implementation method five: Set the signaling to include the FTM parameter indication field and the FTM format bandwidth field.
[0285] Exemplarily, 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 implicitly indicate whether the target ranging method is the enhanced EDCA-based FTM ranging method.
[0286] In one example, the FTM format bandwidth field is used to indirectly indicate whether the target ranging mode is an enhanced EDCA-based FTM ranging mode. For example, if the field value of the FTM format bandwidth field falls within a first field value range, the target ranging mode is the enhanced EDCA-based FTM ranging mode, where the first field value range is a field value range corresponding to an EDCA-based HE type format; and / or if the field value of the FTM format bandwidth field falls within a second field value range, the target ranging mode is a traditional FTM ranging mode.
[0287] Refer to the schematic diagram of setting signaling shown in Figure 17 above; exemplarily, the FTM format bandwidth field is implemented as the 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 the enhanced EDCA-based FTM ranging mode.
[0288] For example, if the value of the FTM format bandwidth field falls within the first field value range, the target ranging mode is the enhanced EDCA-based FTM ranging mode; if the value of the FTM format bandwidth field falls within the second field value range, the target ranging mode is the traditional FTM ranging mode. The first field value range is 17 to 22, and the second field value range is 0 to 16.
[0289] In summary, the method provided in this embodiment indirectly sets the target ranging method in the candidate ranging methods supported by the first NAN device through the setup signaling for establishing the ranging session, including the FTM parameter indication field and the FTM format bandwidth field in the setup signaling, and adopts a ranging method different from the traditional FTM ranging method for ranging, thereby expanding the target ranging method supported by the first NAN device; meeting the different requirements for ranging of NAN devices in different scenarios, and improving the ranging accuracy by adopting the target ranging method.
[0290] Implementation method six: Set the signaling to include a Non-TB parameter indication field.
[0291] Exemplarily, 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.
[0292] FIG18 provides a schematic diagram of setup signaling according to an embodiment of the present application, using ranging setup attribute signaling as an example. Compared to FIG16 , which provides a schematic diagram of setup signaling according to an embodiment of the present application, the ranging setup attribute signaling further includes the following fields: Non-TB Parameters; the number of bytes of the Non-TB parameters is 0 or a variable. In the Ranging Control field, compared to FIG16 , the first reserved information (Reserved) is defined as an indication of whether the Non-TB parameters are present (Non-TB Parameters Present).
[0293] Exemplarily, the Non-TB parameter indication field is implemented as an indication of whether a Non-TB parameter is present; for example, when the value of the indication of whether a Non-TB parameter is present is a first value, the target ranging mode is the Non-TB ranging mode, and the first value is 1. And / or, when the value of the indication of whether a Non-TB parameter is present is a second value, the target ranging mode is different from the Non-TB ranging mode, and the second value is 0.
[0294] It should be further explained that the Non-TB parameter field is used to carry the ranging parameters of the Non-TB ranging mode, indicating that the ranging parameters of the Non-TB ranging mode need to be negotiated. Figure 19 provides a schematic diagram of the setup signaling provided in one embodiment of the present application, further illustrating the Non-TB parameter field in the ranging setup attribute signaling. Figure 19 also shows the number of bits of information included in the Non-TB parameter field: the Non-TB parameter field includes the following information: the Ranging Priority bit number is 2, the R2I TOA Type bit number is 1, the I2R TOA Type bit number is 1, the R2I AOA Request bit number is 1, the I2R TOA Request bit number is 1, the Format and Bandwidth bit number is 6, the Immediate I2R Feedback bit number is 3, and the Immediate R2I Feedback bit number is 3. The maximum number of I2R repetition bits is 3, the maximum number of R2I repetition bits is 3, the maximum number of R2I STS information bits for less than or equal to 80 MHz is 2, the maximum number of R2I STS information bits for greater than or equal to 80 MHz is 2, the maximum number of R2I LTF total bits is 3, the maximum number of I2R LTF total bits is 3, the maximum number of I2R STS information bits for less than or equal to 80 MHz is 1, and the maximum number of I2R STS information bits for greater than 80 MHz is 1. The minimum number of bits for the measurement interval is 23, the maximum number of bits for the measurement interval is 20, the number of bits for the R2I transmit power is 1, the number of bits for the I2R transmit power is 1, and there are 7 bits of reserved information (Reserved) with all bits set to 1.
[0295] In summary, the method provided in this embodiment uses setup signaling for establishing a ranging session, includes a Non-TB parameter indication field in the setup signaling, sets a target ranging method in the candidate ranging methods supported by the first NAN device, and uses a ranging method different from the traditional FTM ranging method for ranging, thereby expanding the target ranging method supported by the first NAN device; meeting the different requirements for ranging of NAN devices in different scenarios, and improving the ranging accuracy by using the target ranging method.
[0296] In an optional design of the present application, the setup signaling is used to indicate whether the first NAN device supports the HE PHY mode. In one implementation, the setup signaling is used to indicate whether the first NAN device supports the HE PHY mode. Optionally, the setup signaling is carried in a ranging request frame.
[0297] It should be noted that the detailed description of setting the signaling in this embodiment to indicate whether the first NAN device has the HE PHY mode is exactly the same as the implementation method three above. For the detailed description of whether the first NAN device has the HE PHY mode, please refer to the above embodiment and it will not be repeated in this embodiment.
[0298] FIG20 provides a flowchart of a method for establishing a ranging session of a NAN device according to an embodiment of the present application. The method may be performed by a second NAN device. The method includes:
[0299] Step 540: Receive setup signaling for ranging session establishment;
[0300] Exemplarily, the setup signaling is used to indicate information related to the target ranging mode of the first NAN device. In one example, the setup signaling can be used to directly set the target ranging mode of the first NAN device, or can be used to indirectly indicate information related to the target ranging mode of the first NAN device. This application does not impose any restrictive provisions on this.
[0301] The setup signaling is used to transmit the device settings of the first NAN device to the device receiving the setup signaling. In one example, the second NAN device receives the setup signaling, and the setup signaling is used to transmit the device settings of the first NAN device to the second NAN device.
[0302] Exemplarily, the target ranging method is a ranging method different from the fine timing measurement (FTM) ranging method. In one example, the target ranging method is different from the traditional FTM ranging method, and no restrictive provisions are made on the target ranging method. In an optional implementation 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 other ranging methods different from the time-based measurement method. In one example, the target ranging method includes but is not limited to an enhanced FTM ranging method based on enhanced distributed channel access (EDCA) and / or a Non-TB ranging method; those skilled in the art will understand that the above description of the target ranging method is an exemplary introduction, and the target ranging method may include other ranging methods.
[0303] In an optional design of the present application, the setup signaling is used to set the target ranging mode among the candidate ranging modes supported by the first NAN device. In an optional design of the present application, the setup signaling is used to indicate whether the first NAN device has HE PHY mode. The above two implementations are exactly the same as implementations 3 to 6 above. For detailed descriptions, please refer to the above embodiments and will not be repeated in this embodiment.
[0304] To summarize, the method provided in this embodiment indicates information related to the target ranging method of the first NAN device through the setup signaling for establishing a ranging session, adopts a ranging method different from the traditional FTM ranging method for ranging, and expands the target ranging method supported by the first NAN device; meets the different requirements for ranging of NAN devices in different scenarios, and adopts the target ranging method to improve the ranging accuracy.
[0305] FIG21 provides a flowchart of a method for exchanging device capabilities of a NAN device according to an embodiment of the present application. The method may be performed by a second NAN device. The method includes:
[0306] Step 540: Receive setup signaling for ranging session establishment;
[0307] Exemplarily, the setup signaling is used to indicate information related to the target ranging mode of the first NAN device. In one example, the setup signaling can be used to directly set the target ranging mode of the first NAN device, or can be used to indirectly indicate information related to the target ranging mode of the first NAN device. This application does not impose any restrictive provisions on this.
[0308] Exemplarily, the setup signaling further carries ranging parameters of a target ranging mode for negotiation. The ranging parameters of the target ranging mode include ranging parameters of a Non-TB ranging mode or ranging parameters of an enhanced EDCA-based FTM ranging mode.
[0309] Step 550: Sending a response setup signaling for establishing a ranging session;
[0310] Exemplarily, the response setup 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. Optionally, the response setup signaling is carried in a ranging response frame.
[0311] The response setup signaling includes a reason code field, which is used to indicate why the parameters of the enhanced EDCA-based FTM ranging mode or the non-TB ranging mode do not meet the target conditions. Specifically, when the reason code field has a first value, the reason code field indicates that the parameters of the non-TB ranging mode do not meet the requirements; and / or when the reason code field has a second value, the reason code field indicates that the enhanced EDCA-based FTM ranging mode does not meet the ranging accuracy requirements.
[0312] In a specific example, the response setup signaling is a ranging setup attribute signaling (Ranging Setup Attribute), which includes a Reason Code field; setting the Reason Code field to 13 (NTB_PARAMETERS_INCAPABLE) indicates that the ranging request of the ranging initiator is rejected because the parameters of the Non-TB ranging mode cannot meet the requirements.
[0313] Setting the Reason Code field to 14 (RANGING PRECISION_INCAPABLE) indicates that the current ranging mode cannot meet the service ranging accuracy requirement and that the ranging session needs to be updated or terminated. Furthermore, when a first NAN device supporting HE PHY mode and a second NAN device supporting HE PHY mode in a first NAN cluster perform ranging, if the ranging accuracy does not meet the requirements of the upper layer application due to the use of the enhanced EDCA-based FTM ranging mode, 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.
[0314] To summarize, the method provided in this embodiment, through the response setting signaling for establishing a ranging session, indicates that the ranging parameters of the target ranging method received by the second NAN device do not meet the target conditions, and adopts a ranging method different from the traditional FTM ranging method for ranging, thereby expanding the target ranging method supported by the first NAN device; meeting the different requirements for ranging of NAN devices in different scenarios, and improving the ranging accuracy by adopting the target ranging method.
[0315] It should be noted that the descriptions of the first and second NAN devices in the various embodiments of this application are merely exemplary. The first NAN device indicates the sender device of capability signaling or setup signaling, and the second NAN device indicates the receiver device of capability signaling or setup signaling. Those skilled in the art will appreciate that the first and second NAN devices can be any device in a NAN network. In one example, the first NAN device is the sender device of capability signaling, and the second NAN device is the receiver device of setup signaling. Even if the first and second NAN devices have different names, in this specific example, the first and second NAN devices can be the same or different devices. Similarly, for either capability signaling or setup signaling, the receiver device and the sender device are typically different. However, the receiver device of capability signaling and the arbitrary device of setup signaling, and the receiver device of setup signaling and the arbitrary device of capability signaling, can be the same or different. An arbitrary device includes either a receiver device or a sender device.
[0316] It is understandable that the above method embodiments can be implemented individually or in combination, and this application does not impose any restrictions on this.
[0317] Next, the content of this application will be further introduced through the following two examples:
[0318] FIG22 provides a schematic diagram of a method for starting a ranging mode of a NAN device according to an embodiment of the present application.
[0319] Exemplarily, the first NAN device sends a NAN service discovery frame (SDF) to the second NAN device for subscription or publication; the NAN service discovery frame includes a service descriptor attribute (SDA) and a device capability attribute (DCA). Similarly, the second NAN device sends a NAN service discovery frame (SDF) to the first NAN device for subscription or publication.
[0320] The first NAN device sends a NAN ranging request frame (NAN Ranging Request Frame) to the second NAN device. In response to the NAN ranging request frame, the second NAN device sends a NAN ranging response frame (NAN Ranging Response Frame) to the first NAN device.
[0321] Furthermore, one or more enhanced EDCA FTM ranging modes and / or Non-TB ranging modes are performed between the first NAN device and the second NAN device; it should be noted that the above ranging modes can be performed only once or multiple times, and this embodiment does not make any restrictive provisions on this.
[0322] The first NAN device sends a NAN ranging report frame (NAN Ranging Report Frame) to the second NAN device; the first NAN device, as an initiator, uses the ranging report frame to report the ranging result of the current measurement instance to the second NAN device, as a responder.
[0323] FIG23 provides a flowchart of a method for starting a ranging mode of a NAN device according to an embodiment of the present application. The method may be performed by a first NAN device. The method includes:
[0324] Step 612: The first NAN device sends a NAN beacon frame or a NAN service discovery frame;
[0325] Any two NAN devices supporting the HE PHY mode in the same NAN cluster can indicate that the device supports the HE PHY mode through the NAN ranging capability exchange phase. In this embodiment, the first NAN device sends a NAN beacon frame or a NAN service discovery frame as an example for explanation.
[0326] First, let’s introduce the NAN service discovery frame:
[0327] The service or application of the first NAN device supporting the HE PHY mode can indicate subscription or publication of the service by calling the subscription (Subscribe) or publication (Publish) method of the NAN MAC or NAN engine in the device. After receiving the subscription or publication method, the NAN MAC or NAN engine in the first NAN device supporting the HE PHY mode can generate and transmit a NAN service discovery frame within the DW. The NAN service discovery frame should carry a service descriptor attribute (Service Descriptor Attribute) and a device capability attribute (Device Capability Attribute); the NAN service discovery frame can also carry a ranging information attribute (Ranging Information Attribute), a ranging attribute (Ranging Attribute), etc.
[0328] The service descriptor attributes are used to describe the service type, filters, specific service information, etc. For example, when the values of bit 0 and bit 1 in the service descriptor attributes are "00", it indicates that the service is of the publishing type; when the values of bit 0 and bit 1 in the service descriptor attributes are "01", it indicates that the service is of the subscription type.
[0329] The device function attributes are used to describe the DW information, supported frequency bands, PHY modes, number of antennas and other information promised by the device. The value of the PHY Mode information in the 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 80+80MHz bandwidth mode and / or 160MHz bandwidth mode. For example, for a detailed introduction to the device function attributes, please refer to the implementation method three above, which will not be repeated in this embodiment.
[0330] The ranging information attribute is used to indicate whether the coordinates of the LCI location are available, whether the geographic LCI is available, whether citizen location information is available, and the last movement status. The first NAN device can indicate whether the first NAN device supports the target ranging mode based on the first indication information and the second indication information. The first NAN device can also indicate whether the first NAN device supports the target ranging mode based on the first indication information, the second indication information, and the third indication information. For an exemplary description of the ranging information attribute, please refer to Implementation Method 1 above and will not be repeated in this embodiment.
[0331] Similarly, a service or application of a second NAN device supporting HE PHY mode can subscribe to or publish a 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.
[0332] Next, let’s introduce the NAN beacon frame:
[0333] Exemplarily, the first NAN device carries NAN ranging-related attributes through NAN beacon frames, including NAN discovery beacon frames and NAN synchronization beacon frames.
[0334] Those skilled in the art will appreciate that there are at least three types of devices in a NAN: Master devices, Non-Master Sync devices, and Non-Master non-Sync devices. The following describes how these three types of devices indicate support for the enhanced EDCA-based FTM ranging method or the Non-TB ranging method:
[0335] Master device and Non-Master Sync device;
[0336] The Master and Non-Master Sync devices in the NAN can transmit synchronization beacon frames within the DW. The synchronization beacon frames can optionally carry device capability attributes and / or ranging information attributes to indicate the ranging methods supported by the NAN devices.
[0337] Specifically, the value of the PHY Mode information in the 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, indicating 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 80+80MHz bandwidth mode and / or 160MHz bandwidth mode. For example, for a detailed introduction to the functional attributes of the device, please refer to the implementation method three above, which will not be repeated in this embodiment.
[0338] The ranging information attribute is used to indicate whether the coordinates of the LCI location are available, whether the geographic LCI is available, whether the citizen location information is available, and the last movement status. For example, please refer to the implementation method 1 above for a detailed introduction to the ranging information attribute, which will not be repeated in this embodiment.
[0339] Master device;
[0340] The Master device transmits a discovery beacon frame outside the DW. The discovery beacon frame optionally carries a Device Capability Attribute and / or a Ranging Information Attribute to indicate relevant information about the ranging methods supported by the NAN device.
[0341] Specifically, the value of the PHY Mode information in the 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, indicating 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 80+80MHz bandwidth mode and / or 160MHz bandwidth mode. For example, for a detailed introduction to the functional attributes of the device, please refer to the implementation method three above, which will not be repeated in this embodiment.
[0342] The ranging information attribute is used to indicate whether the coordinates of the LCI location are available, whether the geographic LCI is available, whether the citizen location information is available, and the last movement status. For example, please refer to the implementation method 1 above for a detailed introduction to the ranging information attribute, which will not be repeated in this embodiment.
[0343] Step 614: The first NAN device sends a ranging request frame for negotiating a target ranging mode;
[0344] The NAN device decides to initiate a NAN ranging session. The device that initiates 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. For example, the NAN ranging initiator is the first NAN device, and the NAN ranging responder is the second NAN device.
[0345] A NAN device can initiate a ranging session negotiation with a peer device by transmitting a NAN ranging request frame. During the NAN ranging session initiation process, the two NAN devices negotiate ranging parameters based on the ranging method. Ranging methods include, but are not limited to, traditional FTM ranging, enhanced EDCA-based FTM ranging, and non-TB ranging.
[0346] The example in which both the ranging initiator and the ranging responder are NAN devices that support the HE PHY mode is used for explanation.
[0347] In addition to using 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 can use the method of supporting FTM ranging by two NAN devices supporting HE PHY mode in the same NAN cluster in the related art. This embodiment only describes the execution process of the enhanced EDCA-based FTM ranging method and the non-TB ranging method.
[0348] The control module of the ranging engine in the first NAN device supporting HE PHY mode in the first NAN cluster (i.e., the first NAN device) should decide whether to initiate a NAN ranging session to the second NAN device supporting HE PHY mode in the first NAN cluster (i.e., the second NAN device) based on the capability information, the last movement indication, and the FAW information of the second NAN device supporting HE PHY mode in the first NAN cluster and decide the ranging method that needs to be negotiated when transmitting the first NAN ranging request frame.
[0349] The ranging request frame can be transmitted within the DW or the FAW of the second NAN device supporting HE PHY mode during the ranging capability exchange phase. The NAN ranging request frame should include the ranging setup attribute signaling (Ranging Setup Attribute), ranging information attribute signaling (Ranging Information Attribute), NAN availability attribute (NAN Availability Attribute) and device capability attribute signaling (Device Capability Attribute).
[0350] In the ranging setting attribute signaling, the value of Non-TB Parameters Present in the Ranging Control field is set to 1 to indicate the NAN Non-TB ranging mode. The ranging setting attribute signaling carries relevant parameters of the supported NAN Non-TB ranging mode.
[0351] In the ranging setting attribute signaling, 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 indicates the enhanced EDCA-based FTM ranging method in an explicit or implicit manner. For example, for a detailed introduction to the ranging setting attributes, please refer to Implementation Method 4 and Implementation Method 5 above, which will not be repeated in this embodiment.
[0352] Specifically, the value of the PHY Mode information in the 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, indicating 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 80+80MHz bandwidth mode and / or 160MHz bandwidth mode. For example, for a detailed introduction to the functional attributes of the device, please refer to the implementation method three above, which will not be repeated in this embodiment.
[0353] The ranging information attribute is used to indicate whether the coordinates of the LCI location are available, whether the geographic LCI is available, whether the citizen location information is available, and the last movement status. For example, please refer to the implementation method 1 above for a detailed introduction to the ranging information attribute, which will not be repeated in this embodiment.
[0354] The NAN availability attribute is used to carry potential FAW, conditional FAW, and committed FAW that can perform non-TB ranging.
[0355] After the second NAN device supporting the HE PHY mode in the first NAN cluster receives the ranging request frame from the first NAN device supporting the HE PHY mode in the first NAN cluster, the control module in the ranging engine of the second NAN device supporting the HE PHY mode in the first NAN cluster should decide whether to accept or reject the ranging request based on the ranging parameters in the ranging request frame.
[0356] If the ranging parameters and NAN scheduling resources contained in the ranging request frame of the first NAN device supporting HE PHY mode in the first NAN cluster meet the ranging requirements, the second NAN device supporting HE PHY mode in the first NAN cluster should transmit a ranging response frame to the first NAN device supporting HE PHY mode in the first NAN cluster, 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). For the ranging setup attribute signaling, ranging information attribute signaling, NAN availability attribute and device function attribute signaling in the ranging response frame, please refer to the description in the ranging request frame above, which will not be repeated in this embodiment.
[0357] If the ranging parameters and NAN scheduling resources 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 second NAN device supporting HE PHY mode in the first NAN cluster should transmit a ranging response frame to the first NAN device supporting HE PHY mode in the first NAN cluster, which should include ranging setup attribute signaling (Ranging Setup Attribute) and ranging information attribute signaling (Ranging Information Attribute); optionally, it may include NAN availability attribute (NAN Availability Attribute) and device function attribute signaling (Device Capability Attribute).
[0358] Specifically, the Status subfield in the ranging setting attribute signaling is set to "1" to indicate rejection. Because 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 rejection because the Non-TB ranging parameters do not meet the requirements.
[0359] The Reason Code is set to 12 (RANGING_SCHEDULE_UNACCEPTABLE) due to resource scheduling reasons of the first HE PHY mode supported 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, etc.
[0360] Update for NAN ranging session
[0361] The NAN ranging initiator may initiate a ranging session update by transmitting a NAN ranging request frame to the responder.
[0362] The NAN ranging responder can request a ranging session update by transmitting a scheduling update notification (NAF) containing a potential FAW, a conditional FAW, and a committed FAW. After receiving the scheduling update notification (NAF), the NAN ranging initiator decides whether to initiate a ranging session update. The NAN ranging session update process is the same as the NAN ranging session initiation process.
[0363] For NAN ranging session termination
[0364] During a 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), which may optionally include the ranging information attribute signaling (Ranging Information Attribute), the NAN availability attribute (NAN Availability Attribute), and the unaligned schedule attribute (Unaligned Schedule Attribute). Among them, if the Type subfield in the Type and Status field of the ranging setup attribute signaling is set to "2" (terminated), then b0, b1, b2, b3, and b4 in the Ranging Control field should be set to "0", and the FTM ranging parameters, NAN Non-TB ranging parameters, and ranging scheduling attribute list fields will not appear.
[0365] Step 616: The first NAN device and the second NAN device perform a ranging process in a target ranging mode.
[0366] After the NAN ranging negotiation is completed, the ranging initiator and the ranging responder successfully establish a ranging schedule, that is, a ranging schedule is successfully established between the first NAN device and the second NAN device.
[0367] Contains one or more ranging CRBs. In each scheduled ranging CRB, the ranging initiator should transmit an IFTMR frame to the ranging responder to initiate a ranging request, carrying different parameters depending on the ranging mode. The ranging responder should also transmit an IFTM frame in response to the ranging request of the ranging initiator. The ranging responder and the ranging initiator then perform one or more measurement instances based on the negotiated ranging mode.
[0368] Step 618: The first NAN device sends the ranging result of the target ranging mode;
[0369] During the ranging negotiation phase, the responder indicates that it needs ranging results. After completing each FTM or Non-TB measurement instance, the initiator uses a 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 results of the target ranging method.
[0370] In summary, the method provided in this embodiment indicates whether the first NAN device supports the relevant capabilities of the target ranging method through capability signaling for device capability exchange, and adopts a ranging method different from the traditional FTM ranging method for device capability exchange; through setting signaling for establishing a ranging session, it indicates information related to the target ranging method of the first NAN device, and adopts a ranging method different from the traditional FTM ranging method for ranging; expands the target ranging methods supported by the first NAN device; meets the different requirements for ranging of NAN devices in different scenarios, and improves the ranging accuracy by adopting the target ranging method.
[0371] Exemplarily, the NAN ranging session startup phase is divided into two cases: the ranging initiator is a NAN device that supports the HE PHY mode and the ranging responder supports the HE PHY mode.
[0372] 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 a ranging session initiation process of the traditional FTM ranging method based on the HT format and bandwidth. If the peer device is a VHT NAN device, the ranging initiator can initiate a ranging session initiation process of an FTM ranging request based on the HT or VHT format and bandwidth. If the peer device supports HE PHY mode, the ranging initiator can initiate a ranging session initiation process of the existing FTM ranging, enhanced EDCA-based FTM ranging method, or non-TB ranging method.
[0373] 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 ranging request initiated. There are two situations, such as:
[0374] The ranging initiator is an HT NAN device or a VHT NAN device, and the ranging responder is a NAN device that supports HE PHY, using the traditional FTM ranging method;
[0375] The ranging initiator is a NAN device that supports HE PHY, and the ranging responder is a NAN device that supports HE PHY. The traditional FTM ranging method, the enhanced EDCA-based FTM ranging method, or the Non-TB ranging method is used.
[0376] When the ranging initiator is an HT NAN device or a VHT NAN device, the device will treat the ranging responder supporting the HE PHY mode as an HT NAN or VHT NAN device, which has been introduced above and will not be repeated here.
[0377] FIG24 provides a schematic diagram of a method for starting a ranging mode of a NAN device according to an embodiment of the present application.
[0378] Exemplarily, 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 to the second NAN device for publication; the NAN service discovery frame includes a service descriptor attribute (SDA) and a service descriptor extension attribute signaling (SDEA).
[0379] The second NAN device sends a NAN ranging request frame (NAN Ranging Request Frame) to the first NAN device. In response to the NAN ranging request frame, the first NAN device sends a NAN ranging response frame (NAN Ranging Response Frame) to the second NAN device.
[0380] Furthermore, one or more enhanced EDCA FTM ranging modes and / or Non-TB ranging modes are performed between the first NAN device and the second NAN device; it should be noted that the above ranging modes can be performed only once or multiple times, and this embodiment does not make any restrictive provisions on this.
[0381] The second NAN device sends a NAN ranging report frame (NAN Ranging Report Frame) to the first NAN device; the first NAN device, as an initiator, uses the ranging report frame to report the ranging result of the current measurement instance to the second NAN device, as a responder.
[0382] FIG25 provides a flowchart of a method for starting a ranging mode of a NAN device according to an embodiment of the present application. The method may be performed by a first NAN device and a second NAN device. The method includes:
[0383] Step 662: The first NAN device sends a NAN service discovery frame to indicate the target ranging mode used by the first NAN service;
[0384] The service or application of the first NAN device (first NAN device) that supports HE PHY mode in the first NAN cluster calls the Subscribe method and indicates the service to be subscribed, subscription type, configuration parameters and other information. The subscription type can optionally include passive and active subscription. If the subscription type is active, the NAN MAC or NAN engine should transmit a NAN service discovery frame within the DW; when the value of 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 of subscription type.
[0385] The NAN service discovery frame carries a service descriptor attribute (Service Descriptor Attribute) and may carry device capability attribute signaling (Device Capability Attribute).
[0386] Specifically, the value of the PHY Mode information in the 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, indicating 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 80+80MHz bandwidth mode and / or 160MHz bandwidth mode. For example, for a detailed introduction to the functional attributes of the device, please refer to the implementation method three above, which will not be repeated in this embodiment.
[0387] The service / application call publishing method of the second NAN device supporting HE PHY mode in the first NAN cluster indicates the service, advertisement type, configuration parameters, ranging configuration parameters, etc. The optional advertisement type includes unsolicited transmission only, solicited transmission only, and solicited and unsolicited transmission:
[0388] When unsolicited transmission is used, the NAN device generates and transmits a NAN service discovery frame within the DW; when the values of bit 0 and bit 1 in the service descriptor attribute are "00", it indicates that the service is of the publishing type.
[0389] When request-based transmission is used, the NAN device should generate and transmit a NAN service discovery frame in the DW after receiving a subscription message that meets the requirements; 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 of the publishing type.
[0390] When request and unsolicited transmission is 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.
[0391] The NAN service discovery frame should carry a service descriptor attribute, a service descriptor extension attribute, a device capability attribute, and a ranging information attribute; and may carry a ranging attribute.
[0392] Service descriptor extended attributes are used to describe additional information about the service.
[0393] A value of "01" for the Ranging Type information (Ranging with Specific Type) indicates that the service requires the non-TB ranging method. A value of "10" indicates that the service requires the enhanced EDCA-based FTM ranging method. A value of "00" indicates that the service requires the traditional FTM ranging method. For an exemplary description of the ranging type information, please refer to Implementation Method 2 above and will not be repeated in this embodiment.
[0394] The ranging information attribute is used to indicate whether the coordinates of the LCI location are available, whether the geographic LCI is available, whether the citizen location information is available, and the last movement status. For example, please refer to the implementation method 1 above for a detailed introduction to the ranging information attribute, which will not be repeated in this embodiment.
[0395] Specifically, the value of the PHY Mode information in the 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, indicating 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 80+80MHz bandwidth mode and / or 160MHz bandwidth mode. For example, for a detailed introduction to the functional attributes of the device, please refer to the implementation method three above, which will not be repeated in this embodiment.
[0396] The first NAN device supporting the HE PHY mode and the second NAN device supporting the HE PHY mode in the first NAN cluster may optionally use a NAN service discovery frame; when the value of bit 0 and bit 1 of the Service Control field in the service descriptor attribute in the NAN service discovery frame is "10", it indicates that the service is of the Follow-up type. The NAN service discovery frame may optionally carry attributes such as a Service Descriptor Extension Attribute, a Device Capability Attribute, and a Ranging Information Attribute.
[0397] Step 664: The second NAN device sends a ranging request frame for negotiating a target ranging mode;
[0398] If a NAN device in the same NAN cluster needs to subscribe to a service, it must first complete ranging with the service publisher.
[0399] Taking the service subscriber as a HE NAN device as an example, the service subscriber acts as the NAN ranging initiator (second NAN device) to start the ranging session. The specific process is as follows:
[0400] During the ranging session in which NAN ranging is invoked through the service discovery process, 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 with 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. A value of "01" for the ranging type information (Ranging with Specific Type) indicates that the service needs to adopt the Non-TB ranging method, a value of "10" for the ranging type information (Ranging with Specific Type) indicates that the service needs to adopt the enhanced EDCA-based FTM ranging method, and a value of "00" for the ranging type information (Ranging with Specific Type) indicates that the service needs to adopt the traditional FTM ranging method. For example, for a detailed introduction to the ranging type information, please refer to the second implementation method above, which will not be repeated in this embodiment.
[0401] The control module of the service subscriber should decide whether to initiate a NAN ranging session to the service publisher and determine the ranging method to be specified when transmitting the first NAN ranging request frame based on the capability information of the first NAN device supporting the HE PHY mode in the first NAN cluster, the last movement indication, and the FAW information. The first ranging request frame can be transmitted within the DW or at the FAW of the second NAN device supporting the HE PHY mode during the ranging capability exchange phase. The first NAN ranging request frame should include ranging setup attribute signaling (Ranging Setup Attribute), ranging information attribute (Ranging Information Attribute), NAN availability attribute (NAN Availability Attribute), and device capability attribute (Device Capability Attribute).
[0402] In the ranging setting attribute signaling, 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 indicates the enhanced EDCA-based FTM ranging method in an explicit or implicit manner. For example, for a detailed introduction to the ranging setting attributes, please refer to Implementation Method 4 and Implementation Method 5 above, which will not be repeated in this embodiment.
[0403] The value of the PHY Mode information in the 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, indicating 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 80+80MHz bandwidth mode and / or 160MHz bandwidth mode. For example, for a detailed introduction to the device function attributes, please refer to the implementation method three above, which will not be repeated in this embodiment.
[0404] The ranging information attribute is used to indicate whether the coordinates of the LCI location are available, whether the geographic LCI is available, whether the citizen location information is available, and the last movement status. For example, please refer to the implementation method 1 above for a detailed introduction to the ranging information attribute, which will not be repeated in this embodiment.
[0405] The NAN availability attribute is used to carry potential FAW, conditional FAW, and committed FAW that can perform the Non-TB ranging method.
[0406] Furthermore, after 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 according to the ranging parameters in the ranging request frame.
[0407] If the ranging parameters and NAN scheduling resources included in the ranging request frame of the service subscriber meet the ranging requirements in the first published service, the service publisher should transmit a ranging response frame to the service subscriber, 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 capability attribute signaling (Device Capability Attribute). For the ranging setup attribute signaling, ranging information attribute signaling, NAN availability attribute and device capability attribute signaling in the ranging response frame, please refer to the description of the ranging request frame above, which will not be repeated in this embodiment.
[0408] If the ranging parameters and NAN scheduling resources contained in the ranging request frame of the service subscriber do not meet the requirements, the service publisher should transmit a ranging response frame to the service subscriber in the first NAN cluster, which should include ranging setup attribute signaling (Ranging Setup Attribute), ranging information attribute signaling (Ranging Information Attribute); optionally, it may include NAN availability attribute (NAN Availability Attribute) and device capability attribute signaling (Device Capability Attribute).
[0409] Specifically, the Status subfield in the ranging setting attribute signaling is set to "1" to indicate rejection. Because 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 rejection because the Non-TB ranging parameters do not meet the requirements.
[0410] The Reason Code is set to 12 (RANGING_SCHEDULE_UNACCEPTABLE) due to resource scheduling reasons of the first HE PHY mode supported 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, etc.
[0411] Update for NAN ranging session
[0412] The NAN ranging initiator may initiate a ranging session update by transmitting a NAN ranging request frame to the responder.
[0413] The NAN ranging responder can request a ranging session update by transmitting a scheduling update notification (NAF) containing a potential FAW, a conditional FAW, and a committed FAW. After receiving the scheduling update notification (NAF), the NAN ranging initiator decides whether to initiate a ranging session update. The NAN ranging session update process is the same as the NAN ranging session initiation process.
[0414] For NAN ranging session termination
[0415] During a 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), which may optionally include the ranging information attribute signaling (Ranging Information Attribute), the NAN availability attribute (NAN Availability Attribute), and the unaligned schedule attribute (Unaligned Schedule Attribute). Among them, if the Type subfield in the Type and Status field of the ranging setup attribute signaling is set to "2" (terminated), then b0, b1, b2, b3, and b4 in the Ranging Control field should be set to "0", and the FTM ranging parameters, NAN Non-TB ranging parameters, and ranging scheduling attribute list fields will not appear.
[0416] Step 666: The first NAN device and the second NAN device perform a ranging process in a target ranging mode.
[0417] After the NAN ranging negotiation is completed, the ranging initiator and the ranging responder successfully establish a ranging schedule, that is, a ranging schedule is successfully established between the first NAN device and the second NAN device.
[0418] Contains one or more ranging CRBs. In each scheduled ranging CRB, the ranging initiator should transmit an IFTMR frame to the ranging responder to initiate a ranging request, carrying different parameters depending on the ranging mode. The ranging responder should also transmit an IFTM frame in response to the ranging request of the ranging initiator. The ranging responder and the ranging initiator then perform one or more measurement instances based on the negotiated ranging mode.
[0419] Step 668: The second NAN device sends the ranging result of the target ranging mode;
[0420] During the ranging negotiation phase, the responder indicates that it needs ranging results. After completing each FTM or Non-TB measurement instance, the initiator uses a 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 results of the target ranging method.
[0421] In summary, the method provided in this embodiment indicates whether the first NAN device supports the relevant capabilities of the target ranging method through capability signaling for device capability exchange, and adopts a ranging method different from the traditional FTM ranging method for device capability exchange; through setting signaling for establishing a ranging session, it indicates information related to the target ranging method of the first NAN device, and adopts a ranging method different from the traditional FTM ranging method for ranging; expands the target ranging methods supported by the first NAN device; meets the different requirements for ranging of NAN devices in different scenarios, and improves the ranging accuracy by adopting the target ranging method.
[0422] FIG26 provides a structural block diagram of a NAN ranging engine provided by one embodiment of the present application.
[0423] The NAN ranging engine includes a ranging receiving unit 710 , a ranging transmitting unit 720 , a parsing unit 730 and a ranging control unit 740 .
[0424] The ranging receiving unit 710 is used to receive and buffer NAN ranging request frames, NAN ranging response frames, NAN ranging termination frames, NAN ranging update frames and other frames related to the NAN ranging process, such as IFTMR frames, IFTM frames, FTM frames, etc.
[0425] The ranging transmission unit 720 is used to buffer and transmit NAN ranging request frames, NAN ranging response frames, NAN ranging termination frames, NAN ranging update frames and other frames related to the NAN ranging process, such as IFTMR frames, IFTM frames, FTM frames, etc.
[0426] The parsing unit 730 is used 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 ranging control unit 740.
[0427] The ranging control unit 740 is responsible for the control logic of the ranging operation process. During the ranging session initiation process, when initiated by the NAN service, a ranging session that meets the requirements should be initiated based on the NAN service or application needs and device capabilities. When initiated by the NAN discovery engine, a specific ranging session should be initiated based on the service requirements. During the NAN ranging session negotiation phase, the session should be accepted or terminated based on whether the parameters meet the service / application requirements. During the NAN ranging reporting phase, the final ranging result should be calculated based on the ranging data and returned to the NAN application / service or NAN discovery engine. Whether to generate and transmit the NAN ranging result to the peer device should also be determined based on whether the ranging result needs to be reported to the peer device during the NAN ranging negotiation phase.
[0428] The following are device embodiments of the present application, which can be used to implement the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
[0429] FIG27 shows a block diagram of a device capability exchange apparatus for a NAN device provided by an exemplary embodiment of the present application. The apparatus includes:
[0430] A sending module 810 is configured to send capability signaling for device capability exchange, where the capability signaling is used to indicate whether the first NAN device supports capabilities related to a target ranging mode;
[0431] The target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode.
[0432] In an optional design of the present application, the capability signaling is used to indicate whether the first NAN device supports the target ranging mode.
[0433] In an optional design of the present application, 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 a target ranging mode, and the target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode.
[0434] In an optional design of the present application, the ranging mode description field includes first indication information and second indication information;
[0435] The first indication information is used to indicate whether the first NAN device supports the enhanced EDCA-based FTM ranging method; and / or the second indication information is used to indicate whether the first NAN device supports the Non-TB ranging method.
[0436] In an optional design of the present application, 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.
[0437] In an optional design of the present application, the capability signaling is carried in a NAN beacon frame or a NAN service discovery frame.
[0438] In an optional design of the present application, the capability signaling is used to indicate the target ranging mode used by the service of the first NAN device.
[0439] In an optional design of the present application, the capability signaling includes ranging type information;
[0440] Wherein, when the ranging type information is a first value, the capability signaling is used to indicate that the target ranging mode used by the service of the first NAN device is the enhanced EDCA-based FTM ranging mode;
[0441] And / or, when the ranging type information is the second value, 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.
[0442] In an optional design of the present application, when the ranging type information is the third value, the capability signaling is used to indicate that the target ranging mode used by the service of the first NAN device is the FTM ranging mode.
[0443] In an optional design of the present application, the capability signaling is carried in a NAN service discovery frame.
[0444] In an optional design of the present application, the capability signaling is also used to indicate whether the first NAN device has HE PHY mode.
[0445] In an optional design of the present application, the capability signaling includes extended mode information;
[0446] Wherein, when the extended mode information is a first value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode;
[0447] And / or, when the extended mode information is a second value, the capability signaling is used to indicate that the first NAN device does not have the HE PHY mode.
[0448] In an optional design of the present application, the capability signaling is also used to indicate the channel bandwidth mode support status of the first NAN device.
[0449] In an optional design of the present application, the capability signaling further includes at least one of first bandwidth indication information and second bandwidth indication information;
[0450] When the extended mode information is the first value and the first bandwidth indication information is the third value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and supports the first bandwidth;
[0451] And / or, when the extended mode information is the first value and the first bandwidth indication information is the fourth value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and does not support the first bandwidth;
[0452] And / or, when the extended mode information is the first value and the second bandwidth indication information is the fifth value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and supports the second bandwidth;
[0453] And / or, when the extended mode information is the first value and the second bandwidth indication information is the sixth value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and does not support the second bandwidth.
[0454] In an optional design of the present application, the extended mode information is carried in an operating mode field in the capability signaling, and the operating mode field also carries at least one of the first bandwidth information and the second bandwidth information.
[0455] In an optional design of the present application, the capability signaling is carried in a NAN beacon frame or a NAN service discovery frame.
[0456] FIG28 shows a block diagram of a device capability exchange apparatus for a NAN device provided by an exemplary embodiment of the present application. The apparatus includes:
[0457] A receiving module 820 is configured to receive 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, and the first NAN device sends the capability signaling;
[0458] The target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode.
[0459] In an optional design of the present application, the capability signaling is used to indicate whether the first NAN device supports the target ranging mode.
[0460] In an optional design of the present application, 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 a target ranging mode, and the target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode.
[0461] In an optional design of the present application, the ranging mode description field includes first indication information and second indication information;
[0462] The first indication information is used to indicate whether the first NAN device supports the enhanced EDCA-based FTM ranging method; and / or the second indication information is used to indicate whether the first NAN device supports the Non-TB ranging method.
[0463] In an optional design of the present application, 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.
[0464] In an optional design of the present application, the capability signaling is carried in a NAN beacon frame or a NAN service discovery frame.
[0465] In an optional design of the present application, the capability signaling is used to indicate the target ranging mode used by the service of the first NAN device.
[0466] In an optional design of the present application, the capability signaling includes ranging type information;
[0467] Wherein, when the ranging type information is a first value, the capability signaling is used to indicate that the target ranging mode used by the service of the first NAN device is the enhanced EDCA-based FTM ranging mode;
[0468] And / or, when the ranging type information is the second value, 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.
[0469] In an optional design of the present application, when the ranging type information is the third value, the capability signaling is used to indicate that the target ranging mode used by the service of the first NAN device is the FTM ranging mode.
[0470] In an optional design of the present application, the capability signaling is carried in a NAN service discovery frame.
[0471] In an optional design of the present application, the capability signaling is used to indicate whether the first NAN device has HE PHY mode.
[0472] In an optional design of the present application, the capability signaling includes extended mode information;
[0473] Wherein, when the extended mode information is a first value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode;
[0474] And / or, when the extended mode information is a second value, the capability signaling is used to indicate that the first NAN device does not have the HE PHY mode.
[0475] In an optional design of the present application, the capability signaling is also used to indicate the channel bandwidth mode support status of the first NAN device.
[0476] In an optional design of the present application, the capability signaling further includes at least one of first bandwidth indication information and second bandwidth indication information;
[0477] When the extended mode information is the first value and the first bandwidth indication information is the third value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and supports the first bandwidth;
[0478] And / or, when the extended mode information is the first value and the first bandwidth indication information is the fourth value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and does not support the first bandwidth;
[0479] And / or, when the extended mode information is the first value and the second bandwidth indication information is the fifth value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and supports the second bandwidth;
[0480] And / or, when the extended mode information is the first value and the second bandwidth indication information is the sixth value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and does not support the second bandwidth.
[0481] In an optional design of the present application, the extended mode information is carried in an operating mode field in the capability signaling, and the operating mode field also carries at least one of the first bandwidth information and the second bandwidth information.
[0482] In an optional design of the present application, the capability signaling is carried in a NAN beacon frame or a NAN service discovery frame.
[0483] FIG29 shows a block diagram of a ranging session establishment apparatus for a NAN device provided by an exemplary embodiment of the present application, the apparatus including:
[0484] A sending module 830 is configured to send a setting signaling for establishing a ranging session, where the setting signaling is used to indicate information related to a target ranging mode of the first NAN device;
[0485] The target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode.
[0486] In an optional design of the present application, the setting signaling is used to set the target ranging mode among the candidate ranging modes supported by the first NAN device.
[0487] In an optional design of the present application, the setup signaling includes an FTM parameter indication field and an enhanced FTM ranging indication field;
[0488] Among them, 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 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.
[0489] In an optional design of the present application, when the enhanced FTM ranging indication field is a first value, the target ranging mode is the enhanced EDCA-based FTM ranging mode;
[0490] And / or, when the enhanced FTM ranging indication field is a second value, the target ranging mode is the FTM ranging mode.
[0491] In an optional design of the present application, the setup signaling includes an FTM parameter indication field and an FTM format bandwidth field;
[0492] 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 mode is the enhanced EDCA-based FTM ranging mode;
[0493] In an optional design of the present application, when the field value of the bandwidth field of the FTM format belongs to the first field value interval, the target ranging mode is the enhanced EDCA-based FTM ranging mode, and the first field value interval is a field value interval corresponding to the HE type format based on EDCA;
[0494] And / or, when the field value of the FTM format bandwidth field belongs to the second field value interval, the target ranging mode is the FTM ranging mode.
[0495] In an optional design of the present application, 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 Non-TB ranging method.
[0496] In an optional design of the present application, the setting signaling also carries ranging parameters of the target ranging mode used for negotiation.
[0497] In an optional design of the present application, the setup signaling includes an FTM parameter field, and the FTM parameter field is used to carry the ranging parameters of the enhanced EDCA-based FTM ranging mode.
[0498] In an optional design of the present application, 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.
[0499] In an optional design of the present application, the setting signaling is also used to indicate whether the first NAN device has HE PHY mode.
[0500] In an optional design of the present application, the setting signaling is carried in a ranging request frame.
[0501] FIG30 shows a block diagram of a ranging session establishment apparatus for a NAN device provided by an exemplary embodiment of the present application, the apparatus including:
[0502] A receiving module 840 is configured to receive a setup signaling for establishing a ranging session, where the setup signaling is used to indicate information related to a target ranging mode of a first NAN device, and the first NAN device sends the setup signaling;
[0503] The target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode.
[0504] In an optional design of the present application, the setting signaling is used to set the target ranging mode among the candidate ranging modes supported by the first NAN device.
[0505] In an optional design of the present application, the setup signaling includes an FTM parameter indication field and an enhanced FTM ranging indication field;
[0506] Among them, 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 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.
[0507] In an optional design of the present application, when the enhanced FTM ranging indication field is a first value, the target ranging mode is the enhanced EDCA-based FTM ranging mode;
[0508] And / or, when the enhanced FTM ranging indication field is a second value, the target ranging mode is the FTM ranging mode.
[0509] In an optional design of the present application, the setup signaling includes an FTM parameter indication field and an FTM format bandwidth field;
[0510] 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 mode is the enhanced EDCA-based FTM ranging mode;
[0511] In an optional design of the present application, when the field value of the bandwidth field of the FTM format belongs to the first field value interval, the target ranging mode is the enhanced EDCA-based FTM ranging mode, and the first field value interval is a field value interval corresponding to the HE type format based on EDCA;
[0512] And / or, when the field value of the FTM format bandwidth field belongs to the second field value interval, the target ranging mode is the FTM ranging mode.
[0513] In an optional design of the present application, 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 Non-TB ranging method.
[0514] In an optional design of the present application, the setting signaling also carries ranging parameters of the target ranging mode used for negotiation.
[0515] In an optional design of the present application, 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.
[0516] In an optional design of the present application, the apparatus further includes: a sending module 850, configured to send a response setting signaling for establishing a ranging session, wherein 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 conditions.
[0517] In an optional design of the present application, the response setting signaling includes a reason code field, and the reason code field 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.
[0518] In an optional design of the present application, when the reason code field is a first value, the reason code field is used to indicate that the parameters of the Non-TB ranging mode cannot meet the requirements;
[0519] And / or, when the reason code field has the second value, the reason code field is used to indicate that the enhanced EDCA-based FTM ranging mode cannot meet the ranging accuracy requirement.
[0520] In an optional design of the present application, the response setting signaling is carried in a ranging response frame.
[0521] In an optional design of the present application, the setting signaling also carries ranging parameters of the target ranging mode used for negotiation.
[0522] In an optional design of the present application, the setup signaling includes an FTM parameter field, and the FTM parameter field is used to carry the ranging parameters of the enhanced EDCA-based FTM ranging mode.
[0523] In an optional design of the present application, 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.
[0524] In an optional design of the present application, the setting signaling is also used to indicate whether the first NAN device has HE PHY mode.
[0525] In an optional design of the present application, the setting signaling is carried in a ranging request frame.
[0526] It should be noted that the device provided in the above embodiment only uses the division of the above-mentioned functional modules as an example to implement its functions. In actual applications, the above-mentioned functions can be assigned to different functional modules according to actual needs, that is, the content structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0527] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0528] 31 shows a schematic diagram of the structure 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.
[0529] 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.
[0530] The receiver 1202 and the transmitter 1203 may be implemented as a transceiver, which may be a communication chip.
[0531] The memory 1204 is connected to the processor 1201 via a bus 1205; illustratively, the processor 1201 can be implemented as a first IC chip, and the processor 1201 and the memory 1204 can be jointly implemented as a second IC chip; the first chip or the second chip can be an application specific integrated circuit (ASIC) chip.
[0532] The memory 1204 may be used to store at least one computer program, and the processor 1201 may be used to execute the at least one computer program to implement the various steps performed by the computer device in the above method embodiment.
[0533] In addition, the memory 1204 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, and the volatile or non-volatile storage device includes but is 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 Read-Only Memory (CD-ROM), Digital Video Disc (DVD) or other optical storage, tape cassettes, magnetic tape, disk storage or other magnetic storage devices.
[0534] In one implementation, the above-mentioned computer device may be implemented as a NAN device.
[0535] An embodiment of the present application further provides a computer-readable storage medium storing a computer program, wherein the computer program is configured to be executed by a NAN device to implement the above-mentioned device capability exchange method of the NAN device and / or the ranging session establishment method of the NAN device.
[0536] Optionally, the computer-readable storage medium may include: Read-Only Memory (ROM), Random-Access Memory (RAM), Solid State Drives (SSD), or an optical disk, etc. Among them, the random access memory may include Resistance Random Access Memory (ReRAM) and Dynamic Random Access Memory (DRAM).
[0537] An embodiment of the present application further provides a chip, which includes a programmable logic circuit and / or program instructions. When a NAN device equipped with the chip is running, the chip is used to implement the device capability exchange method of the NAN device and / or the ranging session establishment method of the NAN device.
[0538] An embodiment of the present application also provides a computer program product or computer program, which includes computer instructions, which are stored in a computer-readable storage medium. The NAN device reads and executes the computer instructions from the computer-readable storage medium to implement the above-mentioned device capability exchange method of the NAN device and / or the ranging session establishment method of the NAN device.
[0539] It should be understood that the "indication" mentioned in the embodiments of this application can be a direct indication, an indirect indication, or an indication of an association. For example, "A indicates B" 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.
[0540] In the description of the embodiments of the present application, the term "corresponding" may indicate a direct or indirect correspondence between the two, or an association relationship between the two, or a relationship between indication and being indicated, configuration and being configured, etc.
[0541] The "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. In addition, 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 order of the numbers, such as two steps with different numbers are executed at the same time, or two steps with different numbers are executed in the opposite order to the diagram. The embodiments of the present application do not limit this.
[0542] Those skilled in the art will appreciate that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any media that facilitates the transmission of computer programs from one place to another. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.
[0543] The above description is merely an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A method for exchanging device capabilities of NAN devices, characterized in that: The method is performed by a first NAN device, and the method includes: Sending 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 mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode.
2. The method according to claim 1, characterized in that The capability signaling is used to indicate whether the first NAN device supports the target ranging mode.
3. The method according to claim 2, characterized in that 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 a target ranging mode.
4. The method according to claim 3, characterized in that 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 method; and / or, the second indication information is used to indicate whether the first NAN device supports the Non-TB ranging method.
5. The method according to claim 4, characterized in that 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 traditional FTM ranging mode.
6. The method according to any one of claims 2 to 5, characterized in that: The capability signaling is carried in a NAN beacon frame or a NAN service discovery frame.
7. The method according to claim 1, characterized in that The capability signaling is used to indicate a target ranging mode used by a service of the first NAN device.
8. The method according to claim 7, characterized in that The capability signaling includes ranging type information; Wherein, when the ranging type information is a first value, the capability signaling is used to indicate that the target ranging mode used by the service of the first NAN device is the enhanced EDCA-based FTM ranging mode; And / or, when the ranging type information is the second value, 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.
9. The method according to claim 8, characterized in that When the ranging type information is the third value, the capability signaling is used to indicate that the target ranging mode used by the service of the first NAN device is the traditional FTM ranging mode.
10. The method according to any one of claims 7 to 9, characterized in that: The capability signaling is carried in the NAN service discovery frame.
11. The method according to any one of claims 1 to 6, characterized in that: The capability signaling is also used to indicate whether the first NAN device has HE PHY mode.
12. The method according to claim 11, characterized in that The capability signaling includes extended mode information; Wherein, when the extended mode information is a first value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode; And / or, when the extended mode information is a second value, the capability signaling is used to indicate that the first NAN device does not have the HE PHY mode.
13. The method according to claim 12, characterized in that The capability signaling is also used to indicate the channel bandwidth mode support status of the first NAN device.
14. The method according to claim 13, characterized in that The capability signaling further includes at least one of first bandwidth indication information and second bandwidth indication information; When the extended mode information is the first value and the first bandwidth indication information is the third value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and supports the first bandwidth; And / or, when the extended mode information is the first value and the first bandwidth indication information is the fourth value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and does not support the first bandwidth; And / or, when the extended mode information is the first value and the second bandwidth indication information is the fifth value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and supports the second bandwidth; And / or, when the extended mode information is the first value and the second bandwidth indication information is the sixth value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and does not support the second bandwidth.
15. The method according to claim 14, characterized in that The extended mode information is carried in an operation mode field in the capability signaling, and the operation mode field also carries at least one of the first bandwidth information and the second bandwidth information.
16. The method according to any one of claims 11 to 15, characterized in that: The capability signaling is carried in a NAN beacon frame or a NAN service discovery frame.
17. The method according to claim 1, wherein The method further comprises: Sending or receiving a setup signaling for establishing a ranging session, where the setup signaling is used to indicate information related to a target ranging mode of a NAN device that sends the setup signaling; The target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode.
18. The method according to claim 17, characterized in that The setting signaling is used to set a target ranging mode among candidate ranging modes supported by the first NAN device.
19. The method according to claim 18, characterized in that The setup signaling includes an FTM parameter indication field and an enhanced FTM ranging indication field; Among them, 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.
20. The method according to claim 19, characterized in that When the enhanced FTM ranging indication field is a first value, the target ranging mode is the enhanced EDCA-based FTM ranging mode; And / or, when the enhanced FTM ranging indication field is a second value, the target ranging mode is the traditional FTM ranging mode.
21. The method according to claim 18, wherein The setting signaling includes an FTM parameter indication field and an FTM format bandwidth field; Among them, 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 implicitly indicate whether the target ranging method is the enhanced EDCA-based FTM ranging method.
22. The method according to claim 21, characterized in that When the field value of the bandwidth field of the FTM format belongs to the first field value interval, the target ranging mode is the enhanced EDCA-based FTM ranging mode, and the first field value interval is a field value interval corresponding to the HE type format based on EDCA; And / or, when the field value of the FTM format bandwidth field belongs to the second field value interval, the target ranging mode is the traditional FTM ranging mode.
23. The method according to claim 18, wherein The setting signaling includes a 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.
24. The method according to claim 18, wherein The setting signaling also carries ranging parameters of the target ranging mode used for negotiation.
25. The method according to claim 24, characterized in that The setup 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.
26. The method according to claim 24, characterized in that 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.
27. The method according to claim 24, characterized in that The sending or receiving setting signaling for establishing a ranging session includes: receiving setup signaling for ranging session establishment; The method further comprises: Sending a response setting signaling for establishing a ranging session, where the response setting signaling is used to indicate that the ranging parameters of the target ranging mode received by the first NAN device do not meet a target condition.
28. The method according to claim 27, characterized in that The response setting signaling includes a reason code field, where the reason code field is used to indicate a reason why parameters of the enhanced EDCA-based FTM ranging mode or the Non-TB ranging mode do not meet target conditions.
29. The method according to claim 28, characterized in that When the reason code field is a first value, the reason code field is used to indicate that the parameters of the Non-TB ranging mode cannot meet the requirements; And / or, when the reason code field has the second value, the reason code field is used to indicate that the enhanced EDCA-based FTM ranging mode cannot meet the ranging accuracy requirement.
30. The method according to any one of claims 27 to 29, characterized in that The response setting signaling is carried in a ranging response frame.
31. The method according to claim 17, wherein The setting signaling is also used to indicate whether the first NAN device has HE PHY mode.
32. The method according to any one of claims 17 to 29, characterized in that The setting signaling is carried in a ranging request frame.
33. A method for exchanging device capabilities of a NAN device, characterized in that: The method is performed by a second NAN device, and the method includes: receiving 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, and the first NAN device sends the capability signaling; The target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode.
34. The method according to claim 33, wherein The capability signaling is used to indicate whether the first NAN device supports the target ranging mode.
35. The method according to claim 34, wherein 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 a target ranging mode.
36. The method according to claim 35, characterized in that 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 method; and / or, the second indication information is used to indicate whether the first NAN device supports the Non-TB ranging method.
37. The method according to claim 36, wherein 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 traditional FTM ranging mode.
38. The method according to any one of claims 34 to 37, characterized in that The capability signaling is carried in a NAN beacon frame or a NAN service discovery frame.
39. The method according to claim 33, wherein The capability signaling is used to indicate a target ranging mode used by a service of the first NAN device.
40. The method according to claim 39, wherein The capability signaling includes ranging type information; Wherein, when the ranging type information is a first value, the capability signaling is used to indicate that the target ranging mode used by the service of the first NAN device is the enhanced EDCA-based FTM ranging mode; And / or, when the ranging type information is the second value, 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.
41. The method according to claim 40, wherein When the ranging type information is the third value, the capability signaling is used to indicate that the target ranging mode used by the service of the first NAN device is the traditional FTM ranging mode.
42. The method according to any one of claims 39 to 41, characterized in that The capability signaling is carried in the NAN service discovery frame.
43. The method according to claim 33, wherein The capability signaling is used to indicate whether the first NAN device has HE PHY mode.
44. The method according to claim 43, wherein The capability signaling includes extended mode information; Wherein, when the extended mode information is a first value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode; And / or, when the extended mode information is a second value, the capability signaling is used to indicate that the first NAN device does not have the HE PHY mode.
45. The method according to claim 44, wherein The capability signaling is also used to indicate the channel bandwidth mode support status of the first NAN device.
46. The method according to claim 45, characterized in that The capability signaling further includes at least one of first bandwidth indication information and second bandwidth indication information; When the extended mode information is the first value and the first bandwidth indication information is the third value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and supports the first bandwidth; And / or, when the extended mode information is the first value and the first bandwidth indication information is the fourth value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and does not support the first bandwidth; And / or, when the extended mode information is the first value and the second bandwidth indication information is the fifth value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and supports the second bandwidth; And / or, when the extended mode information is the first value and the second bandwidth indication information is the sixth value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and does not support the second bandwidth.
47. The method according to claim 46, wherein The extended mode information is carried in an operation mode field in the capability signaling, and the operation mode field also carries at least one of the first bandwidth information and the second bandwidth information.
48. The method according to any one of claims 43 to 47, characterized in that The capability signaling is carried in a NAN beacon frame or a NAN service discovery frame.
49. The method according to claim 33, wherein The method further comprises: Sending or receiving a setup signaling for establishing a ranging session, where the setup signaling is used to indicate information related to a target ranging mode of a NAN device that sends the setup signaling; The target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode.
50. The method according to claim 49, wherein The setting signaling is used to set a target ranging mode among candidate ranging modes supported by the first NAN device.
51. The method according to claim 50, characterized in that The setup signaling includes an FTM parameter indication field and an enhanced FTM ranging indication field; Among them, 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.
52. The method according to claim 51, characterized in that When the enhanced FTM ranging indication field is a first value, the target ranging mode is the enhanced EDCA-based FTM ranging mode; And / or, when the enhanced FTM ranging indication field is a second value, the target ranging mode is the traditional FTM ranging mode.
53. The method according to claim 50, characterized in that The setting signaling includes an FTM parameter indication field and an FTM format bandwidth field; Among them, 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 implicitly indicate whether the target ranging method is the enhanced EDCA-based FTM ranging method.
54. The method according to claim 53, wherein When the field value of the bandwidth field of the FTM format belongs to the first field value interval, the target ranging mode is the enhanced EDCA-based FTM ranging mode, and the first field value interval is a field value interval corresponding to the HE type format based on EDCA; And / or, when the field value of the FTM format bandwidth field belongs to the second field value interval, the target ranging mode is the traditional FTM ranging mode.
55. The method according to claim 50, wherein The setting signaling includes a 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.
56. The method according to claim 50, wherein The setting signaling also carries ranging parameters of the target ranging mode used for negotiation.
57. The method according to claim 56, characterized in that The setup 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.
58. The method according to claim 56, characterized in that 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.
59. The method according to claim 56, characterized in that The sending or receiving setting signaling for establishing a ranging session includes: receiving setup signaling for ranging session establishment; The method further comprises: Sending a response setting signaling for establishing a ranging session, where the response setting signaling is used to indicate that the ranging parameters of the target ranging mode received by the first NAN device do not meet a target condition.
60. The method according to claim 59, wherein The response setting signaling includes a reason code field, where the reason code field is used to indicate a reason why parameters of the enhanced EDCA-based FTM ranging mode or the Non-TB ranging mode do not meet target conditions.
61. The method according to claim 60, characterized in that When the reason code field is a first value, the reason code field is used to indicate that the parameters of the Non-TB ranging mode cannot meet the requirements; And / or, when the reason code field has the second value, the reason code field is used to indicate that the enhanced EDCA-based FTM ranging mode cannot meet the ranging accuracy requirement.
62. The method according to any one of claims 59 to 61, characterized in that The response setting signaling is carried in a ranging response frame.
63. The method according to claim 49, wherein The setting signaling is also used to indicate whether the first NAN device has HE PHY mode.
64. The method according to any one of claims 49 to 61, characterized in that The setting signaling is carried in a ranging request frame.
65. A method for establishing a ranging session of a NAN device, characterized in that: The method is performed by a first NAN device, and the method includes: Sending setup signaling for establishing a ranging session, where the setup signaling is used to indicate information related to a target ranging mode of the first NAN device; The target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode.
66. The method according to claim 65, characterized in that The setting signaling is used to set the target ranging mode among the candidate ranging modes supported by the first NAN device.
67. The method according to claim 66, characterized in that The setup signaling includes an FTM parameter indication field and an enhanced FTM ranging indication field; Among them, 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.
68. The method according to claim 67, characterized in that When the enhanced FTM ranging indication field is a first value, the target ranging mode is the enhanced EDCA-based FTM ranging mode; And / or, when the enhanced FTM ranging indication field is a second value, the target ranging mode is the traditional FTM ranging mode.
69. The method according to claim 66, characterized in that The setting signaling includes an FTM parameter indication field and an FTM format bandwidth field; Among them, 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 implicitly indicate whether the target ranging method is the enhanced EDCA-based FTM ranging method.
70. The method according to claim 69, wherein When the field value of the bandwidth field of the FTM format belongs to the first field value interval, the target ranging mode is the enhanced EDCA-based FTM ranging mode, and the first field value interval is a field value interval corresponding to the HE type format based on EDCA; And / or, when the field value of the FTM format bandwidth field belongs to the second field value interval, the target ranging mode is the traditional FTM ranging mode.
71. The method according to claim 66, wherein The setting signaling includes a 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.
72. The method of claim 66, wherein: The setting signaling also carries ranging parameters of the target ranging mode used for negotiation.
73. The method according to claim 72, characterized in that The setup 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.
74. The method according to claim 72, characterized in that 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.
75. The method according to claim 65, wherein The setting signaling is also used to indicate whether the first NAN device has HE PHY mode.
76. The method according to any one of claims 65 to 75, characterized in that The setting signaling is carried in a ranging request frame.
77. The method according to claim 65, characterized in that The method further comprises: Sending or receiving capability signaling for device capability exchange, where the capability signaling is used to indicate whether the NAN device sending the capability signaling supports relevant capabilities of the target ranging mode; The target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode.
78. The method according to claim 77, characterized in that The capability signaling is used to indicate whether the first NAN device supports the target ranging mode.
79. The method according to claim 78, characterized in that 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 a target ranging mode.
80. The method according to claim 79, wherein 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 method; and / or, the second indication information is used to indicate whether the first NAN device supports the Non-TB ranging method.
81. The method according to claim 80, characterized in that 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 traditional FTM ranging mode.
82. The method according to any one of claims 78 to 81, characterized in that The capability signaling is carried in a NAN beacon frame or a NAN service discovery frame.
83. The method according to claim 77, wherein The capability signaling is used to indicate a target ranging mode used by a service of the first NAN device.
84. The method according to claim 83, wherein The capability signaling includes ranging type information; Wherein, when the ranging type information is a first value, the capability signaling is used to indicate that the target ranging mode used by the service of the first NAN device is the enhanced EDCA-based FTM ranging mode; And / or, when the ranging type information is the second value, 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.
85. The method according to claim 84, characterized in that When the ranging type information is the third value, the capability signaling is used to indicate that the target ranging mode used by the service of the first NAN device is the traditional FTM ranging mode.
86. The method according to any one of claims 83 to 85, characterized in that The capability signaling is carried in the NAN service discovery frame.
87. The method according to any one of claims 77 to 82, characterized in that The capability signaling is also used to indicate whether the first NAN device has HE PHY mode.
88. The method according to claim 87, characterized in that The capability signaling includes extended mode information; Wherein, when the extended mode information is a first value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode; And / or, when the extended mode information is a second value, the capability signaling is used to indicate that the first NAN device does not have the HE PHY mode.
89. The method according to claim 88, characterized in that The capability signaling is also used to indicate the channel bandwidth mode support status of the first NAN device.
90. The method according to claim 89, wherein The capability signaling further includes at least one of first bandwidth indication information and second bandwidth indication information; When the extended mode information is the first value and the first bandwidth indication information is the third value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and supports the first bandwidth; And / or, when the extended mode information is the first value and the first bandwidth indication information is the fourth value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and does not support the first bandwidth; And / or, when the extended mode information is the first value and the second bandwidth indication information is the fifth value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and supports the second bandwidth; And / or, when the extended mode information is the first value and the second bandwidth indication information is the sixth value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and does not support the second bandwidth.
91. The method according to claim 90, wherein The extended mode information is carried in an operation mode field in the capability signaling, and the operation mode field also carries at least one of the first bandwidth information and the second bandwidth information.
92. The method according to any one of claims 87 to 91, characterized in that The capability signaling is carried in a NAN beacon frame or a NAN service discovery frame.
93. A method for establishing a ranging session of a NAN device, characterized in that: The method is performed by a second NAN device, and the method includes: receiving a setup signaling for establishing a ranging session, where the setup signaling is used to indicate information related to a target ranging mode of a first NAN device, and the first NAN device sends the setup signaling; The target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode.
94. The method according to claim 93, wherein The setting signaling is used to set a target ranging mode among candidate ranging modes supported by the first NAN device.
95. The method according to claim 94, characterized in that The setup signaling includes an FTM parameter indication field and an enhanced FTM ranging indication field; Among them, 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.
96. The method according to claim 95, characterized in that When the enhanced FTM ranging indication field is a first value, the target ranging mode is the enhanced EDCA-based FTM ranging mode; And / or, when the enhanced FTM ranging indication field is a second value, the target ranging mode is the traditional FTM ranging mode.
97. The method according to claim 94, characterized in that The setting signaling includes an FTM parameter indication field and an FTM format bandwidth field; Among them, 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 implicitly indicate whether the target ranging method is the enhanced EDCA-based FTM ranging method.
98. The method according to claim 97, wherein When the field value of the bandwidth field of the FTM format belongs to the first field value interval, the target ranging mode is the enhanced EDCA-based FTM ranging mode, and the first field value interval is a field value interval corresponding to the HE type format based on EDCA; And / or, when the field value of the FTM format bandwidth field belongs to the second field value interval, the target ranging mode is the traditional FTM ranging mode.
99. The method according to claim 94, characterized in that The setting signaling includes a 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.
100. The method according to claim 94, wherein The setting signaling also carries ranging parameters of the target ranging mode used for negotiation.
101. The method according to claim 100, characterized in that The setup 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.
102. The method according to claim 100, characterized in that 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.
103. The method according to claim 100, characterized in that The method further comprises: Sending a response setting signaling for establishing a ranging session, where 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.
104. The method according to claim 103, characterized in that The response setting signaling includes a reason code field, where the reason code field is used to indicate a reason why parameters of the enhanced EDCA-based FTM ranging mode or the Non-TB ranging mode do not meet target conditions.
105. The method according to claim 104, characterized in that When the reason code field is a first value, the reason code field is used to indicate that the parameters of the Non-TB ranging mode cannot meet the requirements; And / or, when the reason code field has the second value, the reason code field is used to indicate that the enhanced EDCA-based FTM ranging mode cannot meet the ranging accuracy requirement.
106. The method according to any one of claims 103 to 105, characterized in that The response setting signaling is carried in a ranging response frame.
107. The method according to claim 93, wherein The setting signaling is also used to indicate whether the first NAN device has HE PHY mode.
108. The method according to any one of claims 93 to 105, characterized in that The setting signaling is carried in a ranging request frame.
109. The method according to claim 93, characterized in that The method further comprises: Sending or receiving capability signaling for device capability exchange, where the capability signaling is used to indicate whether the NAN device sending the capability signaling supports relevant capabilities of the target ranging mode; The target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode.
110. The method according to claim 109, characterized in that The capability signaling is used to indicate whether the first NAN device supports the target ranging mode.
111. The method according to claim 110, characterized in that 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 a target ranging mode.
112. The method according to claim 111, characterized in that 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 method; and / or, the second indication information is used to indicate whether the first NAN device supports the Non-TB ranging method.
113. The method according to claim 112, characterized in that 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 traditional FTM ranging mode.
114. The method according to any one of claims 110 to 113, characterized in that The capability signaling is carried in a NAN beacon frame or a NAN service discovery frame.
115. The method according to claim 109, wherein The capability signaling is used to indicate a target ranging mode used by a service of the first NAN device.
116. The method according to claim 115, characterized in that The capability signaling includes ranging type information; Wherein, when the ranging type information is a first value, the capability signaling is used to indicate that the target ranging mode used by the service of the first NAN device is the enhanced EDCA-based FTM ranging mode; And / or, when the ranging type information is the second value, 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.
117. The method according to claim 116, characterized in that When the ranging type information is the third value, the capability signaling is used to indicate that the target ranging mode used by the service of the first NAN device is the traditional FTM ranging mode.
118. The method according to any one of claims 115 to 117, characterized in that The capability signaling is carried in the NAN service discovery frame.
119. The method according to any one of claims 109 to 114, characterized in that The capability signaling is also used to indicate whether the first NAN device has HE PHY mode.
120. The method according to claim 119, wherein The capability signaling includes extended mode information; Wherein, when the extended mode information is a first value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode; And / or, when the extended mode information is a second value, the capability signaling is used to indicate that the first NAN device does not have the HE PHY mode.
121. The method according to claim 120, characterized in that The capability signaling is also used to indicate the channel bandwidth mode support status of the first NAN device.
122. The method according to claim 121, characterized in that The capability signaling further includes at least one of first bandwidth indication information and second bandwidth indication information; When the extended mode information is the first value and the first bandwidth indication information is the third value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and supports the first bandwidth; And / or, when the extended mode information is the first value and the first bandwidth indication information is the fourth value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and does not support the first bandwidth; And / or, when the extended mode information is the first value and the second bandwidth indication information is the fifth value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and supports the second bandwidth; And / or, when the extended mode information is the first value and the second bandwidth indication information is the sixth value, the capability signaling is used to indicate that the first NAN device has the HE PHY mode and does not support the second bandwidth.
123. The method according to claim 122, characterized in that The extended mode information is carried in an operation mode field in the capability signaling, and the operation mode field also carries at least one of the first bandwidth information and the second bandwidth information.
124. The method according to any one of claims 119 to 123, characterized in that The capability signaling is carried in a NAN beacon frame or a NAN service discovery frame.
125. A device capability exchange device for a NAN device, characterized in that: The device comprises: a sending module, configured to send capability signaling for device capability exchange, wherein the capability signaling is used to indicate whether the first NAN device supports relevant capabilities of the target ranging mode; The target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode.
126. A device capability exchange device for a NAN device, characterized in that: The device comprises: a receiving module, configured to receive capability signaling for device capability exchange, wherein the capability signaling is used to indicate whether the first NAN device supports relevant capabilities of the target ranging mode, and the first NAN device sends the capability signaling; The target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode.
127. A ranging session establishment device for a NAN device, characterized in that: The device comprises: a sending module, configured to send a setting signaling for establishing a ranging session, where the setting signaling is used to indicate information related to a target ranging mode of the first NAN device; The target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode.
128. A ranging session establishment device for a NAN device, characterized in that: The device comprises: a receiving module, configured to receive a setup signaling for establishing a ranging session, wherein the setup signaling is used to indicate information related to a target ranging mode of a first NAN device, and the first NAN device sends the setup signaling; The target ranging mode includes an enhanced EDCA-based FTM ranging mode and / or a Non-TB ranging mode.
129. A NAN device, characterized in that: The NAN device includes a processor and a memory, and there is at least one program in the memory; the processor is used to execute the at least one program in the memory so that the NAN device implements the device capability exchange method of the NAN device described in any one of claims 1 to 64 above, and / or the ranging session establishment method of the NAN device described in any one of claims 65 to 124.
130. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which is used to be executed by the NAN device to implement the device capability exchange method of the NAN device described in any one of claims 1 to 64 above, and / or the ranging session establishment method of the NAN device described in any one of claims 65 to 124.
131. A chip, characterized in that: The chip includes a programmable logic circuit and / or program instructions, and when the NAN device equipped with the chip is running, it is used to implement the device capability exchange method of the NAN device described in any one of claims 1 to 64 above, and / or the ranging session establishment method of the NAN device described in any one of claims 65 to 124.
132. A computer program product or a computer program, characterized in that The computer program product or computer program includes computer instructions, which are stored in a computer-readable storage medium. The NAN device reads and executes the computer instructions from the computer-readable storage medium to implement the device capability exchange method of the NAN device described in any one of claims 1 to 64 above, and / or the ranging session establishment method of the NAN device described in any one of claims 65 to 124.
