Context management method, apparatus, device, storage medium, and program product
By establishing a service-independent first-type context and a service-related second-type context between non-associated STA devices and AP devices, the problem of low context management efficiency in wireless LANs is solved, and efficient context management is achieved in various service scenarios.
Patent Information
- Application Number
- CN202280092628.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-13
- Publication Date
- 2025-11-11
- Estimated Expiration
- 2042-05-13
AI Technical Summary
In wireless LANs, context management between non-associated STA devices and AP devices is inefficient and makes it difficult to flexibly manage context information in various service scenarios.
Non-associated STA devices and AP devices establish multiple service-independent first-type contexts and each service-related second-type context, and maintain these contexts in their respective devices through signaling interaction.
It improves the efficiency and flexibility of context management, ensuring efficient context management when multiple services are executed in unrelated STAs.
Smart Images

Figure CN118765512B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless communication technology, and in particular to a context management method, apparatus, device, storage medium, and program product. Background Technology
[0002] In a wireless local area network (WLAN), services such as WLAN sensing and WLAN ranging can be achieved based on WLAN signals.
[0003] In related technologies, when a station (STA) device and an access point (AP) device perform services, both parties need to maintain context information, which contains relevant configuration information that supports basic communication and services. Summary of the Invention
[0004] This application provides a context management method, apparatus, device, storage medium, and program product. The technical solution is as follows:
[0005] On one hand, embodiments of this application provide a context management method, wherein the STA device is a non-associated STA of the AP device; the method includes:
[0006] Establish a first type of context and at least one second type of context with the access point (AP) device;
[0007] Wherein, the first type of context is a context unrelated to multiple services; the second type of context is a context related to one of the multiple services; at least one of the second type of contexts corresponds to one of the services.
[0008] On one hand, embodiments of this application provide a context management method, which is executed by an AP device, and the method includes:
[0009] Establish a first type of context and at least one second type of context with the STA device; the STA device is a non-associated STA of the AP device;
[0010] Wherein, the first type of context is a context unrelated to multiple services; the second type of context is a context related to one of the multiple services; at least one of the second type of contexts corresponds to one of the services.
[0011] On the other hand, embodiments of this application provide a STA device, which is a non-associated STA of an AP device; the device includes:
[0012] A context establishment module is used to establish a first type of context and at least one second type of context with the access point (AP) device;
[0013] Wherein, the first type of context is a context unrelated to multiple services; the second type of context is a context related to one of the multiple services; at least one of the second type of contexts corresponds to one of the services.
[0014] On the other hand, embodiments of this application provide a context management device, the device comprising:
[0015] A context establishment module is used to establish a first type of context and at least one second type of context with the STA device; the STA device is a non-associated STA of the AP device;
[0016] Wherein, the first type of context is a context unrelated to multiple services; the second type of context is a context related to one of the multiple services; at least one of the second type of contexts corresponds to one of the services.
[0017] On the other hand, embodiments of this application provide a STA device, which is a non-associated STA of an AP device; the computer device includes a processor, a memory, and a transceiver;
[0018] The processor is configured to establish a first type of context and at least one second type of context with the access point (AP) device;
[0019] Wherein, the first type of context is a context unrelated to multiple services; the second type of context is a context related to one of the multiple services; at least one of the second type of contexts corresponds to one of the services.
[0020] On the other hand, embodiments of this application provide an AP device, which includes a processor, a memory, and a transceiver;
[0021] The processor is configured to establish a first type of context and at least one second type of context with the STA device; the STA device is a non-associated STA of the AP device;
[0022] Wherein, the first type of context is a context unrelated to multiple services; the second type of context is a context related to one of the multiple services; at least one of the second type of contexts corresponds to one of the services.
[0023] In another aspect, embodiments of this application provide a computer device, which includes a processor, a memory, and a transceiver. The memory stores a computer program, which is executed by the processor to enable the computer device to implement the aforementioned context management method.
[0024] In another aspect, embodiments of this application also provide a computer-readable storage medium storing a computer program, which is loaded and executed by a processor to enable a computer device to perform the above-described context management method.
[0025] On the other hand, a computer program product is provided, the computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, causing the computer device to perform the aforementioned context management method.
[0026] On the other hand, a chip is provided, comprising: a processor for calling and running a computer program from memory, causing a computer device equipped with the chip to perform the aforementioned context management method.
[0027] On the other hand, a computer program is provided that is executed by the processor of a computer device to cause the computer device to perform the aforementioned context management method.
[0028] In this application embodiment, when services are performed between a non-associated STA device and an AP device, the non-associated STA device can establish a first type of context with the AP device, which consists of multiple service-independent contexts and a second type of context related to each service. By managing multiple types of contexts, the efficiency of context management is ensured in the scenario of performing services through a non-associated STA. Attached Figure Description
[0029] Figure 1 This is a schematic diagram of the network architecture of a communication system provided in one embodiment of this application;
[0030] Figure 2 This is a flowchart of a context management method provided in one embodiment of this application;
[0031] Figure 3 yes Figure 2 The illustrated embodiment is a schematic diagram of a context structure.
[0032] Figure 4 This is a flowchart of a context management method provided in one embodiment of this application;
[0033] Figure 5This is a schematic diagram of the context management architecture provided in one embodiment of this application;
[0034] Figure 6 This is a flowchart of a context management method provided in one embodiment of this application;
[0035] Figure 7 yes Figure 6 The illustrated embodiment is a schematic diagram of a context establishment process.
[0036] Figure 8 yes Figure 6 The illustrated embodiment is a schematic diagram of a context establishment process.
[0037] Figure 9 This is a block diagram of an STA device provided in one embodiment of this application;
[0038] Figure 10 This is a block diagram of a context management device provided in one embodiment of this application;
[0039] Figure 11 This is a schematic diagram of the structure of a computer device provided in one embodiment of this application. Detailed Implementation
[0040] The technical solutions of this application embodiment can be applied to various communication systems, such as Wireless Local Area Networks (WLAN), Wireless Fidelity (WiFi), or other communication systems.
[0041] For example, please refer to Figure 1 This illustration shows a schematic diagram of the network architecture of a communication system 100 provided in one embodiment of this application. The communication system 100 may include an access point 110 (i.e., AP) and a station 120 (i.e., STA) that accesses the network through the access point 110.
[0042] In some scenarios, AP is also called AP STA, meaning that in a certain sense, AP is also a type of STA.
[0043] In some scenarios, STA is also called non-AP STA.
[0044] The communication in the communication system 100 can be communication between an AP and a non-AP STA, communication between two non-AP STAs, or communication between a STA and a peer STA. Here, a peer STA can refer to a device that communicates with a STA on an equal footing. For example, a peer STA may be an AP or a non-AP STA.
[0045] An access point (AP) acts as a bridge connecting wired and wireless networks. Its main function is to connect various wireless network clients together and then connect the wireless network to the Ethernet. AP devices can be terminal devices with WiFi chips (such as mobile phones) or network devices (such as wireless routers, wireless switches, or wireless repeaters).
[0046] It should be understood that the role of a STA in a communication system is not absolute. For example, in some scenarios, when a mobile phone connects to a router, it is a non-AP STA; when the mobile phone acts as a hotspot for other mobile phones, it plays the role of an AP.
[0047] AP and non-AP STA can be devices used in vehicle networking, 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.
[0048] In some embodiments, the non-AP STA can support the 802.11be standard. The non-AP STA can also support various current and future 802.11 family of wireless local area networks (WLAN) standards, such as 802.11ax, 802.11ac, 802.11n, 802.11g, 802.11b, and 802.11a.
[0049] In some embodiments, the AP can be a device that supports the 802.11be standard. The AP can also be a device that supports various current and future 802.11 family WLAN standards such as 802.11ax, 802.11ac, 802.11n, 802.11g, 802.11b, and 802.11a.
[0050] In the embodiments of this application, STA can be a mobile phone, tablet, computer, virtual reality (VR) device, augmented reality (AR) device, wireless device in industrial control, set-top box, wireless device in self-driving, vehicle communication device, wireless device in remote medical care, wireless device in smart grid, wireless device in transportation safety, wireless device in smart city or smart home, wireless communication chip / ASIC / SOC, etc.
[0051] WLAN technology can support frequency bands including but not limited to: low frequency bands (e.g., 2.4GHz, 5GHz, 6GHz) and high frequency bands (e.g., 60GHz).
[0052] Figure 1 An exemplary embodiment shows one AP STA and two non-AP STAs. Optionally, the communication system 100 may include multiple AP STAs and other numbers of non-AP STAs, which is not limited in this application embodiment.
[0053] It should be understood that devices with communication functions in the network / system of this application embodiment can be referred to as communication devices. Figure 1 Taking the communication system 100 shown as an example, the communication equipment may include an access point 110 and a station 120 with communication functions. The access point 110 and the station 120 may be the specific equipment described above, which will not be repeated here. The communication equipment may also include other equipment in the communication system 100, such as network controllers, gateways and other network entities. This application embodiment does not limit this.
[0054] It should be understood that the terms "system" and "network" are often used interchangeably in this document. The term "and / or" in this document merely describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. Furthermore, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.
[0055] It should be understood that the term "instruction" mentioned in the embodiments of this application can be a direct instruction, an indirect instruction, or an indication of a relationship. For example, A instructing B can mean that A directly instructs B, such as B being able to obtain information through A; it can also mean that A indirectly instructs B, such as A instructing C, so B can obtain information through C; or it can mean that there is a relationship between A and B.
[0056] In the description of the embodiments of this application, the term "correspondence" may indicate that there is a direct or indirect correspondence between two things, or that there is an association between two things, or that there is a relationship of instruction and being instructed, configuration and being configured, etc.
[0057] In this application embodiment, "predefined" can be achieved by pre-storing corresponding codes, tables, or other means that can be used to indicate relevant information in the device (e.g., including access points and sites). This application does not limit the specific implementation method. For example, predefined can refer to what is defined in the protocol.
[0058] In this application embodiment, the "protocol" may refer to a standard protocol in the field of communication, such as the WiFi protocol and related protocols applied to future WiFi communication systems, and this application does not limit it.
[0059] Access point 110 and site 120 can associate and communicate via wireless LAN technology. This association refers to the process of negotiating wireless link services between the STA and AP to establish a wireless link between them.
[0060] Access point 110 and site 120 may not need to establish an association. Specifically, for access point 110, if a site 120 is not associated with access point 110, then site 120 can be called an unassociated STA (U-STA) of access point 110.
[0061] In some solutions, the AP and STA can perform services other than data transmission via wireless signals. For example, related technologies have proposed solutions using WLAN signals to implement WLAN sensing services. Furthermore, based on WLAN signals, AP and STA devices can also perform services such as WLAN ranging. In subsequent embodiments of this application, the services involved may include non-data transmission services implemented based on wireless signals between the AP and STA.
[0062] The solutions shown in the various embodiments of this application relate to a scenario where services are provided between a non-associated STA and an AP, in which context maintenance is required between the non-associated STA and the AP.
[0063] Please refer to Figure 2 The diagram illustrates a flowchart of a context management method provided in one embodiment of this application. This method can be executed by a STA device, wherein the STA device can be... Figure 1 One of the 120 stations in the network architecture shown; and, the STA device is a non-associated STA of the AP device, which can be Figure 1 Access point 110 in the network architecture shown. The method may include the following steps:
[0064] Step 201: Establish a first type of context and at least one second type of context with the access point device; the first type of context is a context unrelated to multiple services; the second type of context is a context related to one of the multiple services; at least one second type of context corresponds to one service respectively.
[0065] When establishing a first type context and at least one second type context with the access point device, the STA device can establish different contexts in multiple stages; for example, the STA device can first establish a first type context and one second type context, and then establish other second type contexts; or, the STA device can first establish a first type context, and then establish at least one second type context.
[0066] Alternatively, the STA device may also simultaneously establish the first type of context and at least one second type of context.
[0067] The aforementioned service-independent context can refer to a context unrelated to a specific service itself. For example, it could be a context shared by multiple services, such as a context providing basic communication functions. The characteristic of this service-independent context is that it is needed during the execution of multiple services; in other words, it applies to multiple services.
[0068] The service-related context mentioned above can refer to a context associated with a specific service itself. For example, the service-related context can be a context dedicated to a specific service, such as a context configured for a particular service. The characteristic of this service-related context is that the specific service needs to use this context during execution, while other services do not use this context during execution; in other words, the service-related context is effective for the specific service but not for other services.
[0069] In the embodiments of this application, when an AP device and a non-associated STA are performing services, the non-associated STA can establish multiple service-independent contexts between the two, as well as contexts related to each service. The combination of a first type of context and any second type of context can be used to support the execution of the service corresponding to the second type of context between the STA device and the AP device.
[0070] In other words, when a service is performed between a STA device and an AP device, both the first type of context and the second type of context corresponding to the current service need to be used simultaneously.
[0071] For example, please refer to Figure 3 This illustrates a context structure diagram related to an embodiment of this application. For example... Figure 3 As shown, in the non-associated STA device 31 of the AP device, a first type context 31a and a second type context 31b and a second type context 31c are established with the AP device. The first type context 31a is shared by two services (service 1 and service 2), while the second type context 31b and the second type context 31c are dedicated to service 1 and service 2, respectively.
[0072] In summary, in the embodiments of this application, when a non-associated STA device and an AP device perform services, the non-associated STA device can establish a first type of context with the AP device, which is unrelated to multiple services, and a second type of context related to each service. In this way, the efficiency of context management is guaranteed in the scenario of performing services through a non-associated STA device by managing multiple types of contexts.
[0073] Please refer to Figure 4 The diagram illustrates a flowchart of a context management method provided in one embodiment of this application. This method can be executed by an AP device, wherein the AP device can be... Figure 1 Access point 110 in the network architecture shown. The method may include the following steps:
[0074] Step 401: Establish a first type of context and at least one second type of context with the STA device; the STA device is a non-associated STA of the AP device; the first type of context is a context unrelated to multiple services; the second type of context is a context related to one of multiple services; at least one second type of context corresponds to one service respectively.
[0075] Similar to the process of establishing a context with an ST device, an AP device can establish different contexts in multiple stages when establishing a first type context and at least one second type context with an access point device. For example, the AP device can first establish a first type context and one second type context, and then establish other second type contexts later. Alternatively, the AP device can first establish a first type context and then establish at least one second type context later.
[0076] Alternatively, the AP device can also simultaneously establish the first type of context and at least one second type of context.
[0077] In summary, in the embodiments of this application, when a STA device and an AP device perform services, the AP device can establish a first type of context with the STA device that is independent of multiple services, and a second type of context that is related to each service. In this way, the efficiency and flexibility of context management can be guaranteed in the scenario of performing services through a non-associated STA by managing multiple types of contexts.
[0078] Please refer to Figure 5 This illustrates a schematic diagram of the context management architecture provided in one embodiment of this application. Figure 5 As shown, STA device 501 is a non-associated STA of AP device 502. A first type context 503 and at least one second type context 504 can be established between STA device 501 and AP device 502.
[0079] exist Figure 5 In the illustrated scheme, a combination of the first type context 503 and any one of the second type contexts 504 can support a service. For example, as... Figure 5 As shown, the first type of context 503 and the three second type of contexts 504 can be combined to support service 1, service 2 and service 3 respectively.
[0080] exist Figure 5 In the architecture shown, when a new service is started between STA device 501 and AP device 502, only the corresponding new second-type context 504 needs to be added to STA device 501 and AP device 502. It is not necessary to create a complete context containing the contents of the first-type context and the second-type context separately for each service. This enables flexible management of the context when multiple services are executed through non-associated STAs, and improves the efficiency of context management.
[0081] Please refer to Figure 6 The diagram illustrates a flowchart of a context management method provided in one embodiment of this application. This method can be interactively executed by a STA device and an AP device, wherein the STA device can be... Figure 1 One of the sites 120 in the network architecture shown, the aforementioned AP device can be Figure 1 The network architecture shown includes access point 110; and this STA device is a non-associated STA of the AP device. The method may include the following steps:
[0082] Step 601: The STA device and the AP device establish a first type context and at least one second type context.
[0083] In this embodiment of the application, the STA device and the AP device can interact through signaling to establish and maintain a first type of context and at least one second type of context in their respective devices.
[0084] Among them, the first type of context is a context unrelated to multiple services; the second type of context is a context related to one of the multiple services; at least one second type of context corresponds to one service.
[0085] The first type of context mentioned above can be called a service-independent context. Here, a service-independent context refers to a context that is not limited to use by a specific service among multiple services, but can be shared by multiple services.
[0086] The second type of context mentioned above can also be called a service-dependent context. A service-dependent context refers to a context used by a specific service.
[0087] In one possible implementation, the first type of context includes at least one of the following: address information of the communicating parties, communication capability information of the communicating parties, security context of the communicating parties, security context-dependent variables of the communicating parties, identifiers of the communicating parties, service parameters of the services of the communicating parties, and / or cache space of the communicating parties.
[0088] The second type of context includes at least one of the following: address information of the communicating parties, communication capability information of the communicating parties, security context of the communicating parties, security context-dependent variables of the communicating parties, identifiers of the communicating parties, service parameters of the services of the communicating parties, and / or information in the cache space of the communicating parties other than the first type of context.
[0089] The types of information contained in the first and second types of contexts mentioned above can be specified by the protocol, or determined by negotiation between the STA device and the AP device.
[0090] In one possible implementation, the aforementioned communication capability information includes at least one of the following: the operation category supported by the device (i.e., which communication channels are supported), the transmission rate supported by the device, the modulation and coding scheme supported by the device, and / or the number of spatial streams supported by the device.
[0091] The aforementioned communication capability information can be information about the ability to support basic communication between devices, such as which communication channels the device supports, what levels of transmission rate and modulation coding scheme the device supports, and how many spatial streams the device can support at most.
[0092] The address information of the two communicating parties can be their MAC (Media Access Control) addresses, etc.
[0093] The identifiers used by the communicating parties can be service-related identifiers, such as Unassociated Identity (UID) or Ranging Session ID (RSID).
[0094] In one possible implementation, the security context includes Pairwise Transient Key Security Association (PTKSA) information.
[0095] For example, when performing Pre-Association Security Negotiation (PASN) between STA and AP devices, the aforementioned security context may include PTKSA information.
[0096] In one possible implementation, the variables that depend on the security context include at least one of the following:
[0097] Package Number (PN) and / or Replay Counter.
[0098] For example, when PASN is performed between STA and AP devices, the aforementioned security context-dependent variables may include packet sequence numbers or replay counters, or the security context-dependent variables may contain both packet sequence numbers and replay counters.
[0099] In one possible implementation, the service includes WLAN sensing service or WLAN ranging service.
[0100] Optionally, the services involved in the embodiments of this application may also include other services implemented based on wireless signals between STA devices and AP devices, such as WLAN positioning services. Optionally, the services involved in the embodiments of this application may also include services implemented based on signals other than WLAN signals, such as sensing services, ranging services, positioning services, etc., implemented based on cellular wireless signals.
[0101] In the embodiments of this application, the aforementioned services include, but are not limited to, WLAN sensing services and WLAN ranging services.
[0102] In one possible implementation, when the service includes WLAN sensing services, the service parameters include at least one of the following:
[0103] Measurement setup identifier, time scheduling information, bandwidth supported by the service, number of airspace flows supported by the service, and / or measurement result type.
[0104] In one possible implementation, where the service includes WLAN ranging service, the service parameters include at least one of the following:
[0105] Time scheduling information, bandwidth supported by the service, number of airspace flows supported by the service, and / or measurement result type.
[0106] In one possible implementation, the establishment time of the first type context is no later than the establishment time of any second type context.
[0107] In the embodiments of this application, since the execution of a service not only depends on its own specific second type context, but also on a service-independent (shared by multiple services) first type context, for example, assuming that the first type context contains a context corresponding to basic communication capabilities, and the service needs to rely on the basic communication capabilities between the STA device and the AP device, when a second type context corresponding to a certain service is established separately in the absence of a first type context, the service cannot be executed directly, and the second type context established at this time has no practical meaning.
[0108] Therefore, in the embodiments of this application, before at least one second type context is established, the STA device and the AP device can first establish the aforementioned first type context; for example, taking at least one second type context as including two second type contexts, when the STA device and the AP device need to perform the first service, the STA device and the AP device can first establish the first type context, and then establish the first second type context; if the second service needs to be performed during the process of the STA device and the AP device performing the first service, then the STA device and the AP device will establish the second second type context.
[0109] Alternatively, in this embodiment, the STA device and the AP device can establish a first second-type context while establishing the first type context, and then establish another second-type context. For example, when the STA device and the AP device need to perform the first type of service, the STA device and the AP device can establish a first-type context and a first second-type context (both contexts are established simultaneously). If the second type of service needs to be performed, the STA device and the AP device can then establish a second second-type context separately.
[0110] For example, the first type of context includes basic communication-related parameters, which are generally unrelated to a specific service, including: the MAC addresses of itself and the other party; the communication capabilities supported by itself and the other party, such as supported operation classes (i.e., communication channels), supported transmission rates, supported modulation and coding methods, and supported spatial stream numbers; shared security context, such as PTKSA; and security context-dependent variables, such as packet sequence number PN and replay counter.
[0111] Optionally, the first type of context also includes a non-associated identifier (UID). In this case, the non-associated identifier used in the perception service is consistent with this non-associated identifier, and the ranging session identifier (RSID) used in the ranging service is also consistent with this non-associated identifier. Only one first type of context may exist between the U-STA and the AP. This first type of context is shared among multiple services, and its lifespan is generally longer than the lifespan of all second type of contexts.
[0112] The second type of context includes information related to a specific service. For example, services include WLAN sensing service and WLAN ranging service.
[0113] The ranging service context includes the ranging capabilities supported by itself and the other party, parameter information used for ranging (e.g., time scheduling information, bandwidth, spatial stream count, measurement result type), and cache space used for ranging. Optionally, the ranging service context includes the ranging session identifier RSID.
[0114] The perception service context includes the perception capabilities supported by itself and the other party, the parameter information used for perception (e.g., measurement setting identifier, time scheduling information, bandwidth, spatial stream count, measurement result type), and the cache space used for perception. Optionally, the perception service context includes a non-associated identifier UID.
[0115] Since the first type of context determines the basic communication-related parameters, a specific service (such as sensing service or ranging service) cannot be truly executed between U-STA and AP without the first type of context. Therefore, in this embodiment of the application, the establishment of the first type of context shall not be later than the establishment of any second type of context.
[0116] For example, in some embodiments, before establishing the sensing service context and / or ranging service context, the U-STA and AP exchange the communication capabilities supported by themselves and each other, establish a jointly owned PTKSA by executing PASN, and initialize PN. Optionally, the AP can assign a non-associated identifier UID to the U-STA, which will be used by the sensing service and ranging service. In the sensing service, the non-associated identifier UID is the non-associated identifier UID field, and in the ranging service, the non-associated identifier UID is the ranging session identifier RSID field. In this case, the UID is information in the first type of context.
[0117] It is worth noting that a specific service may only depend on a portion of the first-type context. In such cases, establishing the first-type context of the dependent portion is sufficient to establish the corresponding second-type context. For example, the ranging service only uses the communication rates, modulation and coding methods, and number of streams that both parties know in advance must support, and therefore does not depend on the communication capabilities supported by the exchanging parties.
[0118] Furthermore, since the AP generally does not provide data transmission functionality to the U-STA, the U-STA only needs to establish the first type context when it requires the AP to provide at least one service (such as sensing service or ranging service). Otherwise, it is meaningless to establish the first type context alone. Therefore, in the embodiments of this application, the first type context should be established together with at least one second type context.
[0119] For example, in some embodiments, the U-STA and AP exchange their respective supported communication capabilities while establishing a sensing service context. Optionally, the AP can assign a sensing service-specific unassociated identifier (UID) to the U-STA. This unassociated identifier UID will be used by the sensing service, while the ranging session identifier (RSID) used in the ranging service may be the same as or different from this unassociated identifier UID. Optionally, the AP and U-STA can use different MAC addresses, PTKSA, and PN for different services. For example, the AP uses MAC1, PTKSA1, PN1, and Replay Counter1 in the sensing service and MAC2, PTKSA2, PN2, and Replay Counter2 in the ranging service. The U-STA uses MAC3, PTKSA1, PN3, and Replay Counter3 in the sensing service and MAC4, PTKSA2, PN4, and Replay Counter4 in the ranging service. In this case, the aforementioned MAC address, PTKSA, and PN belong to the second type of context.
[0120] U-STA can request AP to provide multiple services simultaneously (e.g., sensing service and ranging service), but different services can be initiated sequentially. For example, U-STA can initiate sensing service at time t0 (i.e., establish a sensing-related second type context), and initiate ranging service at time t1 after time x (i.e., establish a ranging-related second type context). The first type context does not need to be established repeatedly. Therefore, in the embodiments of this application, the establishment of one or more second type contexts may be independent of the establishment of the first type context.
[0121] In one possible implementation, the process of establishing the first type context and the first second type context described above may include the following steps:
[0122] S601a, the AP device sends a beacon frame, and the STA device receives the beacon frame sent by the AP device.
[0123] The aforementioned beacon frames can be periodically sent by the AP device so that surrounding STA devices can discover the AP device.
[0124] In S601b, the STA device and the AP device exchange authentication frames.
[0125] The aforementioned authentication frame interaction can be an interaction executed based on the PASN process.
[0126] S601c, the STA device sends a basic establishment request frame to the AP device; the AP device receives the basic establishment request frame sent by the STA device.
[0127] S601d, the AP device sends a basic setup response frame to the STA device; the STA device receives the basic setup response frame sent by the AP device.
[0128] S601e, the STA device and the AP device establish a first type of context based on the information carried in the beacon frame, authentication frame, and basic establishment request frame.
[0129] S601f, the STA device and the AP device exchange measurement setting frames.
[0130] S601g, establishes a first service context based on information carried in the beacon frame and the measurement setting frame; the first service context is any one of at least one second type of context.
[0131] In one possible implementation, the beacon frame contains at least one of the following: communication capability information of the AP device and / or service parameters of the AP device's services;
[0132] The authentication frame contains parameter information used to generate the security context for both communicating parties;
[0133] The basic setup request frame contains communication capability information of the STA device;
[0134] The basic setup response frame contains the identifier of the STA device;
[0135] The measurement setup frame contains the service parameters of the WLAN sensing service for the STA device.
[0136] In one possible implementation, the measurement setting frame interaction includes a measurement setting query frame sent by the STA device to the AP device, and the measurement setting query frame contains the service parameters of the STA device's WLAN sensing service.
[0137] After the above process, the AP device and STA device can establish a second type context for other services (such as WLAN ranging service) based on other processes (such as the interaction process similar to S601f and S601g above); optionally, when establishing other subsequent second type contexts, the AP device and STA device may not need to execute the above steps S601a to S601e.
[0138] For example, please refer to Figure 7 This illustrates a context establishment process according to an embodiment of this application. Figure 7 As shown, the process is as follows:
[0139] S71, the AP device sends a beacon frame, which is received by the U-STA device. This beacon frame contains information about the AP device's communication capabilities, sensing capabilities, and ranging capabilities.
[0140] S72, the U-STA device sends authentication frame 1 to the AP device.
[0141] S73, the AP device sends authentication frame 2 to the U-STA device.
[0142] S74, the U-STA device sends authentication frame 3 to the AP device.
[0143] The aforementioned authentication frames 1, 2, and 3 can be sent based on the PASN procedure. Authentication frames 1, 2, and 3 contain parameter information used to generate the security context for both communicating parties.
[0144] S75, the U-STA device sends a Basic Setup Request frame to the AP device, which contains the communication capability information of the U-STA device.
[0145] S76, the AP device sends a Basic Setup Response frame to the U-STA device, which contains the U-STA device's UID.
[0146] S77, the U-STA device sends a Measurement Setup Query frame to the AP device, which contains the U-STA device's sensing capability information.
[0147] S78, the AP device sends a Measurement Setup Request frame to the U-STA device.
[0148] S79, the U-STA device sends a Measurement Setup Response frame to the AP device.
[0149] Among them, the above Figure 7This illustrates one possible information interaction scheme in the context establishment process. Optionally, in the scheme shown in the embodiments of this application, the information of the above interaction can also be modified based on the above process. For example, at least one of the communication capability information, sensing capability information and ranging capability information of the above AP device can be transmitted through information other than the beacon frame, such as through the basic establishment response frame; or, for example, the sensing capability information of the above U-STA device can also be transmitted through the measurement setting response frame.
[0150] In one possible implementation, the process of establishing the first type context and the first second type context described above may include the following steps:
[0151] S601h, the AP device sends a beacon frame, and the STA device receives the beacon frame sent by the AP device.
[0152] In S601i, the STA device and the AP device exchange authentication frames.
[0153] S601j, the STA device and the AP device exchange measurement setting frames.
[0154] In S601k, the STA device and the AP device establish a first type context and a second service context based on information carried in beacon frames, authentication frames, and measurement setting frames; the second service context is any one of at least one second type context.
[0155] In one possible implementation, the beacon frame contains at least one of the following: communication capability information of the AP device and / or service parameters of the AP device's services;
[0156] The authentication frame contains parameter information used to generate the security context for both communicating parties;
[0157] The measurement setup frame contains at least one of the following information: communication capability information of the STA device, service parameters of the STA device's WLAN sensing service, and / or the identifier of the STA device.
[0158] In one possible implementation, the measurement setting frame interaction includes a measurement setting query frame sent by the STA device to the AP device, and a measurement setting request frame sent by the AP device to the STA device.
[0159] The measurement settings query frame contains at least one of the following information: communication capability information of the STA device and / or service parameters of the STA device's WLAN sensing service;
[0160] The measurement setup request frame contains the identifier of the STA device.
[0161] After the above process, the AP device and STA device can establish a second type context for other services (such as WLAN ranging service) based on other processes (such as the interaction process similar to S601j and S601k above); optionally, when establishing other subsequent second type contexts, the AP device and STA device may not need to execute the above steps S601h to S601i.
[0162] For example, please refer to Figure 8 This illustrates a context establishment process according to an embodiment of this application. Figure 8 As shown, the process is as follows:
[0163] S81, the AP device sends a beacon frame, which is received by the U-STA device. This beacon frame contains information about the AP device's communication capabilities, sensing capabilities, and ranging capabilities.
[0164] S82, the U-STA device sends authentication frame 1 to the AP device.
[0165] S83, the AP device sends authentication frame 2 to the U-STA device.
[0166] S84, the U-STA device sends authentication frame 3 to the AP device.
[0167] S85, the U-STA device sends a Measurement Setup Query frame to the AP device, which contains the U-STA device's communication capability information and sensing capability information.
[0168] S86, the AP device sends a Measurement Setup Request frame to the U-STA device, which contains the U-STA device's UID.
[0169] S87, the U-STA device sends a Measurement Setup Response frame to the AP device.
[0170] Step 602: When the deletion of the first type context is triggered, the STA device and the AP device delete at least one second type context.
[0171] Since the first type of context determines the basic communication-related parameters, a specific service (such as sensing or ranging service) cannot be truly executed between the U-STA and AP without the first type of context. The second type of context is meaningless without the first type of context. Therefore, it is required that clearing the first type of context should result in the clearing of all second type of contexts. Generally, both the U-STA and / or the AP can initiate the clearing of the first type of context.
[0172] In this case, if the deletion of the first type context is triggered, U-STA and AP can delete the first type context and at least one second type context in one deletion step.
[0173] Alternatively, if the U-STA and AP trigger the deletion of the first type context, they can delete the first type context and at least one second type context in stages; for example, if the deletion of the first type context is triggered, the first type context can be deleted first, and then at least one second type context can be deleted.
[0174] Step 603: When the deletion of the third service context is triggered, the STA device and the AP device delete the third service context and retain the first type context; the third service context is any one of at least one second type context.
[0175] In this embodiment, the U-STA can request the AP to provide multiple services simultaneously (e.g., sensing service and ranging service), but the different services can be terminated sequentially. For example, the AP may terminate the sensing service at time t2 (i.e., clear the second type of context related to sensing), and then terminate the ranging service at time t3 after a duration of y (i.e., clear the second type of context related to ranging). Since the ranging service is still in use between t2 and t3, the first type of context needs to be retained. Therefore, it is also required that clearing one or more second type of contexts does not affect the first type of context. Generally, both the U-STA and / or the AP can initiate the clearing of the second type of context.
[0176] In one possible implementation, when the STA device and AP device trigger the deletion of the third service context, they delete the third service context while retaining the first type of context, including:
[0177] When a STA device and an AP device trigger the deletion of a third service context, and at least one second type context contains other contexts besides the third service context, the third service context is deleted while the first type context is retained.
[0178] In one possible implementation, the STA device and the AP device delete the third service context and the first type context when the deletion of the third service context is triggered and at least one second type context does not contain any other context besides the third service context.
[0179] In this embodiment of the application, when a second type context is triggered to be deleted, if the STA device and / or AP device contains other second type contexts in addition to the second type context, it means that other services may be being executed at this time. In this case, the STA device and / or AP device can delete the second type context separately and retain the first type context and other second type contexts.
[0180] Correspondingly, when a second type context is triggered for deletion, if the STA device and / or AP device do not contain any other second type contexts besides the second type context, it means that no other services are being executed at this time. In this case, the STA device and / or AP device can delete the first type context and the second type context together.
[0181] In one possible implementation, if the STA device and the AP device contain a security context in a first type context or a second type context, and the security context expires, the deletion of the first type context or the second type context containing the security context is triggered.
[0182] In one possible implementation, the STA device and the AP device contain a security context in a first type context or a second type context, and when the STA device and the AP device exchange deauthentication frames, the deletion of the first type context or the second type context containing the security context is triggered.
[0183] For example, in some embodiments, when the PTKSA shared by the U-STA and AP is cleared, the context of the perception service and the context of the ranging service are also cleared. Optionally, the PTKSA can be explicitly cleared by using Deauthentication frame interaction, or implicitly cleared by detecting whether its lifetime has expired. Therefore, it is necessary to ensure that the lifetime of the PTKSA is indicated in the PASN process. Currently, when using PASN AKM (Authentication and Key Management suite), the setting of the PTKSA lifetime is optional, so it needs to be modified as follows: In the PASN process, when using PASN AKM, at least one of the first and second authentication frames must carry a timeout element. The timeout value in this element is set to the value of the pre-configured configuration parameter dot11RSNAConfigPASNPTKSATimeout, and the timeout type value in this element is set to 2, indicating a key lifetime type; otherwise, the timeout element is optional in the first and second authentication frames.
[0184] Optionally, besides triggering the deletion of the corresponding first-type or second-type context when the PTKSA is cleared, the STA device and / or AP device can also trigger the deletion of the first-type or second-type context under other conditions. For example, when a certain service between the STA device and the AP device finishes execution, the STA device and / or AP device trigger the deletion of the second-type context corresponding to that service. Or, when all services between the STA device and the AP device finish execution, the STA device and / or AP device trigger the deletion of the first-type context, and simultaneously trigger the deletion of the remaining second-type contexts. This application embodiment does not limit the triggering method for the deletion process of the first-type and / or second-type contexts.
[0185] In one exemplary embodiment of this application, two types of context are maintained between the U-STA and the AP:
[0186] I. Service-independent context, also known as Type 1 context, includes:
[0187] 1) Your own and the other party's MAC addresses;
[0188] 2) The communication capabilities supported by itself and the other party, such as supported operation categories, supported transmission rates, supported modulation and coding methods, and supported number of streams;
[0189] 3) Shared security contexts, such as PTKSA;
[0190] 4) Security context-dependent variables, such as packet sequence number PN and replay counter;
[0191] 5) Optionally, a non-associated identifier UID is used, in which case the ranging session identifier RSID used by the ranging service is the same as this UID, and the non-associated identifier UID used by the perception service is also the same as this UID.
[0192] 2. Service-dependent context, also known as Type 2 context, includes information related to a specific service, such as:
[0193] 1) Ranging service context, including the ranging capabilities supported by itself and the other party, parameter information used for ranging (e.g., time scheduling information, bandwidth, spatial stream count, measurement result type), and cache space. Optionally, it includes the ranging session identifier RSID. Optionally, it includes the MAC address, PTKSA, PN, and Replay Counter used exclusively by the ranging service.
[0194] 2) The sensing service context includes the sensing capabilities supported by itself and the other party, parameter information used for sensing (e.g., measurement setting identifier, time scheduling information, bandwidth, spatial stream count, measurement result type), and cache space. Optionally, it includes the non-associated identifier UID. Optionally, it includes the MAC address, PTKSA, PN, and ReplayCounter used exclusively by the sensing service.
[0195] The process of establishing the above two types of contexts between U-STA and AP needs to meet the following requirements:
[0196] 1) The establishment of a first-type context must not be later than the establishment of any second-type context.
[0197] 2) The first type of context should be established together with at least one second type of context.
[0198] 3) The establishment of one or more second-type contexts can be independent of the establishment of first-type contexts.
[0199] The process of terminating the two types of context between the U-STA and AP must meet the following requirements:
[0200] 1) Clearing the first type of context will result in the clearing of all second type of contexts.
[0201] 2) Clearing one or more second-type contexts does not affect first-type contexts.
[0202] The solution shown in the embodiments of this application improves and clarifies how non-affiliated sites manage service-independent contexts and service-specific contexts.
[0203] In summary, in the embodiments of this application, when a STA device and an AP device perform services, the STA device can establish a first type of context with the AP device that is independent of multiple services, and a second type of context that is related to each service. In this way, the efficiency of context management is guaranteed in the scenario of performing services through a non-associated STA by managing multiple types of contexts.
[0204] Please refer to Figure 9 This diagram illustrates a block diagram of a STA device according to an embodiment of this application. The STA device is a non-associated STA of an AP device, and it has the functionality to implement the steps performed by the STA device in the aforementioned context management method. Figure 9 As shown, the device may include:
[0205] The first establishment module 901 is used to establish a first type context and at least one second type context with the access point AP device;
[0206] Wherein, the first type of context is a context unrelated to multiple services; the second type of context is a context related to one of the multiple services; at least one of the second type of contexts corresponds to one of the services.
[0207] In one possible implementation, the first type of context includes at least one of the following: address information of the communicating parties, communication capability information of the communicating parties, security context of the communicating parties, security context-dependent variables of the communicating parties, identifiers of the communicating parties, service parameters of the services of the communicating parties, and / or cache space of the communicating parties.
[0208] The second type of context includes at least one of the following: address information of the communicating parties, communication capability information of the communicating parties, security context of the communicating parties, security context-dependent variables of the communicating parties, identifiers of the communicating parties, service parameters of the services of the communicating parties, and / or information in the cache space of the communicating parties other than the first type of context.
[0209] In one possible implementation, the communication capability information includes at least one of the following: the operation category supported by the device, the transmission rate supported by the device, the modulation and coding scheme supported by the device, and / or the number of spatial streams supported by the device.
[0210] In one possible implementation, the security context includes Paired Temporary Key Security Association (PTKSA) information.
[0211] In one possible implementation, the security context-dependent variables include at least one of the following:
[0212] Package number PN and / or replay counter.
[0213] In one possible implementation, the service includes WLAN sensing service or WLAN ranging service.
[0214] In one possible implementation, where the service includes the WLAN sensing service, the service parameters include at least one of the following:
[0215] Measurement setup identifier, time scheduling information, bandwidth supported by the service, number of airspace flows supported by the service, and / or measurement result type.
[0216] In one possible implementation, where the service includes the WLAN ranging service, the service parameters include at least one of the following:
[0217] Time scheduling information, bandwidth supported by the service, number of airspace flows supported by the service, and / or measurement result type.
[0218] In one possible implementation, the establishment time of the first type context is no later than the establishment time of any of the second type contexts.
[0219] In one possible implementation, the first establishment module 901 is used for,
[0220] Receive beacon frames sent by the AP device;
[0221] Exchange authentication frames with the AP device;
[0222] Send a basic setup request frame to the AP device;
[0223] Receive the basic setup response frame sent by the AP device;
[0224] The first type of context is established based on the information carried in the beacon frame, the authentication frame, and the basic establishment request frame;
[0225] Interact with the AP device to set up measurement frames;
[0226] A first service context is established based on the information carried in the beacon frame and the measurement setting frame; the first service context is any one of at least one of the second type of contexts.
[0227] In one possible implementation, the beacon frame includes at least one of the following: communication capability information of the AP device and / or service parameters of the AP device's services;
[0228] The authentication frame contains parameter information used to generate the security context for both communicating parties;
[0229] The basic setup request frame contains the communication capability information of the STA device;
[0230] The basic setup response frame contains the identifier of the STA device;
[0231] The measurement setup frame contains the service parameters of the WLAN sensing service of the STA device.
[0232] In one possible implementation, the measurement setting frame interaction includes a measurement setting query frame sent by the STA device to the AP device, and the measurement setting query frame includes service parameters of the WLAN sensing service of the STA device.
[0233] In one possible implementation, the first establishment module 901 is used for,
[0234] Receive beacon frames sent by the AP device;
[0235] Exchange authentication frames with the AP device;
[0236] Interact with the AP device to set up measurement frames;
[0237] The first type context and the second service context are established based on the information carried in the beacon frame, the authentication frame, and the measurement setting frame; the second service context is any one of at least one of the second type contexts.
[0238] In one possible implementation,
[0239] The beacon frame contains at least one of the following: communication capability information of the AP device and / or service parameters of the AP device's services;
[0240] The authentication frame contains parameter information used to generate the security context for both communicating parties;
[0241] The measurement setup frame contains at least one of the following: the communication capability information of the STA device, the service parameters of the WLAN sensing service of the STA device, and / or the identifier of the STA device.
[0242] In one possible implementation, the measurement setting frame interaction includes a measurement setting query frame sent by the STA device to the AP device, and a measurement setting request frame sent by the AP device to the STA device.
[0243] The measurement setting query frame contains at least one of the following information: communication capability information of the STA device and / or service parameters of the STA device's WLAN sensing service.
[0244] The measurement setup request frame contains the identifier of the STA device.
[0245] In one possible implementation, the device further includes:
[0246] The first deletion module is used to delete at least one of the second type contexts when the deletion of the first type context is triggered.
[0247] In one possible implementation, the device further includes:
[0248] The second deletion module is used to delete the third service context and retain the first type of context when the deletion of the third service context is triggered; the third service context is any one of at least one of the second type of contexts.
[0249] In one possible implementation, the second deletion module is configured to delete the third service context and retain the first type context when the deletion of the third service context is triggered and at least one of the second type contexts contains other contexts besides the third service context.
[0250] In one possible implementation, the device further includes:
[0251] The third deletion module is used to delete the third service context and the first type context when the deletion of the third service context is triggered and at least one of the second type contexts does not contain any other contexts besides the third service context.
[0252] In one possible implementation, the device further includes:
[0253] The fourth deletion module is used to trigger the deletion of the first type context or the second type context containing the security context when the security context is contained in the first type context or the second type context and the security context has expired.
[0254] In one possible implementation, the device further includes:
[0255] The fifth deletion module is used to trigger the deletion of the first type context or the second type context containing the security context when the first type context or the second type context contains the security context and the AP device is interacting with the deauthentication frame.
[0256] Please refer to Figure 10 This diagram illustrates a block diagram of a context management apparatus according to an embodiment of this application. The apparatus has the function of implementing the steps performed by the AP device in the above-described context management method. Figure 10 As shown, the device may include:
[0257] The second establishment module 1001 is used to establish a first type context and at least one second type context with the STA device; the STA device is a non-associated STA of the AP device;
[0258] Wherein, the first type of context is a context unrelated to multiple services; the second type of context is a context related to one of the multiple services; at least one of the second type of contexts corresponds to one of the services.
[0259] In one possible implementation, the first type of context includes at least one of the following: address information of the communicating parties, communication capability information of the communicating parties, security context of the communicating parties, security context-dependent variables of the communicating parties, identifiers of the communicating parties, service parameters of the services of the communicating parties, and / or cache space of the communicating parties.
[0260] The second type of context includes at least one of the following: address information of the communicating parties, communication capability information of the communicating parties, security context of the communicating parties, security context-dependent variables of the communicating parties, identifiers of the communicating parties, service parameters of the services of the communicating parties, and / or information in the cache space of the communicating parties other than the first type of context.
[0261] In one possible implementation, the communication capability information includes at least one of the following: the operation category supported by the device, the transmission rate supported by the device, the modulation and coding scheme supported by the device, and / or the number of spatial streams supported by the device.
[0262] In one possible implementation, the security context includes Paired Temporary Key Security Association (PTKSA) information.
[0263] In one possible implementation, the security context-dependent variables include at least one of the following:
[0264] Package number PN and / or replay counter.
[0265] In one possible implementation, the service includes WLAN sensing service or WLAN ranging service.
[0266] In one possible implementation, where the service includes the WLAN sensing service, the service parameters include at least one of the following:
[0267] Measurement setup identifier, time scheduling information, bandwidth supported by the service, number of airspace flows supported by the service, and / or measurement result type.
[0268] In one possible implementation, where the service includes the WLAN ranging service, the service parameters include at least one of the following:
[0269] Time scheduling information, bandwidth supported by the service, number of airspace flows supported by the service, and / or measurement result type.
[0270] In one possible implementation, the establishment time of the first type context is no later than the establishment time of any of the second type contexts.
[0271] In one possible implementation, the second establishment module 1001 is used for,
[0272] Send a beacon frame to the STA device;
[0273] Interact with the STA device to exchange authentication frames;
[0274] Receive the basic setup request frame sent by the STA device;
[0275] Send a basic setup response frame to the STA device;
[0276] The first type of context is established based on the information carried in the beacon frame, the authentication frame, and the basic establishment request frame;
[0277] Interact with the STA device to set up measurement frames;
[0278] A first service context is established based on the information carried in the beacon frame and the measurement setting frame; the first service context is any one of at least one of the second type of contexts.
[0279] In one possible implementation, the beacon frame includes at least one of the following: communication capability information of the AP device and / or service parameters of the AP device's services;
[0280] The authentication frame contains parameter information used to generate the security context for both communicating parties;
[0281] The basic setup request frame contains the communication capability information of the STA device;
[0282] The basic setup response frame contains the identifier of the STA device;
[0283] The measurement setup frame contains the service parameters of the WLAN sensing service of the STA device.
[0284] In one possible implementation, the measurement setting frame interaction includes a measurement setting query frame sent by the STA device to the AP device, and the measurement setting query frame includes service parameters of the WLAN sensing service of the STA device.
[0285] In one possible implementation, the second establishment module 1001 is used for,
[0286] Send a beacon frame to the STA device;
[0287] Interact with the STA device to exchange authentication frames;
[0288] Interact with the STA device to set up measurement frames;
[0289] The first type context and the second service context are established based on the information carried in the beacon frame, the authentication frame, and the measurement setting frame; the second service context is any one of at least one of the second type contexts.
[0290] In one possible implementation, the beacon frame includes at least one of the following: communication capability information of the AP device and / or service parameters of the AP device's services;
[0291] The authentication frame contains parameter information that the user generates the security context for both communicating parties;
[0292] The measurement setup frame contains at least one of the following: the communication capability information of the STA device and / or the service parameters of the WLAN sensing service of the STA device, and the identifier of the STA device.
[0293] In one possible implementation, the measurement setting frame interaction includes a measurement setting query frame sent by the STA device to the AP device, and a measurement setting request frame sent by the AP device to the STA device.
[0294] The measurement setting query frame contains at least one of the following information: the communication capability information of the STA device and / or the service parameters of the STA device's WLAN sensing service;
[0295] The measurement setup request frame contains the identifier of the STA device.
[0296] In one possible implementation, the device further includes:
[0297] The sixth deletion module is used to delete at least one of the second type contexts when the deletion of the first type context is triggered.
[0298] In one possible implementation, the device further includes:
[0299] The seventh deletion module is used to delete the third service context and retain the first type of context when the deletion of the third service context is triggered; the third service context is any one of at least one of the second type of contexts.
[0300] In one possible implementation, the seventh deletion module is configured to delete the third service context and retain the first type context when the deletion of the third service context is triggered and at least one of the second type contexts contains other contexts besides the third service context.
[0301] In one possible implementation, the device further includes:
[0302] The eighth deletion module is used to delete the third service context and the first type context when the deletion of the third service context is triggered and at least one of the second type contexts does not contain any other contexts besides the third service context.
[0303] In one possible implementation, the device further includes:
[0304] The ninth deletion module is used to trigger the deletion of the first type context or the second type context containing the security context when the security context is contained in the first type context or the second type context and the security context has expired.
[0305] In one possible implementation, the device further includes:
[0306] The tenth deletion module is used to trigger the deletion of the first type context or the second type context containing the security context when the first type context or the second type context contains the security context and the STA device is interacting with the deauthentication frame.
[0307] It should be noted that the device provided in the above embodiments is only illustrated by the division of the above functional modules when implementing its functions. In actual applications, the above functions can be assigned to different functional modules according to actual needs, that is, the content structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0308] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0309] Please refer to Figure 11 The diagram illustrates a structural schematic of a computer device 1100 provided in one embodiment of this application. The computer device 1100 may include: a processor 1101, a receiver 1102, a transmitter 1103, a memory 1104, and a bus 1105.
[0310] The processor 1101 includes one or more processing cores. The processor 1101 executes various functional applications and information processing by running software programs and modules.
[0311] The receiver 1102 and the transmitter 1103 can be implemented as a communication component, which can be a communication chip. This communication chip can also be called a transceiver.
[0312] The memory 1104 is connected to the processor 1101 via the bus 1105.
[0313] The memory 1104 can be used to store a computer program, and the processor 1101 is used to execute the computer program to implement the various steps performed by the STAS device or AP device in the above method embodiments.
[0314] Furthermore, memory 1104 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, including but not limited to: magnetic disks or optical disks, electrically erasable programmable read-only memory, erasable programmable read-only memory, static on-demand memory, read-only memory, magnetic memory, flash memory, and programmable read-only memory.
[0315] In an exemplary embodiment, the computer device includes a processor, a memory, and a transceiver (the transceiver may include a receiver and a transmitter, the receiver being used to receive information and the transmitter being used to send information);
[0316] In one possible implementation, when the computer device is a STA device, the processor can be used to perform the above-described actions via the transceiver. Figure 2 or Figure 6All or part of the steps performed by the STA device in the illustrated embodiment will not be described in detail here.
[0317] In one possible implementation, when the computer device is an access point (AP) device, the processor and the transceiver can be used to perform the above-described... Figure 4 or Figure 6 All or part of the steps performed by the AP device in the illustrated embodiment will not be described in detail here.
[0318] This application also provides a computer-readable storage medium storing a computer program, which is loaded and executed by the processor of a computer device to cause the computer device to perform the above-described actions. Figure 2 , Figure 4 or Figure 6 The methods shown are the steps performed by the STA device or the AP device.
[0319] This application also provides a computer program product including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the aforementioned actions. Figure 2 , Figure 4 or Figure 6 The methods shown are the steps performed by the STA device or the AP device.
[0320] This application also provides a chip, comprising: a processor for retrieving and running a computer program from memory, causing a computer device equipped with the chip to perform the above-described actions. Figure 2 , Figure 4 or Figure 6 The methods shown are the steps performed by the STA device or the AP device.
[0321] This application also provides a computer program that is executed by the processor of a computer device, causing the computer device to perform the actions described above. Figure 2 , Figure 4 or Figure 6 The methods shown are the steps performed by the STA device or the AP device.
Claims
1. A context management method, characterized in that, The method is performed by a site STA device, which is a non-associated STA of the AP device; the method includes: The system receives a beacon frame sent by the AP device, interacts with the AP device via an authentication frame, sends a basic establishment request frame to the AP device, receives a basic establishment response frame sent by the AP device, establishes a first type context based on the information carried in the beacon frame, the authentication frame, and the basic establishment request frame, interacts with the AP device via a measurement setting frame, and establishes a first service context based on the information carried in the beacon frame and the measurement setting frame, wherein the first service context is any one of at least one second type context; or, the system receives a beacon frame sent by the AP device, interacts with the AP device via an authentication frame, interacts with the AP device via a measurement setting frame, and establishes a first type context and a second service context based on the information carried in the beacon frame, the authentication frame, and the measurement setting frame, wherein the second service context is any one of at least one second type context; Wherein, the first type of context is a service-independent context; the second type of context is a service-related context among a plurality of services; at least one of the second type of contexts corresponds to one of the services.
2. The method according to claim 1, characterized in that, The first type of context includes at least one of the following: address information of the communicating parties, communication capability information of the communicating parties, security context of the communicating parties, variables of the communicating parties that depend on the security context, identifiers of the communicating parties, service parameters of the services of the communicating parties, and / or cache space of the communicating parties; The second type of context includes at least one of the following: address information of the two communicating parties, communication capability information of the two communicating parties, security context of the two communicating parties, variables of the two communicating parties that depend on the security context, identifiers of the two communicating parties, service parameters of the services of the two communicating parties, and / or information in the cache space of the two communicating parties other than the first type of context.
3. The method according to claim 2, characterized in that, The communication capability information includes at least one of the following: the operation category supported by the device, the transmission rate supported by the device, the modulation and coding scheme supported by the device, and / or the number of spatial streams supported by the device.
4. The method according to claim 2 or 3, characterized in that, The security context includes Paired Temporary Key Security Association (PTKSA) information.
5. The method according to claim 2 or 3, characterized in that, The security context-dependent variables include at least one of the following: packet number PN and / or replay counter.
6. The method according to claim 2 or 3, characterized in that, The services include WLAN sensing services or WLAN ranging services.
7. The method according to claim 6, characterized in that, When the service includes the WLAN sensing service, the service parameters include at least one of the following: Measurement setup identifier, time scheduling information, bandwidth supported by the service, number of airspace flows supported by the service, and / or measurement result type.
8. The method according to claim 6, characterized in that, When the service includes the WLAN ranging service, the service parameters include at least one of the following: Time scheduling information, bandwidth supported by the service, number of airspace flows supported by the service, and / or measurement result type.
9. The method according to any one of claims 1 to 3, characterized in that, The establishment time of the first type of context is no later than the establishment time of any of the second type of contexts.
10. The method according to any one of claims 1 to 3, characterized in that, When receiving a beacon frame sent by the AP device, interacting with the AP device through an authentication frame, sending a basic establishment request frame to the AP device, receiving a basic establishment response frame sent by the AP device, establishing a first type context based on the information carried in the beacon frame, the authentication frame, and the basic establishment request frame, interacting with the AP device through a measurement setting frame, and establishing a first service context based on the information carried in the beacon frame and the measurement setting frame, the beacon frame contains at least one of the following information: the communication capability information of the AP device and / or the service parameters of the AP device's service; The authentication frame contains parameter information used to generate the security context for both communicating parties; The basic setup request frame contains the communication capability information of the STA device; The basic setup response frame contains the identifier of the STA device; The measurement setup frame contains the service parameters of the WLAN sensing service of the STA device.
11. The method according to claim 10, characterized in that, The measurement setting frame interaction includes a measurement setting query frame sent by the STA device to the AP device, and the measurement setting query frame includes the service parameters of the WLAN sensing service of the STA device.
12. The method according to any one of claims 1 to 3, characterized in that, When receiving a beacon frame sent by the AP device, interacting with the AP device via authentication frames, and interacting with the AP device via measurement setting frames, and establishing the first type context and the second service context based on the information carried in the beacon frame, the authentication frame, and the measurement setting frame, the following steps are taken: The beacon frame contains at least one of the following: communication capability information of the AP device and / or service parameters of the AP device's services; The authentication frame contains parameter information used to generate the security context for both communicating parties; The measurement setup frame contains at least one of the following: the communication capability information of the STA device, the service parameters of the WLAN sensing service of the STA device, and / or the identifier of the STA device.
13. The method according to claim 12, characterized in that, The measurement setting frame interaction includes a measurement setting query frame sent by the STA device to the AP device, and a measurement setting request frame sent by the AP device to the STA device. The measurement setting query frame contains at least one of the following information: the communication capability information of the STA device and / or the service parameters of the STA device's WLAN sensing service; The measurement setup request frame contains the identifier of the STA device.
14. The method according to any one of claims 1 to 3, characterized in that, The method further includes: If the deletion of the first type of context is triggered, at least one of the second type of contexts is deleted.
15. The method according to any one of claims 1 to 3, characterized in that, The method further includes: If the deletion of a third service context is triggered, the third service context is deleted while the first type of context is retained; the third service context is any one of at least one of the second type of contexts.
16. The method according to claim 15, characterized in that, The step of deleting the third service context while retaining the first type of context when the deletion of the third service context is triggered includes: If the deletion of a third service context is triggered, and at least one of the second type contexts contains other contexts besides the third service context, the third service context is deleted and the first type context is retained.
17. The method according to claim 16, characterized in that, The method further includes: If the deletion of a third service context is triggered, and at least one of the second type contexts does not contain any other contexts besides the third service context, the third service context and the first type context are deleted.
18. The method according to any one of claims 1 to 3, characterized in that, The method further includes: If a security context is contained in either the first type context or the second type context, and the security context has expired, the deletion of the first type context or the second type context containing the security context is triggered.
19. The method according to any one of claims 1 to 3, characterized in that, The method further includes: If a security context is contained in the first type context or the second type context, and a deauthentication frame interaction is performed with the AP device, the deletion of the first type context or the second type context containing the security context is triggered.
20. A context management method, characterized in that, The method is performed by the AP device, and the method includes: The system sends a beacon frame to the STA device, interacts with the STA device via authentication frames, receives a basic establishment request frame from the STA device, sends a basic establishment response frame to the STA device, establishes a first type context based on the information carried in the beacon frame, the authentication frame, and the basic establishment request frame, interacts with the STA device via measurement setup frames, and establishes a first service context based on the information carried in the beacon frame and the measurement setup frame. The first service context is any one of at least one second type context. Alternatively, the system sends a beacon frame to the STA device, interacts with the STA device via authentication frames, interacts with the STA device via measurement setup frames, and establishes a first type context and a second service context based on the information carried in the beacon frame, the authentication frame, and the measurement setup frame. The second service context is any one of at least one second type context. The STA device is a non-associated STA of the AP device. Wherein, the first type of context is a context unrelated to multiple services; the second type of context is a context related to one of the multiple services; at least one of the second type of contexts corresponds to one of the services.
21. The method according to claim 20, characterized in that, The first type of context includes at least one of the following: address information of the communicating parties, communication capability information of the communicating parties, security context of the communicating parties, security context-dependent variables of the communicating parties, identifiers of the communicating parties, service parameters of the services of the communicating parties, and / or cache space of the communicating parties; The second type of context includes at least one of the following: address information of the communicating parties, communication capability information of the communicating parties, security context of the communicating parties, security context-dependent variables of the communicating parties, identifiers of the communicating parties, service parameters of the services of the communicating parties, and / or information in the cache space of the communicating parties other than the first type of context.
22. The method according to claim 21, characterized in that, The communication capability information includes at least one of the following: the operation category supported by the device, the transmission rate supported by the device, the modulation and coding scheme supported by the device, and / or the number of spatial streams supported by the device.
23. The method according to claim 21 or 22, characterized in that, The security context includes Paired Temporary Key Security Association (PTKSA) information.
24. The method according to claim 21 or 22, characterized in that, The security context-dependent variables include at least one of the following: packet number PN and / or replay counter.
25. The method according to claim 21 or 22, characterized in that, The services include WLAN sensing services or WLAN ranging services.
26. The method according to claim 25, characterized in that, When the service includes the WLAN sensing service, the service parameters include at least one of the following: Measurement setup identifier, time scheduling information, bandwidth supported by the service, number of airspace flows supported by the service, and / or measurement result type.
27. The method according to claim 25, characterized in that, When the service includes the WLAN ranging service, the service parameters include at least one of the following: Time scheduling information, bandwidth supported by the service, number of airspace flows supported by the service, and / or measurement result type.
28. The method according to any one of claims 20 to 22, characterized in that, The establishment time of the first type of context is no later than the establishment time of any of the second type of contexts.
29. The method according to any one of claims 20 to 22, characterized in that, In the following scenario: A beacon frame is sent to the STA device; an authentication frame is exchanged with the STA device; a basic establishment request frame is received from the STA device; a basic establishment response frame is sent to the STA device; a first type context is established based on the information carried in the beacon frame, the authentication frame, and the basic establishment request frame; a measurement setup frame is exchanged with the STA device; and a first service context is established based on the information carried in the beacon frame and the measurement setup frame. The beacon frame contains at least one of the following: communication capability information of the AP device and / or service parameters of the AP device's services; The authentication frame contains parameter information used to generate the security context for both communicating parties; The basic setup request frame contains the communication capability information of the STA device; The basic setup response frame contains the identifier of the STA device; The measurement setup frame contains the service parameters of the WLAN sensing service of the STA device.
30. The method according to claim 29, characterized in that, The measurement setting frame interaction includes a measurement setting query frame sent by the STA device to the AP device, and the measurement setting query frame includes the service parameters of the WLAN sensing service of the STA device.
31. The method according to any one of claims 20 to 22, characterized in that, In the case of sending a beacon frame to the STA device, exchanging authentication frames with the STA device, exchanging measurement setup frames with the STA device, and establishing the first type context and the second service context based on the information carried in the beacon frame, the authentication frame, and the measurement setup frame, The beacon frame contains at least one of the following: communication capability information of the AP device and / or service parameters of the AP device's services; The authentication frame contains parameter information that the user generates the security context for both communicating parties; The measurement setup frame contains at least one of the following: the communication capability information of the STA device, the service parameters of the WLAN sensing service of the STA device, and / or the identifier of the STA device.
32. The method according to claim 31, characterized in that, The measurement setting frame interaction includes a measurement setting query frame sent by the STA device to the AP device, and a measurement setting request frame sent by the AP device to the STA device. The measurement setting query frame contains at least one of the following information: the communication capability information of the STA device and / or the service parameters of the STA device's WLAN sensing service; The measurement setup request frame contains the identifier of the STA device.
33. The method according to any one of claims 20 to 22, characterized in that, The method further includes: If the deletion of the first type of context is triggered, at least one of the second type of contexts is deleted.
34. The method according to any one of claims 20 to 22, characterized in that, The method further includes: If the deletion of a third service context is triggered, the third service context is deleted while the first type of context is retained; the third service context is any one of at least one of the second type of contexts.
35. The method according to claim 34, characterized in that, The step of deleting the third service context while retaining the first type of context when the deletion of the third service context is triggered includes: If the deletion of a third service context is triggered, and at least one of the second type contexts contains other contexts besides the third service context, the third service context is deleted and the first type context is retained.
36. The method according to claim 35, characterized in that, The method further includes: If the deletion of a third service context is triggered, and at least one of the second type contexts does not contain any other contexts besides the third service context, the third service context and the first type context are deleted.
37. The method according to any one of claims 20 to 22, characterized in that, The method further includes: If a security context is contained in either the first type context or the second type context, and the security context has expired, the deletion of the first type context or the second type context containing the security context is triggered.
38. The method according to any one of claims 20 to 22, characterized in that, The method further includes: If a security context is contained in the first type context or the second type context, and a deauthentication frame interaction is performed with the STA device, the deletion of the first type context or the second type context containing the security context is triggered.
39. A STA device, characterized in that, The STA device is a non-associated STA of the AP device; the device includes: A first establishment module is configured to receive a beacon frame sent by the AP device, interact with the AP device via an authentication frame, send a basic establishment request frame to the AP device, receive a basic establishment response frame sent by the AP device, establish a first type context based on the information carried in the beacon frame, the authentication frame, and the basic establishment request frame, interact with the AP device via a measurement setting frame, and establish a first service context based on the information carried in the beacon frame and the measurement setting frame, wherein the first service context is any one of at least one second type context; or, receive a beacon frame sent by the AP device, interact with the AP device via an authentication frame, interact with the AP device via a measurement setting frame, and establish a first type context and a second service context based on the information carried in the beacon frame, the authentication frame, and the measurement setting frame, wherein the second service context is any one of at least one second type context; Wherein, the first type of context is a context unrelated to multiple services; the second type of context is a context related to one of the multiple services; at least one of the second type of contexts corresponds to one of the services.
40. The apparatus according to claim 39, characterized in that, The first type of context includes at least one of the following: address information of the communicating parties, communication capability information of the communicating parties, security context of the communicating parties, security context-dependent variables of the communicating parties, identifiers of the communicating parties, service parameters of the services of the communicating parties, and / or cache space of the communicating parties; The second type of context includes at least one of the following: address information of the communicating parties, communication capability information of the communicating parties, security context of the communicating parties, security context-dependent variables of the communicating parties, identifiers of the communicating parties, service parameters of the services of the communicating parties, and / or information in the cache space of the communicating parties other than the first type of context.
41. The apparatus according to claim 40, characterized in that, The communication capability information includes at least one of the following: the operation category supported by the device, the transmission rate supported by the device, the modulation and coding scheme supported by the device, and / or the number of spatial streams supported by the device.
42. The apparatus according to claim 40 or 41, characterized in that, The security context includes Paired Temporary Key Security Association (PTKSA) information.
43. The apparatus according to claim 40 or 41, characterized in that, The security context-dependent variables include at least one of the following: packet number PN and / or replay counter.
44. The apparatus according to claim 40 or 41, characterized in that, The services include WLAN sensing services or WLAN ranging services.
45. The apparatus according to claim 44, characterized in that, When the service includes the WLAN sensing service, the service parameters include at least one of the following: Measurement setup identifier, time scheduling information, bandwidth supported by the service, number of airspace flows supported by the service, and / or measurement result type.
46. The apparatus according to claim 44, characterized in that, When the service includes the WLAN ranging service, the service parameters include at least one of the following: Time scheduling information, bandwidth supported by the service, number of airspace flows supported by the service, and / or measurement result type.
47. The apparatus according to any one of claims 39 to 41, characterized in that, The establishment time of the first type of context is no later than the establishment time of any of the second type of contexts.
48. The apparatus according to any one of claims 39 to 41, characterized in that, In the first establishment module, the following steps are performed: receiving a beacon frame sent by the AP device; interacting with the AP device via an authentication frame; sending a basic establishment request frame to the AP device; receiving a basic establishment response frame sent by the AP device; establishing a first type context based on the information carried in the beacon frame, the authentication frame, and the basic establishment request frame; interacting with the AP device via a measurement setting frame; and establishing a first service context based on the information carried in the beacon frame and the measurement setting frame. The beacon frame contains at least one of the following: communication capability information of the AP device and / or service parameters of the AP device's services; The authentication frame contains parameter information used to generate the security context for both communicating parties; The basic setup request frame contains the communication capability information of the STA device; The basic setup response frame contains the identifier of the STA device; The measurement setup frame contains the service parameters of the WLAN sensing service of the STA device.
49. The apparatus according to claim 48, characterized in that, The measurement setting frame interaction includes a measurement setting query frame sent by the STA device to the AP device, and the measurement setting query frame includes the service parameters of the WLAN sensing service of the STA device.
50. The apparatus according to any one of claims 39 to 41, characterized in that, In the first establishment module, the functions of receiving beacon frames sent by the AP device, interacting with the AP device via authentication frames, interacting with the AP device via measurement setting frames, and establishing the first type context and the second service context based on the information carried in the beacon frames, the authentication frames, and the measurement setting frames are as follows: The beacon frame contains at least one of the following: communication capability information of the AP device and / or service parameters of the AP device's services; The authentication frame contains parameter information used to generate the security context for both communicating parties; The measurement setup frame contains at least one of the following: communication capability information of the STA device, service parameters of the WLAN sensing service of the STA device, and / or the identifier of the STA device.
51. The apparatus according to claim 50, characterized in that, The measurement setting frame interaction includes a measurement setting query frame sent by the STA device to the AP device, and a measurement setting request frame sent by the AP device to the STA device; The measurement setting query frame contains at least one of the following information: the communication capability information of the STA device and / or the service parameters of the WLAN sensing service of the STA device; The measurement setup request frame contains the identifier of the STA device.
52. The apparatus according to any one of claims 39 to 41, characterized in that, The device further includes: The first deletion module is used to delete at least one of the second type contexts when the deletion of the first type context is triggered.
53. The apparatus according to any one of claims 39 to 41, characterized in that, The device further includes: The second deletion module is used to delete the third service context and retain the first type of context when the deletion of the third service context is triggered; the third service context is any one of at least one of the second type of contexts.
54. The apparatus according to claim 53, characterized in that, The second deletion module is configured to delete the third service context and retain the first type context when the deletion of the third service context is triggered and at least one of the second type contexts contains other contexts besides the third service context.
55. The apparatus according to claim 54, characterized in that, The device further includes: The third deletion module is used to delete the third service context and the first type context when the deletion of the third service context is triggered and at least one of the second type contexts does not contain any other contexts besides the third service context.
56. The apparatus according to any one of claims 39 to 41, characterized in that, The device further includes: The fourth deletion module is used to trigger the deletion of the first type context or the second type context containing the security context when the security context is contained in the first type context or the second type context and the security context has expired.
57. The apparatus according to any one of claims 39 to 41, characterized in that, The device further includes: The fifth deletion module is used to trigger the deletion of the first type context or the second type context containing the security context when the first type context or the second type context contains the security context and the AP device is interacting with the deauthentication frame.
58. A context management device, characterized in that, The device includes: The second establishment module is configured to send a beacon frame to the STA device, interact with the STA device via an authentication frame, receive a basic establishment request frame from the STA device, send a basic establishment response frame to the STA device, establish a first type context based on the information carried in the beacon frame, the authentication frame, and the basic establishment request frame, interact with the STA device via a measurement setup frame, and establish a first service context based on the information carried in the beacon frame and the measurement setup frame, wherein the first service context is any one of at least one second type context; or, send a beacon frame to the STA device, interact with the STA device via an authentication frame, interact with the STA device via a measurement setup frame, and establish a first type context and a second service context based on the information carried in the beacon frame, the authentication frame, and the measurement setup frame, wherein the second service context is any one of at least one second type context; the STA device is a non-associated STA of the AP device; Wherein, the first type of context is a context unrelated to multiple services; the second type of context is a context related to one of the multiple services; at least one of the second type of contexts corresponds to one of the services.
59. The apparatus according to claim 58, characterized in that, The first type of context includes at least one of the following: address information of the communicating parties, communication capability information of the communicating parties, security context of the communicating parties, security context-dependent variables of the communicating parties, identifiers of the communicating parties, service parameters of the services of the communicating parties, and / or cache space of the communicating parties; The second type of context includes at least one of the following: address information of the communicating parties, communication capability information of the communicating parties, security context of the communicating parties, security context-dependent variables of the communicating parties, identifiers of the communicating parties, service parameters of the services of the communicating parties, and / or information in the cache space of the communicating parties other than the first type of context.
60. The apparatus according to claim 59, characterized in that, The communication capability information includes at least one of the following: the operation category supported by the device, the transmission rate supported by the device, the modulation and coding scheme supported by the device, and / or the number of spatial streams supported by the device.
61. The apparatus according to claim 59 or 60, characterized in that, The security context includes Paired Temporary Key Security Association (PTKSA) information.
62. The apparatus according to claim 59 or 60, characterized in that, The security context-dependent variables include at least one of the following: packet number PN and / or replay counter.
63. The apparatus according to claim 59 or 60, characterized in that, The services include WLAN sensing services or WLAN ranging services.
64. The apparatus according to claim 63, characterized in that, When the service includes the WLAN sensing service, the service parameters include at least one of the following: Measurement setup identifier, time scheduling information, bandwidth supported by the service, number of airspace flows supported by the service, and / or measurement result type.
65. The apparatus according to claim 63, characterized in that, When the service includes the WLAN ranging service, the service parameters include at least one of the following: Time scheduling information, bandwidth supported by the service, number of airspace flows supported by the service, and / or measurement result type.
66. The apparatus according to any one of claims 58 to 60, characterized in that, The establishment time of the first type of context is no later than the establishment time of any of the second type of contexts.
67. The apparatus according to any one of claims 58 to 60, characterized in that, In the second establishment module, the following steps are performed: sending a beacon frame to the STA device; interacting with the STA device via an authentication frame; receiving a basic establishment request frame from the STA device; sending a basic establishment response frame to the STA device; establishing a first type context based on the information carried in the beacon frame, the authentication frame, and the basic establishment request frame; interacting with the STA device via a measurement setting frame; and establishing a first service context based on the information carried in the beacon frame and the measurement setting frame. The beacon frame contains at least one of the following: communication capability information of the AP device and / or service parameters of the AP device's services; The authentication frame contains parameter information used to generate the security context for both communicating parties; The basic setup request frame contains the communication capability information of the STA device; The basic setup response frame contains the identifier of the STA device; The measurement setup frame contains the service parameters of the WLAN sensing service of the STA device.
68. The apparatus according to claim 67, characterized in that, The measurement setting frame interaction includes a measurement setting query frame sent by the STA device to the AP device, and the measurement setting query frame includes the service parameters of the WLAN sensing service of the STA device.
69. The apparatus according to any one of claims 58 to 60, characterized in that, In the second establishment module, the following steps are performed: sending a beacon frame to the STA device, interacting with the STA device via an authentication frame, interacting with the STA device via a measurement setting frame, and establishing the first type context and the second service context based on the information carried in the beacon frame, the authentication frame, and the measurement setting frame. The beacon frame contains at least one of the following: communication capability information of the AP device and / or service parameters of the AP device's services; The authentication frame contains parameter information that the user generates the security context for both communicating parties; The measurement setup frame contains at least one of the following: the communication capability information of the STA device, the service parameters of the WLAN sensing service of the STA device, and / or the identifier of the STA device.
70. The apparatus according to claim 69, characterized in that, The measurement setting frame interaction includes a measurement setting query frame sent by the STA device to the AP device, and a measurement setting request frame sent by the AP device to the STA device. The measurement setting query frame contains at least one of the following information: the communication capability information of the STA device and / or the service parameters of the STA device's WLAN sensing service; The measurement setup request frame contains the identifier of the STA device.
71. The apparatus according to any one of claims 58 to 60, characterized in that, The device further includes: The sixth deletion module is used to delete at least one of the second type contexts when the deletion of the first type context is triggered.
72. The apparatus according to any one of claims 58 to 60, characterized in that, The device further includes: The seventh deletion module is used to delete the third service context and retain the first type of context when the deletion of the third service context is triggered; the third service context is any one of at least one of the second type of contexts.
73. The apparatus according to claim 72, characterized in that, The seventh deletion module is configured to delete the third service context and retain the first type context when the deletion of the third service context is triggered and at least one of the second type contexts contains other contexts besides the third service context.
74. The apparatus according to claim 73, characterized in that, The device further includes: The eighth deletion module is used to delete the third service context and the first type context when the deletion of the third service context is triggered and at least one of the second type contexts does not contain any other contexts besides the third service context.
75. The apparatus according to any one of claims 58 to 60, characterized in that, The device further includes: The ninth deletion module is used to trigger the deletion of the first type context or the second type context containing the security context when the security context is contained in the first type context or the second type context and the security context has expired.
76. The apparatus according to any one of claims 58 to 60, characterized in that, The device further includes: The tenth deletion module is used to trigger the deletion of the first type context or the second type context containing the security context when the first type context or the second type context contains the security context and the STA device is interacting with the deauthentication frame.
77. A STA device, characterized in that, The STA device is a non-associated STA of the AP device; the STA device includes a processor, memory, and transceiver; The processor is configured to receive beacon frames sent by the AP device, interact with the AP device via authentication frames, send a basic establishment request frame to the AP device, receive a basic establishment response frame sent by the AP device, establish a first type context based on the information carried in the beacon frames, the authentication frames, and the basic establishment request frames, interact with the AP device via measurement setting frames, and establish a first service context based on the information carried in the beacon frames and the measurement setting frames, wherein the first service context is any one of at least one second type context; Alternatively, receive a beacon frame sent by the AP device, interact with the AP device via an authentication frame, interact with the AP device via a measurement setting frame, and establish a first type context and a second service context based on the information carried in the beacon frame, the authentication frame, and the measurement setting frame, wherein the second service context is any one of at least one of the second type contexts; Wherein, the first type of context is a context unrelated to multiple services; the second type of context is a context related to one of the multiple services; at least one of the second type of contexts corresponds to one of the services.
78. An AP device, characterized in that, The AP device includes a processor, a memory, and a transceiver; The processor is configured to send a beacon frame to the STA device, interact with the STA device via an authentication frame, receive a basic establishment request frame from the STA device, send a basic establishment response frame to the STA device, establish a first type context based on the information carried in the beacon frame, the authentication frame, and the basic establishment request frame, interact with the STA device via a measurement setup frame, and establish a first service context based on the information carried in the beacon frame and the measurement setup frame, wherein the first service context is any one of at least one second type context; Alternatively, a beacon frame is sent to the STA device, an authentication frame is exchanged with the STA device, a measurement setting frame is exchanged with the STA device, and a first type context and a second service context are established based on the information carried in the beacon frame, the authentication frame, and the measurement setting frame, wherein the second service context is any one of at least one of the second type contexts; The STA device is a non-associated STA of the AP device; Wherein, the first type of context is a context unrelated to multiple services; the second type of context is a context related to one of the multiple services; at least one of the second type of contexts corresponds to one of the services.
79. A computer-readable storage medium, characterized in that, The storage medium stores a computer program that is executed by a processor to cause a computer device to perform the method as described in any one of claims 1 to 19, or the method as described in any one of claims 20 to 38.
80. A chip, characterized in that, include: A processor for retrieving and running a computer program from memory, causing a computer device having the chip mounted to perform the method as described in any one of claims 1 to 19, or the method as described in any one of claims 20 to 38.
81. A computer program product, characterized in that, The computer program product includes computer instructions stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the method as claimed in any one of claims 1 to 19, or the method as claimed in any one of claims 20 to 38.
82. A computer program, characterized in that, The computer program is executed by the processor of the computer device, causing the computer device to perform the method as described in any one of claims 1 to 19, or the method as described in any one of claims 20 to 38.
Citation Information
Patent Citations
Method and device for establishing association between station and access point
CN107426827A
Perception measurement method and device
CN112218328A