WiFi data transmission method, WiFi single transceiver chip, storage medium and wireless network equipment

By simulating dual AP functions in a single transceiver chip, the problem of high hardware costs for multiple SSID functions in the prior art is solved, flexible STA management and intelligent data processing are realized, and hardware costs are significantly reduced.

CN120186599APending Publication Date: 2025-06-20ZHUHAI HUGE IC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510301588.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-14
Publication Date
2025-06-20

AI Technical Summary

Technical Problem

In the prior art, multiple single transceiver chips or dual-mode transceiver chips are required to realize multiple SSID functions, resulting in high hardware costs.

Method used

By implementing channel monitoring, broadcasting, maintenance management, data transmission and data reception functions in a single transceiver chip, the dual AP operation mode is simulated, the preset beacon cycle monitoring channel is used, and the original and extended beacon frames are sent when the channel is idle, the STA information table is generated and maintained, and the data transmission and reception are intelligently processed according to the AP index identification.

Benefits of technology

The simulation of dual AP functions is realized, channel utilization is optimized, flexible STA management and intelligent data processing are provided, and hardware costs are significantly saved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120186599A_ABST
    Figure CN120186599A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a WiFi data transmission method, a WiFi single transceiver chip, a storage medium and wireless network equipment, and belongs to the field of wireless communication. According to the invention, the idle state of the channel is monitored, and the original and extended beacon frames containing different SSID information and MAC addresses are sent in sequence. The method comprises the following steps: establishing an STA information table, and recording detailed information for connecting STA and an AP index identifier; when data are sent, a CCA detection channel is executed, a serial number and an AP index are matched in an STA information table according to a receiver address, a state indication signal level is determined, whether an MAC address in a sending frame is replaced or not is determined, and the data are sent after an FCS is calculated. When a frame is received, judging whether the MAC address of a receiver is in an address register or not, and performing FCS verification, decryption and storage processing on the accordant frame; the MAC address of the expanded AP, which is data or a management frame, is verified, decrypted and stored after being replaced, and the MAC address of the expanded AP, which is a control frame, is subjected to corresponding control operation, so that the function of simulating double APs by the WiFi single transceiver chip is realized, and the hardware cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication, and particularly to a WiFi data transmission method, device, storage medium, and wireless network device. Background Art

[0002] With the popularization and development of wireless networks, WiFi technology has become an indispensable part of modern life. In a WiFi network, an AP (Access Point) serves as the center point of the wireless network and is responsible for providing wireless access services to STA (Station) devices. A traditional WiFi single transceiver chip, that is, a chip with only one baseband module and one RF (Radio Frequency) module, is usually designed to be used as an AP only and provides one SSID for STA devices to connect to the outside.

[0003] However, in actual applications, for the convenience of use and to meet the requirements of specific scenarios, STA devices sometimes expect to connect to the AP through two or more SSIDs. For example, in the application scenario of a wireless camera, one SSID can be used to transmit the main video data to ensure the continuity and stability of the video data; while another SSID can be used for real-time network configuration, facilitating users to perform network configuration and management. Similarly, in the application scenario of a camera drone, one SSID can be used to transmit the main video data to provide high-quality video transmission; while another SSID can be used for real-time flight control to ensure the flight safety and stability of the drone.

[0004] Currently, to implement the function of multiple SSIDs, usually two single transceiver chips or one dual-mode transceiver chip are required. However, this solution has the problem of high hardware cost. Two single transceiver chips not only increase the hardware complexity and volume but also raise the overall cost. Although the dual-mode transceiver chip integrates two RF modules, its price is relatively high, which is not conducive to large-scale application and promotion. Summary of the Invention

[0005] The embodiments of this application provide a WiFi data transmission method, device, storage medium, and wireless network device, which can solve the problem of high hardware cost in implementing the dual-AP function in related technologies. The technical solutions are as follows:

[0006] In a first aspect, the embodiments of this application provide a WiFi data transmission method, which monitors the current channel according to a preset beacon period;

[0007] When the current channel is in an idle state, the original beacon frame and the extended beacon frame are sent in sequence; among them, the sender address of the original beacon frame is the MAC address of the original AP, the sender address of the extended beacon frame is the MAC address of the extended AP, the original beacon frame includes the first SSID information, and the extended beacon frame includes the second SSID information;

[0008] Write the MAC address of the original AP and the MAC address of the extended AP into the address register, and generate a STA information table according to the connected STAs; among them, the STA information table includes: the number of connected STAs, the numbers of each STA, the decryption keys of each STA, the MAC addresses of each STA, and the AP index identifiers of each STA, and the AP index identifier indicates whether the STA is connected to the original AP or the extended AP;

[0009] When a data transmission request is detected, perform CCA. When the current channel is detected to be idle, match the number and AP index identifier of the receiving STA in the STA information table according to the receiver address of the transmission frame;

[0010] If the matched AP index identifier indicates that the receiving STA is connected to the original AP, set the status indication signal to low level during data transmission, calculate the FCS of the transmission frame, and perform a filling operation, and then send the transmission frame to the receiving STA;

