# US 2010/0142555 A1 · Frame-merging apparatus and method

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2010/0142555 A1
- Document ID: US20100142555A1
- Status: Published application
- Kind: A1
- Application number: 12/493,265
- Filed: 2009-06-29
- Published: 2010-06-10
- Earliest claimed: 2008-12-09
- Assignees: Realtek Semiconductor Corp.
- Inventors: Tsung-Hsien YANG; Chia-Yu Ku; Ying-Dar Lin
- Web page: https://patentgrep.com/patent/US20100142555A1

## CPC

- H04W 28/06: Optimizing {the usage of the radio link}, e.g. header compression, information sizing {, discarding information (system modifying transmission characteristic according to link quality by modifying frame length H04L1/0007; dynamic adaptation of the packet size for flow control or congestion control H04L47/365)}
- H04W 28/065: {using assembly or disassembly of packets}
- H04W 80/02: Data link layer protocols
- H04W 84/12: WLAN [Wireless Local Area Networks]
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

A frame-merging method is adapted for a network that includes mesh and terminal units, in which any two units capable of communication form a communication pair, and one of the units operates as a key unit to transmit pending frames according to the frame-merging method. The frame-merging method includes: determining whether the key unit is a mesh or a terminal unit; for the communication pair recorded in each pending frame, selecting a suitable scheme from a plurality of frame-merging schemes, and extracting at least one of the pending frames from among the pending frames for use as part or all of a priority frame set; and comparing a total size of all frames included in the priority frame set with a suitable frame size, so as to determine whether the key unit is to send an aggregated frame. A frame-merging apparatus is also disclosed.

## Claims

### Claim 1

A frame-merging method adapted for a network, the network including a plurality of mesh units and a plurality of terminal units, in which any two units capable of communicating with each other form a communication pair, and one of the units operates as a key unit to transmit a plurality of pending frames according to said frame-merging method, said frame-merging method comprising:
(A) determining whether the key unit is a mesh unit or a terminal unit;
(B) for the communication pair recorded in each pending frame, selecting a suitable scheme from a plurality of frame-merging schemes, and extracting at least one of the pending frames from among the pending frames for use as part or all of a priority frame set; and
(C) comparing a total size of all frames included in the priority frame set with a suitable frame size, so as to determine whether the key unit is to send an aggregated frame.

### Claim 2 (depends on 1)

The method of claim 1, wherein the communication pair recorded by the frames of the priority frame set being directed to least one neighbor node, said method further comprising, before said step (C):
(D) calculating a quality index for each related communication pair;
wherein the suitable frame size used for comparison in step (C) is calculated according to the suitable scheme and the quality index of the communication pair directed by the priority frame set.

### Claim 3 (depends on 1)

The method of claim 1, wherein the frame-merging schemes comprise at least one of aggregated media access control service data unit (A-MSDU), aggregated media access control protocol data unit (A-MPDU), and aggregated physical packet data unit (A-PPDU);
said method further comprising, before said step (B):
(E) selecting a plurality of initially selected schemes from the frame-merging schemes.

### Claim 4 (depends on 3)

The method of claim 3, wherein the step (B) includes:
when one of the initially selected schemes is A-MSDU, dividing the pending frames into at least one frame set according to a target unit and a traffic identifier recorded in each pending frame;
when one of the initially selected schemes is A-MPDU, dividing the pending frames into at least one frame set according to a relay unit recorded in each pending frame;
when one of the initially selected schemes is A-PPDU, placing the pending frames into the same frame set; and
analyzing the efficiency of each frame set so as to find the frame set with a suitable efficiency for use as the priority frame set, and to regard the corresponding scheme as the suitable scheme.

### Claim 5 (depends on 1)

The method of claim 1, wherein step (C) includes:
accumulating the frame sizes of the pending frames included in the priority frame set so as to acquire an accumulated frame size;
when the accumulated frame size is larger than the suitable frame size, selecting some of the frames from the priority frame set, and forming the aggregated frame using the suitable scheme; and
when the accumulated frame size is equal to the suitable frame size, using the suitable scheme to merge the priority frame set into the aggregated frame.

### Claim 6 (depends on 4)

The method of claim 4, wherein step (C) includes:
accumulating the frame sizes of the pending frames included in the priority frame set so as to obtain an accumulated frame size; and
when the accumulated frame size is smaller than the suitable frame size, predicting a plurality of arrival rates based on a flow rate of at least one of the previous pending frames, each arrival rate corresponding to a subsequent pending frame belonging to said each frame set.

### Claim 7 (depends on 6)

The method of claim 6, wherein step (C) further includes:
inferring an updated efficiency after elapse of a predetermined time period according to the arrival rates, the pending frames, and a subsequent pending frame belonging to any frame set;
when the updated efficiency is good, regarding the frame set with a suitable efficiency as an updated priority frame set, and executing step (B) to wait for a subsequent pending frame belonging to the updated priority frame set; and
when the updated efficiency is poor, using the suitable scheme to merge the non-updated priority frame set to form the aggregated frame for subsequent transmission.

### Claim 8 (depends on 1)

The method of claim 1, wherein step (C) includes:
accumulating the frame sizes of the pending frames included in the priority frame set so as to obtain an accumulated frame size; and
when the accumulated frame size is smaller than the suitable frame size, predicting an arrival rate based on a flow rate of at least one previous pending frame, the arrival rate corresponding to a subsequent pending frame belonging to the priority frame set.

### Claim 9 (depends on 8)

