User-defined identifier obtaining and using method and device, equipment and storage medium
Patent Information
- Application Number
- CN202280096255.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-19
- Publication Date
- 2024-12-27
AI Technical Summary
In WLAN sensing scenarios, in order to protect the privacy of the device, it is necessary to avoid carrying the MAC address of the device in the sensing results, which will reduce the accuracy of the sensing results.
Use custom identifiers instead of MAC addresses. Obtain, generate, and use custom identifiers to identify the participating devices in the WLAN sensing process, carry them in the sensing results, and process them with sensing applications to improve accuracy.
It achieves the correct identification of device identity and correct reception of sensing signals in WLAN sensing, improves sensing accuracy, avoids the use of MAC addresses, and protects device privacy.
Smart Images

Figure CN119213744A_ABST
Abstract
Description
Method, device, equipment and storage medium for obtaining and using custom identifiers Technical Field
[0001] The embodiments of the present application relate to the field of wireless sensing, and in particular to a method, apparatus, device, and storage medium for obtaining and using a custom identifier. Background Art
[0002] Wireless Local Area Networks (WLAN) sensing refers to a technology that senses people or objects in an environment by measuring changes in WLAN signals scattered and / or reflected by people or objects.
[0003] In order to improve the accuracy of the measurement results, after receiving the perception results from the perception participating devices, the perception application needs to combine the perception results with the location information of the perception participating devices for processing. That is, the perception application needs to know the perception signal sending device and / or perception signal receiving device corresponding to each perception result. Generally, the location information of each device obtained by means other than the Institute of Electrical and Electronics Engineers (IEEE) 802.11 protocol can be indexed by the device's Medium Access Control (MAC) address.
[0004] However, in the WLAN sensing scenario, in order to protect the privacy of the sensing participating devices, it is necessary to avoid carrying the MAC addresses of the sensing participating devices in the sensing results.
[0005] Summary of the Invention
[0006] The present invention provides a method, apparatus, device, and storage medium for obtaining and using a custom identifier. The technical solution is as follows:
[0007] According to one aspect of the present application, a method for obtaining a custom identifier is provided. The method is performed by a first device and includes:
[0008] Obtain a custom identifier of the first device, where the custom identifier is used to identify the identity of the first device during a WLAN sensing process.
[0009] According to one aspect of the present application, a method for generating a custom identifier is provided, the method being performed by a second device, the method comprising:
[0010] Generate a custom identifier for the first device, where the custom identifier is used to identify the identity of the first device during a WLAN sensing process;
[0011] Saving the correspondence between the custom identifier and the first identification information of the first device;
[0012] The first identification information includes at least one of a MAC address, an association identifier (AID), and an unassociated station identifier (USID).
[0013] According to one aspect of the present application, a method for using a custom identifier is provided, the method being performed by a third device, the method comprising:
[0014] Reporting the perception results, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device;
[0015] The custom identifier is used to identify the identity of the perception participating device during the WLAN perception process, and the perception signal sending device and the perception signal receiving device correspond to the perception result.
[0016] According to one aspect of the present application, a method for using a custom identifier is provided, the method being performed by a perception initiating device or a perception proxy initiating device, the method comprising:
[0017] receiving a sensing result, a custom identifier of a sensing signal transmitting device, and a custom identifier of a sensing signal receiving device;
[0018] The custom identifier is used to identify the identity of the perception participating device during the WLAN perception process, and the perception signal sending device and the perception signal receiving device correspond to the perception result.
[0019] According to one aspect of the present application, a method for using a custom identifier is provided, the method being performed by a perception signal receiving device, the method comprising:
[0020] Sending a perception measurement reporting frame, where the perception measurement reporting frame carries a perception result and a custom identifier of the perception signal receiving device;
[0021] The custom identifier is used to identify the identity of the perception signal receiving device during the WLAN perception process.
[0022] According to one aspect of the present application, a method for receiving a perception signal is provided. The method is performed by a fourth device, and the method includes:
[0023] Send third identification information of at least one perception signal sending device, where the third identification information includes at least one of a MAC address, an AID, a USID, and a custom identifier.
[0024] According to one aspect of the present application, a method for receiving a perception signal is provided. The method is performed by a perception signal receiving device, and the method includes:
[0025] Receive third identification information of at least one perception signal sending device, where the third identification information includes at least one of a MAC address, an AID, a USID, and a custom identifier.
[0026] According to one aspect of the present application, a device for obtaining a custom identifier is provided, the device comprising:
[0027] The acquisition module is configured to acquire a custom identifier of the first device, where the custom identifier is used to identify the identity of the first device during a WLAN perception process.
[0028] According to one aspect of the present application, a device for generating a custom identifier is provided, the device comprising:
[0029] a generating module, configured to generate a custom identifier for a first device, where the custom identifier is used to identify the identity of the first device during a WLAN sensing process;
[0030] a saving module, configured to save a correspondence between the custom identifier of the first device and the first identification information;
[0031] The first identification information includes at least one of a MAC address, an AID, and a USID.
[0032] According to one aspect of the present application, a device for using a custom identifier is provided, the device comprising:
[0033] A reporting module, configured to report the sensing result, the custom identifier of the sensing signal sending device, and the custom identifier of the sensing signal receiving device;
[0034] The custom identifier is used to identify the identity of the perception participating device during the WLAN perception process, and the perception signal sending device and the perception signal receiving device correspond to the perception result.
[0035] According to one aspect of the present application, a device for using a custom identifier is provided, the device comprising:
[0036] A receiving module, configured to receive a sensing result, a custom identifier of a sensing signal sending device, and a custom identifier of a sensing signal receiving device;
[0037] The custom identifier is used to identify the identity of the perception participating device during the WLAN perception process, and the perception signal sending device and the perception signal receiving device correspond to the perception result.
[0038] According to one aspect of the present application, a device for using a custom identifier is provided, the device comprising:
[0039] a sending module, configured to send a perception measurement reporting frame, wherein the perception measurement reporting frame carries a perception result and a custom identifier of the perception signal receiving device;
[0040] The custom identifier is used to identify the identity of the perception signal receiving device during the WLAN perception process.
[0041] According to one aspect of the present application, a device for receiving a perception signal is provided, the device comprising:
[0042] The sending module is used to send the third identification information of at least one perception signal sending device, and the third identification information includes at least one of a MAC address, an AID, a USID, and a custom identifier.
[0043] According to one aspect of the present application, a device for receiving a perception signal is provided, the device comprising:
[0044] The receiving module is used to receive third identification information of at least one perception signal sending device, where the third identification information includes at least one of a MAC address, an AID, a USID, and a custom identifier.
[0045] According to one aspect of the present application, a WLAN device is provided, comprising: a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to enable the WLAN device to implement the above-mentioned method for obtaining a custom identifier, the method for generating a custom identifier, or the method for using a custom identifier.
[0046] According to one aspect of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is loaded and executed by a perception participating device so that the perception participating device implements the above-mentioned method for obtaining a custom identifier or a method for generating a custom identifier or a method for using a custom identifier or a method for receiving a perception signal.
[0047] According to one aspect of the present application, a chip is provided, which includes a programmable logic circuit or a program, so that a perception participation device equipped with the chip is used to implement the above-mentioned method for obtaining a custom identifier or a method for generating a custom identifier or a method for using a custom identifier or a method for receiving a perception signal.
[0048] According to one aspect of the present application, a computer program product or computer program is provided, which includes computer instructions, which are stored in a computer-readable storage medium. A perception participating device reads and executes the computer instructions from the computer-readable storage medium, so that the perception participating device implements the above-mentioned method for obtaining a custom identifier or the method for generating a custom identifier or the method for using a custom identifier or the method for receiving a perception signal.
[0049] The technical solutions provided by the embodiments of the present application may have the following beneficial effects:
[0050] This method obtains a custom identifier so that the perception participating devices (such as sites) can use identifiers other than MAC addresses to identify their own identities during the WLAN perception process. This not only enables the correct reception of perception signals, but also, by carrying the custom identifier in the perception results, enables the perception application to match the perception results with the location information of the site, thereby assisting the perception application in improving perception accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] FIG1 is a schematic diagram of a wireless communication system provided by an embodiment of the present application;
[0052] FIG2 is a schematic diagram of a typical scenario of performing perception measurement based on perception signals provided by an embodiment of the present application;
[0053] FIG3 is a schematic diagram of a typical scenario of a perceptual agent provided by an embodiment of the present application;
[0054] FIG4 is a flowchart of a method for obtaining a custom identifier provided by one embodiment of the present application;
[0055] FIG5 is a flowchart of a method for obtaining a custom identifier provided by one embodiment of the present application;
[0056] FIG6 is a flowchart of a method for obtaining a custom identifier provided by one embodiment of the present application;
[0057] FIG7 is a flowchart of a method for obtaining a custom identifier provided by one embodiment of the present application;
[0058] FIG8 is a flowchart of a method for obtaining a custom identifier provided by one embodiment of the present application;
[0059] FIG9 is a flowchart of a method for obtaining a custom identifier provided by one embodiment of the present application;
[0060] FIG10 is a flowchart of a method for obtaining a custom identifier provided by one embodiment of the present application;
[0061] FIG11 is a flowchart of a method for obtaining a custom identifier provided by one embodiment of the present application;
[0062] FIG12 is a flowchart of a method for obtaining a custom identifier provided by one embodiment of the present application;
[0063] FIG13 is a schematic diagram of a perception setting request frame provided by an embodiment of the present application;
[0064] FIG14 is a flowchart of a method for obtaining a custom identifier provided by one embodiment of the present application;
[0065] FIG15 is a schematic diagram of a perception agent request frame provided by an embodiment of the present application;
[0066] FIG16 is a flowchart of a method for generating a custom identifier provided by one embodiment of the present application;
[0067] FIG17 is a flowchart of a method for using a custom identifier provided by one embodiment of the present application;
[0068] FIG18 is a schematic diagram of a typical scenario of using a custom identifier provided by an embodiment of the present application;
[0069] FIG19 is a schematic diagram of a perception measurement reporting frame provided by an embodiment of the present application;
[0070] FIG20 is a flowchart of a method for using a custom identifier provided by one embodiment of the present application;
[0071] FIG21 is a flowchart of a method for using a custom identifier provided by one embodiment of the present application;
[0072] FIG22 is a flowchart of a method for using a custom identifier provided by one embodiment of the present application;
[0073] FIG23 is a flowchart of a method for using a custom identifier provided by one embodiment of the present application;
[0074] FIG24 is a schematic diagram of a perception setting response frame provided by an embodiment of the present application;
[0075] FIG25 is a flowchart of a method for using a custom identifier provided by one embodiment of the present application;
[0076] FIG26 is a flowchart of a method for using a custom identifier provided by one embodiment of the present application;
[0077] FIG27 is a flowchart of a method for using a custom identifier provided by one embodiment of the present application;
[0078] FIG28 is a schematic diagram of a perception measurement trigger frame provided by an embodiment of the present application;
[0079] FIG29 is a flowchart of a method for using a custom identifier provided by one embodiment of the present application;
[0080] FIG30 is a flowchart of a method for using a custom identifier provided by one embodiment of the present application;
[0081] FIG31 is a flowchart of a method for using a custom identifier provided by one embodiment of the present application;
[0082] FIG32 is a flowchart of a method for using a custom identifier provided by one embodiment of the present application;
[0083] FIG33 is a flowchart of a method for using a custom identifier provided by one embodiment of the present application;
[0084] FIG34 is a flowchart of a method for receiving a perception signal provided by one embodiment of the present application;
[0085] FIG35 is a schematic diagram of a perception setting request frame provided by one embodiment of the present application;
[0086] FIG36 is a schematic diagram of a perception setting request frame provided by one embodiment of the present application;
[0087] FIG37 is a schematic diagram of a perception polling trigger frame provided by one embodiment of the present application;
[0088] FIG38 is a schematic diagram of a perception polling trigger frame provided by one embodiment of the present application;
[0089] FIG39 is a schematic diagram of a perception agent request frame provided by one embodiment of the present application;
[0090] FIG40 is a flowchart of a method for receiving a perception signal provided by one embodiment of the present application;
[0091] FIG41 is a block diagram of an apparatus for obtaining a custom identifier according to an embodiment of the present application;
[0092] FIG42 is a block diagram of a device for generating a custom identifier provided by one embodiment of the present application;
[0093] FIG43 is a block diagram of a device for using a custom identifier provided by one embodiment of the present application;
[0094] FIG44 is a block diagram of a device for using a custom identifier provided by one embodiment of the present application;
[0095] FIG45 is a block diagram of a device for using a custom identifier provided by one embodiment of the present application;
[0096] FIG46 is a block diagram of a device for receiving a perception signal according to an embodiment of the present application;
[0097] FIG47 is a block diagram of a device for receiving a perception signal according to an embodiment of the present application;
[0098] Figure 48 is a block diagram of a WLAN device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0099] 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.
[0100] 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.
[0101] Figure 1 shows a schematic diagram of a wireless communication system provided by an embodiment of the present application. As shown in Figure 1, the wireless communication system may include: an access point (AP) and a station (STA).
[0102] In some scenarios, an AP can be referred to as an AP STA, meaning that in a sense, an AP is also a type of STA. In some scenarios, a STA can be referred to as a non-AP STA.
[0103] In some embodiments, STAs may include AP STAs and non-AP STAs. Communication in a communication system may be between an AP and a non-AP STA, between a non-AP STA and a non-AP STA, or between a STA and a peer STA. A peer STA may refer to a device that communicates with a STA. For example, a peer STA may be an AP or a non-AP STA.
[0104] An AP acts as a bridge between wired and wireless networks, connecting wireless network clients together and then connecting the wireless network to the Ethernet. An AP can be a terminal device (such as a mobile phone) or a network device (such as a router) equipped with a Wireless Fidelity (WIFI) chip.
[0105] It should be understood that the role of STA in the communication system is not absolute. For example, in some scenarios, when a mobile phone is connected to a router, the mobile phone is a non-AP STA. When the mobile phone serves as a hotspot for other mobile phones, the mobile phone plays the role of AP.
[0106] APs and non-AP STAs can be devices used in the Internet of Vehicles, IoT nodes and sensors in the Internet of Things (IoT), smart cameras, smart remote controls, smart water and electricity meters in smart homes, and sensors in smart cities.
[0107] In some embodiments, a non-AP STA may support 802.11be. A non-AP STA may also support various current and future 802.11 family wireless LAN standards, such as 802.11ax, 802.11ac, 802.11n, 802.11g, 802.11b, and 802.11a.
[0108] In some embodiments, the AP may be a device supporting the 802.11be standard. The AP may also be a device supporting various current and future 802.11 family WLAN standards, such as 802.11ax, 802.11ac, 802.11n, 802.11g, 802.11b, and 802.11a.
[0109] It should be noted that the above protocols are only examples, and the protocols supported by the AP and STA are not limited to the above protocols.
[0110] In the embodiment of the present application, the STA may be a mobile phone, tablet computer, computer, virtual reality (VR) device, augmented reality (AR) device, wireless device in industrial control, set-top box, wireless device in self-driving, in-vehicle communication equipment, wireless device in remote medical, wireless device in smart grid, wireless device in transportation safety, wireless device in smart city, wireless device in smart home, wireless communication chip, ASIC (Application Specific Integrated Circuit), SOC (System on Chip), etc. that supports WLAN / WIFI technology.
[0111] The frequency bands supported by WLAN technology may include but are not limited to: low frequency bands (2.4 GHz, 5 GHz, 6 GHz) and high frequency bands (45 GHz, 60 GHz).
[0112] There are one or more links between the station and the access point. In some embodiments, the station and the access point support multi-band communication. For example, communication is performed simultaneously on the 2.4 GHz, 5 GHz, 6 GHz, 45 GHz, and 60 GHz frequency bands, or communication is performed simultaneously on different channels of the same frequency band (or different frequency bands), thereby improving the communication throughput and / or reliability between devices. Such a device is generally referred to as a multi-band device, or a multi-link device (MLD), sometimes also referred to as a multi-link entity or a multi-band entity. A multi-link device can be an access point device or a station device. If the multi-link device is an access point device, the multi-link device includes one or more APs; if the multi-link device is a station device, the multi-link device includes one or more non-AP STAs.
[0113] A multi-link device including one or more APs may be referred to as an AP, and a multi-link device including one or more non-AP STAs may be referred to as a non-AP.
[0114] In an embodiment of the present application, the AP may include multiple APs, the Non-AP may include multiple STAs, multiple links may be formed between the APs in the AP and the STAs in the Non-AP, and data communication may be performed between the APs in the AP and the corresponding STAs in the Non-AP through the corresponding links.
[0115] An AP is a device deployed in a wireless local area network to provide wireless communication capabilities for STAs. A station may include: User Equipment (UE), an access terminal, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a wireless communication device, a user agent, or a user device. Optionally, a station may also be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, or a wearable device, but the embodiments of the present application are not limited thereto.
[0116] Before introducing the technical solutions of this application, we first introduce and explain some of the background technologies involved in this application. The following related technologies can be combined with the technical solutions of the embodiments of this application as optional solutions, and they all fall within the scope of protection of the embodiments of this application. The embodiments of this application include at least some of the following contents.
[0117] WLAN sensing refers to methods and applications for sensing people or objects in an environment by measuring changes in WLAN signal scattering and / or reflection from people or objects. WLAN terminals participating in sensing may have roles such as sensing measurement initiating devices, sensing measurement responding devices, sensing signal transmitting devices, and sensing signal receiving devices. In some embodiments, devices participating in WLAN sensing include: sensing initiating devices (i.e., sensing measurement initiating devices) and sensing responding devices (i.e., sensing measurement responding devices). Alternatively, devices participating in WLAN sensing include: sensing transmitting devices (i.e., sensing signal transmitting devices) and sensing receiving devices (i.e., sensing signal receiving devices).
[0118] As shown in Figure 2, WLAN perception measurement includes one or more of the following phases: perception discovery phase 41, measurement establishment phase 42, perception measurement phase 43, perception reporting phase 44, and measurement termination phase 45. A WLAN terminal may play one or more roles in a perception measurement. For example, a perception initiating device can be solely a perception initiating device, a perception sending device, a perception receiving device, or both.
[0119] Perception discovery phase: used to initiate perception measurements.
[0120] Measurement establishment phase: establishes perception measurement, determines the devices involved in the perception measurement and their roles (including the perception sending device and the perception receiving device), determines the operating parameters related to the perception measurement, and optionally exchanges the parameters between terminals.
[0121] Perception measurement phase: Perception measurement is implemented, and the perception sending device sends a perception signal to the perception signal receiver.
[0122] Perception reporting stage: Reporting measurement results. Depending on the application scenario, the perception receiving device may need to report the measurement results to the perception measurement initiating device.
[0123] Measurement termination phase: The terminal stops measuring and terminates the perception measurement.
[0124] In some embodiments, as shown in Figure 3, the perception agent initiating device sends a perception agent request frame to the perception agent responding device (AP) to request the perception agent responding device to establish the agent's perception measurement (such as WLAN perception), and the perception agent responding device sends a perception agent response frame to the perception agent initiating device to accept the perception agent task.
[0125] Exemplarily, the perception proxy response device sends a perception measurement setting request frame to the perception response device to establish the perception measurement setting; the perception response device sends a perception measurement setting response frame to the perception proxy response device to confirm the establishment of the perception measurement.
[0126] Some terms involved in the embodiments of this application are introduced as follows:
[0127] Association Identifier (AID): used to identify a terminal after establishing an association with an access point.
[0128] Unassociation STA Identifier (USID): used to identify a station that is not associated with an access point.
[0129] Media Access Control (MAC): Media Access Control protocol, or Media Access Control address for short.
[0130] Transmission Opportunity (TXOP): refers to a period of time during which a device with the transmission opportunity can actively initiate one or more transmissions.
[0131] WLAN Sensing: This technology detects people and objects in the environment by measuring changes in WLAN signal scattering and / or reflection caused by people and objects. In other words, WLAN sensing uses wireless signals to measure and perceive the surrounding environment, enabling functions such as indoor intrusion, movement, and fall detection, gesture recognition, and spatial 3D image creation.
[0132] WLAN devices participating in WLAN awareness may have the following roles:
[0133] Sensing Initiator: A device that initiates a sensing measurement and wants to obtain the sensing results.
[0134] Sensing Responder: a device that participates in sensing measurements other than the sensing initiator.
[0135] Sensing Transmitter (also known as Sensing Transmitter) is a device that sends a sensing illumination signal.
[0136] Sensing Receiver, also known as sensing receiver, is a device that receives sensing measurement signals.
[0137] Sensing by Proxy Initiator (also known as a proxy requester or sensing proxy requester) is a device that requests other devices to initiate sensing measurements.
[0138] The Sensing by Proxy Responder, also known as the Sensing Proxy STA or Sensing Proxy Responder, is a device that responds to requests from the Proxy Initiator and initiates sensing measurements.
[0139] Sensing processor: a device that processes sensing measurements;
[0140] Sensing Participant. In an embodiment of the present application, the sensing participating device may include a sensing initiating device, a sensing signal sending device, and a sensing signal receiving device that participate in the sensing measurement; or it may only include a device that is not a sensing initiating device that participates in the sensing measurement. That is, in this case, the sensing participating device has the same meaning as the sensing responding device.
[0141] A WLAN terminal may have one or more roles in a perception measurement. For example, a perception initiating device may be only a perception initiating device, a perception signal sending device, a perception signal receiving device, or both a perception signal sending device and a perception signal receiving device.
[0142] Figure 4 shows a flow chart of a method for obtaining a custom identifier (or site identifier) according to an embodiment of the present application. The method is executed by a first device and may include the following steps:
[0143] In step 220 , a custom identifier of the first device is obtained.
[0144] The first device is a perception participating device. From the perspective of the role of WLAN perception, the first device can be at least one of a perception initiating device, a perception responding device, a perception signal sending device, a perception signal receiving device, a perception agent initiating device, a perception agent responding device, a perception processing device, and a perception participating device. From the perspective of device type, the first device can be an access point device or a site device. This application does not limit the scope of the first device. This embodiment takes the first device as a site and the custom identifier of the first device as a site identifier as an example.
[0145] The custom identifier is used to identify the identity of the sensing participating device in the WLAN sensing process and / or the WLAN sensing result. In the embodiment of the present application, it is the identity of the first device. It should be noted that the custom identifier is different from at least one of the identification information of the MAC address, AID, and USID of the sensing participating device. Optionally, the custom identifier is used in the WLAN sensing process or is designed for the WLAN sensing process. That is, for the same device, the custom identifier is different from the identifier used by the device in the non-WLAN sensing process. The non-WLAN sensing process includes the WLAN association process, the WLAN communication process, and the like.
[0146] Exemplarily, the first device receives a custom identifier configured for the first device by a third-party configuration program; or, generates a custom identifier for the first device; or, receives a custom identifier configured for the first device by a perception application, or, receives a perception setting request frame, which carries the custom identifier of the first device.
[0147] That is, the custom identifier of the first device is configured by a third-party configuration program; or, the custom identifier of the first device is generated internally by the first device; or, the custom identifier of the first device is configured by an awareness application dedicated to WLAN awareness.
[0148] The three methods of setting the custom identifier of the first device are described below respectively. At least one or any one of the three methods may be used in different embodiments.
[0149] (1) Method 1: A third-party configuration program configures a custom identifier for the first device.
[0150] The third-party configuration program is used to configure a custom identifier for the first device and is a non-aware application. The third-party configuration program runs on at least one of the following devices: a configurator device; an awareness initiating device; or an awareness proxy initiating device. The third-party configuration program resides in an access point, a server, or a site that operates continuously.
[0151] For example, when the third-party configuration program runs on the configurator device, the custom identifier of the first device remains consistent in all perception measurements; when the third-party configuration program runs on the perception initiating device, the custom identifier of the first device remains consistent in the perception measurements initiated by the perception initiating device; when the third-party configuration program runs on the perception agent initiating device, the custom identifier of the first device remains consistent in the perception measurements initiated by the perception agent initiating device.
[0152] Exemplarily, the first device receives a custom identifier configured for the first device by a third-party configuration program via a communication method other than one based on the IEEE 802.11 protocol. The communication method other than one based on the IEEE 802.11 protocol includes at least one of the following: a communication method based on the Transmission Control Protocol (TCP); a communication method based on the User Datagram Protocol (UDP); or a communication method based on the Bluetooth protocol. The Bluetooth protocol-based communication method may be the Bluetooth protocol or the Bluetooth Low Energy (BLE) protocol.
[0153] Exemplarily, the first device includes (or runs or has installed) an upper-layer application and a site management entity, and an access interface provided internally by the site exists between the upper-layer application and the site management entity. The upper-layer application in the first device is configured to receive a custom identifier transmitted using a communication method other than the IEEE 802.11 protocol. For example, the upper-layer application in the first device is a third-party configuration program.
[0154] Exemplarily, the upper layer application in the first device receives the custom identifier configured for the first device by a third-party configuration program; the upper layer application in the first device sets the custom identifier to the site management entity in the first device.
[0155] Exemplarily, the upper layer application sets the custom identifier to the site management entity in the first device through the site internal interface.
[0156] Exemplarily, the correspondence between the custom identifier and the first identification information corresponding to the first device is stored in a database or server; wherein the first identification information includes at least one of a MAC address, an AID, and a USID. The aforementioned database may exist in the access point device. By storing the correspondence between the custom identifier and the first identification information of the first device in a database or a server, the perception application can query the database or server when it needs to know the first identification information of the first device. For example, the perception application can obtain at least one of the MAC address, AID identifier, and USID identifier of the first device based on the custom identifier of the first device. Exemplarily, the perception application can obtain the MAC address of the first device based on the custom identifier of the first device, and then determine the location information of the first device based on the MAC address, etc., so as to improve the accuracy of the perception result.
[0157] 5 to 8 are schematic diagrams showing a third-party configuration program configured for a first device according to an exemplary embodiment of the present application.
[0158] Figure 5 shows a schematic diagram of a third-party configuration program configuring a custom identifier for a first device in a non-aware proxy scenario where the third-party configuration program is located on a configurator device. This is illustrated using the first devices being Site 1 and Site 2 as examples.
[0159] In the scenario of Figure 5, from the perspective of WLAN perception measurement, the perception initiating device is the access point, and the perception responding devices are Site 1 and Site 2; from the perspective of configuring custom identifiers, the configurator device is the server, and the configured devices are Site 1 and Site 2.
[0160] In step 2301, a third-party configuration program is triggered to configure a custom identifier for the site.
[0161] Exemplarily, when the awareness initiating device (eg, access point) needs to establish an awareness measurement, it triggers a third-party configuration program in the configurator device (eg, server) for configuring a custom identifier.
[0162] Exemplarily, the third-party configuration program configures a custom identifier for the first device after being triggered.
[0163] Optionally, the custom identifier of the access point may be a default value, such as 0.
[0164] In step 2302, a custom identifier of site 1 is set via the TCP / IP protocol.
[0165] For example, after configuring a custom identifier for site 1, the third-party configuration program in the server sends the custom identifier of site 1 to the upper-layer application in site 1, i.e., the third-party configuration program in site 1, via the TCP / IP protocol. After receiving the custom identifier, the third-party configuration program in site 1 sets the custom identifier in the site management entity of site 1 via the site internal interface.
[0166] Optionally, the third-party configuration program stores the correspondence between the custom identifier and the first identification information corresponding to Site 1 in a database or server; wherein the first identification information includes at least one of a MAC address, an AID, and a USID. For example, after receiving the custom identifier of Site 1, the third-party configuration program stores the custom identifier and the MAC address corresponding to Site 1 in a database or server, so that various perception applications can query the database or server using the custom identifier set for Site 1 to obtain the MAC address corresponding to Site 1.
[0167] Optionally, the third-party configuration program obtains the first identification information corresponding to the station 1 through the IEEE 802.11 protocol or a communication method other than the IEEE 802.11 protocol, for example, through the Bluetooth protocol or the Address Resolution Protocol (ARP).
[0168] Exemplarily, when a third-party configuration program runs on a configurator device, the custom identifier of the first device remains consistent in all perception measurements; that is, in an embodiment of the present application, when a third-party configuration program runs on a server, the custom identifier of site 1 remains consistent in all perception measurements; that is, the custom identifier of site 1 is independent of the perception initiating device or the perception agent initiating device.
[0169] In step 2303, a custom identifier of site 2 is set via the TCP / IP protocol.
[0170] Exemplarily, after configuring a custom identifier for site 2, the third-party configuration program in the server sends the custom identifier of site 2 to an upper-layer application in site 2, ie, the third-party configuration program in site 2, via the TCP / IP protocol.
[0171] The detailed implementation process of step 2303 is shown in step 2302 and will not be repeated here.
[0172] It should be noted that this application does not restrict the order in which steps 2302 and 2303 are performed. Step 2302 may be performed first, followed by step 2303; step 2303 may be performed first, followed by step 2302; or steps 2302 and 2303 may be performed simultaneously. This application does not restrict this order.
[0173] Figure 6 shows a schematic diagram of a third-party configuration program configuring a custom identifier for a first device in a perception proxy scenario where the third-party configuration program is located on a configurator device. This is illustrated by taking the first devices as Site 1 and Site 2 as examples.
[0174] In the scenario of Figure 6, from the perspective of the perception agent, the perception agent initiating device is the terminal (mobile phone), and the perception agent responding device is the access point (not shown in the figure); from the perspective of WLAN perception measurement, the perception initiating device is the access point (not shown in the figure), and the perception responding devices are site 1 and site 2; from the perspective of setting a custom identifier, the configurator device is the server, and the configured devices are site 1 and site 2.
[0175] In step 2304, a third-party configuration program is triggered to configure a custom identifier for the site.
[0176] Exemplarily, when a perception proxy initiating device (eg, a mobile phone) needs to establish perception measurement, it triggers a specific third-party configuration program in a configurator device (eg, a server) for configuring a custom identifier.
[0177] Exemplarily, the third-party configuration program configures a custom identifier for the first device after being triggered.
[0178] Optionally, the custom identifier of the access point may be a default value, such as 0.
[0179] In step 2305, a custom identifier of site 1 is set via the TCP / IP protocol.
[0180] For example, after configuring a custom identifier for site 1, the third-party configuration program in the server sends the custom identifier of site 1 to the upper-layer application in site 1, i.e., the third-party configuration program in site 1, via the TCP / IP protocol. After receiving the custom identifier, the third-party configuration program in site 1 sets the custom identifier in the site management entity of site 1 via the site internal interface.
[0181] Optionally, the third-party configuration program stores the correspondence between the custom identifier and the first identification information corresponding to Site 1 in a database or server; wherein the first identification information includes at least one of a MAC address, an AID, and a USID. For example, after receiving the custom identifier of Site 1, the third-party configuration program stores the custom identifier and the MAC address corresponding to Site 1 in a database or server, so that various perception applications can query the database or server using the custom identifier set for Site 1 to obtain the MAC address corresponding to Site 1.
[0182] Optionally, the third-party configuration program obtains the first identification information corresponding to the station 1 through the IEEE 802.11 protocol or a communication method other than the IEEE 802.11 protocol, for example, through the Bluetooth protocol or the Address Resolution Protocol (ARP).
[0183] Exemplarily, when a third-party configuration program runs on a configurator device, the custom identifier of the first device remains consistent in all perception measurements; that is, in an embodiment of the present application, when a third-party configuration program runs on a server, the custom identifier of site 1 remains consistent in all perception measurements; that is, the custom identifier of site 1 is independent of the perception initiating device or the perception agent initiating device.
[0184] In step 2306, a custom identifier of site 2 is set via the TCP / IP protocol.
[0185] Exemplarily, after configuring a custom identifier for site 2, the third-party configuration program in the server sends the custom identifier of site 2 to an upper-layer application in site 2, ie, the third-party configuration program in site 2, via the TCP / IP protocol.
[0186] The detailed implementation process of step 2306 is described in step 2305 and will not be repeated here.
[0187] It should be noted that this application does not restrict the order in which steps 2305 and 2306 are performed. Step 2305 can be performed first, followed by step 2306; step 2306 can be performed first, followed by step 2305; or steps 2305 and 2306 can be performed simultaneously. This application does not restrict this order.
[0188] Figure 7 shows a schematic diagram of a third-party configuration program configuring a custom identifier for a first device in a non-aware proxy scenario and when the third-party configuration program is located on an awareness initiating device. This is illustrated by taking the first devices as Site 1 and Site 2 as examples.
[0189] In the scenario of Figure 7, from the perspective of WLAN perception measurement, the perception initiating device is the access point, and the perception responding devices are site 1 and site 2; from the perspective of setting a custom identifier, the configurator device is the perception initiating device (i.e., the access point), and the configured devices are site 1 and site 2.
[0190] In step 2307, a custom identifier of site 1 is set via the TCP / IP protocol.
[0191] For example, when a third-party configuration program runs on a perception initiating device (such as an access point), the upper-layer application of the perception initiating device includes a perception application and a third-party configuration program, and access is performed between the upper-layer application of the perception initiating device and the site management entity through the site internal interface.
[0192] Exemplarily, when the awareness initiating device needs to establish awareness measurement, it triggers a third-party configuration program inside the awareness initiating device for configuring a custom identifier.
[0193] Exemplarily, the third-party configuration program configures a custom identifier for the first device after being triggered; that is, the third-party configuration program configures a custom identifier for site 1 after being triggered.
[0194] Exemplarily, after completing configuration, the third-party configuration program in the perception initiating device sends the custom identifier of site 1 to the upper-layer application in site 1, i.e., the third-party configuration program in site 1, via the TCP / IP protocol. After receiving the custom identifier, the third-party configuration program in site 1 sets the custom identifier in the site management entity of site 1 via the site internal interface.
[0195] Optionally, the third-party configuration program stores the correspondence between the custom identifier and the first identification information corresponding to Site 1 in a database or server; wherein the first identification information includes at least one of a MAC address, an AID, and a USID. For example, after receiving the custom identifier of Site 1, the third-party configuration program stores the custom identifier and the MAC address corresponding to Site 1 in a database or server within the access point, so that various sensing applications can query the database or server using the custom identifier set for Site 1 to obtain the MAC address corresponding to Site 1.
[0196] Optionally, the third-party configuration program obtains the first identification information corresponding to the station 1 through the IEEE 802.11 protocol or a communication method other than the IEEE 802.11 protocol, for example, through the Bluetooth protocol or the Address Resolution Protocol (ARP).
[0197] For example, when a third-party configuration program runs on a perception initiating device, the custom identifier of the first device remains consistent in the perception measurements initiated by the perception initiating device; that is, the custom identifier configured for site 1 by the third-party configuration program in the perception initiating device remains unchanged in all perception measurements initiated by the perception initiating device.
[0198] In step 2308, a custom identifier for site 2 is set via the TCP / IP protocol.
[0199] Exemplarily, after configuring a custom identifier for site 2, the third-party configuration program in the perception initiating device sends the custom identifier of site 2 to an upper-layer application in site 2, ie, the third-party configuration program in site 2, via the TCP / IP protocol.
[0200] The detailed implementation process of step 2308 is described in step 2307 and will not be repeated here.
[0201] It should be noted that this application does not restrict the order in which steps 2307 and 2308 are performed. Step 2307 may be performed first, followed by step 2308; step 2308 may be performed first, followed by step 2307; or steps 2307 and 2308 may be performed simultaneously. This application does not restrict this order.
[0202] Figure 8 shows a schematic diagram of a third-party configuration program configuring a custom identifier for a first device in a perception proxy scenario where the third-party configuration program is located in a perception proxy initiating device. This is illustrated by taking the first devices as Site 1 and Site 2 as examples.
[0203] In the scenario of Figure 8, from the perspective of the perception agent, the perception agent initiating device is the terminal (mobile phone), and the perception agent responding device is the access point (not shown in the figure); from the perspective of WLAN perception measurement, the perception initiating device is the access point (not shown in the figure), and the perception responding devices are site 1 and site 2; from the perspective of setting a custom identifier, the configurator device is the perception agent initiating device (for example, a mobile phone), and the configured devices are site 1 and site 2.
[0204] In step 2309, a custom identifier of site 1 is set via the TCP / IP protocol.
[0205] For example, when a third-party configuration program runs on a perception agent initiating device (such as a mobile phone), the upper-layer application of the perception agent initiating device includes a perception application and a third-party configuration program, and access is performed between the upper-layer application of the perception agent initiating device and the site management entity through the site internal interface.
[0206] Exemplarily, when the perception proxy initiating device needs to establish perception measurement, it triggers a third-party configuration program inside the perception proxy initiating device for configuring a custom identifier.
[0207] Exemplarily, the third-party configuration program configures a custom identifier for the first device after being triggered; that is, the third-party configuration program configures a custom identifier for site 1 after being triggered.
[0208] Exemplarily, after completing configuration, the third-party configuration program in the perception proxy initiator sends the custom identifier of site 1 to the upper-layer application in site 1, i.e., the third-party configuration program in site 1, via the TCP / IP protocol. After receiving the custom identifier, the third-party configuration program in site 1 sets the custom identifier in the site management entity of site 1 via the site internal interface.
[0209] Optionally, the third-party configuration program stores the correspondence between the custom identifier and the first identification information corresponding to Site 1 in a database or server; wherein the first identification information includes at least one of a MAC address, an AID, and a USID. For example, after receiving the custom identifier of Site 1, the third-party configuration program stores the custom identifier and the MAC address corresponding to Site 1 in a database or server within the access point, so that various sensing applications can query the database or server using the custom identifier set for Site 1 to obtain the MAC address corresponding to Site 1.
[0210] For example, when a third-party configuration program runs on a perception agent initiating device, the custom identifier of the first device remains consistent in the perception measurements initiated by the perception agent initiating device; that is, the custom identifier configured for site 1 by the third-party configuration program in the perception agent initiating device remains unchanged in all perception measurements initiated by the perception agent initiating device.
[0211] In step 2310, a custom identifier of site 2 is set via the TCP / IP protocol.
[0212] Exemplarily, after configuring a custom identifier for site 2, the third-party configuration program in the perception agent initiating device sends the custom identifier of site 2 to the upper-layer application in site 2, ie, the third-party configuration program in site 2, via the TCP / IP protocol.
[0213] The detailed implementation process of step 2310 is described in step 2309 and will not be repeated here.
[0214] It should be noted that this application does not restrict the order in which steps 2309 and 2310 are performed. Step 2309 may be performed first, followed by step 2310; step 2310 may be performed first, followed by step 2309; or steps 2309 and 2310 may be performed simultaneously. This application does not restrict this order.
[0215] (2) Method 2: The first device generates a custom identifier.
[0216] Exemplarily, the upper layer application in the first device generates a custom identifier, and the upper layer application in the first device sets the custom identifier to the site management entity in the first device; or, the site management entity in the first device generates a custom identifier, and the site management entity in the first device sets the custom identifier.
[0217] That is, the custom identifier generated by the first device may be generated by an upper-layer application or by a site management entity.
[0218] Exemplarily, in a case where the site management entity in the first device generates a custom identifier, the upper layer application in the first device obtains the custom identifier (through the site internal interface).
[0219] Exemplarily, in a case where an upper layer application in the first device generates a custom identifier, the upper layer application in the first device sets the custom identifier to a site management entity in the first device through a site internal interface.
[0220] Optionally, the custom identifier is determined based on a random value; that is, the first device generates a random custom identifier when it is started.
[0221] Optionally, the random value belongs to a first value range.
[0222] In some embodiments, to avoid conflicts, the first value range may be set to a larger value, such as 655535; that is, the custom identifier is a random value in the range of 0 to 655535.
[0223] Exemplarily, the upper layer application in the first device sends the custom identifier to the third-party application program through a communication method other than that based on the IEEE 802.11 protocol.
[0224] Optionally, the upper layer application in the first device sends the correspondence between the custom identifier of the first device and the first identification information corresponding to the first device to the third-party application program through a communication method other than that based on the IEEE 802.11 protocol.
[0225] The communication method other than the IEEE 802.11 protocol includes at least one of the following: a TCP-based communication method; a UDP-based communication method; and a Bluetooth-based communication method. The Bluetooth-based communication method may be the Bluetooth protocol or the Bluetooth Low Energy (BLE) protocol.
[0226] Exemplarily, the third-party application runs on at least one of the following: a service providing device; a perception initiating device; or a perception proxy initiating device. The third-party application may exist in a mobile phone, an access point, a server, or a site that can operate continuously for a long time.
[0227] Optionally, the custom identifier and first identification information corresponding to the first device are stored in a database or a server, wherein the first identification information includes at least one of a MAC address, an AID, and a USID.
[0228] Optionally, the custom identifier of the perception initiating device is a default value. For example, the custom identifier of the perception initiating device (such as an access point device) is 0.
[0229] 9 to 11 are schematic diagrams showing a first device generating a custom identifier according to an exemplary embodiment of the present application.
[0230] Figure 9 shows a schematic diagram of a first device generating a custom identifier when a third-party application is running on a perception initiating device or a perception proxy initiating device. This is illustrated by taking the first devices as site 1 and site 2 as examples.
[0231] In the scenario of Figure 9, in the case of non-perceived proxy, from the perspective of WLAN perception measurement, the perception initiating device is the access point, and the perception responding devices are site 1 and site 2; from the perspective of setting a custom identifier, the devices that generate the custom identifier are site 1 and site 2, and the device that obtains the custom identifier is the perception initiating device (such as an access point).
[0232] In the scenario shown in Figure 9, with the perception proxy, the perception initiating device and the perception proxy initiating device are two different devices. From the perspective of the perception proxy, the perception proxy initiating device is the mobile phone, and the perception proxy responding device is the access point. From the perspective of WLAN perception measurement, the perception initiating device is the access point, and the perception responding devices are Site 1 and Site 2. From the perspective of setting a custom identifier, the devices that generate the custom identifier are Site 1 and Site 2, and the device that obtains the custom identifier is the perception proxy initiating device (e.g., a mobile phone).
[0233] In step 2501, the custom identifier of station 1 is obtained through the Bluetooth protocol.
[0234] The custom identifier of site 1 is a custom identifier generated by site 1 itself when site 1 starts.
[0235] Exemplarily, site 1 includes an upper-layer application and a site management entity; the upper-layer application and the site management entity can access each other through the site's internal interface. Site 1's upper-layer application includes a perception application for perception measurement and an application program for generating a custom identifier for site 1, such as a smart device discovery program.
[0236] Exemplarily, a site management entity in site 1 generates a custom identifier, or an upper-layer application in site 1 generates a custom identifier.
[0237] Exemplarily, when the site management entity in site 1 generates a custom identifier, the upper-layer application in site 1 obtains the custom identifier through the site internal interface.
[0238] Exemplarily, in the case where the upper layer application in site 1 generates a custom identifier, the upper layer application in site 1 sets the custom identifier to the site management entity in site 1 through the site internal interface.
[0239] Optionally, the custom identifier is determined based on a random value; that is, the first device generates a random custom identifier when it is started. The random value belongs to a first value range, such as 655535; that is, the custom identifier is a random value in the range of 0 to 655535.
[0240] When the perception initiating device or the perception proxy initiating device needs to establish perception measurement, it can trigger a third-party application (such as a location information service program) to obtain the custom identifier of site 1 and / or the correspondence between the custom identifier of site 1 and the MAC address of site 1 through methods other than the IEEE 802.11 protocol.
[0241] Exemplarily, the location information service program in the perception initiating device or the perception proxy initiating device obtains the custom identifier of site 1 through the Bluetooth protocol.
[0242] Exemplarily, site 1 sends a custom identifier of site 1 to the perception initiating device or the perception proxy initiating device via the Bluetooth protocol.
[0243] Optionally, after obtaining the aforementioned information, the perception initiating device or the perception proxy initiating device stores the custom identifier of site 1 and the first identification information corresponding to site 1 in a database or server. The first identification information includes at least one of a MAC address, an AID, and a USID. This allows the perception application to query the database or server for the MAC address of site 1 based on the custom identifier of site 1.
[0244] In step 2502, the custom identifier of station 2 is obtained through the Bluetooth protocol.
[0245] Exemplarily, the location information service program in the perception initiating device or the perception proxy initiating device obtains the custom identifier of site 2 through the Bluetooth protocol.
[0246] Exemplarily, site 2 sends a custom identifier of site 2 to the perception initiating device or the perception proxy initiating device via the Bluetooth protocol.
[0247] The specific implementation process of step 2502 can be found in step 2501 and will not be repeated here.
[0248] It should be noted that this application does not restrict the order in which steps 2501 and 2502 are performed. Step 2501 may be performed first, followed by step 2502; step 2502 may be performed first, followed by step 2501; or steps 2501 and 2502 may be performed simultaneously. This application does not restrict this order.
[0249] Figure 10 shows a diagram of how a first device generates a custom identifier in a non-aware proxy scenario, with a third-party application running on a service-providing device. This example uses the awareness-initiating device as the access point, the third-party application as the location information service program, the Bluetooth protocol as the transmission method for the custom identifier, and the first devices as Site 1 and Site 2.
[0250] In the scenario of Figure 10, from the perspective of WLAN perception measurement, the perception initiating device is the access point, and the perception responding devices are site 1 and site 2; from the perspective of setting a custom identifier, the devices that generate the custom identifier are site 1 and site 2, and the device that obtains the custom identifier is the service provider device (such as a server).
[0251] In step 2503 , the location information service program is triggered to obtain the custom identifiers of site 1 and site 2 .
[0252] Exemplarily, when the awareness initiating device needs to establish awareness measurement, it triggers a third-party application (eg, a location information service program) in a service providing device (eg, a server) to obtain custom identifiers of site 1 and site 2 .
[0253] Taking site 1 as an example, the custom identifier of site 1 is a custom identifier generated by site 1 itself when site 1 starts.
[0254] Exemplarily, site 1 includes an upper-layer application and a site management entity; the upper-layer application and the site management entity can access each other through the site's internal interface. The upper-layer application of site 1 includes an application program that can be used to generate a custom identifier for site 1, such as a smart device discovery program.
[0255] Exemplarily, a site management entity in site 1 generates a custom identifier, or an upper-layer application in site 1 generates a custom identifier.
[0256] Exemplarily, when the site management entity in site 1 generates a custom identifier, the upper-layer application in site 1 obtains the custom identifier through the site internal interface.
[0257] Exemplarily, in the case where the upper layer application in site 1 generates a custom identifier, the upper layer application in site 1 sets the custom identifier to the site management entity in site 1 through the site internal interface.
[0258] Optionally, the custom identifier is determined based on a random value; that is, the first device generates a random custom identifier when it is started. The random value belongs to a first value range, such as 655535; that is, the custom identifier is a random value in the range of 0 to 655535.
[0259] In step 2504, the custom identifier of station 1 is obtained through the Bluetooth protocol.
[0260] Exemplarily, the third-party application in the service providing device obtains the custom identifier of the first device and / or the correspondence between the custom identifier of the first device and the MAC address of the first device in a manner other than the IEEE 802.11 protocol.
[0261] Exemplarily, the upper layer application in the first device sends the custom identifier to the third-party application program through a communication method other than that based on the IEEE 802.11 protocol.
[0262] Optionally, the upper layer application in the first device sends the correspondence between the custom identifier of the first device and the first identification information corresponding to the first device to the third-party application program through a communication method other than that based on the IEEE 802.11 protocol.
[0263] Exemplarily, the location information service program in the server obtains the custom identifier of site 1 through the Bluetooth protocol.
[0264] Exemplarily, the smart device discovery program in site 1 sends the custom identifier of site 1 to the location information service program in the server via the Bluetooth protocol.
[0265] Optionally, the custom identifier of site 1 and first identification information corresponding to site 1 are stored in a database or server. The first identification information includes at least one of a MAC address, an AID, and a USID. This allows the sensing application to query the database or server for the MAC address of site 1 based on the custom identifier of site 1.
[0266] In step 2505, the custom identifier of site 2 is obtained through the Bluetooth protocol.
[0267] Exemplarily, the location information service program in the server obtains the custom identifier of site 2 via the Bluetooth protocol.
[0268] Exemplarily, site 2 sends the custom identifier of site 2 to the location information service program in the server via the Bluetooth protocol.
[0269] The specific implementation process of step 2505 can be found in step 2504 and will not be repeated here.
[0270] It should be noted that this application does not restrict the order in which steps 2504 and 2505 are performed. Step 2504 may be performed first, followed by step 2505; step 2505 may be performed first, followed by step 2504; or steps 2504 and 2505 may be performed simultaneously. This application does not restrict this order.
[0271] In addition, it should be noted that in some embodiments, steps 2404 to 2405 can be performed before step 2503. That is, after the first device generates a custom identifier, the service providing device obtains the custom identifier generated by the first device through the Bluetooth protocol or other means and saves it to a database or server; when the perception initiating device needs to establish a perception measurement, it obtains the custom identifier of the first device by querying the database or server. This application does not limit the order in which the steps in the embodiments of this application are executed.
[0272] Furthermore, it should be noted that in some embodiments, steps 2404 to 2405 may not need to be performed. For example, if the service provider device has already obtained the site's custom identifier before this perception measurement instance, then steps 2404 to 2405 do not need to be performed again in this perception measurement instance.
[0273] Figure 11 shows a schematic diagram of a first device generating a custom identifier in a perception proxy scenario, where a third-party application is running on a service-providing device. This example uses a mobile phone as the perception proxy initiator, a location information service program as the third-party application, Bluetooth as the transmission method for the custom identifier, and Stations 1 and 2 as the first devices.
[0274] In the scenario of Figure 11, in the case of the perception agent, from the perspective of the perception agent, the perception agent initiating device is the mobile phone, and the perception agent responding device is the access point; from the perspective of WLAN perception measurement, the perception initiating device is the access point, and the perception responding devices are site 1 and site 2; from the perspective of setting the custom identifier, the devices that generate the custom identifier are site 1 and site 2, and the device that obtains the custom identifier is the service provider device (such as a server or access point).
[0275] In step 2506 , the location information service program is triggered to obtain the custom identifiers of site 1 and site 2 .
[0276] Exemplarily, when the perception proxy initiating device needs to establish perception measurement, it triggers a third-party application (eg, location information service program) in a service providing device (eg, a server) to obtain custom identifiers of site 1 and site 2 .
[0277] Taking site 1 as an example, the custom identifier of site 1 is a custom identifier generated by site 1 itself when site 1 starts.
[0278] Exemplarily, site 1 includes an upper-layer application and a site management entity; the upper-layer application and the site management entity can access each other through the site's internal interface. The upper-layer application of site 1 includes an application program that can be used to generate a custom identifier for site 1, such as a smart device discovery program.
[0279] Exemplarily, a site management entity in site 1 generates a custom identifier, or an upper-layer application in site 1 generates a custom identifier.
[0280] Exemplarily, when the site management entity in site 1 generates a custom identifier, the upper-layer application in site 1 obtains the custom identifier through the site internal interface.
[0281] Exemplarily, in the case where the upper layer application in site 1 generates a custom identifier, the upper layer application in site 1 sets the custom identifier to the site management entity in site 1 through the site internal interface.
[0282] Optionally, the custom identifier is determined based on a random value; that is, the first device generates a random custom identifier when it is started. The random value belongs to a first value range, such as 655535; that is, the custom identifier is a random value in the range of 0 to 655535.
[0283] In step 2507, the custom identifier of station 1 is obtained through the Bluetooth protocol.
[0284] Exemplarily, the third-party application in the service providing device obtains the custom identifier of the first device and / or the correspondence between the custom identifier of the first device and the MAC address of the first device in a manner other than the IEEE 802.11 protocol.
[0285] Exemplarily, the upper layer application in the first device sends the custom identifier to the third-party application program through a communication method other than that based on the IEEE 802.11 protocol.
[0286] Optionally, the upper layer application in the first device sends the correspondence between the custom identifier of the first device and the first identification information corresponding to the first device to the third-party application program through a communication method other than that based on the IEEE 802.11 protocol.
[0287] Exemplarily, the location information service program in the server obtains the custom identifier of site 1 through the Bluetooth protocol.
[0288] Exemplarily, the smart device discovery program in site 1 sends the custom identifier of site 1 to the location information service program in the server via the Bluetooth protocol.
[0289] Optionally, the custom identifier of site 1 and first identification information corresponding to site 1 are stored in a database or server. The first identification information includes at least one of a MAC address, an AID, and a USID. This allows the sensing application to query the database or server for the MAC address of site 1 based on the custom identifier of site 1.
[0290] In step 2508, the custom identifier of station 2 is obtained through the Bluetooth protocol.
[0291] Exemplarily, the location information service program in the server obtains the custom identifier of site 2 via the Bluetooth protocol.
[0292] Exemplarily, site 2 sends the custom identifier of site 2 to the location information service program in the server via the Bluetooth protocol.
[0293] The specific implementation process of step 2508 can be found in step 2507 and will not be repeated here.
[0294] It should be noted that this application does not restrict the order in which steps 2507 and 2508 are performed. Step 2507 may be performed first, followed by step 2508; step 2508 may be performed first, followed by step 2507; or steps 2507 and 2508 may be performed simultaneously. This application does not restrict this order.
[0295] In addition, it should be noted that in some embodiments, steps 2407 to 2408 may be performed before step 2506. That is, after the first device generates a custom identifier, the service providing device obtains the custom identifier generated by the first device through the Bluetooth protocol or other means and saves it to a database or server; when the perception agent initiating device needs to establish a perception measurement, it obtains the custom identifier of the first device by querying the database or server. This application does not limit the order in which the steps in the embodiments of this application are executed.
[0296] Furthermore, it should be noted that in some embodiments, steps 2407 to 2408 may not need to be performed. For example, if the service provider device has already obtained the site's custom identifier before this perception measurement instance, then steps 2407 to 2408 do not need to be performed again in this perception measurement instance.
[0297] (3) Method 3: The perception application configures a custom identifier for the first device.
[0298] Different from the third-party configuration program in the aforementioned method 1, the perception application in method 3 is an application dedicated to WLAN perception.
[0299] Exemplarily, the awareness application obtains the MAC address of the first device in advance through a method other than the IEEE 802.11 protocol, and generates a custom identifier for the first device.
[0300] Exemplarily, the first device receives a custom identifier configured for the first device by a sensing application; or receives a sensing setup request frame that carries the custom identifier of the first device. That is, the upper-layer application of the station obtains the custom identifier of the first device through a method other than the IEEE 802.11 protocol; or the first device obtains the custom identifier of the first device by receiving the sensing setup request frame.
[0301] Exemplarily, the perception application runs on at least one of the following devices: a perception initiating device; a perception agent initiating device; a perception agent responding device; and an access point device.
[0302] Exemplarily, the awareness setting request frame is sent by at least one of the following devices: an awareness initiating device; an awareness proxy responding device; and an access point device.
[0303] 12 to 15 show schematic diagrams of a perception application configuring a custom identifier for a first device according to an exemplary embodiment of the present application.
[0304] Figure 12 shows a schematic diagram of configuring a custom identifier for a first device by a perception application in a non-perception proxy scenario and when the perception application is in an access point device, with the first device being site 1 and site 2 as an example for illustration.
[0305] In the scenario of Figure 12, from the perspective of WLAN perception measurement, the perception initiating device is the access point device, and the perception responding devices are site 1 and site 2; from the perspective of setting a custom identifier, the device that sets the custom identifier is the access point device, and the devices that receive the configured custom identifier are site 1 and site 2.
[0306] In step 2401 , the access point device sends a sensing setting request frame to station 1 .
[0307] For example, the sensing application in the access point device obtains the MAC address of station 1 in advance through a method other than the IEEE 802.11 protocol, and generates a custom identifier for station 1. The method other than the IEEE 802.11 protocol may be TCP, UDP, or Bluetooth protocol, etc.
[0308] Exemplarily, after the perception application in the access point device generates a custom identifier for site 1, the custom identifier of site 1 and the MAC address of site 1 are set to the site management entity in the access point device through the site internal interface of the access point device; the site management entity sends a perception setting request frame to site 1.
[0309] Exemplarily, the awareness setting request frame carries a custom identifier set by the awareness application in the access point device for station 1. The awareness setting request frame is used to set the custom identifier of station 1.
[0310] Optionally, the custom identifier of the access point device is a default value, such as 0.
[0311] FIG13 shows a perception setting request frame provided by an exemplary embodiment of the present application.
[0312] Exemplarily, the perception setting request frame includes a MAC frame header and a MAC frame body, the MAC frame body includes an action field, the action field includes a measurement setting parameter element, and the measurement setting parameter element part includes a site custom identifier 21, which occupies 16 bits and is used to carry the custom identifier of the first device.
[0313] Optionally, the site-defined identifier 21 is carried in the measurement setting parameter element portion of the awareness setting request frame; or, it may be set in other portions. This application does not impose any restrictions on the location of the site-defined identifier in the awareness setting request frame.
[0314] In step 2402, station 1 sends an awareness setup response frame to the access point device.
[0315] After receiving the awareness setting request frame sent by the access point device, station 1 obtains the custom identifier of station 1; and sends an awareness setting response frame to the access point device to confirm that the custom identifier has been received.
[0316] In step 2403 , the access point device sends a sensing setting request frame to station 2 .
[0317] Exemplarily, after the perception application in the access point device generates a custom identifier for site 2, the custom identifier of site 2 and the MAC address of site 2 are set to the site management entity in the access point device through the site internal interface of the access point device; the site management entity sends a perception setting request frame to site 2.
[0318] For specific implementation steps, please refer to step 2401 and will not be repeated here.
[0319] In step 2404, station 2 sends an awareness setup response frame to the access point device.
[0320] After receiving the awareness setting request frame sent by the access point device, station 2 obtains the custom identifier of station 2; and sends an awareness setting response frame to the access point device to confirm that the custom identifier has been received.
[0321] It should be noted that this application does not restrict the order in which steps 2401 to 2402 and steps 2403 to 2404 are executed. Steps 2401 to 2402 may be executed first, followed by steps 2403 to 2404; steps 2403 to 2404 may be executed first, followed by steps 2401 to 2402; or steps 2401 to 2402 and steps 2403 to 2404 may be executed simultaneously. This application does not restrict this order.
[0322] Figure 14 shows a schematic diagram of configuring a custom identifier for a first device by a perception application in a perception proxy scenario where the perception application is in a perception proxy initiating device, with the first device being site 1 and site 2 as an example.
[0323] In the scenario of Figure 14, from the perspective of the perception agent, the perception agent initiating device is the mobile phone, and the perception agent responding device is the access point; from the perspective of WLAN perception measurement, the perception initiating device is the access point device, and the perception responding devices are site 1 and site 2; from the perspective of setting a custom identifier, the device that sets the custom identifier is the perception agent initiating device (such as a mobile phone), and the devices that receive the configured custom identifier are site 1 and site 2.
[0324] In step 2405, the awareness agent initiating device sends an awareness agent request frame to the access point device.
[0325] Exemplarily, a perception application in a perception agent initiating device (e.g., a mobile phone) obtains the MAC address of the first device in advance through a method other than the IEEE 802.11 protocol, and generates a custom identifier for the first device. The method other than the IEEE 802.11 protocol may be TCP, UDP, or Bluetooth protocol, etc.
[0326] Exemplarily, after the perception application in the perception agent initiating device generates a custom identifier for the first device, the custom identifier of the first device and the MAC address of the first device are set to the site management entity in the perception agent initiating device through the site internal interface of the perception agent initiating device; the site management entity sends a perception agent request frame to the access point device.
[0327] Exemplarily, the perception proxy request frame carries the custom identifier of the first device, namely, the custom identifiers of site 1 and site 2. The perception proxy request frame is used to transmit the custom identifiers of site 1 and site 2 to the access point device and set the custom identifiers to site 1 and site 2 through the access point device.
[0328] Optionally, the perception agent request frame carries a custom identifier of the first device and a MAC address of the first device.
[0329] FIG15 shows a perception agent request frame provided by an exemplary embodiment of the present application.
[0330] Exemplarily, the perception agent request frame includes a MAC frame header and a MAC frame body, the MAC frame body includes an action field, the action field includes a perception requirement information element, the perception requirement information element includes a perception response device list, the perception response device list includes perception response device information corresponding to each perception response device, and the perception response device information includes a custom identifier 22 corresponding to the perception response device, which occupies 16 bits and is used to carry the custom identifier of the first device.
[0331] Optionally, the custom identifier 22 is carried in the sensing response device information portion of the sensing agent request frame; or, it may be set in other portions. This application does not impose any restrictions on the position of the custom identifier in the sensing agent request frame.
[0332] In step 2406, the access point device sends a perception agent response frame to the perception agent initiating device.
[0333] Exemplarily, the access point device is a perceptual proxy responding device in a perceptual proxy scenario. After receiving the perceptual proxy request frame, the access point device obtains the MAC address and custom identifier of the first device therein and stores them in a database of the access point device.
[0334] Exemplarily, after receiving the awareness agent request frame, the access point device sends a awareness agent response frame to the awareness agent initiating device to indicate that the awareness agent request frame has been received.
[0335] In step 2407 , the access point device sends a sensing setting request frame to station 1 .
[0336] Exemplarily, after receiving the custom identifier of site 1 from the awareness proxy initiator, the access point device sends an awareness setting request frame to site 1. The awareness setting request frame carries the custom identifier of site 1; the awareness setting request frame is used to set the custom identifier of site 1.
[0337] In step 2408, station 1 sends an awareness setup response frame to the access point device.
[0338] After receiving the awareness setting request frame sent by the access point device, station 1 obtains the custom identifier of station 1; and sends an awareness setting response frame to the access point device to confirm that the custom identifier has been received.
[0339] In step 2409 , the access point device sends a sensing setting request frame to station 2 .
[0340] Exemplarily, after receiving the custom identifier of site 2 from the awareness proxy initiator, the access point device sends an awareness setting request frame to site 2. The awareness setting request frame carries the custom identifier of site 2; the awareness setting request frame is used to set the custom identifier of site 2.
[0341] In step 2410, station 2 sends an awareness setup response frame to the access point device.
[0342] After receiving the awareness setting request frame sent by the access point device, station 2 obtains the custom identifier of station 2; and sends an awareness setting response frame to the access point device to confirm that the custom identifier has been received.
[0343] It should be noted that this application does not restrict the order in which steps 2407 to 2408 and steps 2409 to 2410 are executed. Steps 2407 to 2408 can be executed first, followed by steps 2409 to 2410; steps 2409 to 2410 can be executed first, followed by steps 2407 to 2408; or steps 2407 to 2408 and steps 2409 to 2410 can be executed simultaneously. This application does not restrict this.
[0344] To sum up, in the technical solution provided in the embodiment of the present application, the first device obtains the corresponding custom identifier, so that the first device can identify its own identity during the WLAN perception process, can correctly receive the perception signal during the perception measurement process, and improve the perception accuracy.
[0345] In the third embodiment of the aforementioned embodiment, a method for configuring a custom identifier for a first device by a perception application is shown. This is described below from the perspective of a second device where the perception application is located.
[0346] Figure 16 shows a flow chart of a method for generating a custom identifier provided by one embodiment of the present application. The method is performed by a second device, which may be at least one of a perception initiating device, a perception proxy responding device, or an access point device. The method may include the following steps:
[0347] In step 320 , a custom identifier for the first device is generated.
[0348] The custom identifier is used to identify the identity of the sensing participating device in the WLAN sensing process and / or WLAN sensing results. In the embodiment of the present application, it is the identity of the first device.
[0349] Exemplarily, a perception application in the second device generates a custom identifier for the first device, wherein the perception application is an application dedicated to WLAN perception.
[0350] Exemplarily, the second device obtains the MAC address of the first device in advance through a method other than the IEEE 802.11 protocol, and generates a custom identifier for the first device. The method other than the IEEE 802.11 protocol may be TCP, UDP, or Bluetooth protocol, etc.
[0351] Exemplarily, the second device includes a perception initiating device, a perception proxy responding device, or an access point device.
[0352] Exemplarily, the second device includes a perception proxy initiating device or a site device.
[0353] In step 340 , the correspondence between the custom identifier of the first device and the first identification information is saved.
[0354] The first identification information includes at least one of a MAC address, an AID, and a USID.
[0355] Exemplarily, the perception application in the second device saves the correspondence between the custom identifier of the first device and the first identification information to the site management entity in the second device.
[0356] Exemplarily, the upper layer application and the site management entity of the second device access each other through an internal interface of the device.
[0357] Exemplarily, the perception application in the second device saves the correspondence between the custom identifier of the first device and the first identification information to the site management entity in the second device through the internal interface of the device.
[0358] Optionally, when the second device includes a perception initiating device, a perception proxy responding device, or an access point device, the custom identifier is sent to the first device.
[0359] Optionally, the second device may send the custom identifier to the first device by sending the custom identifier to the first device through a perception application; or, may send the custom identifier to the first device through a perception setting request frame.
[0360] Optionally, when the second device includes a perception proxy initiating device or a station device, the second device sends the correspondence between the first device's custom identifier and the first identification information to the perception proxy responding device or the access point device.
[0361] Optionally, the second device sends a perception agent request frame to the perception agent response device or the access point device, where the perception agent request frame includes a correspondence between the custom identifier of the first device and the first identification information.
[0362] To sum up, in the technical solution provided in the embodiment of the present application, the second device generates a custom identifier for the first device through the perception application, so that the first device can be identified by the custom identifier during the WLAN perception process, ensuring the correct reception of signals and correct judgment of the perception results during the perception process; by saving the correspondence between the custom identifier of the first device and the first identification information, the custom identifiers of the perception signal sending device and the perception signal receiving device corresponding to the perception result can be obtained by querying the saved correspondence in the subsequent perception result reporting process, so that the perception application can correctly correspond the perception result and the location information of the perception participating devices, thereby helping to improve the perception accuracy.
[0363] The above embodiment has described in detail the process of setting the custom identifier. The following describes how to use the custom identifier.
[0364] Figure 17 shows a flowchart of a method for using a custom identifier provided by one embodiment of the present application. The method is performed by a third device, which, in the perception measurement, is at least one of a perception initiating device, a perception proxy responding device, a perception responding device, a perception signal transmitting device, or a perception signal receiving device. For example, the third device is an access point device. The method may include the following steps:
[0365] In step 420, the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device are reported.
[0366] Exemplarily, the custom identifier is used to identify the identity of the sensing participating device in the WLAN sensing process and / or WLAN sensing results. The sensing participating device includes a sensing signal sending device and a sensing signal receiving device.
[0367] Exemplarily, the perception signal sending device and the perception signal receiving device correspond to the perception results.
[0368] Exemplarily, the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device are reported to the perception application in the third device; or, the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device are forwarded to the perception agent requesting device through the perception agent reporting frame.
[0369] That is, in the non-perception proxy scenario, the third device is the perception initiating device, which reports the perception results, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device to the perception application in the third device; in the perception proxy scenario, the third device is the perception proxy responding device, and the third device forwards the perception results, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device to the perception proxy requesting device through the perception proxy reporting frame.
[0370] Optionally, an awareness setting response frame is received, where the awareness setting response frame carries a custom identifier of the awareness participating device. For example, the station reports the custom identifier of the station by sending the awareness setting response frame to the third device.
[0371] Figure 18 is a schematic diagram illustrating a typical scenario for using a custom identifier provided by an embodiment of the present application. Taking the third device as an access point device as an example, Figures (1) to (4) of Figure 18 illustrate four typical scenarios for sensing measurements by a non-aware proxy; Figures (5) to (8) of Figure 18 illustrate four typical scenarios for sensing measurements by a aware proxy.
[0372] In some embodiments, as shown in (1) of Figure 18 , the access point device is a sensing initiator or a sensing signal transmitter, and Site 1 is a sensing signal receiver. After the access point device initiates sensing measurements, the sensing signal is sent by the access point device and received by Site 1. Site 1 then reports the sensing results to the access point device.
[0373] In some embodiments, as shown in (2) of Figure 18 , the access point device is a sensing initiating device or a sensing signal receiving device, and site 1 is a sensing signal sending device. After the access point device initiates sensing measurement, the sensing signal is sent by site 1 and received by the access point device.
[0374] In some embodiments, as shown in (3) of Figure 18 , the access point device is a sensing initiating device, a sensing signal transmitting device, or a sensing signal receiving device. After the access point device initiates a sensing measurement, a sensing signal is transmitted by the access point device, reflected by the sensing object, and returned to the access point device, where it is received by the receiving point device.
[0375] In some embodiments, as shown in (4) of Figure 18 , the access point device is a sensing initiating device. After the access point device initiates sensing measurement, a sensing signal is sent by station 1 and received by station 2; station 2 reports the sensing result to the access point device.
[0376] In some embodiments, as shown in (5) of Figure 18 , the access point device is a perception agent responding device or a perception signal sending device. After the access point device initiates perception, a perception signal is sent by the access point device and received by Site 1. Site 1 reports the perception result to the access point device, which then forwards the perception result to the perception agent initiating device.
[0377] In some embodiments, as shown in (6) of Figure 18 , the access point device is a perception agent responding device or a perception signal receiving device. After the access point device initiates a perception measurement, a perception signal is sent by site 1 and received by the access point device. The access point device then forwards the perception result to the perception agent initiating device.
[0378] In some embodiments, as shown in (7) of Figure 18 , the access point device is a perception agent responding device, a perception signal receiving device, or a perception signal sending device. After the access point device initiates a perception measurement, a perception signal is sent by the access point device, reflected back to the access point device by the perception object, and received by the receiving point device. The access point device then forwards the perception result to the perception agent initiating device.
[0379] In some embodiments, as shown in (8) of Figure 18 , the access point device is a perception agent responding device. After the access point device initiates a perception measurement, a perception signal is sent by site 1 and received by site 2. Site 2 reports the perception result to the access point device, which then forwards the perception result to the perception agent initiating device.
[0380] Method 1: The third device (eg, access point device) is a device that sends a perception signal corresponding to the perception result.
[0381] Exemplarily, a perception measurement reporting frame is received, where the perception measurement reporting frame carries a perception result and a custom identifier of a perception signal receiving device.
[0382] Exemplarily, the custom identifier of the perception signal sending device is set as the custom identifier of the third device; or, the default value is set as the custom identifier of the third device.
[0383] Exemplarily, after determining the custom identifier of the access point device, the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device are reported to the perception application in the access point device; or, the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device are forwarded to the perception agent requesting device through a perception agent reporting frame.
[0384] For example, Figure 19 shows a schematic diagram of the structure of a perception measurement report frame provided by an exemplary embodiment of the present application. As shown in the figure, the perception measurement report frame includes a MAC frame header and a MAC frame body. The MAC frame body includes an action field, which includes a perception measurement report element corresponding to the perception measurement instance. The perception measurement report element includes a perception signal transmitting device identifier (custom identifier) 23 (2 bytes) and a perception signal receiving device identifier (custom identifier) 24 (2 bytes) corresponding to the perception measurement instance. In addition, the measurement report control field also includes an indication 25 (1 bit) indicating whether it is a custom identifier.
[0385] Optionally, the perception signal sending device identifier (custom identifier) 23 and the perception signal receiving device identifier (custom identifier) 24 are carried in the perception measurement report element portion of the perception measurement reporting frame; or, they may be set in other portions. This application does not limit the location of the custom identifier in the perception measurement reporting frame.
[0386] FIG20 illustrates a method for using a custom identifier in a perception measurement process provided by an exemplary embodiment of the present application, wherein the perception measurement process includes a third device (access point device) and a perception response device (station). See scenario (1) in FIG18 .
[0387] In step 4201, the sensing response device sends a sensing measurement reporting frame to the access point device.
[0388] Exemplarily, the sensing response device is also a sensing signal receiving device; and the access point device is also a sensing signal sending device.
[0389] Exemplarily, the perception response device sends a perception measurement reporting frame to the access point device; the perception measurement reporting frame includes a perception result measured by the perception response device and a custom identifier of the perception response device (perception signal receiving device).
[0390] In step 4202, the access point device reports the awareness application.
[0391] In some embodiments, after receiving the perception measurement reporting frame, the access point device sets the custom identifier of the perception signal sending device corresponding to the perception result as the custom identifier of the access point device.
[0392] In some other embodiments, the custom identifier of the access point device is a default value, such as 0. In this case, optionally, the perception measurement reporting frame includes the perception result, the custom identifier of the perception signal receiving device, and the custom identifier of the perception signal sending device (i.e., the default value, such as 0); the access point device sets the custom identifier of the perception signal sending device to the default value. Exemplarily, after the access point device determines the custom identifier of the perception signal sending device, the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device are reported to the perception application in the access point device. For example, the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device are reported to the perception application in the access point device via the device internal interface of the access point device.
[0393] FIG21 shows a method for using a custom identifier in a perception measurement process provided by an exemplary embodiment of the present application, wherein the perception measurement process includes a perception agent initiating device, an access point device, and a perception responding device (station). See scenario (5) in FIG18 .
[0394] In step 4203, the sensing response device sends a sensing measurement reporting frame to the access point device.
[0395] Exemplarily, the perception response device is also a perception signal receiving device; the access point device is also a perception signal sending device and a perception agent response device.
[0396] Exemplarily, the perception response device sends a perception measurement reporting frame to the access point device; the perception measurement reporting frame includes a perception result measured by the perception response device and a custom identifier of the perception response device (perception signal receiving device).
[0397] In step 4204, the access point device sends a perception agent reporting frame to the perception agent initiating device.
[0398] In some embodiments, after receiving the perception measurement reporting frame, the access point device sets the custom identifier of the perception signal sending device corresponding to the perception result as the custom identifier of the access point device.
[0399] In other embodiments, the custom identifier of the access point device is a default value, such as 0. In this case, the perception measurement reporting frame optionally includes the perception result, the custom identifier of the perception signal receiving device, and the custom identifier of the perception signal sending device (i.e., a default value, such as 0); the access point device sets the custom identifier of the perception signal sending device to the default value. Exemplarily, after determining the custom identifier of the perception signal sending device, the access point device reports the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device to the perception agent initiating device.
[0400] Exemplarily, the access point device forwards the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device to the perception agent requesting device through a perception agent reporting frame.
[0401] Method 2: The third device (eg, access point device) is a sensing signal receiving device corresponding to the sensing result.
[0402] Exemplarily, the access point device receives a perception setting response frame sent by the perception signal sending device, where the perception setting response frame carries a custom identifier of the perception signal sending device.
[0403] FIG22 illustrates a method for using a custom identifier in a perception measurement process provided by an exemplary embodiment of the present application, wherein the perception measurement process includes an access point device. See scenario (2) or (3) in FIG18 .
[0404] In step 4301, the access point device reports the perception application.
[0405] For example, regarding (2) in FIG18 , the access point device acts as a perception signal receiving device and receives a perception signal sent by a perception response device (perception signal sending device). In this case, the access point device reports the generated perception signal, the custom identifier of the access point device (i.e., the custom identifier of the perception signal receiving device), and the custom identifier of the perception signal sending device to the perception application.
[0406] For example, regarding (3) in FIG18 , the access point device serves as both a sensing signal sending device and a sensing signal receiving device. In this case, the access point device reports the generated sensing signal and the access point device's custom identifier (which serves as both the sensing signal receiving device and the sensing signal sending device) to the sensing application.
[0407] Optionally, for (2) in Figure 18 , the access point device needs to know the custom identifier of the perception signal sending device in advance. For example, the access point device receives a perception setting response frame sent by the perception signal sending device, and the perception setting response frame carries the custom identifier of the perception signal sending device.
[0408] Exemplarily, the access point device reports the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device to a perception application in the access point device. For example, the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device are reported to the perception application in the access point device via an internal interface of the access point device.
[0409] FIG23 shows a method for using a custom identifier in a perception measurement process provided by an exemplary embodiment of the present application, wherein the perception measurement process includes a perception agent initiating device and an access point device. See scenario (6) or (7) in FIG18 .
[0410] In step 4302, the access point device sends a perception agent reporting frame to the perception agent initiating device.
[0411] For example, regarding step (6) in FIG18 , the access point device acts as a perception signal receiving device and receives a perception signal sent by a perception response device (perception signal sending device). In this case, the access point device reports the generated perception signal, the custom identifier of the access point device (i.e., the custom identifier of the perception signal receiving device), and the custom identifier of the perception signal sending device to the perception application of the perception agent initiating device.
[0412] For example, regarding (7) in FIG18 , the access point device serves as both a sensing signal sending device and a sensing signal receiving device. In this case, the access point device reports the generated sensing signal and the access point device's custom identifier (which serves as both the sensing signal receiving device and the sensing signal sending device's custom identifier) to the sensing application of the sensing agent initiating device.
[0413] Optionally, for (6) in Figure 18 , the access point device needs to know the custom identifier of the perception signal sending device in advance. For example, the access point device receives a perception setting response frame sent by the perception signal receiving device, and the perception setting response frame carries the custom identifier of the perception signal receiving device.
[0414] Exemplarily, the access point device reports the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device to the perception agent initiating device.
[0415] Exemplarily, the access point device forwards the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device to the perception agent requesting device through a perception agent reporting frame.
[0416] Method three: the third device (eg, access point device) knows the correspondence between the custom identifier of the first device and the second identification information of the first device during the perception measurement phase.
[0417] Exemplarily, method three is applicable to at least one of the following situations: the third device (access point device) is not the sensing signal sending device or the sensing signal receiving device corresponding to the sensing result; the method includes a STA-STA sensing measurement instance; and the access point device stores a correspondence between a custom identifier and second identification information. The second identification information includes at least one of an AID and a USID.
[0418] For example, in the third method for using a custom identifier, the access point device is required to know the correspondence between the custom identifier of the first device and the second identification information of the first device during the perception measurement phase. Therefore, the access point device can obtain this correspondence during the custom identifier setting process, or, during the perception setting phase, obtain this correspondence through perception setting response frames sent by each station and carrying the station's custom identifier.
[0419] That is, the corresponding relationship is obtained during the custom identifier setting process; or, the corresponding relationship is obtained based on the perception setting response frame sent by the site, where the perception setting response frame carries the custom identifier of the site.
[0420] That is, in the aforementioned methods for obtaining a custom identifier, in method three (the perception application configures a custom identifier for the first device), the access point device can obtain the custom identifier of each site and the correspondence between the custom identifier and the second identification information during the setting of the custom identifier; however, in method one (the third-party configuration application configures a custom identifier for the first device) and method two (the first device generates a custom identifier), the access point device does not know the custom identifier of each site during the setting of the custom identifier, and therefore needs to obtain the correspondence by receiving the perception setting response frame sent by each site that carries the custom identifier of the site.
[0421] Exemplarily, the access point device saves the correspondence between the custom identifier of the first device and the MAC address of the first device during the custom identifier setting process or based on the perception setting response frame sent by the site, and then obtains the correspondence between the custom identifier of the first device and the second identification information of the first device based on the correspondence between the MAC address of the first device and the second identifier of the first device.
[0422] Figure 24 shows a schematic diagram of a perception setting response frame provided in an embodiment of the present application.
[0423] Exemplarily, the perception setting response frame includes a MAC frame header and a MAC frame body; the MAC frame body includes an action field, and the action field carries the site customized identifier 26 of the first device, which has a length of 2 bytes.
[0424] Optionally, the site custom identifier 26 is carried in the action field of the awareness setting response frame; or, it may be set in other parts. The present application does not limit the position of the custom identifier in the awareness setting response frame.
[0425] 25 to 31 show an embodiment of a method for using a custom identifier corresponding to the situation in method three.
[0426] FIG25 illustrates a method for using a custom identifier in a perception measurement process, which includes an access point device and a perception signal receiving device. See scenario (4) in FIG18 , where the perception signal receiving device is a perception signal receiving device in a site-to-site perception measurement scenario (e.g., site 2 in (4) of FIG18 ). The method includes the following steps:
[0427] In step 4401, the sensing signal receiving device sends a sensing measurement reporting frame to the access point device.
[0428] In some embodiments, such as in STA-STA sensing measurements, the sensing signal receiving device does not know the custom identifier of the sensing signal transmitting device. Therefore, during the reporting phase, the sensing signal receiving device carries second identification information of the sensing signal transmitting device in the sensing measurement reporting frame. The second identification information includes at least one of an AID and a USID.
[0429] Exemplarily, the access point device receives a perception measurement reporting frame, which carries a perception result and second identification information of the perception signal sending device; wherein the custom identifier of the perception signal sending device is determined based on a correspondence between the custom identifier and the second identification information, and the second identification information includes at least one of an AID and a USID.
[0430] That is, the perception signal receiving device sends a perception measurement reporting frame to the access point device; the perception measurement reporting frame carries the perception result, the second identification information of the perception signal sending device, and the custom identifier of the perception signal receiving device. After receiving the perception measurement reporting frame, the access point device replaces the second identification information of the perception signal sending device in the perception measurement reporting frame with the custom identifier of the perception signal sending device based on the correspondence between the custom identifier and the second identification information.
[0431] In step 4402, the access point device reports the awareness application.
[0432] Illustratively, after the access point device replaces the second identification information of the perception signal sending device in the perception measurement reporting frame with the custom identifier of the perception signal sending device based on the correspondence between the custom identifier and the second identification information, the access point device reports the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device to a perception application in the access point device. For example, the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device are reported to the perception application in the access point device via an internal device interface of the access point device.
[0433] FIG26 illustrates a method for using a custom identifier in a perception measurement process, which includes a perception agent initiating device, an access point device, and a perception signal receiving device. See scenario (8) in FIG18 , i.e., the perception signal receiving device is a perception signal receiving device in a site-to-site perception measurement scenario (e.g., site 2 in (8) of FIG18 ). The method includes the following steps:
[0434] In step 4403, the sensing signal receiving device sends a sensing measurement reporting frame to the access point device.
[0435] Exemplarily, the access point device receives a perception measurement reporting frame, which carries a perception result and second identification information of the perception signal sending device; wherein the custom identifier of the perception signal sending device is determined based on a correspondence between the custom identifier and the second identification information, and the second identification information includes at least one of an AID and a USID.
[0436] The detailed implementation process of step 4403 can be found in step 4401 and will not be repeated here.
[0437] In step 4404, the access point device sends a perception agent reporting frame to the perception agent initiating device.
[0438] Exemplarily, after the access point device replaces the second identification information of the perception signal sending device in the perception measurement reporting frame with the custom identifier of the perception signal sending device according to the correspondence between the custom identifier and the second identification information, the access point device reports the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device to the perception agent initiating device.
[0439] Exemplarily, the access point device forwards the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device to the perception agent requesting device through a perception agent reporting frame.
[0440] FIG27 illustrates a method for using a custom identifier in a perception measurement process, which includes an access point device and a perception signal receiving device. See scenario (4) in FIG18 , where the perception signal receiving device is a perception signal receiving device in a site-to-site perception measurement scenario (e.g., site 2 in (4) of FIG18 ). The method includes the following steps:
[0441] In step 4405, the access point device sends a perception measurement trigger frame to the perception signal receiving device.
[0442] In some embodiments, the perception measurement trigger frame initially sent by the access point device during the perception measurement phase carries a custom identifier corresponding to the site; thereby, the perception signal receiving device can obtain the custom identifier of the perception signal sending device.
[0443] FIG28 shows a schematic structural diagram of a perception measurement trigger frame provided in an embodiment of the present application.
[0444] Exemplarily, the perception measurement trigger frame includes a MAC frame header and a MAC frame body; the MAC frame body includes user information, the user information includes trigger frame specific user information, and the trigger frame specific user information includes the site's custom identifier 27.
[0445] Optionally, the site's custom identifier 27 is carried in the trigger frame-specific user information portion of the perception measurement trigger frame; or may be set in other portions. This application does not limit the location of the site's custom identifier in the perception measurement trigger frame.
[0446] Exemplarily, the access point device sends a perception measurement trigger frame, where the perception measurement trigger frame carries a custom identifier of the perception signal sending device and / or the perception signal receiving device.
[0447] Exemplarily, after receiving the perception measurement trigger frame, the perception signal receiving device parses the corresponding site information content of the AID value of its own in the perception measurement trigger frame, and also needs to parse the site information content of the AID value of the corresponding perception signal sending device in the perception measurement trigger frame, so as to obtain the custom identifier of its corresponding perception signal sending device.
[0448] In step 4406, the sensing signal receiving device sends a sensing measurement reporting frame to the access point device.
[0449] Since the perception signal receiving device obtains the custom identifier of its corresponding perception signal sending device through the perception measurement trigger frame, the perception measurement reporting frame sent by the perception signal receiving device to the access point includes the perception result, the custom identifier of the perception signal receiving device and the custom identifier of the perception signal sending device.
[0450] Exemplarily, the access point device receives a perception measurement reporting frame, where the perception measurement reporting frame carries a perception result, a custom identifier of a perception signal sending device, and a custom identifier of a perception signal receiving device.
[0451] In step 4407, the access point device reports the awareness application.
[0452] Exemplarily, the access point device reports the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device to a perception application in the access point device. For example, the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device are reported to the perception application in the access point device via an internal interface of the access point device.
[0453] FIG29 illustrates a method for using a custom identifier in a perception measurement process, which includes a perception agent initiating device, an access point device, and a perception signal receiving device. See scenario (8) in FIG18 , i.e., the perception signal receiving device is a perception signal receiving device in a site-to-site perception measurement scenario (e.g., site 2 in (8) of FIG18 ). The method includes the following steps:
[0454] In step 4408, the access point device sends a perception measurement trigger frame to the perception signal receiving device.
[0455] Exemplarily, the access point device sends a perception measurement trigger frame, where the perception measurement trigger frame carries a custom identifier of the perception signal sending device and / or the perception signal receiving device.
[0456] The detailed implementation process of step 4408 can be found in step 4405 and will not be repeated here.
[0457] In step 4409, the sensing signal receiving device sends a sensing measurement reporting frame to the access point device.
[0458] Since the perception signal receiving device obtains the custom identifier of its corresponding perception signal sending device through the perception measurement trigger frame, the perception measurement reporting frame sent by the perception signal receiving device to the access point includes the perception result, the custom identifier of the perception signal receiving device and the custom identifier of the perception signal sending device.
[0459] Exemplarily, the access point device receives a perception measurement reporting frame, where the perception measurement reporting frame carries a perception result, a custom identifier of a perception signal sending device, and a custom identifier of a perception signal receiving device.
[0460] In step 4410, the access point device sends a perception agent reporting frame to the perception agent initiating device.
[0461] Exemplarily, the access point device reports the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device to the perception agent initiating device.
[0462] Exemplarily, the access point device forwards the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device to the perception agent requesting device through a perception agent reporting frame.
[0463] FIG30 illustrates a method for using a custom identifier in a perception measurement process, which includes an access point device and a perception signal receiving device. See scenario (4) in FIG18 , where the perception signal receiving device is a perception signal receiving device in a site-to-site perception measurement scenario (e.g., site 2 in (4) of FIG18 ). The method includes the following steps:
[0464] In step 4411, the sensing signal receiving device sends a sensing measurement reporting frame to the access point device.
[0465] Since the access point device learns the custom identifier of the site during the custom identifier setting phase, or learns the custom identifier of the site through the awareness setting response frame sent by the site, the access point device saves the correspondence between the custom identifier of each site and its AID / USID.
[0466] Exemplarily, the perception signal receiving device carries the perception result, the second identification information of the perception signal sending device, and the second identification information of the perception signal receiving device in the perception measurement reporting frame, wherein the second identification information includes at least one of an AID and a USID.
[0467] Exemplarily, an access point device receives a perception measurement reporting frame, where the perception measurement reporting frame carries a perception result, second identification information of a perception signal sending device, and second identification information of a perception signal receiving device; wherein the custom identifiers of the perception signal sending device and the perception signal receiving device are determined based on a correspondence between the custom identifier and the second identification information.
[0468] That is, the access point device obtains the second identification information of the perception signal sending device and the second identification information of the perception signal receiving device from the perception measurement reporting frame, and replaces the second identification information of the perception signal sending device in the perception measurement reporting frame with the custom identifier of the perception signal sending device, and replaces the second identification information of the perception signal receiving device with the custom identifier of the perception signal receiving device, based on a correspondence between the custom identifier and the second identification information.
[0469] In step 4412, the access point device reports the awareness application.
[0470] Exemplarily, after the access point device replaces the second identification information of the perception signal sending device and the perception signal receiving device in the perception measurement reporting frame with the corresponding custom identifiers based on the correspondence between the custom identifier and the second identification information, the access point device reports the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device to a perception application in the access point device. For example, the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device are reported to the perception application in the access point device via an internal device interface of the access point device.
[0471] FIG31 illustrates a method for using a custom identifier in a perception measurement process, which includes a perception agent initiating device, an access point device, and a perception signal receiving device. See scenario (8) in FIG18 , i.e., the perception signal receiving device is a perception signal receiving device in a site-to-site perception measurement scenario (e.g., site 2 in (8) of FIG18 ). The method includes the following steps:
[0472] In step 4413, the sensing signal receiving device sends a sensing measurement reporting frame to the access point device.
[0473] Exemplarily, an access point device receives a perception measurement reporting frame, where the perception measurement reporting frame carries a perception result, second identification information of a perception signal sending device, and second identification information of a perception signal receiving device; wherein the custom identifiers of the perception signal sending device and the perception signal receiving device are determined based on a correspondence between the custom identifier and the second identification information.
[0474] The detailed implementation process of step 4413 can be found in step 4411 and will not be repeated here.
[0475] In step 4414, the access point device sends a perception agent reporting frame to the perception agent initiating device.
[0476] Exemplarily, after the access point device replaces the second identification information of the perception signal sending device and the perception signal receiving device in the perception measurement reporting frame with the corresponding custom identifiers according to the correspondence between the custom identifier and the second identification information, the access point device reports the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device to the perception agent initiating device.
[0477] Exemplarily, the access point device forwards the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device to the perception agent requesting device through a perception agent reporting frame.
[0478] To sum up, in the technical solution provided in the embodiment of the present application, the access point device carries the custom identifier of the perception signal sending device and the custom identifier of the perception signal receiving device in the perception measurement instance in the perception result and reports them to the perception application, so that the perception application can correspond the perception result with the location information of the perception participating devices, thereby helping to improve the perception accuracy.
[0479] Figure 32 shows a flow chart of a method for using a custom identifier provided by an embodiment of the present application. The method is executed by a perception initiating device or a perception proxy initiating device, and the method may include the following steps:
[0480] In step 520, a perception result, a custom identifier of a perception signal sending device, and a custom identifier of a perception signal receiving device are received.
[0481] Exemplarily, the custom identifier is used to identify the identity of the sensing participating device during the WLAN sensing process; the sensing signal sending device and the sensing signal receiving device correspond to the sensing result.
[0482] For example, in a non-perception agent scenario, the perception initiating device receives the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device; the perception initiating device reports the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device to the upper-layer application of the perception initiating device, i.e., the perception application, through the internal interface of the device.
[0483] Exemplarily, in the scenario of the perception agent, after the perception initiating device receives the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device, it forwards them to the perception agent initiating device, for example, by reporting them through a perception agent reporting frame; after receiving the perception agent reporting frame, the perception agent initiating device reports the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device to the upper-layer application of the perception agent initiating device, that is, the perception application, through the internal interface of the device.
[0484] For an introduction to how the perception initiating device or the perception proxy initiating device uses a custom identifier, please refer to the above content and will not be repeated here.
[0485] Figure 33 shows a flow chart of a method for using a custom identifier provided by an embodiment of the present application. The method is executed by a sensing signal receiving device and may include the following steps:
[0486] In step 620, a perception measurement reporting frame is sent.
[0487] Exemplarily, the perception measurement reporting frame carries the perception result and a custom identifier of the perception signal receiving device; wherein the custom identifier is used to identify the identity of the perception participating device in the WLAN perception process and / or the WLAN perception result. In this embodiment of the present application, the custom identifier is used to identify the identity of the perception signal receiving device.
[0488] Optionally, the perception measurement reporting frame also carries: a custom identifier of the perception signal sending device corresponding to the perception result (for example, the embodiment shown in Figure 32); or, second identification information of the perception signal sending device corresponding to the perception result (for example, the embodiment shown in Figure 30), where the second identification information includes at least one of an AID and a USID.
[0489] Optionally, the perception signal receiving device receives a perception measurement trigger frame, where the perception measurement trigger frame carries a custom identifier of the perception signal sending device and / or the perception signal receiving device (for example, the embodiment shown in FIG32 ).
[0490] For an introduction to how to use the custom identifier in the perception signal receiving device, please refer to the above content and will not be repeated here.
[0491] FIG34 shows a flowchart of a method for receiving a perception signal provided by an embodiment of the present application. The method is performed by a fourth device and may include the following steps:
[0492] In step 1420, third identification information of at least one perception signal sending device is sent.
[0493] Exemplarily, the fourth device is a perception initiating device or a perception proxy responding device. For example, the fourth device is an access point device.
[0494] Exemplarily, the third identification information includes at least one of a MAC address, an AID, a USID, and a custom identifier.
[0495] That is, the fourth device sends the third identification information of at least one perception signal sending device corresponding to the perception signal receiving device to the perception signal receiving device; after receiving the third identification information corresponding to the at least one perception signal sending device corresponding to the perception signal receiving device, the perception signal receiving device can correctly receive the perception signal during the perception measurement process.
[0496] Exemplarily, the third identification information is carried in at least one of the following frames: a perception setting request frame; a perception polling trigger frame; and a perception measurement trigger frame.
[0497] That is, during a sensing measurement setup process, the fourth device indicates the third identifier of at least one perception signal sending device corresponding to the perception signal receiving device by sending a sensing setup request frame to the perception signal receiving device; or, in a sensing measurement instance, the fourth device indicates the third identifier of at least one perception signal sending device corresponding to the perception signal receiving device by sending a sensing polling trigger frame to the perception signal receiving device; or, in a sensing measurement instance, the fourth device indicates the third identifier of at least one perception signal sending device corresponding to the perception signal receiving device by sending a sensing measurement trigger frame to the perception signal receiving device.
[0498] Exemplarily, the third identification information is carried in at least one of the following fields: a measurement setting parameter element in a perception setting request frame; trigger frame-specific user information of a perception polling trigger frame; and trigger frame-specific user information of a perception measurement trigger frame.
[0499] Exemplarily, the trigger frame-specific user information can be understood as user information corresponding to the trigger frame type. Different trigger frames have different trigger frame types, and different trigger frame types have different user information fields. Some trigger frame types do not have a user information field.
[0500] Optionally, the aforementioned field also includes information about the number of perception signal sending devices.
[0501] Figure 35 shows a schematic diagram of a perception setting request frame provided by one embodiment of the present application. As shown in the figure, the perception setting request frame includes a MAC frame header and a MAC frame body. The MAC frame body includes an action field, which includes a measurement setting parameter element 28 (the length of this field is variable). The measurement setting parameter element 28 includes the number of perception signal transmitting devices 29 (occupying 8 bits) and the perception signal transmitting device identifier 30 corresponding to each perception signal transmitting device (each perception signal transmitting device occupies 16 bits). The perception signal transmitting device identifier 30 is at least one of a MAC address, an AID, a USID, and a custom identifier.
[0502] Figure 36 shows a schematic diagram of a perception setting request frame provided by another embodiment of the present application. As shown in the figure, the perception setting request frame includes a MAC frame header and a MAC frame body. The MAC frame body includes an action field, which includes a measurement setting parameter element 31 (the length of this field is variable). The measurement setting parameter element 31 includes the number of perception signal transmitting devices 32 (occupying 8 bits) and the perception signal transmitting device information 33 corresponding to each perception signal transmitting device (each perception signal transmitting device occupies 32 bits). The perception signal transmitting device information 33 includes the AID / USID 34 of the perception signal transmitting device (occupying 16 bits) and the site's custom identifier (occupying 16 bits).
[0503] Optionally, the third identification information is carried in the measurement setting parameter element field of the sensing setting request frame; or, it may be set in other fields. This application does not limit the position of the third identification information in the sensing setting request frame.
[0504] Figure 37 shows a schematic diagram of a perception polling trigger frame provided by an embodiment of the present application. As shown in the figure, the perception polling trigger frame includes a MAC frame header and a MAC frame body. The MAC frame body includes a user information list, which includes user information of each site; the user information for each site includes trigger frame-specific user information 36 (variable length), which includes the number of perception signal sending devices 37 (occupying 8 bits) and perception signal sending device information 38 (each perception signal sending device occupies 32 bits); the perception signal sending device information 38 includes an 8-bit AID / USID 39 and a 16-bit custom identifier of the site.
[0505] Figure 38 shows a schematic diagram of a perception polling trigger frame provided by another embodiment of the present application. As shown, the perception polling trigger frame includes a MAC frame header and a MAC frame body. The MAC frame body includes a user information list, which includes user information for each site. The user information for each site includes trigger frame-specific user information 36 (variable length), which includes at least the site's custom identifier (occupying 16 bits).
[0506] Optionally, the third identification information is carried in the trigger frame-specific user information field of the perception polling trigger frame; or, it may be set in other fields. This application does not limit the position of the third identification information in the perception polling trigger frame.
[0507] For example, Figure 28 illustrates a schematic diagram of a perception measurement trigger frame provided by one embodiment of the present application. As shown, the third identification information is carried in the trigger frame-specific user information field of the perception measurement trigger frame; that is, the trigger frame-specific user information in Figure 28 includes the site's custom identifier 27.
[0508] In some embodiments, the third device is a perception agent responding device. The third device further receives a perception agent request frame, which carries third identification information of the perception signal receiving device and third identification information of at least one perception signal sending device corresponding to the perception signal receiving device.
[0509] That is, during the perception agent request response process, the perception agent initiating device indicates to the perception agent responding device the perception signal receiving devices participating in the perception measurement and at least one perception signal transmitting device corresponding to the perception signal receiving device by sending a perception agent request frame to the perception agent responding device. The perception agent request frame carries third identification information of the perception signal receiving device and third identification information of at least one perception signal transmitting device corresponding to the perception signal receiving device.
[0510] Optionally, the third identification information is carried in the perception response device list field of the perception agent request frame.
[0511] Optionally, the perception response device list field also includes information on the number of perception response devices; wherein the perception response devices include perception signal receiving devices and perception signal sending devices.
[0512] Figure 39 shows a schematic diagram of a perception agent request frame provided by one embodiment of the present application. As shown in the figure, the perception agent request frame includes a MAC frame header and a MAC frame body. The MAC frame body includes an action field, which includes a perception requirement information element. The perception requirement information element includes a perception response device list 43. The perception response device list 43 includes a number of perception response devices 44 (occupying 1 byte) and perception response device information 45 (variable length). The number of perception response devices 44 includes the total number of perception signal transmitting devices and perception signal receiving devices.
[0513] Exemplarily, in the case where the perception response device is a perception signal receiving device, the perception response device information 45 includes the number 46 of perception signal sending devices corresponding to the perception signal receiving device and an identifier 47 of the perception signal sending device.
[0514] For example, when the perception response device is a perception signal sending device, since the perception signal sending device does not need to know its corresponding perception signal receiving device, the perception response device information 45 does not need to include the perception signal receiving device information. In one possible design, the perception response device information 45 does not indicate the number of perception signal receiving devices and the perception signal receiving device identifier (i.e., the fields corresponding to the aforementioned number of perception signal sending devices 46 and the perception signal sending device identifier 47 are not present). In another possible design, the perception response device information 45 indicates that the number of perception signal receiving devices is 0 (i.e., the aforementioned number of perception signal sending devices 46 is replaced with the number of perception signal receiving devices, and the value of this field is set to 0).
[0515] Optionally, the third identification information is carried in the trigger frame-specific perception response device list field of the perception agent request frame; or, it may be set in other fields. This application does not limit the position of the third identification information in the perception agent request frame.
[0516] In summary, the method provided in the embodiments of the present application sends third identification information of at least one perception signal sending device to the perception signal receiving device, so that the perception signal receiving device knows its corresponding perception signal sending device, and can then correctly receive the perception signal during the perception measurement process, thereby improving the efficiency and accuracy of the perception measurement.
[0517] Figure 40 shows a flowchart of a method for receiving a perception signal provided by an embodiment of the present application. The method is executed by a perception signal receiving device and may include the following steps:
[0518] In step 1520, third identification information of at least one perception signal sending device is received.
[0519] Exemplarily, the perception signal receiving device receives third identification information of at least one perception signal sending device sent by a third device.
[0520] Exemplarily, the third identification information includes at least one of a MAC address, an AID, a USID, and a custom identifier.
[0521] Exemplarily, the third device is a perception initiating device or a perception proxy responding device. For example, the third device is an access point device.
[0522] That is, the third device sends third identification information of at least one perception signal sending device corresponding to the perception signal receiving device to the perception signal receiving device; after receiving the third identification information corresponding to the at least one perception signal sending device corresponding to the perception signal receiving device, the perception signal receiving device can correctly receive the perception signal during the perception measurement process.
[0523] Exemplarily, the third identification information is carried in at least one of the following frames: a perception setting request frame; a perception polling trigger frame; and a perception measurement trigger frame.
[0524] That is, during a sensing measurement setup process, the sensing signal receiving device obtains the third identifier of the at least one sensing signal sending device corresponding thereto by receiving a sensing setup request frame; or, in a sensing measurement instance, the sensing signal receiving device obtains the third identifier of the at least one sensing signal sending device corresponding thereto by receiving a sensing polling trigger frame; or, in a sensing measurement instance, the sensing signal receiving device obtains the third identifier of the at least one sensing signal sending device corresponding thereto by receiving a sensing measurement trigger frame.
[0525] Exemplarily, the third identification information is carried in at least one of the following fields: a measurement setting parameter element in a perception setting request frame; trigger frame-specific user information of a perception polling trigger frame; and trigger frame-specific user information of a perception measurement trigger frame.
[0526] Optionally, the aforementioned field also includes information about the number of perception signal sending devices.
[0527] For the structural diagram of the perception setting request frame, the perception polling trigger frame and the perception measurement trigger frame, please refer to the detailed description in the embodiment shown in Figure 41, which will not be repeated here.
[0528] Exemplarily, after receiving the perception measurement trigger frame, the perception signal receiving device needs to obtain relevant information of the perception signal to be received by parsing the perception measurement trigger frame.
[0529] Exemplarily, the perception signal receiving device obtains relevant information of the perception signal to be received by parsing a site information field in a perception measurement trigger frame, wherein the AID value is a first AID value and a second AID value. The first AID value is an AID value of the perception signal receiving device itself, and the second AID value is an AID value of at least one perception signal transmitting device corresponding to the perception signal receiving device.
[0530] That is, the perception signal receiving device needs to parse the site information field related to itself and the corresponding perception signal sending device in the perception measurement trigger frame.
[0531] Optionally, the relevant information of the perception signal includes at least one of a bandwidth and a spatial stream of the perception signal (eg, a measurement frame NDP).
[0532] In summary, the method provided in the embodiment of the present application, by receiving the third identification information of at least one perception signal sending device, enables the perception signal receiving device to know its corresponding perception signal sending device, thereby correctly receiving the perception signal during the perception measurement process, thereby improving the efficiency and accuracy of the perception measurement.
[0533] FIG41 shows a block diagram of a device for obtaining a custom identifier provided by an exemplary embodiment of the present application. The device includes an obtaining module 720 .
[0534] The acquisition module 720 is configured to acquire a custom identifier of the first device, where the custom identifier is used to identify the first device during a wireless local area network (WLAN) perception process.
[0535] In a possible implementation, the acquisition module 720 further includes a receiving submodule 722. The receiving submodule 722 is configured to receive the custom identifier configured for the first device by a third-party configuration program.
[0536] In a possible implementation, the receiving submodule 722 is configured to receive the custom identifier configured for the first device by the third-party configuration program through a communication method other than a communication method based on the IEEE 802.11 protocol.
[0537] In a possible implementation, the communication method other than the Institute of Electrical and Electronics Engineers IEEE 802.11 protocol includes at least one of the following: a communication method based on the Transmission Control Protocol TCP; a communication method based on the User Datagram Protocol UDP; or a communication method based on the Bluetooth protocol.
[0538] In a possible implementation, the third-party configuration program runs on at least one of the following devices: a configurator device; a perception initiating device; and a perception agent initiating device.
[0539] In a possible implementation, when the third-party configuration program runs on the configurator device, the custom identifier of the first device remains consistent in all perception measurements; when the third-party configuration program runs on the perception initiating device, the custom identifier of the first device remains consistent in the perception measurements initiated by the perception initiating device; when the third-party configuration program runs on the perception agent initiating device, the custom identifier of the first device remains consistent in the perception measurements initiated by the perception agent initiating device.
[0540] In one possible implementation, the receiving submodule 722 is used for the upper-layer application in the first device to receive the custom identifier configured for the first device by a third-party configuration program; and the acquisition module 720 is used for the upper-layer application in the first device to set the custom identifier to the site management entity in the first device.
[0541] In a possible implementation, the acquisition module 720 is configured to enable the upper layer application to set the custom identifier into a site management entity in the first device through a site internal interface.
[0542] In a possible implementation, the correspondence between the custom identifier and the first identification information corresponding to the first device is stored in a database or server; wherein the first identification information includes at least one of a media access control MAC address, an associated identifier AID, and a non-associated identifier USID.
[0543] In a possible implementation, the acquisition module 720 further includes a generation submodule 724. The generation submodule 724 is configured to generate the custom identifier of the first device.
[0544] In one possible embodiment, the generation submodule 724 is used for the upper-layer application in the first device to generate the custom identifier; the upper-layer application in the first device sets the custom identifier to the site management entity in the first device; or, the site management entity in the first device generates the custom identifier; the site management entity in the first device sets the custom identifier.
[0545] In a possible implementation, the acquisition module 720 is configured to enable an upper-layer application in the first device to acquire the custom identifier (via a site internal interface) when the site management entity in the first device generates the custom identifier.
[0546] In a possible implementation, the acquisition module 720 is configured to enable an upper-layer application in the first device to set the custom identifier to a site management entity in the first device through a site internal interface.
[0547] In a possible implementation, the custom identifier is determined based on a random value.
[0548] In a possible implementation, the random value belongs to a first value range.
[0549] In a possible implementation, the acquisition module 720 further includes a sending submodule 726. The sending submodule 726 is configured to enable an upper layer application in the first device to send the custom identifier to a third-party application program via a communication method other than the IEEE 802.11 protocol.
[0550] In a possible implementation, the communication mode other than that based on the IEEE 802.11 protocol includes at least one of the following: a communication mode based on the Transmission Control Protocol TCP; a communication mode based on the User Datagram Protocol UDP; or a communication mode based on the Bluetooth protocol.
[0551] In a possible implementation, the third-party application runs on at least one of the following: a service providing device; a perception initiating device; and a perception proxy initiating device.
[0552] In a possible implementation, the custom identifier and the first identification information corresponding to the first device are stored in a database or a server.
[0553] In a possible implementation manner, the custom identifier of the perception initiating device is a default value.
[0554] In a possible implementation, the receiving submodule 722 is configured to receive a custom identifier configured by a perception application for the first device; or receive a perception setting request frame, where the perception setting request frame carries the custom identifier of the first device.
[0555] In a possible implementation, the perception application runs on at least one of the following devices: a perception initiating device; a perception agent initiating device; a perception agent responding device; or an access point device.
[0556] In a possible implementation, the awareness setting request frame is sent by at least one of the following devices: an awareness initiating device; an awareness proxy initiating device; an awareness proxy responding device; or an access point device.
[0557] FIG42 shows a block diagram of a device for generating a custom identifier according to an exemplary embodiment of the present application, wherein the device includes a generating module 820 and a storing module 840 .
[0558] The generating module 820 is configured to generate a custom identifier for the first device, where the custom identifier is used to identify the first device during the WLAN sensing process;
[0559] The storage module 840 is configured to store the correspondence between the custom identifier of the first device and the first identification information; wherein the first identification information includes at least one of a MAC address, an AID, and a USID.
[0560] In one possible embodiment, the generation module 820 is used for the perception application in the second device to generate the custom identifier of the first device; the saving module 840 is used for the perception application in the second device to save the correspondence between the custom identifier of the first device and the first identification information to the site management entity in the second device.
[0561] In a possible implementation, the saving module 840 is used for the perception application in the second device to save the correspondence between the custom identifier and the first identification information of the first device to the site management entity in the second device through the internal interface of the device.
[0562] In a possible implementation, the second device includes a perception initiating device, a perception proxy responding device, or an access point device, and the generating module 820 includes a sending submodule 822. The sending submodule 822 is configured to send the custom identifier to the first device.
[0563] In a possible implementation, the sending submodule 822 is configured to send the custom identifier to the first device via a perception application; or send the custom identifier to the first device via a perception setting request frame.
[0564] In a possible implementation, the second device includes a perception agent initiating device or a site device, and the sending submodule 822 is configured to send the correspondence between the custom identifier of the first device and the first identification information to the perception agent responding device or the access point device.
[0565] In a possible implementation, the sending submodule 822 is configured to send a perception agent request frame to the perception agent response device or the access point device, where the perception agent request frame includes a correspondence between the custom identifier of the first device and the first identification information.
[0566] FIG43 shows a block diagram of a device for using a custom identifier provided by an exemplary embodiment of the present application. The device includes a reporting module 920 .
[0567] The reporting module 920 is configured to report a perception result, a custom identifier of a perception signal sending device, and a custom identifier of a perception signal receiving device; wherein the custom identifier is used to identify the identity of a perception participating device during a WLAN perception process, and the perception signal sending device and the perception signal receiving device correspond to the perception result.
[0568] In one possible implementation, the reporting module 920 is used to report the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device to the perception application in the third device; or, to forward the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device to the perception agent requesting device through a perception agent reporting frame.
[0569] In a possible implementation, the reporting module 920 includes a receiving submodule 922. The receiving submodule 922 is configured to receive a perception setting response frame, where the perception setting response frame carries a custom identifier of the perception participating device.
[0570] In a possible implementation, the third device is a perception signal sending device corresponding to the perception result, and the receiving submodule 922 is configured to receive a perception measurement reporting frame, where the perception measurement reporting frame carries the perception result and a custom identifier of the perception signal receiving device.
[0571] In a possible implementation, the reporting module 920 includes a setting submodule 924. The setting submodule 924 is configured to set the custom identifier of the perception signal sending device as the custom identifier of the third device; or set the custom identifier of the perception signal sending device to a default value.
[0572] In a possible implementation, the third device is a perception signal receiving device corresponding to the perception result, and the receiving submodule 922 is used to receive a perception setting response frame sent by the perception signal sending device, where the perception setting response frame carries a custom identifier of the perception signal sending device.
[0573] In a possible implementation, the receiving submodule 922 is configured to receive a perception measurement reporting frame, where the perception measurement reporting frame carries the perception result and second identification information of the perception signal sending device; wherein the custom identifier of the perception signal sending device is determined based on a correspondence between the custom identifier and the second identification information, and the second identification information includes at least one of an AID and a USID.
[0574] In a possible implementation, the receiving submodule 922 is configured to receive a perception measurement reporting frame, where the perception measurement reporting frame carries the perception result, a custom identifier of the perception signal sending device, and a custom identifier of the perception signal receiving device.
[0575] In a possible implementation, the reporting module 920 includes a sending submodule 926. The sending submodule 926 is configured to send a perception measurement trigger frame, where the perception measurement trigger frame carries a custom identifier of the perception signal sending device and / or the perception signal receiving device.
[0576] In a possible implementation, the receiving submodule 922 is configured to receive a perception measurement reporting frame, where the perception measurement reporting frame carries the perception result, second identification information of the perception signal sending device, and second identification information of the perception signal receiving device; wherein the custom identifiers of the perception signal sending device and the perception signal receiving device are determined based on a correspondence between the custom identifier and the second identification information.
[0577] In a possible implementation, the method is applicable to at least one of the following situations: the third device is not the perception signal sending device and the perception signal receiving device corresponding to the perception result; a site-to-site perception measurement instance is included; and the access point device stores the corresponding relationship.
[0578] In one possible implementation, the reporting module 920 includes an acquisition submodule 928. The acquisition submodule 928 is configured to acquire the corresponding relationship during a custom identifier setting process, or acquire the corresponding relationship based on an awareness setting response frame sent by the site, where the awareness setting response frame carries the custom identifier of the site.
[0579] FIG44 shows a block diagram of a device for using a custom identifier provided by an exemplary embodiment of the present application. The device includes a receiving module 1020 .
[0580] The receiving module 1020 is configured to receive a perception result, a custom identifier of a perception signal sending device, and a custom identifier of a perception signal receiving device; wherein the custom identifier is used to identify the identity of a perception participating device during a WLAN perception process, and the perception signal sending device and the perception signal receiving device correspond to the perception result.
[0581] FIG45 shows a block diagram of a device for using a custom identifier provided by an exemplary embodiment of the present application. The device includes a sending module 1120 .
[0582] The sending module 1120 is configured to send a perception measurement reporting frame, where the perception measurement reporting frame carries a perception result and a custom identifier of the perception signal receiving device; wherein the custom identifier is used to identify the identity of the perception signal receiving device during the WLAN perception process.
[0583] In a possible implementation, the perception measurement reporting frame further carries: a custom identifier of the perception signal sending device corresponding to the perception result; or second identification information of the perception signal sending device corresponding to the perception result, where the second identification information includes at least one of an AID and a USID.
[0584] In a possible implementation, the sending module 1120 further includes a receiving submodule 1122. The receiving submodule 1122 is configured to receive a perception measurement trigger frame, where the perception measurement trigger frame carries a custom identifier of the perception signal sending device and / or the perception signal receiving device.
[0585] FIG46 shows a block diagram of a device for receiving a perception signal provided by an exemplary embodiment of the present application. The device includes a sending module 1220 .
[0586] The sending module 1220 is used to send third identification information of at least one perception signal sending device, where the third identification information includes at least one of a MAC address, an AID, a USID, and a custom identifier.
[0587] In a possible implementation manner, the third identification information is carried in at least one of the following frames: a sensing setting request frame; a sensing polling trigger frame; or a sensing measurement trigger frame.
[0588] In a possible implementation, the third identification information carries at least one of the following fields: a measurement setting parameter element in a perception setting request frame; trigger frame-specific user information of a perception polling trigger frame; and trigger frame-specific user information of a perception measurement trigger frame.
[0589] In a possible implementation, the field further includes information about the number of the perception signal sending devices.
[0590] In a possible implementation, the fourth device is a perception agent response device, and the sending module 1220 further includes a receiving submodule 1222. The receiving submodule 1222 is configured to receive a perception agent request frame, where the perception agent request frame carries third identification information of a perception signal receiving device and third identification information of at least one perception signal sending device corresponding to the perception signal receiving device.
[0591] In a possible implementation, the third identification information is carried in a perception response device list field of the perception agent request frame.
[0592] In a possible implementation, the perception response device list field further includes information about the number of perception response devices, and the perception response devices include the perception signal receiving device and the perception signal sending device.
[0593] FIG47 shows a block diagram of a device for receiving a perception signal provided by an exemplary embodiment of the present application. The device includes a receiving module 1320 .
[0594] The receiving module 1320 is used to receive third identification information of at least one perception signal sending device, where the third identification information includes at least one of a MAC address, an AID, a USID, and a custom identifier.
[0595] In a possible implementation manner, the third identification information is carried in at least one of the following frames: a sensing setting request frame; a sensing polling trigger frame; or a sensing measurement trigger frame.
[0596] In a possible implementation, the third identification information carries at least one of the following fields: a measurement setting parameter element in a perception setting request frame; trigger frame-specific user information of a perception polling trigger frame; and trigger frame-specific user information of a perception measurement trigger frame.
[0597] In a possible implementation, the field further includes information about the number of the perception signal sending devices.
[0598] Please refer to FIG48 , which shows a schematic diagram of the structure of a WLAN device 130 provided in one embodiment of the present application. The WLAN device 130 may include: a processor 131 , a memory 132 , and a bus 133 .
[0599] The processor 131 includes one or more processing cores. The processor 131 executes various functional applications and information processing by running software programs and modules.
[0600] The memory 132 is connected to the processor 131 via a bus 133 .
[0601] The memory 132 may be used to store a computer program, and the processor 131 may be used to execute the computer program to implement the various steps performed by the WLAN device in the above method embodiment.
[0602] In addition, the memory 132 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, including but not limited to: RAM (Random-Access Memory) and ROM (Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory or other solid-state memory, CD-ROM (Compact Disc Read-Only Memory), DVD (Digital Video Disc) or other optical storage, tape cassettes, magnetic tape, disk storage or other magnetic storage devices.
[0603] When the WLAN device 130 is a first device, it is used to set a custom identifier for the first device, where the custom identifier is used to identify the identity of the first device during a WLAN sensing process.
[0604] When the WLAN device 130 is a second device, it is used to generate a custom identifier for the first device, where the custom identifier is used to identify the identity of the sensing participating device during the WLAN sensing process; and save the correspondence between the custom identifier and first identification information of the first device; wherein the first identification information includes at least one of a MAC address, an AID, and a USID.
[0605] When the WLAN device 130 is an access point device, it is used to report the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device; wherein the custom identifier is used to identify the identity of the perception participating device during the WLAN perception process, and the perception signal sending device and the perception signal receiving device correspond to the perception result.
[0606] When the WLAN device 130 is a perception initiating device or a perception proxy initiating device, it is configured to receive a perception result, a custom identifier of a perception signal sending device, and a custom identifier of a perception signal receiving device; wherein the custom identifier is used to identify the identity of a perception participating device during a WLAN perception process, and the perception signal sending device and the perception signal receiving device correspond to the perception result.
[0607] When the WLAN device 130 is a perception signal receiving device, it is used to send a perception measurement reporting frame, where the perception measurement reporting frame carries the perception result and a custom identifier of the perception signal receiving device; wherein the custom identifier is used to identify the identity of the perception participating device during the WLAN perception process.
[0608] In some embodiments, the WLAN device 130 further includes a transceiver 134 connected to the processor 131 . The transceiver 134 may include a receiver 135 and a transmitter 136 .
[0609] For details not described in detail in this embodiment, please refer to the above embodiments and will not be described in detail here.
[0610] In some embodiments, the present application also provides a computer-readable storage medium, which stores a computer program. The computer program is loaded and executed by the perception participating device so that the perception participating device implements the above-mentioned method for obtaining the custom identifier on the first device side.
[0611] In some embodiments, the present application also provides a computer-readable storage medium, which stores a computer program. The computer program is loaded and executed by the perception participating device so that the perception participating device implements the above-mentioned method for generating a custom identifier on the second device side.
[0612] In some embodiments, the present application also provides a computer-readable storage medium, which stores a computer program. The computer program is loaded and executed by the perception participating device to enable the perception participating device to implement the method of using the custom identifier on the access point device side.
[0613] In some embodiments, the present application also provides a computer-readable storage medium, which stores a computer program. The computer program is loaded and executed by the perception participating device so that the perception participating device implements the method of using the custom identifier on the above-mentioned perception initiating device or perception proxy initiating device side.
[0614] In some embodiments, the present application also provides a computer-readable storage medium, which stores a computer program. The computer program is loaded and executed by the perception participating device so that the perception participating device implements the method of using the custom identifier on the above-mentioned perception signal receiving device side.
[0615] In some embodiments, the present application also provides a computer-readable storage medium, which stores a computer program. The computer program is loaded and executed by the perception participating device so that the perception participating device implements the above-mentioned method for receiving the perception signal on the third device side.
[0616] In some embodiments, the present application also provides a computer-readable storage medium, which stores a computer program. The computer program is loaded and executed by the perception participating device so that the perception participating device implements the above-mentioned perception signal receiving method on the perception signal receiving device side.
[0617] Optionally, the computer-readable storage medium may include: ROM (Read-Only Memory), RAM (Random-Access Memory), SSD (Solid State Drives), or an optical disk, etc. Among them, the random access memory may include ReRAM (Resistance Random Access Memory) and DRAM (Dynamic Random Access Memory).
[0618] In some embodiments, the present application also provides a chip, which includes a programmable logic circuit or a program, and the chip is used to implement the above-mentioned method for obtaining a custom identifier on the first device side.
[0619] In some embodiments, the present application also provides a chip, which includes a programmable logic circuit or a program, and the chip is used to implement the above-mentioned method for generating a custom identifier on the second device side.
[0620] In some embodiments, the present application further provides a chip, which includes a programmable logic circuit or a program, and the chip is used to implement the method for using the custom identifier on the access point device side.
[0621] In some embodiments, the present application also provides a chip, which includes a programmable logic circuit or program, and the chip is used to implement the method of using the custom identifier on the above-mentioned perception initiating device or perception proxy initiating device side.
[0622] In some embodiments, the present application also provides a chip, which includes a programmable logic circuit or a program, and the chip is used to implement the method of using the custom identifier on the side of the above-mentioned perception signal receiving device.
[0623] In some embodiments, the present application also provides a chip, which includes a programmable logic circuit or program, and the chip is used to implement the above-mentioned method for receiving the perception signal on the third device side.
[0624] In some embodiments, the present application also provides a chip, which includes a programmable logic circuit or a program, and the chip is used to implement the above-mentioned perception signal receiving method on the perception signal receiving device side.
[0625] In some embodiments, the present application also provides a computer program product, wherein the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The perception participating device reads and executes the computer instructions from the computer-readable storage medium, so that the perception participating device implements the above-mentioned method for obtaining the custom identifier on the first device side.
[0626] In some embodiments, the present application also provides a computer program product, wherein the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The perception participating device reads and executes the computer instructions from the computer-readable storage medium so that the perception participating device implements the above-mentioned method for generating a custom identifier on the second device side.
[0627] In some embodiments, the present application also provides a computer program product, wherein the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The perception participating device reads and executes the computer instructions from the computer-readable storage medium, so that the perception participating device implements the above-mentioned method for using the custom identifier on the access point device side.
[0628] In some embodiments, the present application also provides a computer program product, wherein the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The perception participating device reads and executes the computer instructions from the computer-readable storage medium, so that the perception participating device implements the above-mentioned method of using the custom identifier on the perception initiating device or the perception proxy initiating device side.
[0629] In some embodiments, the present application also provides a computer program product, wherein the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The perception participating device reads and executes the computer instructions from the computer-readable storage medium, so that the perception participating device implements the above-mentioned method of using the custom identifier on the perception signal receiving device side.
[0630] In some embodiments, the present application also provides a computer program product, wherein the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The perception participating device reads and executes the computer instructions from the computer-readable storage medium, so that the perception participating device implements the above-mentioned method for receiving perception signals on the third device side.
[0631] In some embodiments, the present application also provides a computer program product, wherein the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The perception participating device reads and executes the computer instructions from the computer-readable storage medium, so that the perception participating device implements the above-mentioned perception signal receiving method on the perception signal receiving device side.
[0632] 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.
[0633] 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.
[0634] In this document, "plurality" refers to two or more. "And / or" describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, or B exists alone. The character " / " generally indicates an "or" relationship between the associated objects.
[0635] "Less than or equal to" mentioned herein may mean less than or equal to or less than.
[0636] In addition, the step numbers described in this document only illustrate a possible execution order 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 of the diagram. The embodiments of the present application are not limited to this.
[0637] 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.
[0638] 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 obtaining a custom identifier, characterized in that: The method is performed by a first device, and includes: Obtain a custom identifier of the first device, where the custom identifier is used to identify the identity of the first device during a wireless local area network (WLAN) perception process.
2. The method according to claim 1, characterized in that The obtaining of the custom identifier of the first device includes: The custom identifier configured for the first device by a third-party configuration program is received.
3. The method according to claim 2, characterized in that The receiving the custom identifier configured for the first device by a third-party configuration program includes: The user-defined identifier configured for the first device by the third-party configuration program is received by a communication method other than the Institute of Electrical and Electronics Engineers (IEEE) 802.11 protocol.
4. The method according to claim 3, characterized in that The communication method other than that based on the IEEE 802.11 protocol includes at least one of the following: Communication method based on Transmission Control Protocol TCP; Communication method based on User Datagram Protocol UDP; Communication method based on Bluetooth protocol.
5. The method according to claim 2, characterized in that The third-party configuration program runs on at least one of the following devices: Configurator device; Perception initiating device; Perception agent initiating device.
6. The method according to claim 5, characterized in that In a case where the third-party configuration program is run on the configurator device, the custom identifier of the first device remains consistent across all perception measurements; In a case where the third-party configuration program is run on the perception initiating device, the custom identifier of the first device remains consistent in the perception measurement initiated by the perception initiating device; In a case where the third-party configuration program runs on the perception agent initiating device, the custom identifier of the first device remains consistent in the perception measurement initiated by the perception agent initiating device.
7. The method according to any one of claims 2 to 6, characterized in that: The receiving the custom identifier configured for the first device by a third-party configuration program includes: The upper layer application in the first device receives the custom identifier configured for the first device by a third-party configuration program; The method further comprises: The upper layer application in the first device sets the custom identifier to the site management entity in the first device.
8. The method according to claim 7, characterized in that The upper layer application sets the custom identifier to a site management entity in the first device, including: The upper layer application sets the custom identifier to the site management entity in the first device through the site internal interface.
9. The method according to any one of claims 2 to 7, characterized in that: The correspondence between the custom identifier and the first identification information corresponding to the first device is stored in a database or a server; The first identification information includes at least one of a media access control MAC address, an association identifier AID, and a non-association identifier USID.
10. The method according to claim 1, characterized in that The obtaining of the custom identifier of the first device includes: The custom identifier of the first device is generated.
11. The method according to claim 10, characterized in that The generating the custom identifier of the first device and the setting the custom identifier of the first device include: The upper layer application in the first device generates the custom identifier; the upper layer application in the first device sets the custom identifier to the site management entity in the first device; or, The site management entity in the first device generates the custom identifier; the site management entity in the first device sets the custom identifier.
12. The method according to claim 11, characterized in that The method further comprises: In the case where the site management entity in the first device generates the custom identifier, the upper layer application in the first device obtains the custom identifier through the site internal interface.
13. The method according to claim 11, characterized in that The upper layer application in the first device sets the custom identifier to the site management entity in the first device, including: The upper layer application in the first device sets the custom identifier to the site management entity in the first device through the site internal interface.
14. The method according to any one of claims 10 to 13, characterized in that: The custom identifier is determined based on a random value.
15. The method according to claim 14, characterized in that The random value belongs to a first value range.
16. The method according to claim 11, characterized in that The method further comprises: The upper layer application in the first device sends the custom identifier to the third-party application program through a communication method other than that based on the IEEE 802.11 protocol.
17. The method according to claim 16, characterized in that The communication method other than that based on the IEEE 802.11 protocol includes at least one of the following: TCP-based communication method; UDP-based communication method; Communication method based on Bluetooth protocol.
18. The method according to claim 16, characterized in that The third-party application runs on at least one of the following: service provision equipment; Perception initiating device; Perception agent initiating device.
19. The method according to any one of claims 10 to 18, characterized in that: The custom identifier and the first identification information corresponding to the first device are stored in a database or a server.
20. The method according to claim 18, wherein The custom identifier of the perception initiating device is a default value.
21. The method according to claim 1, wherein The obtaining of the custom identifier of the first device includes: receiving a custom identifier configured for the first device by a perception application; or, An awareness setting request frame is received, where the awareness setting request frame carries a custom identifier of the first device.
22. The method according to claim 21, characterized in that The perception application runs on at least one of the following devices: Perception initiating device; Perception agent initiating device; Perception Agent Response Device; Access point device.
23. The method according to claim 21, characterized in that The perception setting request frame is sent by at least one of the following devices: Perception initiating device; Perception agent initiating device; Perception Agent Response Device; Access point device.
24. A method for generating a custom identifier, characterized in that: The method is performed by a second device, and includes: Generate a custom identifier for the first device, where the custom identifier is used to identify the identity of the first device during a wireless local area network (WLAN) perception process; Saving the correspondence between the custom identifier and the first identification information of the first device; The first identification information includes at least one of a media access control MAC address, an association identifier AID, and a non-association identifier USID.
25. The method according to claim 24, characterized in that Generating a custom identifier for the first device includes: The perception application in the second device generates the custom identifier of the first device; The storing the correspondence between the custom identifier and the first identification information of the first device includes: The perception application in the second device saves the correspondence between the custom identifier and the first identification information of the first device to the site management entity in the second device.
26. The method according to claim 25, characterized in that The perception application in the second device saves the correspondence between the custom identifier and the first identification information of the first device to the site management entity in the second device, including: The perception application in the second device saves the correspondence between the custom identifier and the first identification information of the first device to the site management entity in the second device through the internal interface of the device.
27. The method according to any one of claims 24 to 26, characterized in that The second device includes a perception initiating device, a perception proxy responding device, or an access point device, and the method further includes: The custom identifier is sent to the first device.
28. The method according to claim 27, characterized in that The sending the custom identifier to the first device includes: sending the custom identifier to the first device via a sensing application; or, The custom identifier is sent to the first device via a perception setting request frame.
29. The method according to any one of claims 24 to 26, characterized in that The second device includes a perception agent initiating device or a site device, and the method further includes: The correspondence between the custom identifier of the first device and the first identification information is sent to the perception agent response device or the access point device.
30. The method according to claim 29, wherein The sending the correspondence between the custom identifier of the first device and the first identification information to the perception agent response device or the access point device includes: Sending an awareness agent request frame to an awareness agent response device or an access point device, where the awareness agent request frame includes a correspondence between the custom identifier of the first device and first identification information.
31. A method for using a custom identifier, characterized in that: The method is performed by a third device, and includes: Reporting the perception results, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device; The custom identifier is used to identify the identity of the perception participating device during the wireless local area network WLAN perception process, and the perception signal sending device and the perception signal receiving device correspond to the perception result.
32. The method according to claim 31, characterized in that The method further comprises: reporting the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device to the perception application in the third device; or, The perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device are forwarded to a perception agent requesting device through a perception agent reporting frame.
33. The method according to claim 32, characterized in that The method further comprises: A perception setting response frame is received, where the perception setting response frame carries a custom identifier of the perception participating device.
34. The method according to claim 32, wherein The third device is a perception signal sending device corresponding to the perception result, and the method further includes: A perception measurement reporting frame is received, where the perception measurement reporting frame carries the perception result and a custom identifier of the perception signal receiving device.
35. The method according to claim 34, wherein The method further comprises: Setting the custom identifier of the perception signal sending device as the custom identifier of the third device; or, The custom identifier of the perception signal sending device is set to a default value.
36. The method according to claim 32, wherein The third device is a perception signal receiving device corresponding to the perception result, and the method further includes: A perception setting response frame sent by the perception signal sending device is received, where the perception setting response frame carries a custom identifier of the perception signal sending device.
37. The method according to claim 32, wherein The method further comprises: receiving a perception measurement reporting frame, where the perception measurement reporting frame carries the perception result and second identification information of the perception signal sending device; The custom identifier of the perception signal sending device is determined based on the correspondence between the custom identifier and second identification information, and the second identification information includes at least one of an associated identifier AID and a non-associated identifier USID.
38. The method according to claim 32, wherein The method further comprises: A perception measurement reporting frame is received, where the perception measurement reporting frame carries the perception result, a custom identifier of the perception signal sending device, and a custom identifier of the perception signal receiving device.
39. The method according to claim 38, characterized in that The method further comprises: A perception measurement trigger frame is sent, where the perception measurement trigger frame carries a custom identifier of the perception signal sending device and / or the perception signal receiving device.
40. The method according to claim 32, wherein The method further comprises: receiving a perception measurement reporting frame, where the perception measurement reporting frame carries the perception result, second identification information of the perception signal sending device, and second identification information of the perception signal receiving device; The custom identifiers of the perception signal sending device and the perception signal receiving device are determined based on a correspondence between the custom identifier and the second identification information.
41. The method according to any one of claims 37 to 40, characterized in that The method is applicable to at least one of the following situations: The third device is not the perception signal sending device and the perception signal receiving device corresponding to the perception result; Includes site-to-site perception measurement examples; The access point device stores the corresponding relationship.
42. The method according to claim 41, wherein The method further comprises: During the process of setting the custom identifier, obtaining the corresponding relationship; or, The corresponding relationship is acquired based on an awareness setting response frame sent by the site, where the awareness setting response frame carries a custom identifier of the site.
43. A method for using a custom identifier, characterized in that: The method is performed by a perception initiating device or a perception proxy initiating device, and the method includes: receiving a sensing result, a custom identifier of a sensing signal transmitting device, and a custom identifier of a sensing signal receiving device; The custom identifier is used to identify the identity of the perception participating device during the wireless local area network WLAN perception process, and the perception signal sending device and the perception signal receiving device correspond to the perception result.
44. A method for using a custom identifier, characterized in that: The method is performed by a perception signal receiving device, and the method includes: Sending a perception measurement reporting frame, where the perception measurement reporting frame carries a perception result and a custom identifier of the perception signal receiving device; The custom identifier is used to identify the identity of the perception signal receiving device during the wireless local area network WLAN perception process.
45. The method according to claim 44, wherein The perception measurement reporting frame also carries: a custom identifier of a device sending a perception signal corresponding to the perception result; or, The second identification information of the perception signal sending device corresponding to the perception result includes at least one of an associated identifier AID and a non-associated identifier USID.
46. The method according to claim 45, characterized in that The method further comprises: A perception measurement trigger frame is received, where the perception measurement trigger frame carries a custom identifier of the perception signal sending device and / or the perception signal receiving device.
47. A method for receiving a perception signal, characterized in that: The method is performed by a fourth device, and includes: Send third identification information of at least one perception signal sending device, where the third identification information includes at least one of a media access control MAC address, an association identifier AID, a non-association identifier USID, and a custom identifier.
48. The method according to claim 47, wherein The third identification information is carried in at least one of the following frames: Perception setting request frame; Perception polling trigger frame; Perception measurement trigger frame.
49. The method according to claim 47, wherein The third identification information is carried in at least one of the following fields: The measurement setting parameter element in the perception setting request frame; Sense the trigger frame specific user information of the polling trigger frame; The trigger frame-specific user information of the perception measurement trigger frame.
50. The method according to claim 49, wherein The field also includes information about the number of the perception signal sending devices.
51. The method according to claim 47, wherein The fourth device is a perception agent response device, and the method further includes: A perception agent request frame is received, where the perception agent request frame carries third identification information of a perception signal receiving device and third identification information of at least one perception signal sending device corresponding to the perception signal receiving device.
52. The method according to claim 51, characterized in that The third identification information is carried in the perception response device list field of the perception agent request frame.
53. The method according to claim 52, characterized in that The perception response device list field also includes information about the number of perception response devices, and the perception response devices include the perception signal receiving device and the perception signal sending device.
54. A method for receiving a perception signal, characterized in that: The method is performed by a perception signal receiving device, and the method includes: Receive third identification information of at least one perception signal sending device, where the third identification information includes at least one of a media access control MAC address, an association identifier AID, a non-association identifier USID, and a custom identifier.
55. The method according to claim 54, characterized in that The third identification information is carried in at least one of the following frames: Perception setting request frame; Perception polling trigger frame; Perception measurement trigger frame.
56. The method according to claim 55, characterized in that The third identification information is carried in at least one of the following fields: The measurement setting parameter element in the perception setting request frame; Sense the trigger frame specific user information of the polling trigger frame; The trigger frame-specific user information of the perception measurement trigger frame.
57. The method according to claim 56, characterized in that The field also includes information about the number of the perception signal sending devices.
58. A device for obtaining a custom identifier, characterized in that: The device comprises: The acquisition module is configured to acquire a custom identifier of the first device, where the custom identifier is used to identify the identity of the first device during a WLAN perception process.
59. A device for generating a custom identifier, characterized in that: The device comprises: a generating module, configured to generate a custom identifier for a first device, where the custom identifier is used to identify the identity of the first device during a WLAN sensing process; Saving the correspondence between the custom identifier and the first identification information of the first device; The first identification information includes at least one of a media access control MAC address, an association identifier AID, and a non-association identifier USID.
60. A device for using a custom identifier, characterized in that: The device comprises: A reporting module, configured to report the perception result, the custom identifier of the perception signal sending device, and the custom identifier of the perception signal receiving device; The custom identifier is used to identify the identity of the perception participating device during the wireless local area network WLAN perception process, and the perception signal sending device and the perception signal receiving device correspond to the perception result.
61. A device for using a custom identifier, characterized in that: The device comprises: A receiving module, configured to receive a sensing result, a custom identifier of a sensing signal sending device, and a custom identifier of a sensing signal receiving device; The custom identifier is used to identify the identity of the perception participating device during the wireless local area network WLAN perception process, and the perception signal sending device and the perception signal receiving device correspond to the perception result.
62. A device for using a custom identifier, characterized in that: The device comprises: a sending module, configured to send a perception measurement reporting frame, wherein the perception measurement reporting frame carries a perception result and a custom identifier of the perception signal receiving device; The custom identifier is used to identify the identity of the perception signal receiving device during the wireless local area network WLAN perception process.
63. A receiving device for sensing a signal, characterized in that: The device comprises: The sending module is used to send the third identification information of at least one perception signal sending device, where the third identification information includes at least one of a media access control MAC address, an associated identifier AID, a non-associated identifier USID, and a custom identifier.
64. A receiving device for sensing a signal, characterized in that: The device comprises: The receiving module is used to receive third identification information of at least one perception signal sending device, where the third identification information includes at least one of a media access control MAC address, an associated identifier AID, a non-associated identifier USID, and a custom identifier.
65. A wireless local area network (WLAN) device, characterized in that: The WLAN device includes: a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor, so that the WLAN device implements the method for obtaining a custom identifier according to any one of claims 1 to 23, or implements the method for generating a custom identifier according to any one of claims 24 to 30, or implements the method for using a custom identifier according to any one of claims 31 to 42, or implements the method for using a custom identifier according to claim 43, or implements the method for using a custom identifier according to any one of claims 44 to 46, or implements the method for receiving a perception signal according to any one of claims 47 to 53, or implements the method for receiving a perception signal according to any one of claims 54 to 57.
66. A computer-readable storage medium, characterized in that The readable storage medium stores a computer program, which is loaded and executed by a perception participation device, so that the perception participation device implements the method for obtaining a custom identifier as described in any one of claims 1 to 23, or implements the method for generating a custom identifier as described in any one of claims 24 to 30, or implements the method for using a custom identifier as described in any one of claims 31 to 42, or implements the method for using a custom identifier as described in claim 43, or implements the method for using a custom identifier as described in any one of claims 44 to 46, or implements the method for receiving a perception signal as described in any one of claims 47 to 53, or implements the method for receiving a perception signal as described in any one of claims 54 to 57.
67. A chip, characterized in that: The chip includes a programmable logic circuit or a program so that a device equipped with the chip can implement the method for obtaining a custom identifier as described in any one of claims 1 to 23, or implement the method for generating a custom identifier as described in any one of claims 24 to 30, or implement the method for using a custom identifier as described in any one of claims 31 to 42, or implement the method for using a custom identifier as described in claim 43, or implement the method for using a custom identifier as described in any one of claims 44 to 46, or implement the method for receiving a perception signal as described in any one of claims 47 to 53, or implement the method for receiving a perception signal as described in any one of claims 54 to 57.
68. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium. The perception participation device reads and executes the computer instructions from the computer-readable storage medium, so that the perception participation device implements the method for obtaining a custom identifier as described in any one of claims 1 to 23, or implements the method for generating a custom identifier as described in any one of claims 24 to 30, or implements the method for using a custom identifier as described in any one of claims 31 to 42, or implements the method for using a custom identifier as described in claim 43, or implements the method for using a custom identifier as described in any one of claims 44 to 46, or implements the method for receiving a perception signal as described in any one of claims 47 to 53, or implements the method for receiving a perception signal as described in any one of claims 54 to 57.