[0011] If the AP index identifier indicates that the receiving STA is connected to the extended AP, keep the status indication signal at a high level during data transmission, replace the MAC address of the original AP in the transmission frame with the MAC address of the extended AP, calculate the FCS of the replaced transmission frame, perform a filling operation on the calculated FCS, and then send the filled transmission frame to the receiving STA;

[0012] When a received frame is received, determine whether the receiver MAC address of the received frame belongs to the MAC addresses stored in the address register;

[0013] If not, discard the received frame;

[0014] If it is yes, when the receiving party MAC address is the MAC address of the original AP, perform FCS check on the received frame, and after passing the check, perform decryption and storage; when the receiving party MAC address is the MAC address of the extended AP and the received frame is a data frame or a management frame, perform check and decryption on the received frame. After successful check and decryption, replace the MAC address of the extended AP in the received frame with the MAC address of the original AP, and then store the replaced received frame; when the receiving party MAC address is the MAC address of the extended AP and the received frame is a control frame, perform FCS check on the received frame, and after passing the check, execute the corresponding control operation.

[0015] In a second aspect, an embodiment of the present application provides a WiFi single transceiver chip, including: a UMAC layer and an LMAC layer;

[0016] Wherein, the LMAC layer includes:

[0017] A channel monitoring unit, configured to monitor the current channel according to a preset beacon period;

[0018] A broadcast unit, configured to sequentially send an original beacon frame and an extended beacon frame when the current channel is in an idle state; wherein, the sending party address of the original beacon frame is the MAC address of the original AP, the sending party address of the extended beacon frame is the MAC address of the extended AP, the original beacon frame includes first SSID information, and the extended beacon frame includes second SSID information;

[0019] A maintenance management unit, configured to write the MAC address of the original AP and the MAC address of the extended AP into an address register, and generate a STA information table according to the connected STA; wherein, the STA information table includes: the number of connected STAs, the numbers of each STA, the decryption keys of each STA, the MAC addresses of each STA, and the AP index identifiers of each STA, and the AP index identifier indicates whether the STA is connected to the original AP or the extended AP;

[0020] A data sending unit, configured to perform CCA when detecting a data sending request, and when monitoring that the current channel is idle, match the number and AP index identifier of the receiving party STA in the STA information table according to the receiving party address of the sending frame;

[0021] If the matched AP index identifier indicates that the receiving party STA is connected to the original AP, set the status indication signal to a low level during data sending, calculate the FCS of the sending frame, and perform a filling operation, and then send the sending frame to the receiving party STA;

[0022] If the AP index identifier indicates that the receiving STA is connected to the extended AP, during data transmission, keep the status indication signal at a high level, and replace the MAC address of the original AP in the transmitted frame with the MAC address of the extended AP, calculate the FCS of the replaced transmitted frame, perform a padding operation on the calculated FCS, and then send the padded transmitted frame to the receiving STA;

[0023] A data receiving unit, configured to, when receiving a received frame, determine whether the receiving MAC address of the received frame belongs to the MAC addresses stored in the address register;

[0024] If not, discard the received frame;

[0025] If so, when the receiving MAC address is the MAC address of the original AP, perform an FCS check on the received frame, and after the check passes, perform decryption and storage; when the receiving MAC address is the MAC address of the extended AP and the received frame is a data frame or a management frame, perform a check and decryption on the received frame, and after the check and decryption are successful, replace the MAC address of the extended AP in the received frame with the MAC address of the original AP, and then store the replaced received frame; when the receiving MAC address is the MAC address of the extended AP and the received frame is a control frame, perform an FCS check on the received frame, and after the check passes, perform corresponding control operations.

[0026] In a third aspect, an embodiment of the present application provides a computer storage medium, which stores multiple instructions, and the instructions are suitable for being loaded and executed by a processor to perform the above method steps.

[0027] In a fourth aspect, an embodiment of the present application provides a WiFi single transceiver chip, which may include: a processor and a memory; wherein, the memory stores a computer program, and the computer program is suitable for being loaded and executed by the processor to perform the above method steps.

[0028] In a fifth aspect, a wireless network device provided by an embodiment of the present application includes any one of the above WiFi single transceiver chips.

[0029] The beneficial effects brought by the technical solutions provided by some embodiments of the present application at least include:

[0030] Through the application of an innovative single-mode WIFI transceiver chip, the simulation of the dual-AP function is realized, the channel utilization is optimized, flexible STA management is provided, and intelligent data transmission and reception processing are achieved, while significantly saving hardware costs. Description of the Drawings

[0031] To more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other accompanying drawings can be obtained based on these drawings.

[0032] Figure 1 is a schematic architecture diagram of a WiFi single transceiver chip provided by an embodiment of the present application;

[0033] Figure 2 is a schematic flowchart of a WiFi data transmission method provided by an embodiment of the present application;

[0034] Figure 3 is a timing diagram of broadcasting beacon frames provided by an embodiment of the present application;

[0035] Figure 4 is a timing diagram of data transmission provided by an embodiment of the present application;

