Wireless communication device, system, and data aggregation method
The data frame aggregation is generated by combining software and hardware, which solves the problems of high hardware cost or low efficiency, and achieves efficient and economical data frame aggregation.
Patent Information
- Application Number
- CN202211041353.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-29
- Publication Date
- 2025-07-11
- Estimated Expiration
- 2042-08-29
AI Technical Summary
Existing wireless communication devices have problems with high hardware cost or low aggregation efficiency in data frame aggregation, especially pure software implementation is limited by CPU performance, while pure hardware implementation is too high, making it difficult to maintain an advantage in market competition.
By combining software and hardware, the processing module generates instructions and the aggregation module performs data frame aggregation, reducing the hardware burden and improving the aggregation efficiency.
While improving the efficiency of data frame aggregation, it reduces hardware costs and improves market competitiveness.
Smart Images

Figure CN115396950B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technologies, and in particular, to a wireless communication device, a system, and a data aggregation method. Background Art
[0002] In a wireless local area network, communication between a master device and a wireless communication device is carried out via a bus. The master device is used to generate data frames and transmit the data frames to the wireless communication device via the bus. A Wifi (Wireless Fidelity) chip operates in the wireless communication device, and the wireless communication device is used to provide a data path to transmit the data frames provided by the master device to a data receiving device via the data path.
[0003] To improve throughput, the IEEE 802.11 standard adopts A-MPDU (Aggregation Mac Protocol Data Unit) transmission, that is, the wireless communication device encapsulates the data frames provided by the master device into MPDUs (MAC Protocol Data Unit), and after aggregating multiple MPDUs into one A-MPDU, the aggregated A-MPDU is transmitted to the data receiving device.
[0004] Currently, the aggregation of data frames by wireless communication devices is mainly achieved through the following two methods: One is to implement MPDU aggregation using pure software. Although the method of aggregating data frames using pure software can reduce hardware costs, since the operation of the software depends on the CPU (central processing unit), the aggregation efficiency of data frames is limited by the CPU performance. Once the CPU performance does not meet the aggregation requirements, the aggregation efficiency will be low and the throughput will not increase. The other is to implement data frame aggregation using pure hardware. Although the method of aggregating data frames using pure hardware can ensure aggregation efficiency and throughput, the hardware cost is relatively high. Summary of the Invention
[0005] In view of this, this application proposes a wireless communication device, a system, and a data aggregation method, aiming to reduce the hardware cost of data frame aggregation efficiency while improving the data frame aggregation efficiency.
[0006] To achieve the above object, this application mainly provides the following technical solutions:
[0007] In a first aspect, this application provides a wireless communication device, which includes a processing module and an aggregation module. The processing module is implemented by software, and the aggregation module is implemented by hardware, where:
[0008] A processing module, configured to generate indication information for a data frame to be aggregated;
[0009] An aggregation module, configured to perform an aggregation process on the data frame to be aggregated corresponding to the indication information according to the indication information sent by the processing module.
[0010] The wireless communication device provided by the present application includes a processing module implemented by software and an aggregation module implemented by hardware. The processing module is responsible for generating indication information for the data frame to be aggregated. The aggregation module performs an aggregation process on the data frame to be aggregated corresponding to the indication information according to the indication information sent by the processing module. It can be seen that in the solution provided by the present application, the data frame aggregation is implemented in a combination of software and hardware, the determination of the indication information is raised to software processing, which reduces the burden on the hardware. And since the amount of processing raised to software processing is small and does not affect the processing speed, the combination of software and hardware in the present application can improve the data frame aggregation efficiency while reducing the hardware cost of data frame aggregation.
[0011] In some embodiments, the processing module includes: a judgment unit, configured to judge whether a data frame to be transmitted sent by a master device meets an aggregation condition; a determination unit, configured to determine the data frame to be transmitted as a data frame to be aggregated when the judgment unit determines that the data frame to be transmitted meets the aggregation condition.
[0012] In some embodiments, the judgment unit includes: a first judgment subunit, configured to judge whether an aggregation path has been established, where the aggregation path is a path established through negotiation between the wireless communication device and a data receiving device for transmitting the data frame to be aggregated; a second judgment subunit, configured to: when the first judgment unit determines that the aggregation path has been established, judge whether the data frame to be transmitted is a data frame of a target type; if it is determined that the data frame to be transmitted is a data frame of the target type, determine that the data frame to be transmitted meets the aggregation condition; or, if it is determined that the data frame to be transmitted is a data frame of the target type, further judge whether the transmission rate corresponding to the data frame to be transmitted reaches a target rate, and if it reaches, determine that the data frame to be transmitted meets the aggregation condition.
[0013] In some embodiments, the processing module further includes: a negotiation unit, configured to negotiate with the data receiving device to establish an aggregation path when the first judgment subunit determines that the aggregation path has not been established.
[0014] In some embodiments, the wireless communication device further includes: a sending module, configured to send the data frame to be transmitted to the data receiving device in a single-packet sending transmission mode when the second judgment subunit determines that the data frame to be transmitted is not a data frame of the target type.
[0015] In some embodiments, the processing module further includes: a receiving unit, configured to receive the data frame to be transmitted sent by the master device through a wireless protocol stack.
[0016] In some embodiments, the processing module includes: a generating unit configured to determine a data length, a delimiter, and padding bytes corresponding to the data frame to be aggregated, and encapsulate the determined data length, delimiter, and padding bytes to generate indication information corresponding to the data frame to be aggregated.
[0017] In some embodiments, the aggregation module includes: a media access control sublayer configured to transmit the indication information sent by the processing module to the physical layer convergence protocol sublayer; the physical layer convergence protocol sublayer configured to perform an aggregation process on the data frame to be aggregated corresponding to the indication information based on the data length, delimiter, and padding bytes included in the received indication information; and when the total amount of the data frames to be aggregated in the aggregation process reaches a target number, transmit the aggregated packet to the physical medium dependent sublayer; the physical medium dependent sublayer configured to transmit the aggregated packet to the data receiving device.
[0018] In some embodiments, the processing module is further configured to determine unpacking information for the aggregated packet sent by the data receiving device, where the unpacking information is used to instruct the aggregation module to perform an unpacking process on the aggregated packet; the aggregation module is further configured to perform an unpacking process on the aggregated packet corresponding to the unpacking information according to the unpacking information sent by the processing module.
[0019] In some embodiments, the processing module is further configured to, when determining that the unpacking of the aggregated packet is successful, feedback a response of successfully receiving the aggregated packet to the data receiving device.
[0020] In a second aspect, the present application provides a wireless communication system, where the wireless communication system includes: a master device and the wireless communication device of the first aspect; the master device is configured to send a data frame to be aggregated to the wireless communication device.
[0021] In a third aspect, the present application provides a data aggregation method applied to a processing module of a wireless communication device, where the processing module is implemented by software, and the data aggregation method includes:
[0022] Generating indication information for the data frame to be aggregated;
[0023] Sending the indication information to an aggregation module of the wireless communication device, so that the aggregation module performs an aggregation process on the data frame to be aggregated corresponding to the indication information, where the aggregation module is implemented by hardware.
[0024] In some embodiments, before generating the indication information for the data frame to be aggregated, the method further includes: determining whether a data frame to be transmitted sent by the master device meets an aggregation condition; when determining that the data frame to be transmitted meets the aggregation condition, determining the data frame to be transmitted as the data frame to be aggregated.
[0025] In some embodiments, determining whether a data frame to be transmitted sent by a master device meets the aggregation condition includes: determining whether an aggregation path has been established, where the aggregation path is a path established through negotiation between a wireless communication device and a data receiving device for transmitting data frames to be aggregated; in the case where it is determined that the aggregation path has been established, determining whether the data frame to be transmitted is a data frame of a target type; if it is determined that the data frame to be transmitted is a data frame of the target type, determining that the data frame to be transmitted meets the aggregation condition; or, if it is determined that the data frame to be transmitted is a data frame of the target type, further determining whether the transmission rate corresponding to the data frame to be transmitted reaches a target rate, and if it reaches, determining that the data frame to be transmitted meets the aggregation condition.
[0026] In some embodiments, the data aggregation method further includes: in the case where it is determined that the aggregation path has not been established, negotiating with the data receiving device to establish an aggregation path.
[0027] In some embodiments, the method further includes: when it is determined that the data frame to be transmitted is not a data frame of the target type, sending the data frame to be transmitted to the data receiving device through a single-packet transmission method.
[0028] In some embodiments, receive a data frame to be transmitted sent by a master device through a wireless protocol stack.
[0029] In some embodiments, generating indication information for a data frame to be aggregated includes: determining the data length, delimiter, and padding bytes corresponding to the data frame to be aggregated, and encapsulating the determined data length, delimiter, and padding bytes to generate indication information corresponding to the data frame to be aggregated.
[0030] In some embodiments, the data aggregation method further includes: determining unpacking information for an aggregated packet sent by a data receiving device; providing the unpacking information to an aggregation module so that the aggregation module performs unpacking processing on the aggregated packet corresponding to the unpacking information.
[0031] In some embodiments, the data aggregation method further includes: when it is determined that the unpacking of the aggregated packet is successful, sending a response indicating successful reception of the aggregated packet to the data receiving device.
[0032] In a fourth aspect, the present application provides a data aggregation method, which is applied to an aggregation module of a wireless communication device, and the aggregation module is implemented by hardware. The data aggregation method includes:
[0033] Obtain indication information sent by a processing module, where the processing module is implemented by software;
[0034] Perform aggregation processing on the data frame to be aggregated corresponding to the indication information.
[0035] In some embodiments, aggregating the data frames to be aggregated corresponding to the indication information includes: aggregating the data frames to be aggregated corresponding to the indication information based on the data length, delimiter, and padding bytes included in the indication information.
[0036] In some embodiments, after aggregating the data frames to be aggregated corresponding to the indication information, the data aggregation method further includes: when the total amount of the data frames to be aggregated in the aggregation process reaches the target quantity, transmitting the aggregated result to the data receiving device.
[0037] In some embodiments, the method further includes: obtaining unpacking information determined by the processing module for the aggregation packets of the data receiving device; performing unpacking processing on the aggregation packets corresponding to the unpacking information.
[0038] In some embodiments, the aggregation module is a wireless network communication technology chip.
[0039] The above description is only an overview of the technical solutions of the present application. In order to be able to understand the technical means of the present application more clearly, it can be implemented according to the content of the specification. And in order to make the above and other purposes, features, and advantages of the present application more obvious and understandable, the following specifically describes the specific embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0041] Figure 1 FIG. 1 shows a schematic structural diagram of a wireless communication device provided by an embodiment of the present application;
[0042] Figure 2 FIG. 2 shows a schematic structural diagram of a wireless communication device provided by an embodiment of the present application;
[0043] Figure 3 FIG. 3 shows the architecture between the master device and the wireless communication device provided by an embodiment of the present application;
[0044] Figure 4 FIG. 4 shows a schematic diagram of the aggregation process of data frames to be aggregated provided by an embodiment of the present application;
[0045] Figure 5 FIG. 5 shows a schematic structural diagram of a wireless communication system provided by an embodiment of the present application;
[0046] Figure 6One of the flowcharts of the data aggregation method provided by the embodiments of the present application is shown;
[0047] Figure 7 Another flowchart of the data aggregation method provided by the embodiments of the present application is shown. Detailed implementation manners
[0048] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided so that the present disclosure can be more thoroughly understood and the scope of the present disclosure can be fully conveyed to those skilled in the art.
[0049] In a wireless local area network, communication between a master device and a wireless communication device is carried out through a bus. The master device is used to generate data frames and transmit the data frames to the wireless communication device through the bus. The Wifi chip works in the wireless communication device, and the wireless communication device is used to provide a data path to transmit the data frames provided by the master device to the data receiving device through the data path.
[0050] To improve throughput, the Institute of Electrical and Electronics Engineers (IEEE) 802.11 standard adopts A-MPDU transmission, that is, the wireless communication device encapsulates the data frames provided by the master device into MPDUs, and after aggregating multiple MPDUs into one A-MPDU, the aggregated A-MPDU is transmitted to the data receiving device.
[0051] Currently, the wireless communication device aggregates data frames mainly through the following two methods: First, data frame aggregation is implemented by pure software. Although aggregating data frames in a pure software manner can reduce hardware costs, since the operation of the software depends on the CPU, the aggregation efficiency of the data frames is limited by the CPU performance. Once the CPU performance does not meet the aggregation requirements, the aggregation efficiency will be low and the throughput will not increase. Second, data frame aggregation is implemented by pure hardware. Although aggregating data frames in a pure hardware manner can ensure aggregation efficiency and throughput, the hardware cost is relatively high, which is not conducive to the market competition of products in the increasingly competitive market environment.
[0052] To overcome the defects of implementing data frame aggregation by pure software and the defects of implementing data frame aggregation by pure hardware, the embodiments of the present application provide a wireless communication device and system, and a data aggregation method. The wireless communication device and system, and the data aggregation method provided by the embodiments of the present application implement data frame aggregation in a combination of software and hardware, so as to improve the data frame aggregation efficiency and reduce the hardware cost of data frame aggregation at the same time. The embodiments of the present application do not limit the specific type of the wireless communication device. In practical applications, any wireless communication device equipped with a Wifi chip and used to provide a data path can be used as the wireless communication device provided by the present application.
[0053] The following specifically describes the wireless communication device and system, and the data aggregation method provided by the embodiments of the present application.
[0054] As Figure 1 shown, the embodiments of the present application provide a wireless communication device, which mainly includes a processing module 11 and an aggregation module 12. The processing module 11 is implemented by software, and the aggregation module 12 is implemented by hardware, where:
[0055] The processing module 11 is used to generate indication information for the data frame to be aggregated;
[0056] The aggregation module 12 is used to perform aggregation processing on the data frame to be aggregated corresponding to the indication information according to the indication information sent by the processing module 11.
[0057] The wireless communication device provided by the embodiments of the present application includes a processing module 11 implemented by software and an aggregation module 12 implemented by hardware. Through the processing module 11 and the aggregation module 12, the wireless communication device and system can implement data frame aggregation in a combination of software and hardware, so as to improve the data frame aggregation efficiency and reduce the hardware cost of data frame aggregation at the same time.
[0058] The following specifically describes the specific structures and interaction relationships of the components involved in the wireless communication device:
[0059] The processing module 11:
[0060] The data frame to be aggregated is a data frame generated by the master device and needs to be transmitted to the data receiving device, and the type of this data frame can support data transmission in an aggregated manner. The specific types of the master device, the data receiving device, and the wireless communication device mentioned here are not limited in the embodiments of the present application, and the specific types are related to the specific application scenarios. Exemplarily, in the scenario of an Internet of Things camera, the master device is a camera, the wireless communication device is a wireless network card, and the data receiving device is a router.
[0061] In practical applications, the master device will transmit all data frames to be transmitted to the data receiving device to the wireless communication device as data frames to be transmitted, so that the wireless communication device can transmit the data frames to the data receiving device. In order to receive the data frames to be transmitted sent by the master device, such as Figure 2 As shown, the processing module 11 includes a receiving unit 111. The receiving unit 111 is used to receive the data frames to be transmitted sent by the master device through the wireless protocol stack.
[0062] The architecture between the master device and the wireless communication device is as Figure 3 shown. Figure 3 It includes a master device 20 and a wireless communication device 21. The wifi chip operates in the wireless communication device 21, and the master device 20 communicates with the wireless communication device 21 through a bus 22. The master device 20 runs the application layer software iperf of the tcp / ip protocol stack, and the wireless protocol stack "wifi protocol stack" runs in the wireless communication device 21. In addition, the specific configurations of the master device and the wireless communication device are not specifically limited in the embodiments of the present application and can be selected based on service requirements. For example, the master device is a device provided with an embedded chip or a cpu, where the cpu can be an arm running linux, and the embedded chip is a risc-v embedded chip. An 80211mac is provided in the wireless communication device. The bus between the master device and the wireless communication device can be any one of the following: sdio bus, usb bus, spi bus.
[0063] The application layer software iperf in the master device is the source of the uplink traffic. That is, it sends the data frames to be transmitted to the wireless communication device, and sending the data frames to be transmitted to the wireless communication device is all uplink traffic. After the data frames to be transmitted transmitted to the wireless communication device come out of the tcpip protocol stack, they call the sending interface of the wifi protocol stack in the wireless communication device to enter the wifi protocol stack, and then the wifi protocol stack will receive the data frames to be transmitted, so as to realize that the receiving unit 111 receives the data frames to be transmitted sent by the master device through the wireless protocol stack.
[0064] Although the master device transmits all data frames to be transmitted to the data receiving device to the wireless communication device as data frames to be transmitted, not all the data frames transmitted to the wireless communication device here can be sent to the data receiving device in an aggregated form. Therefore, before the wireless communication device receives the data frames to be transmitted sent by the master device, it is necessary to screen the data frames to be aggregated to determine the data frames to be aggregated.
[0065] In order to determine the data frames to be aggregated from the received data frames to be transmitted, such as Figure 2As shown in the figure, the processing module 11 includes a judgment unit 112 and a determination unit 113. The judgment unit 112 is used to judge whether the data frame to be transmitted sent by the master device meets the aggregation condition. The determination unit 113 is used to determine the data frame to be transmitted as the data frame to be aggregated when the judgment unit 112 determines that the data frame to be transmitted meets the aggregation condition.
[0066] The aggregation condition is used to determine whether the data frame to be transmitted is a data frame to be aggregated. Only the data frame to be transmitted that meets the aggregation condition can be used as the data frame to be aggregated and is transmitted to the data receiving device in an aggregated manner. The judgment process of whether the data frame to be transmitted meets the aggregation condition is completed by the judgment unit 112.
[0067] The judgment unit 112 has a structure as Figure 2 shown, and the determination process of the data frame to be aggregated is completed through this structure. As Figure 2 shown, the judgment unit 112 includes a first judgment subunit 1121 and a second judgment subunit 1123. The first judgment subunit 1121 is used to judge whether the aggregation path has been established, where the aggregation path is a path established through negotiation between the wireless communication device and the data receiving device for transmitting the data frame to be aggregated. The second judgment subunit 1122 is used to judge whether the data frame to be transmitted is a data frame of the target type when the first judgment subunit 1121 determines that the aggregation path has been established; if it is determined that the data frame to be transmitted is a data frame of the target type, it is determined that the data frame to be transmitted meets the aggregation condition; or, if it is determined that the data frame to be transmitted is a data frame of the target type, it is further judged whether the transmission rate corresponding to the data frame to be transmitted reaches the target rate, and if it reaches, it is determined that the data frame to be transmitted meets the aggregation condition.
[0068] The aggregation path is a path established through negotiation between the wireless communication device and the data receiving device for transmitting the data frame to be aggregated. It is a prerequisite for the wireless communication device to transmit the data frame to the data receiving device in an aggregated form. Therefore, first, the first judgment subunit 1121 needs to judge whether the aggregation path has been established.
[0069] When the first judgment subunit 1121 determines that the aggregation path has been established, it means that the wireless communication device and the data receiving device can transmit the aggregated number of data frames, and the transmission condition for transmitting the aggregation packet to the data receiving device has been established. Since not all data frames can be sent to the data receiving device in an aggregated form, the second judgment subunit 1122 judges whether the data frame to be transmitted is a data frame of the target type when the first judgment subunit 1121 determines that the aggregation path has been established.
[0070] When the second determination subunit 1122 determines that the data frame to be transmitted is not a data frame of the target type, it indicates that the data frame to be transmitted cannot be aggregated and cannot be sent to the data receiving device in an aggregated form. Therefore, it is determined that the data frame to be transmitted does not meet the aggregation conditions, and the data frame to be transmitted is not determined as the packet to be aggregated. When the second determination subunit 1122 determines that the data frame to be transmitted is not a data frame of the target type, although the data frame to be transmitted cannot be aggregated as a data frame to be aggregated, it is also a data frame that needs to be transmitted to the data receiving device. Therefore, in order to ensure that the data frame to be transmitted can be transmitted to the data receiving device, as Figure 2 shown, the wireless communication device further includes a sending module 13. The sending module 13 is configured to, when the second determination subunit 1122 determines that the data frame to be transmitted is not a data frame of the target type, send the data frame to be transmitted to the data receiving device by means of single-packet transmission. Whether the sending module 13 is implemented in software or in hardware can be determined based on specific service requirements, and this embodiment does not make a limitation.
[0071] When the second determination subunit 1122 determines that the data frame to be transmitted is a data frame of the target type, the following two methods can be used to determine that the data frame to be transmitted meets the aggregation conditions: The first is that when the second determination subunit 1122 determines that the data frame to be transmitted is a data frame of the target type, it indicates that the data frame to be transmitted can be aggregated and sent to the data receiving device in an aggregated form. Therefore, it is directly determined that the data frame to be transmitted meets the aggregation conditions to determine the data frame to be transmitted as the packet to be aggregated. The target type can be specifically set based on service requirements, and this embodiment does not make a specific limitation. Exemplarily, the target type is a data frame conforming to the 802.11n / ac standard. The second is that after the second determination subunit 1122 determines that the data frame to be transmitted is a data frame of the target type, further determine whether the transmission rate corresponding to the data frame to be transmitted reaches the target rate; if it reaches, it is determined that the data frame to be transmitted meets the aggregation conditions.
[0072] When the data frame to be transmitted arrives at the wireless communication device, the rate controller in the wireless communication device assigns a transmission rate to the data frame to be transmitted. Only when this transmission rate is not less than the target rate can aggregation processing be performed. Therefore, only when it is determined that the transmission rate corresponding to the data frame to be transmitted reaches the target rate is it determined that the data frame to be transmitted meets the aggregation conditions. When it is determined that the transmission rate corresponding to the data frame to be transmitted does not reach the target rate, the sending module 13 is triggered to send the data frame to be transmitted to the data receiving device by means of single-packet transmission.
[0073] When the second determination subunit 1122 determines that the data frame to be transmitted is a data frame of the target type, it indicates that the data frame to be transmitted can be aggregated and sent to the data receiving device in an aggregated form. Therefore, it is determined that the data frame to be transmitted meets the aggregation conditions, and the data frame to be transmitted is determined as the packet to be aggregated.
[0074] When the first determination subunit 1121 determines that the aggregation path is not established, it indicates that the wireless communication device and the data receiving device cannot transmit the data frames of the aggregation number, and the transmission condition for transmitting the aggregated packet to the data receiving device has not been established. In order to be able to transmit the data frames to the data receiving device in an aggregated form and increase the throughput, as Figure 2 shown, the processing module 11 further includes a negotiation unit 114. The negotiation unit 114 is used to negotiate with the data receiving device to establish an aggregation path when the first determination subunit 1121 determines that the aggregation path is not established.
[0075] The negotiation process of the aggregation path is as follows: The wireless communication device is the aggregation requestor, and the data receiving device is the aggregation responder. The aggregation requestor first sends an aggregation request to request the establishment of an aggregation path, and the request carries the aggregation number. The aggregation responder replies with an aggregation response, and the aggregation response specifies whether the negotiation of the aggregation number is successful. If the aggregation response specifies that the negotiation of the aggregation number is successful, then the aggregation path is established at this time, and the wireless communication device aggregates the data frames based on the aggregation number. Here, the aggregation number is the number of data frames required to aggregate one A-MPDU. If the aggregation response specifies that the negotiation of the aggregation number is not successful, the aggregation requestor modifies the aggregation number and resends the aggregation request to establish the aggregation path, and the new aggregation number is carried in the request. Corresponding processing is performed according to the aggregation response replied by the aggregation responder. The above process is repeated until the negotiation of the aggregation number is successful, and the aggregation path is successfully established. It should be noted that the purpose of the wireless communication device and the data receiving device to establish a data path is to reduce the number of times of acquiring the channel, and after each acquisition of the channel, transmit the aggregated packet formed by aggregation, so as to increase the throughput.
[0076] The determination unit 113 is mainly used to determine the data frame to be transmitted as the data frame to be aggregated when the judgment unit 112 determines that the data frame to be transmitted meets the aggregation conditions. After the data frame to be transmitted is determined as the data frame to be aggregated, it is necessary to generate indication information for the data frame to be aggregated, so that the aggregation module 12 can perform aggregation processing on the data frame to be aggregated based on the indication information.
[0077] The indication information is used to indicate the aggregation module to perform aggregation processing on the data frame to be aggregated, and each data frame to be aggregated has its corresponding indication information. The generation process of the indication information is described below, as Figure 2As shown, the processing module 11 includes a generating unit 115. The generating unit 115 is configured to determine the data length, delimiter, and padding bytes corresponding to the data frame to be aggregated, and encapsulate the determined data length, delimiter, and padding bytes to generate indication information corresponding to the data frame to be aggregated.
[0078] The indication information is used to instruct the aggregation module to perform aggregation processing on the data frame to be aggregated. The data length, delimiter, and padding bytes involved are described below. The data length is the length of the data in the data frame to be aggregated. When the aggregated A-MPDU is transmitted to the data receiving device, the data receiving device extracts the MPDU in sequence by parsing the MPDU delimiter. That is, the delimiter is used to assist the data receiving device in extracting the MPDU. The 802.11a standard stipulates that data is transmitted in fixed-size bit blocks. The padding bits are added to make the data length consistent with the size of the bit block. The size of the bit block here depends on the modulation method and coding rate used by the data frame.
[0079] After the processing module 11 generates the corresponding indication information for the data packet to be aggregated, it provides the indication information to the aggregation module 12 for the aggregation module 12 to use for aggregation processing.
[0080] Aggregation module 12:
[0081] The aggregation module 12 is mainly used to perform aggregation processing on the data frame to be aggregated corresponding to the indication information sent by the processing module 11. It should be noted that since the wireless communication device and the data receiving device have negotiated the aggregation number when negotiating the aggregation path, the number of data frames to be aggregated used by the aggregation module 12 to aggregate one aggregation packet cannot be greater than the aggregation number.
[0082] The time points for the aggregation module 12 to perform aggregation processing on the data frame to be aggregated include the following two: First, after all the data frames to be aggregated that need to be aggregated into one aggregation packet "A-MPDU" are cached in the cache area of the wireless communication device, according to the indication information corresponding to each cached data frame to be aggregated, perform aggregation processing on each cached data frame to be aggregated. Second, when each data frame to be aggregated is received, perform aggregation processing according to the indication information corresponding to the data frame to be aggregated until the number of data frames to be aggregated involved in the aggregated aggregation packet reaches the aggregation number requirement.
[0083] The aggregation module 12 is a wifi chip working in the wireless communication device. As Figure 2 shown, the aggregation module 12 includes a media access control sublayer 121, a physical layer convergence protocol sublayer 122, and a physical medium dependent sublayer 123. To improve the aggregation efficiency of the data frame, the media access control sublayer 121, the physical layer convergence protocol sublayer 122, and the physical medium dependent sublayer 123 are all implemented in hardware.
[0084] The Medium Access Control sublayer 121 is used to transmit the indication information sent by the processing module 11 to the Physical Layer Convergence Protocol sublayer 122. The Physical Layer Convergence Protocol sublayer 122 is used to perform aggregation processing on the data frames to be aggregated corresponding to the indication information based on the data length, delimiter, and padding bytes included in the received indication information; and when the total amount of the data frames to be aggregated in the aggregation processing reaches the target quantity, transmit the aggregated packet to the Physical Medium Dependent sublayer 123. The Physical Medium Dependent sublayer 123 is used to transmit the aggregated packet to the data receiving device.
[0085] The Medium Access Control sublayer 121, that is, the MAC layer, the indication information is the necessary information for aggregating the data frames to be aggregated, so it transmits the indication information sent by the processing module 11 to the Physical Layer Convergence Protocol sublayer 122. In addition, as Figure 4 shown, Figure 4 the first layer of MSDU represents the data frame to be aggregated. While transmitting the indication information to the Physical Layer Convergence Protocol sublayer 122, the Medium Access Control sublayer 121 encapsulates the data packet MSDU to be aggregated to form an MPDU. Figure 4 The second layer of represents the encapsulated MPDU. The MPDU consists of MSDU, "MAC header" of the MAC header, and "FCS" of the frame check sequence.
[0086] The Physical Layer Convergence Protocol sublayer 122, that is, PLCP "Physical Layer Convergence Procedure", is used to perform aggregation processing on the data frames to be aggregated corresponding to the indication information based on the data length, delimiter, and padding bytes included in the received indication information; and when the total amount of the data frames to be aggregated in the aggregation processing reaches the target quantity, transmit the aggregated packet to the Physical Medium Dependent sublayer 123. As Figure 4 shown, Figure 4 the third layer in represents the process of the Physical Layer Convergence Protocol sublayer 122 performing aggregation processing on the MPDU. It checks the length of the data frames to be aggregated in the MPDU based on the data length, and after passing the verification, adds a delimiter "MPDU delimiter" and padding bytes "pad" to it. After the above processing, an "A-MPDU subframe" in the fourth layer in is formed, that is, a part of the A-MPDU. The Physical Layer Convergence Protocol sublayer 122 will perform the above processing for each MPDU of the data packet to be aggregated. For example, if there are N MDPUs, then it will form as Figure 4 shown in the fourth layer in. The Physical Layer Convergence Protocol sublayer 122 will perform the above processing for each MPDU of the data packet to be aggregated. For example, if there are N MDPUs, then it will form as Figure 4The N "A-MPDU subframes" in the fourth layer. When the total amount of data frames to be aggregated in the aggregation process reaches the target quantity, it indicates that the aggregation process for all MPDUs involved in an aggregation packet is completed. Therefore, the aggregated packet obtained through aggregation, that is, Figure 4 the fifth-layer A-MPDU shown in
[0087] is transmitted to the physical medium dependent sublayer 123. The physical medium dependent sublayer 123, that is, PMD (Physical Medium Dependent), is responsible for transmitting the aggregation packet and transmits the aggregation packet to the data receiving device.
[0088] After the physical medium dependent sublayer 123 transmits the aggregation packet to the data receiving device, it indicates that the transmission process of the uplink traffic from the wireless communication device to the data receiving device is completed.
[0089] Furthermore, in addition to the above uplink data transmission process, the wireless communication device also has a downlink data processing process, that is, sending the aggregation packet transmitted by the data receiving device to the master device. Therefore, the processing module 11 is also used to determine the unpacking information for the aggregation packet sent by the data receiving device, where the unpacking information is used to instruct the aggregation module to perform unpacking processing on the aggregation packet. The aggregation module 12 is also used to perform unpacking processing on the aggregation packet corresponding to the unpacking information according to the unpacking information sent by the processing module 11.
[0090] In order to improve the unpacking efficiency while reducing the hardware cost of unpacking, the processing module 11 implemented by software first determines the unpacking information and then transmits the unpacking information to the aggregation module 12 implemented by hardware. The aggregation module 12 performs unpacking processing on the aggregation packet corresponding to the unpacking information according to the unpacking information sent by the processing module 11.
[0091] In order to improve the unpacking and transmission efficiency and not occupy too much CPU, the processing module 12 is also used to feedback a response of successfully receiving the aggregation packet to the data receiving device when it is determined that the unpacking of the aggregation packet is successful. When it is determined that all data frames in the aggregation packet are successfully obtained, it is determined that the unpacking is successful. Feedbacking a response of successfully receiving the aggregation packet to the data receiving device is to enable the data receiving device to know that the aggregation packet it sent has been successfully received by the wireless communication device.
[0092] The wireless communication device provided by the embodiment of the present application includes a processing module implemented by software and an aggregation module implemented by hardware. The processing module is responsible for generating indication information for the data frames to be aggregated. The aggregation module performs aggregation processing on the data frames to be aggregated corresponding to the indication information according to the indication information sent by the processing module. It can be seen that in the solution provided by the embodiment of the present application, the data frame aggregation is implemented by combining software and hardware, the determination of the indication information is raised to software processing, which reduces the burden on the hardware. And since the amount of processing raised to software processing is small and does not affect the processing speed, the way of combining software and hardware in the embodiment of the present application can improve the data frame aggregation efficiency while reducing the hardware cost of data frame aggregation.
[0093] Further, another embodiment of the present application also provides a wireless communication system, as Figure 5 shown, the wireless communication system mainly includes: a master device 31 and the above-mentioned wireless communication device 32;
[0094] The master device 31 is used to send data frames to be aggregated to the wireless communication device 32.
[0095] For the beneficial effects of the wireless communication system provided by the embodiment of the present application, please refer to the beneficial effects of the above-mentioned wireless communication device.
[0096] Further, another embodiment of the present application also provides a data aggregation method, which is applied to the processing module of the wireless communication device. The processing module is implemented by software, as Figure 6 shown, the data aggregation method includes the following steps 401-402:
[0097] 401. Generate indication information for the data frames to be aggregated.
[0098] 402. Send the indication information to the aggregation module of the wireless communication device, so that the aggregation module performs aggregation processing on the data frames to be aggregated corresponding to the indication information, where the aggregation module is implemented by hardware.
[0099] For the data aggregation method provided by the embodiment of the present application, the wireless communication device includes a processing module implemented by software and an aggregation module implemented by hardware. The processing module is responsible for generating indication information for the data frames to be aggregated. The aggregation module performs aggregation processing on the data frames to be aggregated corresponding to the indication information according to the indication information sent by the processing module. It can be seen that in the solution provided by the present application, the data frame aggregation is implemented by combining software and hardware, the determination of the indication information is raised to software processing, which reduces the burden on the hardware. And since the amount of processing raised to software processing is small and does not affect the processing speed, the way of combining software and hardware in the present application can improve the data frame aggregation efficiency while reducing the hardware cost of data frame aggregation.
[0100] In some embodiments, before generating the indication information for the data frame to be aggregated in step 401 above, the data aggregation method further includes the following steps 403 to 404:
[0101] 403. Determine whether the data frame to be transmitted sent by the master device meets the aggregation conditions; when it is determined that the data frame to be transmitted meets the aggregation conditions, execute step 404.
[0102] 404. Determine the data frame to be transmitted as the data frame to be aggregated.
[0103] In some embodiments, the specific execution process of step 403 for determining whether the data frame to be transmitted sent by the master device meets the aggregation conditions includes the following steps 4031 to 4032:
[0104] 4031. Determine whether the aggregation path has been established, where the aggregation path is a path established through negotiation between the wireless communication device and the data receiving device for transmitting the data frame to be aggregated; when it is determined that the aggregation path has been established, execute step 4032;
[0105] 4032. Determine whether the data frame to be transmitted is a data frame of the target type; if it is determined that the data frame to be transmitted is a data frame of the target type, execute step 4033 or 4034.
[0106] 4033. Determine that the data frame to be transmitted meets the aggregation conditions and execute step 404.
[0107] 4034. Further determine whether the transmission rate corresponding to the data frame to be transmitted reaches the target rate; if it reaches, execute step 4033.
[0108] In some embodiments, if it is determined through the judgment in step 4031 above that the aggregation path has not been established, then negotiate with the data receiving device to establish an aggregation path.
[0109] In some embodiments, if it is determined through the judgment in step 4032 above that the data frame to be transmitted is not a data frame of the target type, then send the data frame to be transmitted to the data receiving device through the single-packet transmission method.
[0110] In some embodiments, the data aggregation method may further include the following step: receiving the data frame to be transmitted sent by the master device through the wireless protocol stack.
[0111] In some embodiments, the specific execution process of step 401 for generating the indication information for the data frame to be aggregated includes the following steps: determining the data length, delimiter, and padding bytes corresponding to the data frame to be aggregated, and encapsulating the determined data length, delimiter, and padding bytes to generate the indication information corresponding to the data frame to be aggregated.
[0112] In some embodiments, the data aggregation method may further include the following steps: determining unpacking information for an aggregation packet sent by a data receiving device; providing the unpacking information to the aggregation module so that the aggregation module performs an unpacking process on the aggregation packet corresponding to the unpacking information.
[0113] In some embodiments, the data aggregation method may further include the following steps: when it is determined that the unpacking of the aggregation packet is successful, sending a response indicating successful reception of the aggregation packet to the data receiving device.
[0114] In the data aggregation method provided by the embodiments of the present application, the detailed descriptions of the methods adopted in the specific processes of each step may refer to the corresponding descriptions in the embodiments of the above wireless communication device, and will not be elaborated here.
[0115] Furthermore, another embodiment of the present application further provides a data aggregation method, which is applied to an aggregation module of a wireless communication device. The aggregation module is implemented by hardware, such as Figure 7 As shown, the data aggregation method includes the following steps 501-502:
[0116] 501. Obtain indication information sent by a processing module, where the processing module is implemented by software.
[0117] 502. Perform an aggregation process on the data frame to be aggregated corresponding to the indication information.
[0118] In the data aggregation method provided by the embodiments of the present application, the wireless communication device includes a processing module implemented by software and an aggregation module implemented by hardware. The processing module is responsible for generating indication information for the data frame to be aggregated. The aggregation module performs an aggregation process on the data frame to be aggregated corresponding to the indication information sent by the processing module. It can be seen that in the solution provided by the present application, a combination of software and hardware is used to implement data frame aggregation, and the determination of the indication information is raised to software processing, reducing the burden on the hardware. And since the amount of processing raised to software processing is small and will not affect the processing speed, the combination of software and hardware in the present application can improve the efficiency of data frame aggregation while reducing the hardware cost of data frame aggregation.
[0119] In some embodiments, the specific execution process of step 502 for performing an aggregation process on the data frame to be aggregated corresponding to the indication information is: based on the data length, delimiter, and padding byte included in the indication information, performing an aggregation process on the data frame to be aggregated corresponding to the indication information.
[0120] In some embodiments, after the above step 502 performs an aggregation process on the data frames to be aggregated corresponding to the indication information, the data aggregation method further includes the following steps: when the total amount of the data frames to be aggregated in the aggregation process reaches a target quantity, transmit the aggregated result to a data receiving device.
[0121] In some embodiments, the data aggregation method further includes the following steps: obtain unpacking information determined by the processing module for an aggregation packet for the data receiving device; perform an unpacking process on the aggregation packet corresponding to the unpacking information.
[0122] In some embodiments, the aggregation module to which the data aggregation method is applied is a wireless network communication technology chip.
[0123] In the data aggregation method provided by the embodiments of the present application, the detailed descriptions of the methods adopted in the specific processes of each step can be referred to the corresponding descriptions in the embodiments of the above wireless communication device, and will not be elaborated herein.
[0124] In the above embodiments, the descriptions of each embodiment have their own emphases. For parts not elaborated in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0125] It can be understood that the relevant features in the above methods and devices can be referred to each other. In addition, the "first", "second", etc. in the above embodiments are used to distinguish each embodiment, and do not represent the superiority or inferiority of each embodiment.
[0126] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated herein.
[0127] The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used in conjunction with the teachings herein. The structure required to construct such a system is apparent from the above description. In addition, the present application is not directed to any particular programming language. It should be understood that the content of the present application described herein can be implemented using various programming languages, and the descriptions of specific languages above are for disclosing the best mode of the present application.
[0128] In the specification provided herein, a large number of specific details are set forth. However, it can be understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known methods, structures, and technologies have not been shown in detail so as not to obscure the understanding of this specification.
[0129] In addition, those skilled in the art can understand that although some embodiments herein include certain features included in other embodiments rather than other features, the combination of features of different embodiments means that it is within the scope of this application and forms different embodiments. For example, in the following claims, any one of the claimed embodiments can be used in any combination.
[0130] Each component embodiment of this application can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all of the functions of some or all of the components in the method, device, and framework for running a deep neural network model according to the embodiments of this application. This application can also be implemented as a device or device program (such as a computer program and a computer program product) for executing part or all of the methods described herein. Such a program for implementing this application can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0131] It should be noted that the above embodiments illustrate this application rather than limit this application, and those skilled in the art can design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in the claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. This application can be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In a unit claim listing several devices, several of these devices can be embodied by the same item of hardware. The use of the words first, second, and third, etc. does not denote any order. These words can be interpreted as names.
Claims
1. A wireless communication device, characterized in that, The wireless communication device includes a processing module and an aggregation module. The processing module is implemented by software, and the aggregation module is implemented by hardware, where: The processing module is configured to generate indication information for the data frames to be aggregated. The indication information is used to instruct the aggregation module to perform aggregation processing on the data frames to be aggregated, and each data frame to be aggregated has its corresponding indication information, which is obtained by encapsulating the data length, delimiter, and padding bytes corresponding to the data frame to be aggregated. The aggregation module is configured to perform aggregation processing on the data frames to be aggregated corresponding to the indication information according to the indication information sent by the processing module. The processing module includes: a judgment unit configured to judge whether the data frame to be transmitted sent by the master device meets the aggregation condition; a determination unit configured to determine the data frame to be transmitted as the data frame to be aggregated when the judgment unit determines that the data frame to be transmitted meets the aggregation condition. The judgment unit includes: A first judgment subunit configured to judge whether an aggregation path has been established. The aggregation path is a path established through negotiation between the wireless communication device and the data receiving device for transmitting the data frames to be aggregated. The establishment of the aggregation path is used to indicate that the wireless communication device and the data receiving device can transmit a certain number of aggregated data frames, and the non-establishment of the aggregation path is used to indicate that the wireless communication device and the data receiving device cannot transmit a certain number of aggregated data frames. The aggregation number is the number of data frames required to aggregate one A-MPDU. A second judgment subunit configured to, when the first judgment subunit determines that the aggregation path has been established, judge whether the data frame to be transmitted is a data frame of a target type. If it is determined that the data frame to be transmitted is a data frame of a target type, it is determined that the data frame to be transmitted meets the aggregation condition; or, if it is determined that the data frame to be transmitted is a data frame of a target type, further judge whether the transmission rate corresponding to the data frame to be transmitted reaches the target rate. If it reaches, it is determined that the data frame to be transmitted meets the aggregation condition. The processing module further includes: a negotiation unit configured to negotiate with the data receiving device to establish an aggregation path when the first judgment subunit determines that the aggregation path has not been established. Negotiating with the data receiving device to establish an aggregation path includes: requesting the data receiving device to establish an aggregation path, and carrying aggregation data in the request; receiving an aggregation response returned by the data receiving device, and the aggregation response specifies whether the negotiation of the aggregation number is successful; if the aggregation response specifies that the negotiation of the aggregation number is successful, it is determined that the establishment of the aggregation path is completed; if the aggregation response specifies that the negotiation of the aggregation number is not successful, modify the aggregation number, and based on the modified aggregation number, request the data receiving device to establish aggregation again; repeat the above process until the aggregation response received from the data receiving device specifies that the negotiation of the aggregation number is successful, and then determine that the establishment of the aggregation path is completed.
2. The wireless communication device according to claim 1, wherein The wireless communication device further includes: a sending module, configured to, when the second determination subunit determines that the data frame to be transmitted is not a data frame of a target type, send the data frame to be transmitted to a data receiving device by a single-packet sending transmission method.
3. The wireless communication device according to claim 1, wherein The processing module further includes: a receiving unit, configured to receive the data frame to be transmitted sent by the master device through a wireless protocol stack.
4. The wireless communication device according to any one of claims 1 to 3, characterized in that The processing module includes: a generating unit, configured to determine a data length, a delimiter, and padding bytes corresponding to the data frame to be aggregated, and encapsulate the determined data length, delimiter, and padding bytes to generate indication information corresponding to the data frame to be aggregated.
5. The wireless communication device according to any one of claims 1 to 3, characterized in that, The aggregation module includes: a media access control sublayer, configured to transmit the indication information sent by the processing module to a physical layer convergence protocol sublayer; the physical layer convergence protocol sublayer, configured to perform aggregation processing on the data frame to be aggregated corresponding to the indication information based on the data length, delimiter, and padding bytes included in the received indication information; and when the total amount of the data frames to be aggregated in the aggregation processing reaches a target number, transmit the aggregated packet to a physical medium dependent sublayer; the physical medium dependent sublayer, configured to transmit the aggregated packet to a data receiving device.
6. The wireless communication device according to any one of claims 1-3, characterized in that, The processing module is further configured to determine unpacking information for the aggregated packet sent by the data receiving device, where the unpacking information is used to instruct the aggregation module to perform unpacking processing on the aggregated packet; The aggregation module is further configured to perform unpacking processing on the aggregated packet corresponding to the unpacking information according to the unpacking information sent by the processing module.
7. The wireless communication device according to claim 6, characterized in that, The processing module is further configured to, when determining that the unpacking of the aggregated packet is successful, feedback a response of successfully receiving the aggregated packet to the data receiving device.
8. A wireless communication system, characterized in that, The wireless communication system includes: a master device and the wireless communication device according to any one of claims 1-7; the master device, configured to send a data frame to be aggregated to the wireless communication device.
9. A data aggregation method, characterized in that, Applied to a wireless communication device, the wireless communication device includes a processing module, and the processing module is implemented by software. The method includes: generating indication information for a data frame to be aggregated; where the indication information is used to instruct the aggregation module to perform aggregation processing on the data frame to be aggregated, and each data frame to be aggregated has its corresponding indication information, and the indication information is obtained by encapsulating the data length, delimiter, and padding bytes corresponding to the data frame to be aggregated; sending the indication information to the aggregation module of the wireless communication device, so that the aggregation module performs aggregation processing on the data frame to be aggregated corresponding to the indication information, where the aggregation module is implemented by hardware; Before generating the indication information for the data frame to be aggregated, the method further includes: determining whether the data frame to be transmitted sent by the master device meets the aggregation condition; when determining that the data frame to be transmitted meets the aggregation condition, determining the data frame to be transmitted as the data frame to be aggregated; Determine whether the data frame to be transmitted sent by the master device meets the aggregation condition, including: determining whether the aggregation path has been established, where the aggregation path is a path established through negotiation between the wireless communication device and the data receiving device for transmitting data frames to be aggregated; the establishment of the clustering path is used to reflect that the wireless communication device and the data receiving device can transmit a certain number of aggregated data frames, and the non - establishment of the aggregation path is used to reflect that the wireless communication device and the data receiving device cannot transmit a certain number of aggregated data frames; the aggregation number is the number of data frames required to aggregate one A - MPDU. When it is determined that the aggregation path has been established, determine whether the data frame to be transmitted is a data frame of the target type; if it is determined that the data frame to be transmitted is a data frame of the target type, then determine that the data frame to be transmitted meets the aggregation condition; or, if it is determined that the data frame to be transmitted is a data frame of the target type, then further determine whether the transmission rate corresponding to the data frame to be transmitted reaches the target rate, and if it reaches, determine that the data frame to be transmitted meets the aggregation condition. When it is determined that the aggregation path has not been established, negotiate with the data receiving device to establish an aggregation path; where negotiating with the data receiving device to establish an aggregation path includes: requesting the data receiving device to establish an aggregation path, and carrying the aggregated data in the request; receiving the aggregation response returned by the data receiving device, and the aggregation response specifies whether the negotiation of the aggregation number is successful; if the aggregation response specifies that the negotiation of the aggregation number is successful, then determine that the establishment of the aggregation path is completed; if the aggregation response specifies that the negotiation of the aggregation number is not successful, then modify the aggregation number, and based on the modified aggregation number, re - request the data receiving device to establish aggregation; repeat the above process until the aggregation response received from the data receiving device specifies that the negotiation of the aggregation number is successful, and then determine that the establishment of the aggregation path is completed.
10. The method according to claim 9, wherein The method further includes: When it is determined that the data frame to be transmitted is not a data frame of the target type, send the data frame to be transmitted to the data receiving device through the single - packet transmission method.
11. The method according to claim 9, wherein Receive the data frame to be transmitted sent by the master device through the wireless protocol stack.
12. The method according to any one of claims 9-11, characterized in that, Generate indication information for the data frame to be aggregated, including: Determine the data length, delimiter, and padding bytes corresponding to the data frame to be aggregated, and encapsulate the determined data length, delimiter, and padding bytes to generate indication information corresponding to the data frame to be aggregated.
13. The method according to any one of claims 9-11, characterized in that, The method further includes: Determine the unpacking information for the aggregated packet sent by the data receiving device; Provide the unpacking information to the aggregation module so that the aggregation module performs unpacking processing on the aggregated packet corresponding to the unpacking information.
14. The method according to claim 13, wherein The method further includes: when it is determined that the unpacking of the aggregated packet is successful, feedback a response indicating successful reception of the aggregated packet to the data receiving device.
15. A data aggregation method, characterized in that, Applied to the aggregation module of the wireless communication device, the aggregation module is implemented by hardware, and the method includes: Obtain the indication information sent by the processing module, where the processing module is implemented by software, and the indication information is used to instruct the aggregation module to perform aggregation processing on the data frames to be aggregated, and each data frame to be aggregated has its corresponding indication information, and the indication information is obtained by encapsulating the data length, delimiter, and padding bytes corresponding to the data frame to be aggregated; Perform aggregation processing on the data frames to be aggregated corresponding to the indication information; Among them, the data frames to be aggregated are determined by the processing module, and the determination process of the data frames includes: Judge whether the data frame to be transmitted sent by the master device meets the aggregation conditions; when it is determined that the data frame to be transmitted meets the aggregation conditions, determine the data frame to be transmitted as the data frame to be aggregated; Judging whether the data frame to be transmitted sent by the master device meets the aggregation conditions includes: judging whether the aggregation path has been established, where the aggregation path is a path established through negotiation between the wireless communication device and the data receiving device for transmitting the data frames to be aggregated; the establishment of the clustering path is used to reflect that the wireless communication device and the data receiving device can transmit a certain number of aggregated data frames, and the non-establishment of the aggregation path is used to reflect that the wireless communication device and the data receiving device cannot transmit a certain number of aggregated data frames; the aggregation number is the number of data frames required to aggregate one A-MPDU. When it is determined that the aggregation path has been established, judge whether the data frame to be transmitted is a data frame of the target type; if it is determined that the data frame to be transmitted is a data frame of the target type, determine that the data frame to be transmitted meets the aggregation conditions; or, if it is determined that the data frame to be transmitted is a data frame of the target type, further judge whether the transmission rate corresponding to the data frame to be transmitted reaches the target rate, and if it reaches, determine that the data frame to be transmitted meets the aggregation conditions. When it is determined that the aggregation path has not been established, negotiate with the data receiving device to establish an aggregation path; among them, negotiating with the data receiving device to establish an aggregation path includes: requesting the data receiving device to establish an aggregation path, and carrying the aggregated data in the request; receiving the aggregation response replied by the data receiving device, and the aggregation response specifies whether the negotiation of the aggregation number is successful; if the aggregation response specifies that the negotiation of the aggregation number is successful, determine that the establishment of the aggregation path is completed; if the aggregation response specifies that the negotiation of the aggregation number is not successful, modify the aggregation number, and based on the modified aggregation number, re-request the data receiving device to establish aggregation; repeat the above process until the aggregation response received from the data receiving device specifies that the negotiation of the aggregation number is successful, and then determine that the establishment of the aggregation path is completed.
16. The method according to claim 15, wherein Performing aggregation processing on the data frames to be aggregated corresponding to the indication information includes: Based on the data length, delimiter, and padding bytes included in the indication information, perform aggregation processing on the data frames to be aggregated corresponding to the indication information.
17. The method according to claim 15, characterized in that, After performing aggregation processing on the data frames to be aggregated corresponding to the indication information, the method further includes: When the total amount of the data frames to be aggregated in the aggregation processing reaches the target quantity, transmit the aggregated result to the data receiving device.
18. The method according to any one of claims 15 - 17, characterized in that, The method further includes: Obtain the unpacking information for the aggregation packet sent by the processing module to the data receiving device; Perform unpacking processing on the aggregation packet corresponding to the unpacking information.
19. The method according to any one of claims 15 - 17, characterized in that The aggregation module is a wireless network communication technology chip.
Citation Information
Patent Citations
Method for sending and processing wireless aggregation frame and device for sending wireless aggregation frame
CN102572936A
Data transmission method and device
CN109861801A