The method of claim 8, wherein step (C) further includes:
inferring an updated efficiency after elapse of a predetermined time period according to the arrival rate, the priority frame set, and a subsequent pending frame belonging to the priority frame set;
when the updated efficiency is good, executing step (B) to wait for a subsequent pending frame belonging to the priority frame set; and
when the updated efficiency is poor, using the suitable scheme to merge the priority frame set to form the aggregated frame for subsequent transmission.

### Claim 10

A frame-merging apparatus adapted for a network, the network including a plurality of mesh units and a plurality of terminal units, in which any two units capable of communicating with each other form a communication pair for transmitting a plurality of pending frames, said frame-merging apparatus comprising:
a starter designating one of the units as a key unit, and determining whether the key unit is a mesh unit or a terminal unit;
a selector which, for the communication pair recorded in each pending frame, selects a suitable scheme from a plurality of frame-merging schemes, and extracts at least one of the pending frames for use as part or all of a priority frame set; and
a frame planner comparing a total size of all frames included in the priority frame set with a suitable frame size, so as to determine whether the key unit is to send an aggregated frame.

### Claim 11 (depends on 10)

The apparatus of claim 10, the communication pair recorded by the frames of the priority frame set being directed to at least one neighbor node;
wherein said frame-merging apparatus further comprises a preparing device for calculating a quality index for each related communication pair before said frame planner compares the frame size; and
wherein the suitable frame size used by said frame planner for comparison is calculated according to the suitable scheme and the quality index of the communication pair directed by the priority frame set.

### Claim 12 (depends on 10)

The apparatus of claim 10, wherein the frame-merging schemes comprise at least one of aggregated media access control service data unit (A-MSDU), aggregated media access control protocol data unit (A-MPDU), and aggregated physical packet data unit (A-PPDU);
said frame-merging apparatus further comprises a preparing device for selecting a plurality of initially selected schemes from the frame-merging schemes;
when one of the initially selected schemes is A-MSDU, said selector divides the pending frames into at least one frame set according to a target unit and a traffic identifier recorded in each pending frame;
when one of the initially selected schemes is A-MPDU, said selector divides the pending frames into at least one frame set according to a relay unit recorded in each pending frame;
when one of the initially selected schemes is A-PPDU, said selector places the pending frames into the same frame set; and
said selector analyzes the efficiency of each frame set so as to find the frame set with a suitable efficiency for use as the priority frame set, and to regard the corresponding scheme as the suitable scheme.

### Claim 13 (depends on 10)

The apparatus of claim 10, wherein said selector accumulates the frame sizes of the pending frames included in the priority frame set so as to obtain an accumulated frame size;
when the accumulated frame size is larger than the suitable frame size, said frame planner selects some of the frames from the priority frame set, and forms the aggregated frame using the suitable scheme; and
when the accumulated frame size is equal to the suitable frame size, said frame planner uses the suitable scheme to merge the priority frame set into the aggregated frame.

### Claim 14 (depends on 12)

The apparatus of claim 12, wherein said selector accumulates the frame sizes of the pending frames included in the priority frame set so as to obtain an accumulated frame size; and
when the accumulated frame size is smaller than the suitable frame size, said frame planner predicts a plurality of arrival rates based on a flow rate of at least one of the previous pending frames, each arrival rate corresponding to a subsequent pending frame belonging to said each frame set.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein said frame planner infers an updated efficiency after elapse of a predetermined time period according to the arrival rates, the pending frames, and a subsequent pending frame belonging to any frame set;
when the updated efficiency is good, said frame planner regards the frame set with a suitable efficiency as an updated priority frame set, and waits for a subsequent pending frame belonging to the updated priority frame set; and
when the updated efficiency is poor, said frame planner uses the suitable scheme to merge the non-updated priority frame set to form the aggregated frame for subsequent transmission.

### Claim 16 (depends on 10)

The apparatus of claim 10, wherein said selector accumulates the frame sizes of the pending frames included in the priority frame set so as to obtain an accumulated frame size; and
when the accumulated frame size is smaller than the suitable frame size, said frame planner predicts an arrival rate based on a flow rate of at least one previous pending frame, the arrival rate corresponding to a subsequent pending frame belonging to the priority frame set.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein said frame planner infers an updated efficiency after elapse of a predetermined time period according to the arrival rate, the priority frame set, and a subsequent pending frame belonging to the priority frame set;
when the updated efficiency is good, said frame planner waits for a subsequent pending frame belonging to the priority frame set; and
when the updated efficiency is poor, said frame planner uses the suitable scheme to merge the priority frame set to form the aggregated frames for subsequent transmission.

### Claim 18

A frame-merging method adapted for a network, the network including a plurality of mesh units and a plurality of terminal units, in which any two units capable of communicating with each other form a communication pair, said frame-merging method comprising:
determining a type of the communication pair according to a transmission path recorded in each frame;
selecting a suitable scheme from a plurality of frame-merging schemes according to the type of the communication pair; and
merging a plurality of frames according to the suitable scheme.

### Claim 19 (depends on 18)

The method of claim 18, wherein the frame-merging schemes comprise at least one of aggregated media access control service data unit (A-MSDU), aggregated media access control protocol data unit (A-MPDU), and aggregated physical packet data unit (A-PPDU).

### Claim 20 (depends on 18)

The method of claim 18, wherein the type of the communication pair comprises an M-M type, an M-S type, and an S-M type,
wherein the M-M type represents communication from any one mesh unit to any other mesh unit;
wherein the M-S type represents communication from any one mesh unit to any one terminal unit; and
wherein the S-M type represents communication from any one terminal unit to any one mesh unit.