[0036] Figure 5 is a schematic structural diagram of a WiFi single transceiver chip provided by an embodiment of the present application;

[0037] Figure 6 is another schematic structural diagram of a WiFi single transceiver chip provided by an embodiment of the present application. Detailed implementation manners

[0038] To make the objectives, technical solutions, and advantages of the present application clearer, the following will further describe the embodiments of the present application in detail in conjunction with the accompanying drawings.

[0039] See Figure 1 , which is a schematic architecture diagram of a WiFi single transceiver chip provided by an embodiment of the present application.

[0040] A WiFi single transceiver chip is a chip that only has one baseband module and one RF (radio frequency) module. The WiFi single transceiver chip is provided with a UMAC layer (upper layer of the data link layer) and an LMAC layer (lower layer of the data link layer). The UMAC layer is mainly used to execute functions related to MAC management (such as detection, authentication, and association, etc.), and the LMAC layer is mainly used to execute functions such as frame aggregation, frame transceiver, and response management. The UMAC layer and the LMAC layer are logical concepts, and hardware resources or software resources are set in each layer.

[0041] By modifying the functions of the LMAC layer in the present application, the effect of a dual AP can be simulated using a WiFi single transceiver chip. At the same time, the UMAC layer does not need to be changed, and it is still docked with an original AP. All STAs (including STAs connected to the extended AP) are still treated as child nodes of the original AP by the UMAC layer.

[0042] The embodiment of the present application further provides a wireless network device, including the above-mentioned WiFi single transceiver chip. The wireless network device can be a WiFi device such as a wireless router, a wireless bridge, a mobile terminal, a tablet computer, etc.

[0043] Please refer to Figure 3 , which is a schematic flowchart of a WiFi data transmission method provided by the embodiment of the present application. The method of the present application may include the following steps:

[0044] S201. Monitor the current channel according to a preset beacon period.

[0045] Among them, a timer is built in the WiFi single transceiver chip in the wireless network device. The timer triggers an interruption according to a preset beacon period (for example, every 100 milliseconds). When the timer interruption occurs, the channel monitoring function of the device is activated. The signal on the current channel is received through the radio frequency (RF) front end of the device, and energy detection and carrier sense (CS) are performed. Energy detection is used to measure the signal energy level on the channel. If the energy level is lower than a certain threshold, the channel is considered idle. Carrier sense detects whether there is a transmission activity of other devices by decoding the signal on the channel. If both energy detection and carrier sense indicate that the channel is idle, the device is ready to send a beacon frame.

[0046] Further, refer to Figure 3 The transmission timing diagram of the beacon frame shown. After the original beacon frame (BEACON) is sent, the device immediately sends an extended beacon frame (BEACON_shadow), that is, the end moment of the original beacon frame's transmission coincides with the start moment of the extended beacon frame's transmission. Before sending the extended beacon frame, it is not necessary to perform CCA (Channel Clear Assessment) again because the transmission of the original beacon frame has ensured that the channel is idle at the transmission moment. This mechanism reduces unnecessary channel detection overhead and improves network efficiency.

[0047] The original beacon frame and the extended beacon frame carry different SSIDs (Service Set Identifiers) respectively, so that two SSIDs can exist on the air interface at the same time. Each STA (Wireless Client) can choose to connect to the original AP or the extended AP at any time and maintain the connection.

[0048] The wireless network device of the present application can simulate the behavior of dual APs through software algorithms and hardware reuse technologies, and the effect is equivalent to using two independent AP chips. However, due to the reuse of hardware resources, the total bandwidth will not increase but will decrease slightly. The reduced bandwidth is mainly used to send additional extended beacon frames, and its calculation formula is: the transmission bandwidth of the original single transceiver chip - the bandwidth consumed by sending additional extended beacon frames.

[0049] Since a set of hardware is reused, the two APs (the original AP and the extended AP) are consistent in the declared capabilities, such as transceiver aggregation capabilities, receive storage capabilities, supported frame types, etc.

[0050] It should be noted that it is not necessary to send extended beacon frames in each beacon interval. The device can determine the frequency of sending extended beacon frames according to the listen interval requirements of the STAs connected to the extended AP (connection needs to be maintained) or the waiting time requirements for searching for the SSID of the extended AP (connection is not maintained). This can further optimize the utilization of network resources while ensuring the stability of the network connection.

[0051] In some embodiments of the present application, the wireless network device displays a configuration interface on the user terminal. This configuration interface can be a web interface, an application interface, or other forms of user interfaces for the user to interact with the wireless network device. In the configuration interface, the user can see various configurable options, including options for setting the first SSID information of the original AP and the second SSID information of the extended AP. The user inputs or selects the required SSID information through the configuration interface. For the original AP, the user sets the first SSID information, which is the identification name broadcast by the original AP in the network. For the extended AP, the user sets the second SSID information, which is a different identification name broadcast by the extended AP in the network. The wireless network device performs setting operations based on the configuration of the user on the configuration interface. It assigns the first SSID information input by the user to the original AP and broadcasts it as the identification name of the original AP in the network. At the same time, it assigns the second SSID information input by the user to the extended AP and broadcasts it as the identification name of the extended AP in the network. In this way, the wireless network device allows the user to flexibly configure the SSID information of the original AP and the extended AP to meet different network requirements and usage scenarios.

