State-management based communication methods, network devices, and computer program products
By introducing authentication and negotiation frame exchange mechanisms into a multi-AP collaborative system, the problem of poor AP collaboration performance is solved, autonomous collaborative state adjustment between APs is realized, and the scalability and robustness of the system are improved.
Patent Information
- Application Number
- CN202510628469.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-15
- Publication Date
- 2026-11-17
AI Technical Summary
In existing technologies, the AP collaboration effect of multi-access point collaborative systems is poor, as it does not incorporate the APs participating in the collaboration into the RSNA framework and lacks effective state management methods.
By employing a state-management-based communication method, including authentication, negotiation frame exchange, and control frame scheduling, autonomous and flexible collaborative state adjustment among APs is achieved. The authentication information exchange, negotiation frame, and control frame scheduling mechanism ensures collaborative transmission among APs.
It improves the scalability and robustness of multi-AP collaborative systems, ensuring that each AP can autonomously and flexibly adjust its collaborative state, thereby enhancing system performance.
Smart Images

Figure CN123123893A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of communications, and more specifically, to a state management-based communication method, network device, and computer program product. Background Technology
[0002] Multi-AP Coordination (MAPC) is an important technology in the 802.11bn standard, allowing access points (APs) to negotiate and coordinate transmissions. While 802.11's Robust Security Network Association (RSNA) ensures the confidentiality and integrity of communication between APs and wireless clients, current technologies have not yet incorporated all participating APs into the RSNA framework, nor have they defined corresponding state management methods. Summary of the Invention
[0003] This invention provides a state management-based communication method, network device, and computer program product to at least solve the problem of poor AP collaboration performance in multi-AP collaborative systems in related technologies.
[0004] According to an embodiment of the present invention, a state management-based communication method is provided, comprising: a first device sending authentication information to a second device, authenticating with the second device, and entering an authenticated state; in the authenticated state, the first device sending a negotiation frame to the second device and receiving a negotiation response frame from the second device, and entering a negotiated state; in the negotiated state, the first device sending a control frame to the second device and coordinating transmission with the second device, wherein the control frame is used to schedule transmission resources for the second device.
[0005] According to another embodiment of the present invention, a network device is also provided, the network device including a receiver, a transmitter and a processor, the network device being configured to perform the steps of any of the above method embodiments via at least one of the receiver, the transmitter and the processor.
[0006] According to yet another embodiment of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored therein, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed.
[0007] According to yet another embodiment of the present invention, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
[0008] According to yet another embodiment of the present invention, a computer program product is also provided, comprising a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.
[0009] The present invention provides a state-management-based communication method, network device, and computer program product. The method includes: a first device sending authentication information to a second device to authenticate itself and enter an authenticated state; in the authenticated state, the first device sending a negotiation frame to the second device and receiving a negotiation response frame from the second device, entering a negotiated state; and in the negotiated state, the first device sending a control frame to the second device to perform coordinated transmission, wherein the control frame is used to schedule transmission resources for the second device. This invention solves the problem of poor AP coordination in multi-AP collaborative systems in related technologies, thereby enabling each AP to autonomously and flexibly adjust its collaborative state, improving the system's scalability and robustness. Attached Figure Description
[0010] Figure 1 This is a flowchart of the state management-based communication method according to an embodiment of the present invention. Figure 1 ;
[0011] Figure 2 This is a structural block diagram of a network device according to an embodiment of the present invention;
[0012] Figure 3 This is a flowchart of the state management-based communication method according to an embodiment of the present invention. Figure 2 ;
[0013] Figure 4 This is a flowchart of the state management-based communication method according to an embodiment of the present invention. Figure 3 ;
[0014] Figure 5 This is a flowchart of the state management-based communication method according to an embodiment of the present invention. Figure 4 ;
[0015] Figure 6 This is a flowchart of the state management-based communication method according to an embodiment of the present invention. Figure 5 ;
[0016] Figure 7 This is a state transition diagram of identity authentication using three frames, according to an embodiment of the present invention.
[0017] Figure 8 This is a state transition diagram of identity authentication using four frames, according to an embodiment of the present invention. Detailed Implementation
[0018] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings and examples.
[0019] It should be noted that the terms "first," "second," etc., in the specification, claims, and drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0020] In related technologies, the 802.11 standard defines a robust and secure network association standard for key generation, distribution, and encryption / decryption. The standard categorizes security algorithms into two types: Pre-RSNA and RSNA. The former is used for backward compatibility with legacy devices, while the latter is the encryption and authentication method required for secure associations as specified in the standard. Pre-RSNA algorithms include: Wired Equivalent Privacy (WEP), Open System Authentication, and Shared Key Authentication. RSNA algorithms include: Temporal Key Integrity Protocol (TKIP) (classified as a Pre-RSNA algorithm in the latest draft), CounterMode with Cipher-block Chaining Message Authentication Code Protocol (CCMP), Galois Counter Mode Protocol (GCMP), Broadcast / Multicast Integrity Protocol (BIP), RSNA establishment and termination procedures, and key management procedures.
[0021] In related technologies, the basic principle of multi-AP collaboration is that after an AP obtains channel access rights, it allocates the acquired sub-channel resources to itself and other surrounding APs on the same channel. The AP that acquires channel resources is called the sharing AP, and the APs that receive resource allocations are called shared APs. Sub-channel resources (Resource Units, RUs) can be frequency domain, time domain, or spatial domain resources. After AP1 acquires channel resources, it sends a trigger frame (TF) to AP2 and AP3. This trigger frame carries the RU allocation information for AP1, AP2, and AP3, denoted as RU1, RU2, and RU3, respectively. After a certain time interval, AP1, AP2, and AP3 transmit Physical Protocol Data Units (PPDUs) on their respective allocated RUs. This method reduces channel contention and collisions between Base Station Subsystems (BSSs), improves channel utilization, and enhances data transmission reliability.
[0022] This embodiment provides a communication method based on state management. Figure 1 This is a flowchart of the state management-based communication method according to an embodiment of the present invention. Figure 1 ,like Figure 1 As shown, the process includes the following steps:
[0023] In step S102, the first device sends authentication information to the second device, performs authentication with the second device, and enters the authenticated state.
[0024] In this embodiment of the invention, in the discovery state, the first device initiates authentication and sends authentication information to the second device. Both parties complete authentication using encryption algorithms such as SAE or Diffie-Hellman to ensure that both are trusted access points. After successful authentication, the device enters the Authenticated state.
[0025] In an exemplary embodiment, before the first device sends authentication information to the second device and performs authentication with the second device, the method further includes: the first device sending an announcement frame and receiving an announcement response frame from the second device, and entering a discovery state, wherein the announcement frame and the announcement response frame are used to exchange capability information between the first device and the second device.
[0026] In one exemplary embodiment, the capability information includes at least one of the following: Multi-Access Point Cooperative MAPC capability; security capability.
[0027] In an exemplary embodiment, the first device receives an announcement response frame from the second device and enters a discovery state, including: the first device determining whether the second device meets the cooperation conditions based on capability information; if the second device meets the cooperation conditions, the first device selects the corresponding second device as the cooperation object and enters the discovery state, wherein the cooperation conditions are at least one of the following: having common MAPC capabilities and / or security capabilities with the first device; and the signal strength meets a preset threshold.
[0028] In this embodiment of the invention, the first device sends an announcement frame to broadcast its capability information in the initial state (Idle), and receives an announcement response frame from the second device to obtain the capability information of the second device. When the second device meets the cooperation conditions, including but not limited to having common MAPC capabilities and / or security capabilities, signal strength meeting a preset threshold, etc., the second device is selected as the cooperation object, and the device enters the discovery state.
[0029] In step S104, in the authenticated state, the first device sends a negotiation frame to the second device and receives a negotiation response frame from the second device, thus entering the negotiated state.
[0030] In this embodiment of the invention, in the authenticated state, the first device initiates a MAPC capability negotiation request and sends a negotiation frame to determine a cooperation strategy. The second device responds according to its capabilities, sending a negotiation response frame to the first device, thus forming a cooperation strategy between the two parties and entering the negotiated state (Negotiated).
[0031] In one exemplary embodiment, in response to obtaining the authentication result only after the first device sends a negotiation frame to the second device, the first device and the second device first enter the negotiated state, and then enter the authenticated state after obtaining the authentication result.
[0032] In this embodiment of the invention, the first device initiates identity authentication to the second device, but the authentication result is delayed (e.g., identity authentication is performed using a server). The authentication result is later than the capability negotiation. After the capability negotiation is completed, the device first enters the negotiated state, and after the authentication is completed, it enters the authenticated state.
[0033] In one exemplary embodiment, the first device sends authentication information to the second device to authenticate its identity with the second device, including: the first device sending a first authentication frame to the second device and entering a state where the first frame has been sent; the first device receiving a second authentication frame from the second device and sending a third authentication frame to the second device, and entering an authenticated state.
[0034] In one exemplary embodiment, the first device receives a first authentication frame from the second device and sends a second authentication frame to the second device, entering a state where the second frame has been sent; the first device receives a third authentication frame from the second device, entering an authenticated state.
[0035] In this embodiment of the invention, in addition to using three frames for identity authentication as described above, four frames can also be used for identity authentication. In actual implementation, the number of frames can be determined according to the actual situation, and the interaction order of the frames can also be determined according to the actual situation. There is no limitation here.
[0036] In one exemplary embodiment, the first device sends a fourth authentication frame to the second device and enters a state where the fourth frame has been sent; the first device receives a fourth authentication response frame from the second device and sends a fifth authentication frame to the second device, entering a state where the fourth response frame has been received; the first device receives a fifth authentication response frame from the second device and enters an authenticated state.
[0037] In one exemplary embodiment, the first device sends a fourth authentication frame to the second device and enters a state where the fourth frame has been sent; the first device receives a fifth authentication response frame from the second device and enters a state where the fifth response frame has been received; the first device receives the fourth authentication response frame from the second device and sends a fifth authentication frame to the second device, entering an authenticated state.
[0038] In one exemplary embodiment, the first device receives a fourth authentication response frame from the second device and sends a fourth authentication frame and a fifth authentication frame to the second device, entering a state in which the fourth response frame has been received; the first device receives a fifth authentication response frame from the second device and enters an authenticated state.
[0039] In an exemplary embodiment, the first device sends a negotiation frame to the second device and receives a negotiation response frame from the second device, entering a negotiated state. The method further includes: the first device and the second device determining a cooperation strategy, wherein the cooperation strategy includes at least one of the following: cooperative spatial multiplexing; cooperative time-division multiplexing.
[0040] In an exemplary embodiment, in response to the fact that the first device and / or the second device participating in the MAPC cooperative transmission do not need to perform identity authentication, the method further includes: in the discovery state, the first device sends a negotiation frame to the second device and receives a negotiation response frame from the second device, thus entering the negotiated state.
[0041] In this embodiment of the invention, the first and second devices participating in MAPC cooperative transmission do not need to undergo identity authentication, and the AP state does not include the authenticated state. They can directly negotiate capabilities and transition to the negotiated state.
[0042] In an exemplary embodiment, in response to the first device not sending authentication information to the second device, the method further includes: in the discovery state, the first device sends a negotiation frame to the second device, the negotiation frame carrying authentication information, so as to perform authentication and negotiation simultaneously and enter the authenticated and negotiated state.
[0043] In this embodiment of the invention, the first device sends a negotiation frame to the second device. The negotiation frame carries identity authentication information to perform identity authentication and capability negotiation simultaneously. After the negotiation is completed, the AP (i.e., the first device and the second device) enters the authenticated and negotiated state.
[0044] In one exemplary embodiment, the transmission resources include at least one of the following: time resources; spatial resources; and spectrum resources.
[0045] In one exemplary embodiment, the type of the MAPC security management context of the first device and / or the second device includes at least one of the following: Multi-AP Collaborative Pairwise Master Key Security Association (PMKSA) context MAPC PMKSA; Multi-AP Collaborative Pairwise Transient Key Security Association (PTKSA) context MAPC PTKSA; Multi-AP Collaborative Group Temporal Key Security Association (GTKSA) context MAPC GTKSA; Multi-AP Collaborative Integrity Group Temporal Key Security Association (IGTKSA) context MAPC IGTKSA; Multi-AP Collaborative Control Pairwise Master Key Security Association (CPMKSA) context MAPC CPMKSA; Multi-AP Collaborative Control Pairwise Transient Key Security Association (CPTKSA) context MAPC CPTKSA; Multi-AP Collaborative Control Group Temporal Key Security Association (CGTKSA) context MAPC CGTKSA.
[0046] In one exemplary embodiment, the content of the MAPC security management context of the first device and / or the second device includes at least one of the following: the MAC address of the first device; the identification information of the first device; the MAC address of the second device; and the identification information of the second device.
[0047] In step S106, in the negotiated state, the first device sends a control frame to the second device to coordinate transmission with the second device, wherein the control frame is used to schedule transmission resources for the second device.
[0048] In this embodiment of the invention, the sharing AP (first device) that provides shared resources schedules transmission resources for the shared AP (second device) via control frames, entering a coordinating state. In this state, the first and second devices begin to cooperate in tasks such as data transmission.
[0049] In one exemplary embodiment, after the first device and the second device perform a coordinated transmission, the method further includes: the first device and the second device falling back to the negotiated state.
[0050] The above embodiments of the present invention provide a state-management-based communication method. A first device sends authentication information to a second device to authenticate itself, entering an authenticated state. In the authenticated state, the first device sends a negotiation frame to the second device and receives a negotiation response frame from the second device, entering a negotiated state. In the negotiated state, the first device sends a control frame to the second device for coordinated transmission, wherein the control frame is used to schedule transmission resources for the second device. This invention solves the problem of poor AP coordination in multi-AP collaborative systems in related technologies, thereby enabling each AP to autonomously and flexibly adjust its collaborative state, improving the system's scalability and robustness.
[0051] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0052] This embodiment also provides a state management-based communication device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0053] In this embodiment of the invention, the above-mentioned state management-based communication device may further include different modules, and the naming and functional division of the modules may be selected in different ways according to the actual situation, without specific limitations.
[0054] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.
[0055] This invention also provides a network device. Figure 2 This is a structural block diagram of a network device according to an embodiment of the present invention, such as... Figure 2 As shown, the network device 200 includes a receiver 201, a transmitter 202, and a processor 203. The network device 200 is used to perform the steps of the above-described state management-based communication method embodiment through at least one of the receiver 201, transmitter 202, and processor 203.
[0056] Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed.
[0057] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.
[0058] Embodiments of the present invention also provide an electronic device including a memory and a processor, the memory storing a computer program and the processor being configured to run the computer program to perform the steps in any of the above method embodiments.
[0059] In one exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.
[0060] This invention also provides a computer program product, including a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.
[0061] In one exemplary embodiment, the computer program product described above includes a non-volatile computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the methods described in various embodiments of this application.
[0062] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.
[0063] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those described herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.
[0064] To enable those skilled in the art to better understand the technical solutions of the present invention, the following description is provided in conjunction with different embodiments.
[0065] Example 1
[0066] This embodiment provides a communication method based on state management. Figure 3 This is a flowchart of the state management-based communication method according to an embodiment of the present invention. Figure 2 ,like Figure 3 As shown, it includes the following steps:
[0067] Step S1: Detection Announcement.
[0068] In this embodiment of the invention, the local AP sends an announcement frame to broadcast its capability information in the initial state (Idle), and receives an announcement response frame from the peer AP to obtain the peer AP's capability information. When the peer AP meets the cooperation conditions, including but not limited to having common MAPC capabilities and / or security capabilities, signal strength meeting a preset threshold, etc., the local AP is selected as the cooperation target and enters the Discovered state.
[0069] In this embodiment of the invention, the local AP corresponds to the first device in the above embodiments, and the remote AP corresponds to the second device in the above embodiments.
[0070] In this embodiment of the invention, the capability information includes at least one of the following: MAPC capability; security capability.
[0071] Step S2: Identity Authentication.
[0072] In the discovery state, the local AP initiates authentication, sending authentication information to the peer device. Both parties complete authentication using encryption algorithms such as SAE or Diffie-Hellman, ensuring that both are trusted access points. After successful authentication, it enters the Authenticated state.
[0073] In one embodiment, authentication can also be initiated by the peer AP, which sends authentication information to the local AP, and both parties complete authentication through an encryption algorithm. After successful authentication, the system enters the authenticated state.
[0074] Step S3: Capability Negotiation.
[0075] In the authenticated state, the local AP initiates a MAPC capability negotiation request, sending a negotiation frame to determine the cooperation strategy. The peer AP responds according to its capabilities, sending a negotiation response frame to the local AP, thus forming the cooperation strategy between the two parties and entering the Negotiated state.
[0076] In embodiments of the present invention, the cooperative strategy includes at least one of the following: cooperative spatial reuse; cooperative time-division multiplexing.
[0077] In one embodiment, the capability negotiation request is initiated by the peer AP, which sends a negotiation frame to the local AP to determine a cooperation strategy. The local AP responds based on its capabilities, sending a negotiation response frame to the peer AP, thus forming a cooperation strategy between the two parties and entering a negotiated state.
[0078] Step S4: Cooperative transmission.
[0079] In the negotiated state, the AP providing the shared resources (Sharing AP), i.e., the local AP, schedules transmission resources for the AP sharing the resources (Shared AP), i.e., the peer AP, through control frames, and enters the coordinating state. In this state, the local AP and the peer AP begin to coordinate to perform tasks such as data transmission.
[0080] In this embodiment of the invention, transmission resources include, but are not limited to, time resources, spatial resources, and spectrum resources.
[0081] Step S5: Transmission complete, status reset.
[0082] After the coordinated transmission is completed, it falls back to the negotiated state and waits for the next coordinated transmission.
[0083] Step S6: Renegotiation.
[0084] A local AP in a negotiated state can initiate renegotiation in any scenario, and will enter the negotiated state after the renegotiation is completed.
[0085] In one embodiment, in any state, the local AP and the peer AP can notify each other to perform a state rollback.
[0086] In one embodiment, Figure 4 This is a flowchart of the state management-based communication method according to an embodiment of the present invention. Figure 3 ,like Figure 4 As shown, in the implementation of this invention, the local AP and the peer AP participating in MAPC cooperative transmission do not need to perform identity authentication. The AP state does not include the authenticated state. They directly negotiate capabilities and transition to the negotiated state, and then enter the cooperative state to perform cooperative data transmission, including cooperative triggering and cooperative transmission.
[0087] In one embodiment, Figure 5 This is a flowchart of the state management-based communication method according to an embodiment of the present invention. Figure 4 ,like Figure 5 As shown, the local AP sends a negotiation frame to the peer AP. The negotiation frame carries authentication information to perform authentication and capability negotiation simultaneously. After the negotiation is completed, the APs (i.e., the local AP and the peer AP) enter the authenticated and negotiated state, and then enter the cooperative state to perform cooperative data transmission, including cooperative triggering and cooperative transmission.
[0088] In one embodiment, Figure 6 This is a flowchart of the state management-based communication method according to an embodiment of the present invention. Figure 5 ,like Figure 6 As shown, the local AP initiates authentication to the peer AP, but the authentication result is delayed (e.g., when using a server for authentication). The authentication result is later than the capability negotiation. After the capability negotiation is completed, it first enters the negotiated state, and after authentication is completed, it enters the authenticated state. Then it enters the cooperative state to carry out cooperative data transmission, including cooperative triggering and cooperative transmission.
[0089] In this embodiment of the invention, during the aforementioned state-management-based data transmission process, key derivation is required, and the AP needs to maintain a security management context. In this embodiment, the MAPC security management context includes at least one of the following:
[0090] 1) MAPC PMKSA: This is the result of the MAPC active authentication protocol, created by the two SMEs (Security Providers) of the key exchange APs. MAPC PMKSA is bidirectional; both parties use the information in this context for sending and receiving. MAPC PMKSA is used to create MAPC PTKSA. MAPC PMKSA has a certain lifecycle, and its contents include, but are not limited to: MAPC PMKID: identifies the security negotiation; the MAC address of the local AP; the MAC address of the peer AP; the APID of the local AP; the APID of the peer AP; MAPC PMK; lifecycle; the selected Authentication and Key Management (AKM) suite; all authentication parameters; and cache identifier.
[0091] 2) MAPC PTKSA: This is the result of MAPC security negotiation, Preassociation Security Negotiation (PASN), and four-way handshake. The security association is bidirectional and has the same lifecycle as the MAPC PMKSA, with the earlier one taking precedence. The MAPC PTKSA is associated with the MAPC PMKSA and includes, but is not limited to, the following: MAPC Pairwise Transient Key (PTK); Pairwise key set; MAPC Pairwise Master Key ID (PMKID); MAC address of the local AP; MAC address of the peer AP; APID of the local AP; APID of the peer AP; Local nonce; Peer nonce; Key ID; Lifecycle.
[0092] 3) MAPC GTKSA: This is the result of MAPC security negotiation, PASN, and four-way handshake or group key handshake, and it is unidirectional. It is used by the local AP to transmit encrypted multicast address (Multicast Protocol Data Unit, MPDU) to other APs, and by other APs to decrypt received multicast address MPDUs. Each AP defines its own MAPC GTKSA to encrypt the multicast address MPDUs sent during the collaboration process, and stores a separate MAPC GTKSA for each other AP participating in MAPC so that encrypted multicast address MPDUs received from other APs can be decrypted. The MAPC GTKSA has the same lifecycle as the BSS unless it is replaced. The MAPC GTKSA includes, but is not limited to, the following: direction (indicating transmission or reception); group key suite; MAPC GTK; MAC address of the source AP of the MAPC GTK; APID of the source AP of the MAPC GTK; Key ID; and all authentication parameters.
[0093] 4) MAPC IGTKSA: Created after MAPC security negotiation, PASN, and four-way handshake are completed when management frame protection is enabled. MAPC IGTKSA has the same lifecycle as BSS unless replaced. MAPC IGTKSA includes, but is not limited to, the following: direction (indicating transmission or reception); group key suite; MAPC Integrity Group Temporal Key (IGTK); MAC address of the source AP; APID of the source AP; Key ID; and all authentication parameters.
[0094] 5) MAPC CPMKSA: This is the result of the MAPC active authentication protocol and is used for the protection of unicast control frames. It is created by the Station Management Entities (SMEs) of both APs involved in the key exchange. MAPC CPMKSA is bidirectional; both parties use the information in this context for sending and receiving. MAPC CPMKSA is used to create MAPC CPTKSA. MAPC CPMKSA has a certain lifecycle, and its contents include, but are not limited to: Control Pairwise Master Key ID (CPMKID): identifying the security negotiation; the MAC address of the local AP; the MAC address of the peer AP; the APID of the local AP; the APID of the peer AP; the MAPC Control Pairwise Master Key (CPMK); its lifecycle; the selected Authentication and Key Management (AKM) suite; all authentication parameters; and a cache identifier.
[0095] 6) MAPC CPTKSA: This is the result of MAPC security negotiation, PASN, and four-way handshake. The security association is bidirectional and has the same lifecycle as MAPC CPMKSA, with the first one taking precedence. MAPC CPTKSA is associated with MAPC CPMKSA and includes, but is not limited to, the following: MAPC Control Pairwise Transient Key (CPTK); Pairwise key set; CPMKID; MAC address of the local AP; MAC address of the peer AP; APID of the local AP; APID of the peer AP; Local nonce; Peer nonce; Key ID; Lifecycle.
[0096] 7) MAPC CGTKSA: This is the result of MAPC security negotiation, PASN, and four-way handshake or group key handshake, and it is unidirectional. It is used by the local AP to transmit encrypted multicast address control frames to other APs, and by other APs to decrypt received multicast address control frames. Each AP defines its own MAPC CGTKSA to encrypt transmitted multicast address control frames during the collaboration process, and stores a separate MAPC CGTKSA for each other AP participating in MAPC so that encrypted multicast address control frames received from other APs can be decrypted. The MAPC CGTKSA has the same lifespan as the BSS unless it is replaced. The MAPC CGTKSA includes, but is not limited to, the following: direction (indicating transmission or reception); group key suite; MAPC Control Group Temporal Key (CGTK); MAC address of the source AP of the MAPC CGTK; APID of the source AP of the MAPC CGTK; Key ID; and all authentication parameters.
[0097] Example 2
[0098] In this embodiment, the above-described identity authentication process is described in detail.
[0099] In this embodiment of the invention, the meanings of the event / action representations are as follows: E / A indicates that action A is executed when event E occurs. E1,E2 / A indicates that action A is executed when event E1 or E2 occurs. E / (A1,A2) indicates that actions A1 and A2 are executed when event E occurs.
[0100] In this embodiment of the invention, the authentication process can be completed using three frames.
[0101] Figure 7 This is a state transition diagram of identity authentication using three frames, as described in an embodiment of the present invention. Figure 7 As shown, the local AP and the remote AP agree to use three frames to complete the authentication process, such as PASN interaction. In this embodiment of the invention, the authentication process can be initiated by either the local AP or the remote AP.
[0102] The authentication process initiated by the local AP based on three frames includes the following steps:
[0103] Step A1: In the initial state (ST_IDLE), the local AP sends the first authentication frame (Auth1) to the peer AP when the authentication initiation event (EV_INITIATE) is triggered. The frame contains, but is not limited to, random numbers, public keys and SAE parameters. The local AP then enters the state of having sent the first frame (ST_1ST_SENT).
[0104] Step A2: After receiving Auth1, the peer AP verifies the validity of the public key, SAE parameters, etc., and sends a second authentication frame (Auth2) to the local AP. This frame contains, but is not limited to, a random number, public key, SAE parameters, MIC, and status code. Upon receiving Auth2, the local AP, after passing validity and identity authentication, generates an Auth2 acceptance event (EV_2ND_ACCEPT). Triggered by this event, it sends a third authentication frame (Auth3) to the peer AP. This frame contains, but is not limited to, MIC, SAE parameters, and status code. The local AP then enters the authenticated state (ST_AUTH), completing the identity authentication process.
[0105] The authentication process initiated by the peer AP based on three frames includes the following steps:
[0106] Step B1: In the ST_IDLE state, the local AP receives the first authentication frame (Auth1) sent from the peer AP. After the local AP successfully verifies the parameters in Auth1, it generates an event indicating that Auth1 has been received (EV_1ST_ACCEPT) and sends the second authentication frame (Auth2) under the trigger of this event. The local AP then enters the state of having sent the second authentication frame (ST_2ND_SENT).
[0107] Step B2: After receiving Auth2 and verifying it successfully, the peer AP sends a third authentication frame (Auth3) to the local AP. After receiving Auth3, the local AP performs validity and identity authentication, generates an event indicating that Auth3 has been received (EV_3RD_ACCEPT), and triggers the local AP to enter the authenticated state (ST_AUTH) to complete the identity authentication.
[0108] During the authentication process initiated by the local (or peer) AP, if any exception occurs (frame verification failure, authentication failure, etc.), the local (or peer) AP generates the corresponding event EV_XXX_REJECT. When either AP actively terminates authentication, it generates the corresponding events EV_TERMINATE / EV_TEARDOWN_ACCEPT. Upon triggering of these events, the local AP performs a state rollback. When a frame reception timeout occurs, the corresponding event TIMEOUTx is generated for retransmission and other processing.
[0109] In this embodiment of the invention, four frames can also be used to complete identity authentication. Figure 8 This is a state transition diagram of an embodiment of the present invention that uses four frames to complete identity authentication, such as... Figure 8As shown, the authentication process between the local AP and the remote AP uses four frames, such as SAE interaction. In this embodiment of the invention, the authentication process can be initiated by either the local AP or the remote AP. When the APs agree to use four frames to complete the authentication process, such as SAE interaction, each AP completes two authentication frames, for a total of four frames. These are the fourth authentication frame of the first AP, the fifth authentication frame of the first AP, the fourth authentication response frame of the second AP, and the fifth authentication response frame of the second AP.
[0110] In this embodiment of the invention, the naming of the fourth authentication frame, the fifth authentication frame, the fourth authentication response frame, and the fifth authentication response frame is only for distinguishing the first authentication frame, the second authentication frame, and the third authentication frame in the above embodiments, and does not impose any substantial restrictions on their specific form, type, or content.
[0111] The authentication process initiated by the local AP based on four frames includes the following steps:
[0112] Step C1: In the initial state (ST_IDLE), the local AP sends the fourth authentication frame Auth4 to the peer AP when the authentication initiation event (EV_INITIATE) is triggered. The local AP then enters the state of having sent the fourth authentication frame (ST_4TH_SENT) and waits for the response from the peer AP.
[0113] Step C2: When the local AP is in the ST_4th_SENT state, it receives the fourth authentication response frame Auth4' from the peer AP. After validity and authentication, it generates an event indicating that Auth4' has been received (EV_4TH_ACCEPT), which triggers the local AP to send the fifth authentication frame Auth5 and enter the state of having received the fourth authentication response frame (ST_4TH_RCVD).
[0114] Step C3: When the local AP is in the ST_4th_RCVD state, it receives the fifth authentication response frame Auth5' from the peer AP. After validity and authentication, it generates an event indicating that Auth5' has been received (EV_5TH_ACCEPT), which triggers the local AP to enter the authenticated state (ST_AUTH) and complete the identity authentication.
[0115] In this embodiment of the invention, since the order of the response frames from the peer AP is not fixed, the authentication process initiated by the local AP based on four frames may further include the following steps:
[0116] Step D1: In the initial state (ST_IDLE), the local AP sends the fourth authentication frame Auth4 to the peer AP when the authentication initiation event (EV_INITIATE) is triggered. The local AP then enters the state of having sent the fourth authentication frame (ST_4TH_SENT) and waits for the response from the peer AP.
[0117] Step D2: When the local AP is in the ST_4TH_SENT state, it receives the fifth authentication response frame Auth5' from the peer AP. After validity and authentication, it generates an event indicating that Auth5' has been received (EV_5TH_ACCEPT), which triggers the local AP to enter the state of receiving the fifth authentication frame (ST_5TH_RCVD).
[0118] Step D3: When the local AP is in the ST_5TH_RCVD state, it receives the fourth authentication response frame Auth4' from the peer AP. After validity and authentication, it generates an event indicating that Auth4' has been received (EV_4TH_ACCEPT), which triggers the local AP to send the fifth authentication frame Auth5. The local AP then enters the authenticated state (ST_AUTH) and completes the identity authentication.
[0119] In this embodiment of the invention, the authentication process initiated by the peer AP based on four frames includes the following steps:
[0120] Step E1: In the ST_IDLE state, the local AP receives Auth4' sent from the peer AP. After successfully verifying the parameters in Auth4', the local AP generates an event indicating that Auth4' has been received (EV_4TH_ACCEPT), and sends Auth4 and Auth5 upon triggering this event. The local AP then enters the ST_4TH_RCVD state.
[0121] Step E2: When the local AP is in the ST_4TH_RCVD state, after receiving the Auth5' sent by the peer AP, it performs validity and authentication, generates the EV_5TH_ACCEPT event, triggers the local AP to enter the authenticated state (ST_AUTH), and completes the identity authentication.
[0122] During the authentication process initiated by the local (or peer) AP, if any exception occurs (frame verification failure, authentication failure, etc.), the local (or peer) AP generates a corresponding event EV_XXX_REJECT. When either AP actively terminates authentication, it generates a corresponding event EV_TERMINATE / EV_TEARDOWN_ACCEPT. Upon triggering of these events, the local AP performs a state rollback. In the event of a timeout during frame reception, a corresponding event (e.g., a timeout event TIMEOUTx) is generated for retransmission and other processing.
[0123] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A communication method based on state management, characterized in that, include: The first device sends authentication information to the second device, authenticates its identity with the second device, and enters the authenticated state. In the authenticated state, the first device sends a negotiation frame to the second device and receives a negotiation response frame from the second device, thus entering the negotiated state; In the negotiated state, the first device sends a control frame to the second device to coordinate transmission with the second device, wherein the control frame is used to schedule transmission resources for the second device.
2. The method according to claim 1, characterized in that, Before the first device sends authentication information to the second device and performs authentication with the second device, the method further includes: The first device sends an announcement frame and receives an announcement response frame from the second device, and enters the discovery state. The announcement frame and the announcement response frame are used to exchange capability information between the first device and the second device.
3. The method according to claim 2, characterized in that, The capability information includes at least one of the following: Multi-access point collaborative MAPC capability; security capabilities.
4. The method according to claim 3, characterized in that, The first device receives an announcement response frame from the second device and enters the discovery state, including: Based on the capability information, the first device determines whether the second device meets the collaboration conditions. If the second device meets the collaboration conditions, the first device selects the corresponding second device as the collaboration target and enters the discovery state. Wherein, the cooperative condition is at least one of the following: It shares the same MAPC capability and / or security capability as the first device; the signal strength meets the preset threshold.
5. The method according to claim 1, characterized in that, In response to obtaining the authentication result only after the first device sends a negotiation frame to the second device, the first device and the second device first enter the negotiated state, and then enter the authenticated state after obtaining the authentication result.
6. The method according to claim 1, characterized in that, The first device sends authentication information to the second device and performs authentication with the second device, including: The first device sends a first authentication frame to the second device and enters the state of having sent the first frame; The first device receives a second authentication frame from the second device and sends a third authentication frame to the second device, thus entering the authenticated state.
7. The method according to claim 1, characterized in that, The first device sends authentication information to the second device and performs authentication with the second device, including: The first device receives a first authentication frame from the second device and sends a second authentication frame to the second device, entering the state of having sent the second frame. The first device receives a third authentication frame from the second device and enters the authenticated state.
8. The method according to claim 1, characterized in that, The first device sends authentication information to the second device and performs authentication with the second device, including: The first device sends a fourth authentication frame to the second device and enters the state of having sent the fourth frame; The first device receives the fourth authentication response frame from the second device and sends the fifth authentication frame to the second device, entering the state of having received the fourth response frame; The first device receives the fifth authentication response frame from the second device and enters the authenticated state.
9. The method according to claim 1, characterized in that, The first device sends authentication information to the second device and performs authentication with the second device, including: The first device sends a fourth authentication frame to the second device and enters the state of having sent the fourth frame; The first device receives the fifth authentication response frame from the second device and enters the state of having received the fifth response frame; The first device receives a fourth authentication response frame from the second device and sends a fifth authentication frame to the second device, thus entering the authenticated state.
10. The method according to claim 1, characterized in that, The first device sends authentication information to the second device and performs authentication with the second device, including: The first device receives the fourth authentication response frame from the second device, and sends the fourth authentication frame and the fifth authentication frame to the second device, and enters the state of having received the fourth response frame; The first device receives the fifth authentication response frame from the second device and enters the authenticated state.
11. The method according to claim 1, characterized in that, The first device sends a negotiation frame to the second device and receives a negotiation response frame from the second device, entering a negotiated state, and further includes: The first device and the second device determine a coordination strategy. The collaborative strategy includes at least one of the following: collaborative spatial reuse; collaborative time-division multiplexing.
12. The method according to claim 1, characterized in that, In response to the fact that the first device and / or the second device participating in MAPC cooperative transmission do not need to perform the authentication, the method further includes: In the discovery state, the first device sends a negotiation frame to the second device and receives a negotiation response frame from the second device, thus entering the negotiated state.
13. The method according to claim 1, characterized in that, In response to the first device not sending the authentication information to the second device, the method further includes: In the discovery state, the first device sends a negotiation frame to the second device. The negotiation frame carries the identity authentication information to perform identity authentication and negotiation simultaneously, and enters the authenticated and negotiated state.
14. The method according to claim 1, characterized in that, The transmission resources include at least one of the following: Time resources; space resources; spectrum resources.
15. The method according to claim 1, characterized in that, After the first device and the second device perform coordinated transmission, the method further includes: The first device and the second device revert to the negotiated state.
16. The method according to claim 1, characterized in that, The types of MAPC security management contexts of the first device and / or the second device include at least one of the following: Multi-AP Collaborative Paired Master Key Security Management Context (MAPC PMKSA); Multi-AP Collaborative Paired Temporary Key Security Management Context (MAPC PTKSA); Multi-AP Collaborative Group Temporary Key Security Management Context (MAPC GTKSA); Multi-AP Collaborative Integrity Group Temporary Key Security Management Context (MAPC IGTKSA); Multi-AP collaborative control pair master key security management context MAPC CPMKSA; Multi-AP collaborative control pairwise temporary key security management context MAPC CPTKSA; Multi-AP Collaborative Control Group Temporary Key Security Management Context (MAPC CGTKSA).
17. The method according to claim 1, characterized in that, The contents of the MAPC security management context of the first device and / or the second device include at least one of the following: The MAC address of the first device; The identification information of the first device; The MAC address of the second device; The identification information of the second device.
18. A network device, characterized in that, The network device includes a receiver, a transmitter, and a processor, and the network device is configured to perform the steps of the method according to any one of claims 1 to 17 via at least one of the receiver, the transmitter, and the processor.
19. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the method described in any one of claims 1 to 17.
20. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method described in any one of claims 1 to 17.
21. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method described in any one of claims 1 to 17.