[0052] Further, the user inputs or selects the first SSID information of the original AP through the configuration interface of the wireless network device. The wireless network device embeds the first SSID information into the frame body of the original beacon frame. The original beacon frame is regularly sent by the wireless network device to announce the existence and status of the network. In the frame body of the original beacon frame, basic information of the network is included, such as SSID, supported rates, encryption methods, etc. When the original beacon frame is sent, the first SSID information therein is also broadcast out for wireless clients (such as mobile phones, tablets, etc.) to scan and connect.

[0053] Similarly, the user inputs or selects the second SSID information of the extended AP through the configuration interface. The wireless network device embeds the second SSID information into the frame body of the extended beacon frame. The extended beacon frame is sent after the original beacon frame to provide additional network information or identify different network access points. When the extended beacon frame is sent, the second SSID information therein is also broadcast out for wireless clients to scan and connect. In this way, the original AP and the extended AP can broadcast different SSIDs in the network to implement the function of dual APs.

[0054] By setting the first SSID information in the frame body of the original beacon frame and the second SSID information in the frame body of the extended beacon frame, the wireless network device realizes emulating two logically access points (APs) on the same physical device. This design not only improves the utilization rate of network resources but also meets the user's requirements for different network access points. At the same time, the user can flexibly set the SSID information through the configuration interface, making network configuration more convenient and personalized.

[0055] S202: When the current channel is in an idle state, sequentially send the original beacon frame and the extended beacon frame.

[0056] Among them, the source address of the original beacon frame is the MAC address of the original AP, the source address of the extended beacon frame is the MAC address of the extended AP, the original beacon frame includes the first SSID information, and the extended beacon frame includes the second SSID information.

[0057] When the channel is monitored as idle, the wireless network device starts to assemble the original beacon frame. The sender address field of the original beacon frame is set to the MAC address of the original AP, and the frame body part contains the first SSID information and other necessary network parameters. After assembly, the wireless network device passes the original beacon frame to the RF front-end for transmission. After the transmission is completed, the extended beacon frame is then assembled. The sender address field is set to the MAC address of the extended AP, and the frame body part contains the second SSID information. The extended beacon frame is also passed to the RF front-end for transmission. By sequentially transmitting these two beacon frames, the device announces the existence of the network and allows client devices (STAs) to identify and connect to the original AP or the extended AP. The receiver address of the original beacon frame and the extended beacon frame is 0xFFFF_FFFF_FFFF.

[0058] S203. Write the MAC addresses of the original AP and the extended AP into the address register, and generate a STA information table according to the connected STAs.

[0059] Among them, the STA information table includes: the number of connected STAs, the numbers of each STA, the decryption keys of each STA, the MAC addresses of each STA, and the AP index identifiers of each STA. The AP index identifier indicates whether the STA is connected to the original AP or the extended AP.

[0060] The wireless network device writes the MAC addresses of the original AP and the extended AP into the internal address register for subsequent address matching when processing received frames. At the same time, a STA information table is maintained to record the detailed information of the STAs currently connected to the network. When a new STA connects, information such as the MAC address and decryption key of the STA is obtained by receiving and parsing the association request frame sent by the STA. The wireless network device assigns a unique number to each connected STA and sets the corresponding AP index identifier according to the AP (original AP or extended AP) to which the STA is connected. The updated STA information table is stored in the memory of the device for subsequent data transmission and reception processing. The STA information table includes the number, number, decryption key, MAC address, and AP index identifier (indicating whether the STA is connected to the original AP or the extended AP) of the STA.

[0061] S204. When a data transmission request is detected, perform CCA. When the current channel is monitored as idle, match the number and AP index identifier of the receiving STA in the STA information table according to the receiver address of the transmission frame.

[0062] Among them, when the wireless network device receives a data transmission request from the upper layer, it first performs a Clear Channel Assessment (CCA) to confirm whether the channel is idle. If the channel is idle, the device looks up and matches the corresponding STA number and AP index identifier in the STA information table according to the recipient address of the transmission frame. This step ensures that the data frame can be correctly sent to the target STA and performs corresponding processing according to the AP (original AP or extended AP) to which the STA is connected.

[0063] S205. If the matched AP index identifier indicates that the recipient STA is connected to the original AP, during data transmission, set the status indication signal to low level, calculate the FCS of the transmission frame, and perform padding operations, and then send the transmission frame to the recipient STA.

[0064] Among them, if the AP index identifier indicates that the recipient STA is connected to the original AP, the device sets the status indication signal to low level during the transmission of the data frame (used to indicate that communication is currently being carried out using the identity of the original AP). The device calculates the Frame Check Sequence (FCS) of the transmission frame to ensure data integrity. Before transmission, the calculated FCS is filled into the transmission frame to meet the frame format or transmission requirements. Finally, the device sends the processed transmission frame to the recipient STA through the RF module.

[0065] S206. If the AP index identifier indicates that the recipient STA is connected to the extended AP, during data transmission, keep the status indication signal at high level, and replace the MAC address of the original AP in the transmission frame with the MAC address of the extended AP, calculate the FCS of the replaced transmission frame, perform padding operations on the calculated FCS, and then send the padded transmission frame to the recipient STA.

[0066] Among them, if the AP index identifier indicates that the recipient STA is connected to the extended AP, the device keeps the status indication signal at high level during the transmission of the data frame (used to indicate that communication is currently being carried out using the identity of the extended AP). The device replaces the original AP MAC address in the transmission frame with the MAC address of the extended AP to adapt to the connection status of the recipient STA. After replacement, the device recalculates the FCS of the transmission frame to ensure that data integrity is not affected by the replacement operation. Similarly, before transmission, the calculated FCS is filled into the specified position of the transmission frame. Finally, the device sends the processed transmission frame to the recipient STA.

[0067] It should be noted that the transmission frame here is a data frame, a management frame (except for the beacon frame), and related control frames (such as RTS frame, BAREQ frame, or CF-END frame, etc.).

[0068] For example, see Figure 4In the data transmission timing diagram shown, when the wireless network device detects a data transmission request, it performs CCA. When it monitors through CCA that the current channel is available, it sends a TX RTS frame to inform other WiFi devices that data transmission is about to be performed. After receiving the RX CTS frame returned by other WiFi devices, it prepares to send a frame. If the sender of the frame to be sent is an extended AP, during data transmission, the status indication signal is set to high level until the transmission ends; if the sender of the frame to be sent is the original AP, during data transmission, the status indication signal is set to low level until the transmission ends.

[0069] S207. When receiving a received frame, determine whether the receiving MAC address of the received frame belongs to the MAC address stored in the address register.

[0070] Among them, when the wireless network device receives a received frame from a STA, it first extracts the receiving MAC address in the received frame. The device compares the extracted MAC address with the MAC addresses of the original AP and the extended AP stored in the address register. This step is used to verify the legality of the received frame, that is, to ensure that the received frame is sent to the current device.

[0071] S208. If the answer is no, discard the received frame.

[0072] Among them, if the receiving MAC address of the received frame does not belong to the MAC address stored in the address register, the device will consider the received frame to be illegal or incorrect. In this case, the device will discard the received frame without performing subsequent processing or forwarding.

[0073] S209. If the answer is yes, when the receiving MAC address is the MAC address of the original AP, perform FCS check on the received frame, and after passing the check, perform decryption and storage; when the receiving MAC address is the MAC address of the extended AP and the received frame is a data frame or a management frame, perform check and decryption on the received frame. After the check and decryption are successful, replace the MAC address of the extended AP in the received frame with the MAC address of the original AP, and then store the replaced received frame; when the receiving MAC address is the MAC address of the extended AP and the received frame is a control frame, perform FCS check on the received frame, and after passing the check, perform the corresponding control operation.

[0074] Among them, if it is determined that the receiving MAC address matches the MAC address stored in the device (that is, the receiving MAC address is the MAC address of the AP recognized by the device), the following operations are performed:

[0075] When the receiving MAC address is the MAC address of the original AP: Perform an FCS (Frame Check Sequence) check on the received frame. After passing the check, perform decryption processing on the received frame. After successful decryption, store the received frame in the corresponding buffer or storage structure for subsequent processing.

[0076] When the receiving MAC address is the MAC address of the extended AP:

[0077] If the received frame is a data frame or a management frame: Perform FCS check on the received frame. After the check passes, perform decryption processing on the received frame. After successful decryption, replace the MAC address of the extended AP in the received frame with the MAC address of the original AP. After replacement, store the modified received frame in the corresponding buffer or storage structure.

[0078] If the received frame is a control frame: Perform FCS check on the received frame. After the check passes, perform corresponding control operations (such as responding to requests, updating status, etc.) according to the specific content of the control frame. Control frames include RTS, BAREQ, and CF-END, etc. During the check process, the integrity of the received frame must be maintained, including the receiving MAC address. After the check passes, perform corresponding control operations (such as responding to requests, updating status, etc.) according to the specific content of the control frame. When performing the response operation, the response frame must also be generated based on the actual receiving MAC address, otherwise the response frame may not be recognized.

[0079] In a possible embodiment, in the STA information table, an AP index identifier is assigned to each connected STA to indicate whether the STA is connected to the original AP or the extended AP. The length of the AP index identifier is 1 bit. For example, "0" indicates connection to the original AP, "1" indicates connection to the extended AP; or "1" indicates connection to the original AP, "0" indicates connection to the extended AP. This design simplifies the storage and processing of the AP index identifier and improves network efficiency.

[0080] The technical solution of this application has the following technical effects:

[0081] Through a single-mode WIFI transceiver chip, the functions of dual APs (original AP and extended AP) are successfully simulated. This means that without the need for additional hardware support, the concurrent operation of two APs can be achieved, thus improving the flexibility and functionality of the device.

[0082] In the solution, the current channel is monitored according to the preset beacon period, and beacon frames (including original beacon frames and extended beacon frames) are sent when the channel is idle. This mechanism effectively utilizes channel resources, reduces channel conflicts, and improves the efficiency of data transmission.

[0083] By generating and maintaining the STA information table, the solution can flexibly manage the connected STAs, including the number, number, decryption key, MAC address, and AP index identifier of the STAs. This enables the AP to dynamically adjust the connection relationship with the STAs as needed, improving the adaptability and scalability of the network.

[0084] When data is sent, the solution intelligently selects the sending method according to the AP index identifier of the receiving STA (such as setting status indication signals, replacing MAC addresses, etc.), and calculates the FCS to ensure data integrity. When receiving data, the solution strictly checks and decrypts the received frame to ensure data security and reliability.

[0085] By simulating the dual-AP function with a single-mode WIFI transceiver chip, the use of additional hardware to support the second AP is avoided, thus significantly saving hardware costs. This has significant economic advantages for scenarios that require deploying a large number of APs (such as large enterprise networks, public places, etc.).

[0086] The following is an embodiment of the apparatus of the present application, which can be used to execute the method embodiment of the present application. For details not disclosed in the embodiment of the apparatus of the present application, please refer to the method embodiment of the present application.

[0087] Please refer to Figure 5 , which shows a schematic structural diagram of a WiFi single transceiver chip provided by an exemplary embodiment of the present application. The LMAC layer of the WiFi single transceiver chip 5 (abbreviated as chip 3) includes: a channel monitoring unit 501, a broadcast unit 502, a maintenance management unit 503, a data sending unit 504, and a data receiving unit 505.

[0088] The channel monitoring unit 501 is configured to monitor the current channel according to a preset beacon period;

[0089] The broadcast unit 502 is configured to sequentially send an original beacon frame and an extended beacon frame when the current channel is in an idle state; wherein, the sending address of the original beacon frame is the MAC address of the original AP, the sending address of the extended beacon frame is the MAC address of the extended AP, the original beacon frame includes first SSID information, and the extended beacon frame includes second SSID information;

[0090] The maintenance management unit 503 is configured to write the MAC address of the original AP and the MAC address of the extended AP into an address register, and generate a STA information table according to the connected STAs; wherein, the STA information table includes: the number of connected STAs, the numbers of each STA, the decryption keys of each STA, the MAC addresses of each STA, and the AP index identifiers of each STA, and the AP index identifier indicates whether the STA is connected to the original AP or the extended AP;

[0091] A data sending unit 504, which is configured to perform CCA when a data sending request is detected, and when it monitors that the current channel is idle, match the number of the receiving STA and the AP index identifier in the STA information table according to the receiving address of the sending frame;

[0092] If the matched AP index identifier indicates that the receiving STA is connected to the original AP, set the status indication signal to a low level during data sending, calculate the FCS of the sending frame, and perform a filling operation, and then send the sending frame to the receiving STA;

[0093] If the AP index identifier indicates that the receiving STA is connected to the extended AP, keep the status indication signal at a high level during data sending, replace the MAC address of the original AP in the sending frame with the MAC address of the extended AP, calculate the FCS of the replaced sending frame, perform a filling operation on the calculated FCS, and then send the filled sending frame to the receiving STA;

[0094] A data receiving unit 505, which is configured to determine whether the receiving MAC address of the received frame belongs to the MAC address stored in the address register when the received frame is received;

[0095] If the answer is no, discard the received frame;

[0096] If the answer is yes, when the receiving MAC address is the MAC address of the original AP, perform an FCS check on the received frame, decrypt and store it after the check passes; when the receiving MAC address is the MAC address of the extended AP and the received frame is a data frame or a management frame, perform a check and decryption on the received frame, and after the check and decryption are successful, replace the MAC address of the extended AP in the received frame with the MAC address of the original AP, and then store the replaced received frame; when the receiving MAC address is the MAC address of the extended AP and the received frame is a control frame, perform an FCS check on the received frame, and perform the corresponding control operation after the check passes.

[0097] In a possible implementation manner, the length of the AP index identifier is 1 bit.

[0098] In a possible implementation manner, the control frame includes RTS, BAREQ, and CF-END.

[0099] In a possible implementation manner, the sending end moment of the original beacon frame coincides with the sending start moment of the extended beacon frame.

[0100] In a possible implementation manner, it further includes:

[0101] A configuration unit, which is configured to display a configuration interface on the user terminal;

[0102] Execute the setting of the first SSID information of the original AP and the second SSID information of the extended AP based on the user's configuration on the configuration interface.

[0103] In a possible implementation manner, the first SSID information is set in the frame body of the original beacon frame, and the second SSID information is set in the frame body of the extended beacon frame.

[0104] In a possible implementation manner, the beacon period is 100 milliseconds.

[0105] It should be noted that the above-described WiFi single transceiver chip and the WiFi data transmission method embodiment provided by the above embodiment belong to the same concept. The implementation process is detailed in the method embodiment and will not be elaborated here.

[0106] In the embodiment of the present application, by integrating the UMAC layer and the LMAC layer in a single transceiver chip and implementing functions such as channel monitoring, broadcasting, maintenance management, data sending, and data receiving in the LMAC layer, the operation mode of a dual AP (original AP and extended AP) is successfully simulated. This greatly improves the flexibility and functionality of the chip, and enables the concurrent operation of the dual AP without additional hardware support.

[0107] The channel monitoring unit monitors the current channel state according to a preset beacon period, ensures that beacon frames and data frames are sent when the channel is idle, effectively avoids channel conflicts, and improves channel utilization and data transmission efficiency.

[0108] The maintenance management unit is responsible for generating and maintaining the STA information table, including detailed information such as the number of connected STAs, numbers, decryption keys, MAC addresses, and AP index identifiers. This enables the chip to flexibly manage the connected STAs and intelligently process data sending and receiving according to the AP index identifier. The data sending unit selects an appropriate sending method according to the AP index identifier of the receiving STA, such as setting a status indication signal, replacing the MAC address, etc., and calculates the FCS to ensure the integrity of the data. The data receiving unit performs strict verification and decryption processing on the received frame to ensure the security and reliability of the data. At the same time, corresponding operations are performed according to the receiving MAC address and frame type, such as storing, replacing the MAC address, or performing control operations, etc.

[0109] By implementing the dual AP function in a single transceiver chip, the use of additional hardware to support the second AP is avoided, thereby significantly reducing the hardware cost. This has significant economic advantages for scenarios that require large-scale deployment of APs.

[0110] The chip improves the performance and reliability of the network through efficient channel utilization, flexible STA management, and data processing mechanisms. At the same time, through strict verification and decryption processes, it ensures the security and integrity of the data, providing users with a more stable and secure wireless network environment.

[0111] The serial numbers of the embodiments of the present application above are only for description and do not represent the superiority or inferiority of the embodiments.

[0112] The embodiments of the present application also provide a computer storage medium, which can store multiple instructions. The instructions are suitable for being loaded and executed by a processor to perform the method steps of the embodiments as described above Figure 2 as shown. The specific execution process can be referred to Figure 2 the specific description of the embodiments shown, and will not be elaborated here.

[0113] The present application also provides a computer program product. The computer program product stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the WiFi data transmission method described in each of the above embodiments.

[0114] Please refer to Figure 6 , which provides a schematic structural diagram of a WiFi single transceiver chip for the embodiments of the present application. As Figure 6 shown, the WiFi single transceiver chip 600 may include: at least one processor 601, a communication interface 603, a memory 604, and at least one communication bus 602.

[0115] Among them, the communication bus 602 is used to realize the connection and communication between these components. The processor and the memory are respectively connected to the communication bus.

[0116] Among them, the communication interface 603 includes a WiFi communication module and can transmit data of various 802.11 protocols.

[0117] Among them, the processor 601 may include one or more processing cores. The processor 601 uses various interfaces and lines to connect various parts within the entire WiFi single transceiver chip 600, and by running or executing instructions, programs, code sets, or instruction sets stored in the memory 604, as well as calling data stored in the memory 604, it executes various functions of the WiFi single transceiver chip 600 and processes data.

[0118] Among them, the memory 604 may include a Random Access Memory (RAM), or may also include a Read-Only Memory. Optionally, the memory 604 includes a non-transitory computer-readable storage medium. The memory 604 can be used to store instructions, programs, codes, code sets, or instruction sets. The memory 604 may include a program storage area and a data storage area. Among them, the program storage area can store instructions for implementing an operating system, instructions for at least one function, instructions for implementing the above-mentioned method embodiments, etc.; the data storage area can store the data involved in the above-mentioned method embodiments. Optionally, the memory 604 may also be at least one storage device located far from the aforementioned processor 601.

[0119] In Figure 6 the shown WiFi single transceiver chip 600, the processor 601 can be used to call the application program stored in the memory 604 and specifically execute the method as Figure 2 shown, and the specific process can be referred to Figure 2 shown, which will not be elaborated here.

[0120] Those of ordinary skill in the art can understand that all or part of the processes of implementing the above method embodiments can be completed by instructing relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above method embodiments. Among them, the storage medium can be a magnetic disk, an optical disc, a read-only memory, or a random access memory, etc.

[0121] The above disclosure is only a preferred embodiment of the present application. Of course, it cannot be used to limit the scope of rights of the present application. Those of ordinary skill in the art can understand all or part of the processes of implementing the above embodiments, and the equivalent changes made according to the claims of the present application still fall within the scope covered by the invention.

Claims

1. A WiFi data transmission method, characterized in that: include: Monitor the current channel according to the preset beacon period; When the current channel is in an idle state, an original beacon frame and an extended beacon frame are sent in sequence; wherein the sender address of the original beacon frame is the MAC address of the original AP, the sender address of the extended beacon frame is the MAC address of the extended AP, the original beacon frame includes the first SSID information, and the extended beacon frame includes the second SSID information; Writing the MAC address of the original AP and the MAC address of the extended AP into an address register, and generating a STA information table according to the connected STAs; wherein the STA information table includes: the number of connected STAs, the number of each STA, the decryption key of each STA, the MAC address of each STA, and the AP index identifier of each STA, the AP index identifier indicating whether the STA is connected to the original AP or the extended AP; When a data transmission request is detected, CCA is executed, and when the current channel is detected to be idle, the number of the receiving STA and the AP index identifier are matched in the STA information table according to the receiving address of the sending frame; If the matched AP index identifier indicates that the receiving STA is connected to the original AP, the state indication signal is set to a low level during data transmission, the FCS of the transmission frame is calculated, and a padding operation is performed, and then the transmission frame is sent to the receiving STA; If the AP index identifier indicates that the receiving STA is connected to the extended AP, the state indication signal is maintained at a high level during data transmission, and the MAC address of the original AP in the transmission frame is replaced with the MAC address of the extended AP, the FCS of the replaced transmission frame is calculated, the calculated FCS is padded, and then the padded transmission frame is sent to the receiving STA; When receiving a receive frame, determining whether the MAC address of the receiver of the receive frame belongs to the MAC address stored in the address register; If not, discard the received frame; If yes, when the receiving MAC address is the MAC address of the original AP, perform FCS check on the received frame, and decrypt and store it after the check passes; when the receiving MAC address is the MAC address of the extended AP and the received frame is a data frame or a management frame, perform check and decryption on the received frame, and after the check and decryption are successful, replace the MAC address of the extended AP in the received frame with the MAC address of the original AP, and then store the replaced received frame; when the receiving MAC address is the MAC address of the extended AP and the received frame is a control frame, perform FCS check on the received frame, and execute the corresponding control operation after the check passes.

2. The method according to claim 1, characterized in that The length of the AP index identifier is 1 bit.

3. The method according to claim 1 or 2, characterized in that: The control frame includes RTS, BAREQ, and CF-END.

4. The method according to claim 3, characterized in that The original beacon frame ends sending at the same time as the extended beacon frame starts sending.

5. The method according to claim 1, 2 or 4, characterized in that: Also includes: Displaying a configuration interface on a user terminal; The first SSID information of the original AP and the second SSID information of the extended AP are set based on the configuration performed by the user on the configuration interface.

6. The method according to claim 5, characterized in that The first SSID information is set in the frame body of the original beacon frame, and the second SSID information is set in the frame body of the extended beacon frame.

7. A WiFi single transceiver chip, characterized in that: include: UMAC layer and LMAC layer; Wherein, the LMAC layer includes: A channel monitoring unit, used to monitor the current channel according to a preset beacon period; A broadcast unit, configured to send an original beacon frame and an extended beacon frame in sequence when the current channel is in an idle state; wherein the sender address of the original beacon frame is the MAC address of the original AP, the sender address of the extended beacon frame is the MAC address of the extended AP, the original beacon frame includes the first SSID information, and the extended beacon frame includes the second SSID information; A maintenance management unit, configured to write the MAC address of the original AP and the MAC address of the extended AP into an address register, and generate a STA information table according to the connected STAs; wherein the STA information table includes: the number of connected STAs, the number of each STA, the decryption key of each STA, the MAC address of each STA, and the AP index identifier of each STA, the AP index identifier indicating whether the STA is connected to the original AP or the extended AP; A data sending unit, configured to perform CCA when a data sending request is detected, and to match the number of the receiving STA and the AP index identifier in the STA information table according to the receiving address of the sending frame when the current channel is idle; If the matched AP index identifier indicates that the receiving STA is connected to the original AP, the state indication signal is set to a low level during data transmission, the FCS of the transmission frame is calculated, and a padding operation is performed, and then the transmission frame is sent to the receiving STA; If the AP index identifier indicates that the receiving STA is connected to the extended AP, the state indication signal is maintained at a high level during data transmission, and the MAC address of the original AP in the transmission frame is replaced with the MAC address of the extended AP, the FCS of the replaced transmission frame is calculated, the calculated FCS is padded, and then the padded transmission frame is sent to the receiving STA; A data receiving unit, configured to determine, upon receiving a receiving frame, whether a receiving MAC address of the receiving frame belongs to the MAC address stored in the address register; If not, discard the received frame; If yes, when the receiving MAC address is the MAC address of the original AP, perform FCS check on the received frame, and decrypt and store it after the check passes; when the receiving MAC address is the MAC address of the extended AP and the received frame is a data frame or a management frame, perform check and decryption on the received frame, and after the check and decryption are successful, replace the MAC address of the extended AP in the received frame with the MAC address of the original AP, and then store the replaced received frame; when the receiving MAC address is the MAC address of the extended AP and the received frame is a control frame, perform FCS check on the received frame, and execute the corresponding control operation after the check passes.

8. A computer storage medium, characterized in that: The computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method steps according to any one of claims 1 to 6.

9. A WiFi single transceiver chip, characterized in that: include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the method steps as claimed in any one of claims 1 to 6.

10. A wireless communication device, characterized in that: include: The WiFi single transceiver chip as described in claim 7 or 9.