[go: up one dir, main page]

CN1956371B - Packet transmission method of wireless network - Google Patents

Packet transmission method of wireless network Download PDF

Info

Publication number
CN1956371B
CN1956371B CN 200510116743 CN200510116743A CN1956371B CN 1956371 B CN1956371 B CN 1956371B CN 200510116743 CN200510116743 CN 200510116743 CN 200510116743 A CN200510116743 A CN 200510116743A CN 1956371 B CN1956371 B CN 1956371B
Authority
CN
China
Prior art keywords
packet
wireless network
instant messaging
mac address
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN 200510116743
Other languages
Chinese (zh)
Other versions
CN1956371A (en
Inventor
林咨铭
曹孝栎
黄中晖
陈文村
许哲铭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Industrial Technology Research Institute ITRI
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial Technology Research Institute ITRI filed Critical Industrial Technology Research Institute ITRI
Priority to CN 200510116743 priority Critical patent/CN1956371B/en
Publication of CN1956371A publication Critical patent/CN1956371A/en
Application granted granted Critical
Publication of CN1956371B publication Critical patent/CN1956371B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

A packet transmission method of wireless network first judges whether the packet to be transmitted is a real-time communication packet. When the packet is a real-time communication packet, whether a retransmission mechanism is started for the packet is determined according to the transmission state of the wireless network.

Description

无线网络的封包传送方法Packet transmission method of wireless network

技术领域 technical field

本发明涉及一种封包传送方法,且特别涉及一种无线网络的封包传送方法。  The present invention relates to a packet transmission method, and in particular to a wireless network packet transmission method. the

背景技术 Background technique

近年来,无线网络系统(Wireless Network)如无线局域网络(WLAN),无线城域网络(WMAN)相继发展起来,网络的组建也陆续的完成并提供服务,其中封包语音及封包视频(PacketVoice/Video)被视作是无线网络系统上最重要的应用服务项目之一。然而,在无线网络系统上提供即时通信服务(Real-timeCommunication Services)却面临多个挑战,例如无线手持装置多半使用电池供电,耗电(Power Consumption)问题需要克服;另外即时通信系统的视频与音频数据多半为定时产生且较小的封包,对于无线网络系统的带宽利用将会造成相当程度的影响。  In recent years, wireless network systems (Wireless Network) such as wireless local area network (WLAN) and wireless metropolitan area network (WMAN) have been developed one after another, and the establishment of networks has been completed and provided services one after another. Among them, packet voice and packet video (PacketVoice/Video ) is regarded as one of the most important application service items on the wireless network system. However, providing instant messaging services (Real-time Communication Services) on wireless network systems faces many challenges. For example, most wireless handheld devices are powered by batteries, and the problem of power consumption needs to be overcome; Most of the data are generated regularly and are small packets, which will have a considerable impact on the bandwidth utilization of the wireless network system. the

反观无线网络系统的设计多半以传递数据封包(Data Packet)为主,并未针对即时通信封包(Real-Time Packet)的传递进行最佳化的改进。即时通信封包的特性未能完全利用在无线网络系统的设计上,例如即时通信多半可以容忍若干程度的封包丢失,利用额外带宽来达到可靠性的传输将不是传送语音封包时的最重要考虑。因此,若能提高网络带宽使用容量以及改善手持装置的耗电,将有助于发展无线网络环境的即时通信服务。  On the other hand, the design of the wireless network system is mostly based on the transmission of data packets (Data Packet), and has not been optimized for the delivery of instant communication packets (Real-Time Packet). The characteristics of instant messaging packets cannot be fully utilized in the design of wireless network systems. For example, instant messaging can tolerate a certain degree of packet loss, and using extra bandwidth to achieve reliable transmission will not be the most important consideration when transmitting voice packets. Therefore, if the usage capacity of the network bandwidth can be increased and the power consumption of the handheld device can be improved, it will help to develop the instant messaging service in the wireless network environment. the

标准802.11的运行流程如图1所示,移动通信装置(MobileStation,MS)在传送封包时,如果无线媒介有其它移动通信装置正在使用,则移动通信装置会等待直到无线媒介无人使用,然后再等待 一个分布式协作帧间空间(DCF Interframe Space,DIFS),开始倒数竞争窗口(Contention Window,CW)。当竞争窗口倒数至0之后便开始传送,如要求传送(RTS)、确定传送(CTS)等控制封包,或数据(Data)及分割(Fragmentation)封包(如Frg#1与Frg#2)。在接收端接收到正确封包之后,会在经过一个短帧间空间(ShortInterframe Space,SIFS)之后发送响应(ACK)封包给发送端。  The operation process of the standard 802.11 is shown in Figure 1. When a mobile communication device (MobileStation, MS) transmits a packet, if the wireless medium is being used by other mobile communication devices, the mobile communication device will wait until the wireless medium is not in use, and then Wait for a distributed cooperation interframe space (DCF Interframe Space, DIFS), and start counting down the contention window (Contention Window, CW). When the contention window counts down to 0, it starts to send, such as request to send (RTS), confirm to send (CTS) and other control packets, or data (Data) and fragmentation (Fragmentation) packets (such as Frg#1 and Frg#2). After the receiving end receives the correct packet, it will send a response (ACK) packet to the sending end after a short interframe space (ShortInterframe Space, SIFS). the

请参照图2,其为一种使用即时通信服务于无线网络的系统结构图。如图2所示,在无线网络端,一个或多个无线网络装置202、204通过无线网络存取器(Access Point)210与有线网络端相连以存取因特网(Internet)230。以上行即时通信封包(uplink real-time frame)为例,封包首先通过无线网络存取器210送至同一局域网的路由器(Router)220,接着路由器220便将此封包通过因特网230送至另一端与其进行即时通信服务的节点(correspondent node)240。而以下行即时通信封包(downlink real-time frame)而言,封包首先通过因特网230送至路由器220,接着路由器220将此封包通过无线网络存取器210送至无线网络装置202或204。  Please refer to FIG. 2 , which is a structural diagram of a system using instant messaging to serve a wireless network. As shown in FIG. 2 , at the wireless network end, one or more wireless network devices 202 , 204 are connected to the wired network end through a wireless network access device (Access Point) 210 to access the Internet (Internet) 230 . Taking an uplink real-time frame as an example, the packet is first sent to the router (Router) 220 of the same LAN through the wireless network access device 210, and then the router 220 sends the packet to the other end through the Internet 230 to communicate with it A node (correspondent node) 240 for instant messaging service. As for the downlink real-time frame, the packet is first sent to the router 220 through the Internet 230, and then the router 220 sends the packet to the wireless network device 202 or 204 through the wireless network access device 210. the

而以目前的技术来看,在要使用无线网络环境传递即时通信封包时,最简单的作法是永远启动网络卡,使其永远可以收送封包。但是这样的设计将使得网络卡即使在不传递封包时,仍然需要消耗电力。一种改善耗电的作法是将无线网络启动在睡眠状态,当有封包需要传送时,再唤醒无线网络装置加以传送,这种方法一般称为PS-Poll传送机制。请参照图3,其为以PS-Poll机制在无线网络中传递即时封包的封包时序图及相应的能量消耗示意图。如图3所示,无线网络装置(STA)在进行相关连线注册动作后,便可进行上行与下行即时通信封包的传输。在上行即时通信封包(UL Voice)送出后,无线网络装置由于需判断该封包是否该重送,因此需继续等待无线网络存取器(AP)的响应封包(ACK)。此外,由于无线网络装置处于省电模式下,对于下行即时通信封包(DL Voice)需通过PS-Poll将存放于无线网络存取器缓冲区的封包取回。同样的,为使无线网络存取器判断该封 包是否该重送,无线网络装置尚须送出响应封包至无线网络存取器以使其确认此封包正确被收到。据此,为使即时通信封包达到可靠性传输,将需要多耗费两个短帧间空间(SIFS)与两个响应封包,因此将使得耗电与网络带宽使用容量上的提升均受到限制。  According to the current technology, when using the wireless network environment to transmit instant messaging packets, the easiest way is to always activate the network card so that it can always send and receive packets. But such a design will make the network card still need to consume power even when it is not transmitting packets. One way to improve power consumption is to start the wireless network in a sleep state, and wake up the wireless network device to transmit when there is a packet to be transmitted. This method is generally called the PS-Poll transmission mechanism. Please refer to FIG. 3 , which is a packet sequence diagram and corresponding energy consumption diagram of transmitting real-time packets in the wireless network through the PS-Poll mechanism. As shown in FIG. 3 , the wireless network device (STA) can transmit uplink and downlink instant messaging packets after performing related connection registration operations. After the uplink instant messaging packet (UL Voice) is sent, the wireless network device needs to continue to wait for the response packet (ACK) from the wireless network access device (AP) because it needs to judge whether the packet should be resent. In addition, since the wireless network device is in the power saving mode, for the downlink instant communication packet (DL Voice), the packet stored in the buffer of the wireless network access device needs to be retrieved through PS-Poll. Similarly, in order for the wireless network access device to judge whether the packet should be resent, the wireless network device still needs to send a response packet to the wireless network access device to confirm that the packet is correctly received. Accordingly, in order to achieve reliable transmission of instant messaging packets, two additional SIFS and two response packets will be consumed, thus limiting the improvement of power consumption and network bandwidth usage capacity. the

若以802.11e所定义的非排序自动省电传输机制(Unscheduled-Automatic Power Saving Delivery,U-APSD)来传递即时通信封包,则可以更进一步改善PS-Poll传送机制的耗电。请参照图4,其为以U-APSD机制在无线网络中传递即时封包的封包时序图及相应的能量消耗示意图。与图3相比,图4所示的机制少了一个PS-Poll的封包,其余部分与图3类似,在此不予详述。  If the Unscheduled-Automatic Power Saving Delivery (U-APSD) defined by 802.11e is used to deliver instant messaging packets, the power consumption of the PS-Poll transmission mechanism can be further improved. Please refer to FIG. 4 , which is a packet sequence diagram and a corresponding energy consumption diagram of transmitting real-time packets in a wireless network using the U-APSD mechanism. Compared with Fig. 3, the mechanism shown in Fig. 4 has one less PS-Poll packet, and the rest is similar to Fig. 3, and will not be described in detail here. the

为达更佳的省电效果,除了上述的省电传输机制之外,目前已更进一步发展出许多相关的媒体控制技术。其中,或有减少移动通信装置与无线网络存取器(Access Point,AP)的同步信号及间隔者;或有降低隐藏移动通信装置的问题,减少干扰及碰撞,降低重送封包的机率者;或有观测目前无线媒介的传送状态,降低多余的送收动作者;或有通过数据统计或预测来预知下次封包送收的时间点者;或有分析封包长时间(Long Term)或短时间(Short Term)的传送行为,来控制送收以避免多余的耗电者;或有修改标准的载波检测多重存取及碰撞避免(CSMA/CA)的传送机制者;或有降低在传送分割封包中的控制封包者;或有增加保护机制,减少长封包在传送过程中发生碰撞的机率者;或有增加或修改反馈信息(Feedback Message),帮助调整发射功率者;或有减少重送封包数据单元或是响应封包者。此外,尚有许多其它的省电技术,如:减少在休眠模式的检测、减少在接收短控制封包的系统耗电、与服务质量(QoS)相关的省电机制、使用时分多址存取(Time Division Multiple Access,TDMA)、使用封包预留多址存取(Packet Reservation Multiple Access)、以及减少网络的控制信息(Control Message)的传送等。  In order to achieve a better power-saving effect, in addition to the above-mentioned power-saving transmission mechanism, many related media control technologies have been further developed. Among them, there may be those who reduce the synchronization signal and interval between the mobile communication device and the wireless network access device (Access Point, AP); or those who reduce the problem of hiding the mobile communication device, reduce interference and collision, and reduce the probability of retransmitting packets; Or someone who observes the transmission status of the current wireless medium to reduce redundant sending and receiving actions; or someone who predicts the time point of the next packet sending and receiving through data statistics or prediction; or someone who analyzes the packet for a long time (Long Term) or short time (Short Term) transmission behavior to control transmission to avoid unnecessary power consumption; or a transmission mechanism that modifies the standard Carrier Sense Multiple Access and Collision Avoidance (CSMA/CA); or reduces the transmission of fragmented packets Those who control the packet; or have added protection mechanisms to reduce the probability of long packets colliding during transmission; or have added or modified feedback information (Feedback Message) to help adjust the transmission power; or have reduced retransmission of packet data Unit or Response Packer. In addition, there are many other power saving techniques, such as: reducing detection in sleep mode, reducing system power consumption when receiving short control packets, quality of service (QoS) related power saving mechanisms, using TDMA ( Time Division Multiple Access, TDMA), using Packet Reservation Multiple Access (Packet Reservation Multiple Access), and reducing the transmission of network control information (Control Message), etc. the

然而,前述种种省电机制有许多会修改到802.11的传送机制,而与标准不兼容;有些受限于检测或是评估的结果而有不同的省电效果;有些则为了省某一部分的耗电而造成其它部分的耗电;有些则为达省电效果而造成其它影响,如传送效能(Throughput)降低、或断线。 However, many of the aforementioned power-saving mechanisms will be modified to the 802.11 transmission mechanism and are not compatible with the standard; some are limited by the results of detection or evaluation and have different power-saving effects; some are for saving a certain part of power consumption And cause power consumption of other parts; some cause other impacts to achieve power saving effects, such as reduced transmission performance (Throughput) or disconnection.

换言之,目前对于省电方面所进行的各项努力,都有其缺陷所在。尤其部分的省电机制会因为与标准不兼容而造成使用上的不便。因此,现有的技术并无法有效的解决即时通信上所遭遇到的问题。  In other words, all current efforts to save power have their drawbacks. In particular, some power-saving mechanisms will cause inconvenience in use due to incompatibility with the standard. Therefore, existing technologies cannot effectively solve the problems encountered in instant messaging. the

为让本发明之上述和其它目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合附图,作详细说明如下。  In order to make the above and other objects, features and advantages of the present invention more comprehensible, preferred embodiments are specifically cited below and described in detail with accompanying drawings. the

发明内容Contents of the invention

根据上述,本发明的目的就是在提供一种无线网络的封包传送方法,此种封包传送方法通过802.11标准定义的多播机制来传送即时性通信服务的封包,在兼容性上,是与标准兼容,同时并不会受限于评估或检测的准确性而影响,也不会以增加其它部分耗电的方式来达到省电效果,更不会造成移动装置的其它影响,通过本提案的省电技术除了达到省电效果的外,还可增加整个网络系统的带宽使用容量。  According to the above, the object of the present invention is to provide a packet transmission method of wireless network, this packet transmission method transmits the packet of instant communication service through the multicast mechanism defined by the 802.11 standard, and is compatible with the standard in terms of compatibility At the same time, it will not be affected by the accuracy of evaluation or detection, and will not increase the power consumption of other parts to achieve power saving effects, and will not cause other impacts on mobile devices. Through the power saving of this proposal In addition to saving power, the technology can also increase the bandwidth usage capacity of the entire network system. the

为达成上述目的,本发明提出一种无线网络的封包传送方法,其首先判断将进行传送的封包是否为即时通信封包。而当此封包为即时通信封包时,即根据无线网络的信号强度或收送封包丢失率来决定是否对此封包开启重传机制。  To achieve the above object, the present invention proposes a wireless network packet transmission method, which firstly determines whether the packet to be transmitted is an instant messaging packet. And when the packet is an instant messaging packet, it is determined whether to enable the retransmission mechanism for the packet according to the signal strength of the wireless network or the loss rate of the received packet. the

在本发明的一个实施例中,更进一步设定无线存取节点与无线网络装置共同使用的多播媒体存取控制(MAC)地址。而此多播媒体存取控制地址可以是通过该无线存取节点与该无线网络装置的信息交换而得,也可以是转换无线网络装置的单播网络地址而得。  In an embodiment of the present invention, a multicast media access control (MAC) address shared by the wireless access node and the wireless network device is further configured. The multicast MAC address can be obtained through information exchange between the wireless access node and the wireless network device, or can be obtained by converting the unicast network address of the wireless network device. the

在本发明的一个实施例中,在转换无线网络装置的单播网络地址而得多播媒体存取控制地址时,首先是进行将单播网络地址转换为单播媒体存取控制地址的标准转换程序,之后再将规格标准中的网络地址特定的字段转换为多播媒体存取控制地址使用,以使单播媒体存取 In one embodiment of the present invention, when converting the unicast network address of the wireless network device to the multicast MAC address, a standard conversion of converting the unicast network address to the unicast MAC address is first performed program, and then convert the specific field of the network address in the specification standard into a multicast media access control address, so that the unicast media access

在本发明的另一个实施例中,在判断将进行传送的封包为即时通信封包之后,决定是否对此封包开启重传机制之前,可先整合多个即时通信封包为一个下行连锁封包,并以此下行连锁封包为一个传送单位来进行封包传送。  In another embodiment of the present invention, after judging that the packet to be transmitted is an instant messaging packet, before deciding whether to enable the retransmission mechanism for this packet, multiple instant messaging packets can be integrated into a downlink chain packet, and the The downlink chain packet is a transmission unit for packet transmission. the

在本发明的一个实施例中,在前述整合多个即时通信封包为下行连锁封包之时,对于加入至此下行连锁封包中的每一个即时通信封包,首先根据单播网络地址转换为多播媒体存取控制地址时所使用的特定字节与对应的媒体存取控制封包数据单元的长度,产生一个子标头,之后并将子标头与对应的媒体存取控制封包组合成一个子封包。在组合出多个子封包之后再通过子标头介接方式,连锁组合每一个子封包。最后,在连锁组合这些子封包所得的结果前,加上一个标准多播媒体存取控制标头以由此产生前述的下行连锁封包。  In one embodiment of the present invention, when a plurality of instant messaging packets are integrated into a downlink chain packet, for each instant messaging packet added to the downlink chain packet, it is first converted into a multicast media storage according to the unicast network address. A sub-header is generated by fetching the specific byte used for the control address and the length of the corresponding MAC packet data unit, and then combining the sub-header and the corresponding MAC packet into a sub-packet. After multiple sub-packets are combined, each sub-packet is chain-combined through the sub-header interface. Finally, before the result of the chain combination of these sub-packets, a standard MAC header is added to thereby generate the aforementioned downstream chain packet. the

本发明利用检测即时通信封包与非即时通信封包并加以分离,且在对待即时通信封包时动态启动与关闭即时通信封包的重传机制,因此可以在符合现有网络传输协议的情况下,有效减少检测即时通信封包重送和重传封包的带宽,并由此来改进无线网络系统的网络带宽使用容量与手持装置耗电问题。  The present invention detects and separates instant messaging packets and non-instant messaging packets, and dynamically starts and closes the retransmission mechanism of instant messaging packets when dealing with instant messaging packets, so it can effectively reduce the Detect instant messaging packet retransmission and the bandwidth of retransmission packets, and thereby improve the network bandwidth utilization capacity of the wireless network system and the power consumption of the handheld device. the

为让本发明之上述和其它目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合附图,作详细说明如下。  In order to make the above and other objects, features and advantages of the present invention more comprehensible, preferred embodiments are specifically cited below and described in detail with accompanying drawings. the

附图说明 Description of drawings

图1为标准802.11的运行流程。  Figure 1 shows the operation flow of the standard 802.11. the

图2为一种使用即时通信服务的无线网络的系统结构图。  Fig. 2 is a system structure diagram of a wireless network using instant messaging services. the

图3为以PS-Poll机制在无线网络中传递即时封包的封包时序图及相应的能量消耗示意图。  FIG. 3 is a packet sequence diagram and a schematic diagram of corresponding energy consumption for transmitting real-time packets in a wireless network using the PS-Poll mechanism. the

图4为以U-APSD机制在无线网络中传递即时封包的封包时序图及相应的能量消耗示意图。  FIG. 4 is a packet timing diagram and a schematic diagram of corresponding energy consumption for transmitting real-time packets in a wireless network using the U-APSD mechanism. the

图5为依照IPv4网络规格标准的单播MAC地址与多播MAC地址的示意图。  FIG. 5 is a schematic diagram of unicast MAC addresses and multicast MAC addresses according to the IPv4 network standard. the

图6为将多个具备单播IP地址的即时通信封包结合成一个下行连锁封包的封包结构示意图。  FIG. 6 is a schematic diagram of a packet structure in which multiple instant messaging packets with unicast IP addresses are combined into a downlink chain packet. the

图7A为路由器根据本发明一实施例从节点接收数据时所进行的操作流程图。  FIG. 7A is a flowchart of operations performed by a router when receiving data from a node according to an embodiment of the present invention. the

图7B为路由器根据本发明一实施例从无线网络存取器接收数据时所进行的操作流程图。  FIG. 7B is a flow chart of operations performed by the router when receiving data from the wireless network access device according to an embodiment of the invention. the

图8A为无线网络装置根据本发明一实施例从无线网络存取器接收数据时所进行的操作流程图。  FIG. 8A is a flowchart of operations performed by a wireless network device when receiving data from a wireless network access device according to an embodiment of the invention. the

图8B为无线网络装置根据本发明一实施例将数据上传至无线网络存取器时所进行的操作流程图。  FIG. 8B is a flow chart of operations performed by the wireless network device when uploading data to the wireless network access device according to an embodiment of the present invention. the

主要元件标记说明  Marking description of main components

202、204:无线网络装置  202, 204: wireless network device

210:无线网络存取器  210: Wireless network access device

220:路由器  220: Router

230:因特网  230: Internet

240:节点  240: node

600、620、640:具有单播IP地址的封包  600, 620, 640: packets with unicast IP addresses

610、630、650:标头  610, 630, 650: headers

612、632、652:特定字节  612, 632, 652: specific bytes

660:下行连锁封包  660: Downlink chain packet

670:下行连锁封包的标头  670: Header of Downlink Chain Packet

672a、672b、672c:子标头  672a, 672b, 672c: Subheaders

680a、680b、680c:MAC封包数据单元  680a, 680b, 680c: MAC packet data unit

S700~S720:本发明一实施例的实施步骤  S700~S720: implementation steps of an embodiment of the present invention

S730~S746:本发明一实施例的实施步骤  S730~S746: Implementation steps of an embodiment of the present invention

S800~S818:本发明一实施例的实施步骤  S800~S818: Implementation steps of an embodiment of the present invention

S830~S848:本发明一实施例的实施步骤  S830~S848: Implementation steps of an embodiment of the present invention

具体实施方式 Detailed ways

以下将以无线局域网络(WLAN)来进行说明,但本发明的内容适用于各种无线网络系统,不限于使用在无线局域网络之中。并且实施例将以多播/单播地址的动态对应与分配法为例详述达成分离即时通信封包与非即时通信封包重送机制的具体技术手段,但也可通过其它动态启动与关闭语音封包重传机制来达成本发明所述效果。  In the following, a wireless local area network (WLAN) will be used for illustration, but the content of the present invention is applicable to various wireless network systems, and is not limited to be used in a wireless local area network. And the embodiment will take the dynamic correspondence and allocation method of multicast/unicast addresses as an example to describe in detail the specific technical means to achieve the separation of instant messaging packets and non-instant messaging packet retransmission mechanisms, but it is also possible to activate and close voice packets dynamically through other methods. A retransmission mechanism is used to achieve the effects described in the present invention. the

请再次参照图2所示的网络结构以能清楚理解后续的说明。在将本发明使用于PS-Poll机制时,无线网络装置202或204会先对无线网络存取装置210及路由器220进行相关连线注册的操作,并且与另一端与其进行即时通信服务的节点240建立即时通信联机。通过此部分动作的进行,无线网络存取器210便会开启对于无线网络装置202或204的多播/单播地址的动态对应与分配法的支持,并且提供路由器220辨别即时通信封包与非即时通信封包的必要参数。接着,无线网络装置202或204即可根据目前通信质量好坏或封包丢失情形,判断目前是否使用多播地址来进行上行与下行即时通信封包的传输以关闭重传机制。  Please refer to the network structure shown in FIG. 2 again for a clear understanding of the subsequent description. When the present invention is used in the PS-Poll mechanism, the wireless network device 202 or 204 will first perform the relevant connection registration operation on the wireless network access device 210 and the router 220, and communicate with the node 240 on the other end for instant messaging service Establish an instant messaging connection. Through this part of the action, the wireless network access device 210 will enable the support for the dynamic correspondence and distribution method of the multicast/unicast address of the wireless network device 202 or 204, and provide the router 220 with the ability to distinguish instant communication packets from non-instant communication packets. Necessary parameters of the communication packet. Then, the wireless network device 202 or 204 can judge whether to use the multicast address for uplink and downlink IM packet transmission according to the current communication quality or packet loss situation, so as to disable the retransmission mechanism. the

在本发明的一个IPv4实施例中,于进行无线网络装置202或204与无线网络存取装置210及路由器220之间的相关连线注册操作时,无线网络装置202或204首先需产生一个合法的多播地址(在此处以多播媒体存取控制地址MAC MA表示)。此多播地址的产生可通过将此无线网络装置202或204的单播地址(在此处以单播媒体存取控制地址MAC STA表示)的后23个位,结合多播地址MAC MA的标准前缀(prefix)而产生。当然,其它可达成多播地址产生的技术也可 使用于本案上。接着,无线网络装置202或204便向无线网络存取器210进行连线请求。在此连线请求中,无线网络装置202或204会携带多播地址MAC MA为参数,而无线网络存取器210在接收此请求后便可将此参数更新于目前的无线网络装置连线表中。或者,这些多播地址MAC MA可以直接由无线网络存取器210根据无线网络装置202或204的单播地址MAC STA产生,如此则不需要额外的信息或数据交换操作。  In an IPv4 embodiment of the present invention, when performing the relevant connection registration operation between the wireless network device 202 or 204 and the wireless network access device 210 and the router 220, the wireless network device 202 or 204 first needs to generate a valid The multicast address (represented here by the multicast media access control address MAC MA). This multicast address can be generated by combining the last 23 bits of the unicast address of the wireless network device 202 or 204 (represented by the unicast media access control address MAC STA here) with the standard prefix of the multicast address MAC MA (prefix) generated. Of course, other technologies that can achieve multicast address generation can also be used in this case. Next, the wireless network device 202 or 204 makes a connection request to the wireless network access device 210 . In this connection request, the wireless network device 202 or 204 will carry the multicast address MAC MA as a parameter, and the wireless network access device 210 can update this parameter in the current wireless network device connection table after receiving the request middle. Alternatively, these multicast addresses MAC MA can be directly generated by the wireless network access device 210 according to the unicast address MAC STA of the wireless network device 202 or 204, so that no additional information or data exchange operations are required. the

而为了使路由器210能将送至无线网络装置202或204的下行即时通信封包使用无线网络装置的多播地址来传送,无线网络装置202或204需使用地址解析通信协议(ARP,Address Resolution Protocol)来更新路由器210的ARP列表。此时无线网络装置202或204的网络(IP)地址将同时对应到其多播地址MAC MA与单播地址MAC STA。最后,为使路由器210得以辨别即时通信封包与非即时通信封包,一种简单的辨识即时通信封包与非即时通信封包的方法可通过端口号(Port Number)来完成,也即,路由器210可通过无线网络装置202或204与另一端即时通信节点240建立即时通信联机邀请时所带的会话描述协议(Session Description Protocol,SDP)信息,记录下此即时通信联机所用到的端口号以供接下来辨别是否为即时通信封包之用。除此之外,例如封包是否使用特定的地址标头、封包是否是根据特定信息交换方式(如前述的SDP)来进行等,也可以被用来作为判断封包是否为即时通信封包的依据。  In order for the router 210 to transmit the downlink instant messaging packet sent to the wireless network device 202 or 204 using the multicast address of the wireless network device, the wireless network device 202 or 204 needs to use the Address Resolution Protocol (ARP, Address Resolution Protocol) to update the ARP list of the router 210. At this time, the network (IP) address of the wireless network device 202 or 204 will correspond to its multicast address MAC MA and unicast address MAC STA at the same time. Finally, in order to make the router 210 distinguish between instant messaging packets and non-instant messaging packets, a simple method for identifying instant messaging packets and non-instant messaging packets can be accomplished through port numbers (Port Number), that is, router 210 can pass The session description protocol (Session Description Protocol, SDP) information brought when the wireless network device 202 or 204 establishes an instant messaging connection invitation with the other end instant messaging node 240, records the port number used by the instant messaging connection for subsequent identification Whether it is used for instant messaging packets. In addition, for example, whether the packet uses a specific address header, whether the packet is carried out according to a specific information exchange method (such as the aforementioned SDP), etc., can also be used as the basis for judging whether the packet is an instant messaging packet. the

在进行完前述的封包传输前置工作之后,就可以开始进行封包的实际传输。根据本发明的技术,此时的封包传输将可以轻易的被分成即时通信封包与非即时通信封包两种。对于非即时通信封包来说,在本实施例中是不做特别处理的。但是这并非意指这些非即时通信封包就不能做任何传输上的改变,此已为所属技术领域的技术人员所能熟知,在此不予赘述。另一方面,对于即时通信封包来说,本发明将根据无线网络的传输状态来决定是否对其开启重传机制。举例来说,无线网络装置202或204可以将其在时间轴上的传输行为以时间长度t 分割为若干个时段,并通过信号强度(RSSI)或网络上层所提供的收送封包丢失率(Packet Lost Rate)等参数,判断目前网络状况好坏。换句话说,在本发明中,可以令无线网络装置202每隔一段预定时间t确认一次信号强度,并在信号强度大于某一默认值时关闭即时通信封包的重传机制。又或者,也可以每隔一段预定时间t即确认一次收送封包丢失率,并在收送封包丢失率高于某一默认值时开启即时通信封包的重传机制。  After the aforementioned packet transmission preparatory work is completed, the actual packet transmission can be started. According to the technology of the present invention, the packet transmission at this time can be easily divided into two types: instant messaging packets and non-instant messaging packets. For non-IM packets, no special processing is performed in this embodiment. However, this does not mean that these non-instant messaging packets cannot be changed in any transmission, which is well known to those skilled in the art and will not be repeated here. On the other hand, for the instant messaging packet, the present invention will determine whether to enable the retransmission mechanism according to the transmission state of the wireless network. For example, the wireless network device 202 or 204 can divide its transmission behavior on the time axis into several time periods with a time length t, and use the signal strength (RSSI) or the packet loss rate (Packet Lost Rate) and other parameters to judge the current network status. In other words, in the present invention, the wireless network device 202 can be made to check the signal strength every predetermined time t, and turn off the retransmission mechanism of the instant messaging packet when the signal strength is greater than a default value. Alternatively, it is also possible to confirm the packet loss rate at intervals of a predetermined time t, and enable the retransmission mechanism of instant messaging packets when the packet loss rate is higher than a default value. the

在本发明的一个实施例中,控制是否开启即时通信封包的重传机制的功能,是由控制上述即时通信封包是否成为多播封包来决定。由于根据现行的网络传输规格,多播封包将不具有封包重传的机制,因此若能将即时通信封包从单播转为多播,就能够减少即时通信封包传送的整体时间。与其它转换机制不同的,在必须进行单播至多播的封包转换的时候,本发明是将在网络层(IP layer)仍为单播状态的封包于进入数据链路层(Data Link Layer)时,改变其媒体存取控制(Medium Access Control,MAC)地址的标头,以使上述封包的MAC地址能转换为多播的方式。  In an embodiment of the present invention, the function of controlling whether to enable the retransmission mechanism of the instant messaging packet is determined by controlling whether the instant messaging packet becomes a multicast packet. According to the current network transmission specification, the multicast packet will not have a packet retransmission mechanism, so if the instant messaging packet can be converted from unicast to multicast, the overall time of instant messaging packet transmission can be reduced. Different from other conversion mechanisms, when it is necessary to convert packets from unicast to multicast, the present invention converts packets that are still in unicast state at the network layer (IP layer) when entering the data link layer (Data Link Layer) , change the header of its Media Access Control (Medium Access Control, MAC) address, so that the MAC address of the above-mentioned packet can be converted into a multicast mode. the

请参照图5,其为依照IPv4网络规格标准的单播MAC地址与多播MAC地址的示意图。如图5所示,对目前的网络传输规格而言,单播MAC地址与多播MAC地址的差异就在于其地址前端具有不同的值。因此,只要将规格标准中的单播MAC地址的特定字段的内容(在IPv4的规格标准中,此处所指为MAC地址的前25个位,而在IPv6的规格标准中,此处所指者则为MAC地址的前16个位)转换为多播媒体存取控制地址的特定字段的内容,就可以轻易的将单播MAC地址转换为多播MAC地址。根据此点,在取得一个具有单播网络(IP)地址的即时通信封包之后,可以先进行将单播网络地址转换为单播MAC地址的标准转换程序(这些标准转换程序因不同的网络标准而有所不同,但其转换应为所属技术领域的技术人员所熟知,故在此不予赘述)。  Please refer to FIG. 5 , which is a schematic diagram of unicast MAC addresses and multicast MAC addresses according to the IPv4 network standard. As shown in FIG. 5 , for current network transmission specifications, the difference between a unicast MAC address and a multicast MAC address lies in that the front end of the address has different values. Therefore, as long as the content of the specific field of the unicast MAC address in the specification standard (in the specification standard of IPv4, it refers to the first 25 bits of the MAC address here, while in the specification standard of IPv6, it refers to the Or it is the first 16 bits of the MAC address) into the content of a specific field of the multicast media access control address, and the unicast MAC address can be easily converted into a multicast MAC address. According to this point, after obtaining an instant communication packet with a unicast network (IP) address, the standard conversion procedure of converting the unicast network address into a unicast MAC address can be carried out earlier (these standard conversion procedures are different due to different network standards are different, but their conversion should be well known to those skilled in the art, so details will not be repeated here). the

在转换得到单播MAC地址之后,接下来就必须依照图5的方式 将符合网络规格标准中的单播MAC地址的特定字段的标准内容转换为多播MAC地址的特定字段的标准内容,以使单播MAC地址成为多播MAC地址。最后,为了防止单播的即时通信封包在解码时真的被误认为多播的即时通信封包,在本实施例中,可使用预先定义的多播地址群组,也即MAC地址属于此群组内的地址则视为此封包为即时性通信封包,若不在此地址群组内,则视为一般性的多播封包。  After the unicast MAC address is converted, the standard content of the specific field of the unicast MAC address in the network specification standard must be converted into the standard content of the specific field of the multicast MAC address according to the method shown in Figure 5, so that A unicast MAC address becomes a multicast MAC address. Finally, in order to prevent unicast instant messaging packets from being mistaken for multicast instant messaging packets when decoding, in this embodiment, a predefined multicast address group can be used, that is, the MAC address belongs to this group The address within is regarded as an instant communication packet, and if it is not in this address group, it is regarded as a general multicast packet. the

除此之外,更可以进一步将具有相同属性的即时通信封包整合在一起成为一个下行连锁封包,并以此下行连锁封包作为一个传送单元来进行封包传送。其中,这些属性可以是耗电、服务质量(QoS)、安全性、传送延迟或延迟抖动等等。请参照图6,其为将多个具备单播IP地址的即时通信封包600、620与640结合成一个下行连锁封包660的封包结构示意图。在本实施例中,利用前述将单播IP地址转换为多播MAC地址时所舍弃的特定字节612、632与652,加上后续MAC封包数据单元(680a、680b与680c)的长度,产生一个新的子标头(Sub-Header)672a、672b与672c,再加上MAC封包数据单元680a、680b与680c而合组成一个个的子封包(Sub-Packet)。也即,672a与680a合组为一个子封包,672b与680b合组为一个子封包,672c与680c合组为一个子封包。接着,多个子封包通过子标头介接的方式,使用连锁的方式合组成一个长封包,再加上一个标准的多播MAC标头670以产生下行连锁封包660。  In addition, it is possible to further integrate instant messaging packets with the same attribute into a downlink chain packet, and use the downlink chain packet as a transmission unit for packet transmission. Among other things, these attributes may be power consumption, quality of service (QoS), security, delivery delay or delay jitter, and the like. Please refer to FIG. 6 , which is a schematic diagram of a packet structure combining multiple instant messaging packets 600 , 620 and 640 with unicast IP addresses into a downlink chain packet 660 . In this embodiment, the specific bytes 612, 632, and 652 discarded when converting the unicast IP address to the multicast MAC address are used, and the length of the subsequent MAC packet data unit (680a, 680b, and 680c) is added to generate A new sub-header (Sub-Header) 672a, 672b, and 672c, plus MAC packet data units 680a, 680b, and 680c are combined to form a sub-packet (Sub-Packet). That is, 672a and 680a are combined into one subpacket, 672b and 680b are combined into one subpacket, and 672c and 680c are combined into one subpacket. Then, multiple sub-packets are combined into a long packet by sub-headers in a chained manner, and a standard multicast MAC header 670 is added to generate a downlink chained packet 660 . the

在上述过程中,子标头的内容可以依据IP版本而做变动,同时子封包的长度可以依据实际上MAC封包数据单元的长度而变化。而其它数据封包也可依据原本的转换及传送方法运行,不受任何影响。利用此技术便可以将多个具备相同属性,包含耗电、QoS、及安全性等的封包连锁成单一MAC封包传送,一方面可以减少在传送时的额外负担(Overhead),同时也减少封包与封包间的传送竞争。此机制将具备同类型的封包使用同类型传送方法传送,如传送延迟(Delay)、延迟抖动(Jitter)、或其它属性,配合算法运行。  In the above process, the content of the sub-header can be changed according to the IP version, and the length of the sub-packet can be changed according to the actual length of the MAC packet data unit. Other data packets can also operate according to the original conversion and transmission methods without any influence. Using this technology, multiple packets with the same attributes, including power consumption, QoS, and security, can be chained into a single MAC packet for transmission. Transmission contention between packets. In this mechanism, packets with the same type will be transmitted using the same type of transmission method, such as transmission delay (Delay), delay jitter (Jitter), or other attributes, and cooperate with the algorithm to run. the

而在使用下行连锁封包的状况下,在如图2所示的网络环境中, 移动通信装置202或204以及路由器220的操作可以稍做修改以便进行相应的操作支持。请参照图7A,其为路由器220,或其它具备第三层处理能力的网络装置,根据本发明一实施例从节点240接收数据时所进行的操作流程图。当此装置接收到由外部网络传送进来的TCP/IP封包时(步骤S700),首先辨别此封包是否属于即时通信封包(步骤S702、S704),如果不是即时通信封包,则使用一般处理及传送方法传送(步骤S706)。若为即时通信封包,则辨识此封包属于哪一种服务机制(步骤S708)。接着根据是否属于同一类型的服务机制而判断是否需要产生子封包(步骤S710)。若需要产生子封包,则通过转换程序产生所属的子标头(步骤S712),然后加上其封包数据单元产生一个子封包(步骤S714)。在不需要建立子封包或已建立起子封包之后,接着就通过算法计算来判断是否到达传送时间(步骤S716)。如果未达传送时间,则将此子封包放进进程(Schedule)或队列(Queue)中,等待传送的时间(步骤S720);反之,若已达传送时间,则产生一个新的属于这些服务机制种类的多播MAC标头,并将进程或队列中的子封包连锁成单一封包传送出去(步骤S718)。  In the case of using downlink chain packets, in the network environment shown in FIG. 2, the operations of the mobile communication device 202 or 204 and the router 220 can be slightly modified for corresponding operation support. Please refer to FIG. 7A , which is a flow chart of operations performed by the router 220 or other network devices with Layer 3 processing capabilities when receiving data from the node 240 according to an embodiment of the present invention. When the device receives a TCP/IP packet sent from the external network (step S700), it first distinguishes whether the packet belongs to an instant messaging packet (steps S702, S704), if it is not an instant messaging packet, then use the general processing and transmission method Send (step S706). If it is an instant messaging packet, identify which service mechanism the packet belongs to (step S708). Then it is determined whether a sub-packet needs to be generated according to whether it belongs to the same type of service mechanism (step S710). If a sub-packet needs to be generated, the corresponding sub-header is generated through the conversion program (step S712), and then its packet data unit is added to generate a sub-packet (step S714). After the sub-packet does not need to be established or the sub-packet has been established, it is then judged by algorithm calculation whether the transmission time is reached (step S716). If the transmission time has not been reached, then this sub-packet is put into the process (Schedule) or queue (Queue), waiting for the time of transmission (step S720); otherwise, if the transmission time has been reached, a new service mechanism belonging to these service mechanisms is generated type of multicast MAC header, and concatenate the subpackets in the process or queue into a single packet and send it out (step S718). the

接下来请参照图7B,其为路由器220,或其它具备第三层处理能力的网络装置,根据本发明一实施例从无线网络存取器210接收数据时所进行的操作流程图。在本实施例中,当从无线网络存取器210接收到封包时,即针对此封包的标头做辨识处理(步骤S730)。若辨识后发现为非多播的封包,则使用标准的方法处理(步骤S732);反之,若辨识后发现为多播的封包,则处理多播封包的标头(步骤S734),并辨识是否属于预先定义的即时通信封包(步骤S736)。若经步骤S736的辨识发现不是预先定义的即时通信封包,则使用一般多播的方法处理(步骤S738);反之,若为预先定义的即时通信封包,则解译封包的子标头(步骤S740),接着处理子封包数据单元(步骤S742),然后将子标头移除并将封包传递给上层处理(步骤S744)。最后检查是否还有下一批子封包(步骤S746),如果有则做相同的处理(步骤S740~S746),若无,则结束此程序。  Next, please refer to FIG. 7B , which is a flow chart of operations performed by the router 220 or other network devices with Layer 3 processing capabilities when receiving data from the wireless network access device 210 according to an embodiment of the present invention. In this embodiment, when a packet is received from the wireless network access device 210, identification processing is performed on the header of the packet (step S730). If it is found to be a non-multicast packet after identification, then use the standard method for processing (step S732); otherwise, if it is found to be a multicast packet after identification, then process the header of the multicast packet (step S734), and identify whether Belongs to a predefined instant messaging package (step S736). If the identification of step S736 finds that it is not a predefined instant messaging packet, then use the general multicast method to process (step S738); otherwise, if it is a predefined instant messaging packet, then interpret the sub-header of the packet (step S740 ), then process the sub-packet data unit (step S742), then remove the sub-header and pass the packet to the upper layer for processing (step S744). Finally check whether there is a next batch of sub-packets (step S746), if yes, then do the same process (steps S740-S746), if not, then end this program. the

接下来请参照图8A,其为无线网络装置202或204根据本发明一实施例从无线网络存取器210接收数据时所进行的操作流程图。在本实施例中,当移动通信装置202或204接收到通过无线网络存取器210从外部网络传送进来的封包时,会先判断是否为多播封包(步骤S800),若不是则依据标准的方法处理封包(步骤S802)。若为多播的封包,则针对标头做处理(步骤S804)。接着判断此封包是否属于预先定义的即时通信封包(步骤S736),若不是,则依据标准的方法处理(步骤S802);若是,则针对该封包做后续处理。首先,检查子标头以判断此批子封包是否属于自己(步骤S808、S810),若不是则忽略此批子封包(步骤S812),接着检查下一批子封包(S818);反之,若是此批子封包属于自己,则针对子封包做处理(步骤S814),将子标头移除并解出子封包数据单元后传递给上层处理(步骤S816),然后检查下一批子封包(步骤S818),直到整个多播封包都被解译完毕。  Next, please refer to FIG. 8A , which is a flowchart of operations performed when the wireless network device 202 or 204 receives data from the wireless network access device 210 according to an embodiment of the present invention. In this embodiment, when the mobile communication device 202 or 204 receives a packet transmitted from the external network through the wireless network access device 210, it will first determine whether it is a multicast packet (step S800), if not, then according to the standard The method processes the packet (step S802). If it is a multicast packet, process the header (step S804). Then it is judged whether the package belongs to the predefined instant messaging package (step S736), if not, then process according to the standard method (step S802); if so, then perform subsequent processing for the package. First, check the sub-header to judge whether this batch of sub-packets belongs to oneself (steps S808, S810), if not then ignore this batch of sub-packets (step S812), then check the next batch of sub-packets (S818); otherwise, if this The batch of subpackages belongs to oneself, then processing (step S814) for the subpackage, the subheader is removed and unwrapped after the subpackage data unit is delivered to the upper layer for processing (step S816), then check the next batch of subpackages (step S818 ) until the entire multicast packet has been interpreted. the

接下来请参照图8B,其为无线网络装置202或204根据本发明一实施例将数据上传至无线网络存取器210时所进行的操作流程图。其中,当无线网络装置有数据要传送出去时(步骤S830),会先分类此TCP/IP封包(步骤S832)。若不是预先定义的即时通信封包,则依据一般数据处理原则处理并传送(步骤S834、S836);而若为预先定义的即时通信封包,则判断是否属于哪一种特定的服务机制(步骤S834、S838),并接着产生该服务机制对应的子标头(步骤S840),然后加上封包数据单元组成一个MAC子封包(步骤S842)。之后依据进程或算法计算是否该传送出去(步骤S844),若该传送出去,则依据多播传送原则将此封包传送出去(步骤S846);若尚未到达传送时间,则将此子封包放入进程或队列中等待传送时间(步骤S848)。  Next, please refer to FIG. 8B , which is a flowchart of operations performed when the wireless network device 202 or 204 uploads data to the wireless network access device 210 according to an embodiment of the present invention. Wherein, when the wireless network device has data to be transmitted (step S830), it first classifies the TCP/IP packet (step S832). If it is not a predefined instant messaging package, it will be processed and transmitted according to the general data processing principles (steps S834, S836); and if it is a predefined instant messaging package, it will be judged whether it belongs to which specific service mechanism (steps S834, S836). S838), and then generate the sub-header corresponding to the service mechanism (step S840), and then add the packet data unit to form a MAC sub-packet (step S842). Afterwards, calculate whether to send out (step S844) according to process or algorithm, if should send out, then this packet is sent out (step S846) according to the principle of multicast transmission; Or wait in the queue for transmission time (step S848). the

通过上述的各种说明可以清楚得知,本发明是通过主动控制即时通信封包是否为多播类型的封包以决定开启或关闭封包重传机制。而控制即时通信封包是否为多播类型的其中一种方式就是利用前述改变MAC地址的手段来达成。若将本发明所提供的方法使用在PS-Poll 传送机制上,则由于在上行与下行的即时通信封包传输上使用了多播地址来进行传送,因此可关闭重送机制进而减少等待响应封包的时间,通过减少两个短帧间空间与两个响应封包,无线网络装置便可同时针对耗电情形与网络带宽使用率进行提高。相同的,本发明所提供的方法也可应用于其它即时通信省电传输方法如U-APSD上,此时由于在上行与下行的即时通信封包传输上使用了多播地址来进行传送,因此可关闭重送机制进而减少等待响应封包的时间,通过减少两个短帧间空间与两个响应封包,因此同样可以同时针对耗电情形与网络带宽使用率进行提高。根据实验结果显示,在网络带宽上可以提高约40%的使用率,而在此同时也可以节省约40%的电力消耗。  It can be clearly known from the above descriptions that the present invention decides to enable or disable the packet retransmission mechanism by actively controlling whether the instant messaging packet is a multicast packet. One of the ways to control whether the instant messaging packet is a multicast type is to use the above-mentioned means of changing the MAC address to achieve. If the method provided by the present invention is used on the PS-Poll transmission mechanism, then because the multicast address is used for transmission on the uplink and downlink instant communication packet transmission, the retransmission mechanism can be closed to reduce the time of waiting for the response packet Time, by reducing two short interframe spaces and two response packets, the wireless network device can improve both power consumption and network bandwidth utilization. Similarly, the method provided by the present invention can also be applied to other instant messaging power-saving transmission methods such as U-APSD. At this time, because the multicast address is used to transmit the uplink and downlink instant messaging packet transmission, it can be transmitted. Turn off the retransmission mechanism to reduce the waiting time for the response packet. By reducing the space between two short frames and two response packets, it can also improve the power consumption and network bandwidth usage at the same time. According to the experimental results, the utilization rate of the network bandwidth can be increased by about 40%, and at the same time, the power consumption can be saved by about 40%. the

虽然本发明已以较佳实施例披露如上,然其并非用以限定本发明,任何所属技术领域的技术人员,在不脱离本发明之精神和范围内,当可作些许之更动与改进,因此本发明之保护范围当视权利要求所界定者为准。  Although the present invention has been disclosed above with preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art may make some modifications and improvements without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention should be defined by the claims. the

Claims (24)

1.一种无线网络的封包传送方法,其特征是包括下列步骤:1. A packet transmission method of a wireless network, characterized in that it comprises the following steps: 判断将进行传送的一封包是否为即时通信封包;以及Judging whether a packet to be transmitted is an instant messaging packet; and 当该封包为即时通信封包时,根据无线网络的信号强度来决定是否对该封包开启重传机制,其中使用多播媒体存取控制地址作为该即时通信封包的目的地媒体存取控制地址,以关闭重传机制,其中使用单播媒体存取控制地址作为该即时通信封包的目的地媒体存取控制地址,以开启重传机制。When the packet is an instant messaging packet, it is determined whether to enable a retransmission mechanism for the packet according to the signal strength of the wireless network, wherein the multicast MAC address is used as the destination MAC address of the instant messaging packet to The retransmission mechanism is disabled, wherein the unicast MAC address is used as the destination MAC address of the instant messaging packet to enable the retransmission mechanism. 2.根据权利要求1所述的无线网络的封包传送方法,其特征是根据无线网络的该信号强度来决定是否对该封包开启重传机制的步骤包括:2. The packet transmission method of the wireless network according to claim 1, wherein the step of deciding whether to open the retransmission mechanism for the packet according to the signal strength of the wireless network comprises: 每隔一段预定时间确认一次该信号强度;以及confirming the signal strength at predetermined intervals; and 当该信号强度大于默认值时,对该封包关闭重传机制。When the signal strength is greater than the default value, turn off the retransmission mechanism for the packet. 3.根据权利要求1所述的无线网络之封包传送方法,其特征是还包括设定无线存取节点与无线网络装置共同使用的多播媒体存取控制地址。3. The method for transmitting packets in a wireless network according to claim 1, further comprising setting a multicast MAC address commonly used by the wireless access node and the wireless network device. 4.根据权利要求3所述的无线网络的封包传送方法,其特征是该多播媒体存取控制地址是通过该无线存取节点与该无线网络装置的信息交换而设定。4. The packet transmission method of wireless network according to claim 3, wherein the MAC address is set through the information exchange between the wireless access node and the wireless network device. 5.根据权利要求3所述的无线网络的封包传送方法,其特征是该多播媒体存取控制地址是通过转换该无线网络装置的单播网络地址而得。5. The wireless network packet transmission method according to claim 3, wherein the multicast MAC address is obtained by converting the unicast network address of the wireless network device. 6.根据权利要求5所述的无线网络的封包传送方法,其特征是转换该无线网络装置的该单播网络地址而得该多播媒体存取控制地址的步骤,包括:6. The wireless network packet transmission method according to claim 5, wherein the step of converting the unicast network address of the wireless network device to obtain the multicast MAC address comprises: 进行将该单播网络地址转换为单播媒体存取控制地址的标准转换程序;以及perform standard translation procedures for translating the unicast network address to a unicast media access control address; and 将该单播媒体存取控制地址的特定字段的内容转换为多播媒体存取控制地址的特定字段的内容,以使该单播媒体存取控制地址成为多播媒体存取控制地址。converting the content of the specific field of the unicast MAC address into the content of the specific field of the multicast MAC address, so that the unicast MAC address becomes a multicast MAC address. 7.根据权利要求1所述的无线网络的封包传送方法,其特征是使用原本的单播媒体存取控制地址作为非即时通信封包的目的地媒体存取控制地址,以开启重传机制。7. The packet transmission method of wireless network according to claim 1, characterized in that the original unicast MAC address is used as the destination MAC address of the non-IM packet to enable the retransmission mechanism. 8.根据权利要求1所述的无线网络的封包传送方法,其特征是判断将进行传送的该封包是否为即时通信封包的步骤包括:8. The packet transmission method of wireless network according to claim 1, wherein the step of judging whether the packet to be transmitted is an instant messaging packet comprises: 在建立即时通信时记录所用的网络端口号、地址标头与特定信息交换方式;以及record the network port numbers, address headers and specific information exchange methods used when establishing instant messaging; and 当发现收送该封包所用的端口号为该网络端口号,该封包使用该地址标头,以及以该特定信息交换方式收送该封包三种情况之一时,即判断该封包为即时通信封包。When it is found that the port number used to send the packet is the network port number, the packet uses the address header, and the packet is sent in the specific information exchange mode, it is determined that the packet is an instant messaging packet. 9.根据权利要求1所述的无线网络的封包传送方法,其特征是在判断将进行传送的该封包为即时通信封包之后,在决定是否对该封包开启重传机制之前还进行下列步骤:9. The packet transmission method of wireless network according to claim 1, characterized in that after judging that the packet to be transmitted is an instant messaging packet, before deciding whether to open the retransmission mechanism for the packet, the following steps are also carried out: 整合多个下行即时通信封包为下行连锁封包;以及Integrating multiple downlink instant messaging packets into downlink chain packets; and 以该下行连锁封包为一传送单位以进行封包传送。The downlink chain packet is used as a transmission unit for packet transmission. 10.根据权利要求9所述的无线网络的封包传送方法,其特征是整合多个下行即时通信封包为该下行连锁封包的步骤包括:10. The packet transmission method of wireless network according to claim 9, characterized in that the step of integrating a plurality of downlink instant messaging packets into the downlink chain packet comprises: 根据下行的单播网络地址转换为多播媒体存取控制地址时所使用的特定字节与对应的媒体存取控制封包数据单元的长度,产生子标头;generating a sub-header according to the specific byte used when converting the downlink unicast network address into the multicast MAC address and the length of the corresponding MAC packet data unit; 将该子标头与对应的媒体存取控制器封包组合成一子封包;combining the sub-header and the corresponding MAC packet into a sub-packet; 经子标头介接方式,连锁组合每子封包;以及chain-combining each sub-packet via sub-header interfacing; and 在连锁组合每一个子封包所得的结果前加上标准多播媒体存取控制标头,由此产生该下行连锁封包。The downstream chained packet is generated by prepending the result of the chained combination of each sub-packet with a standard MBAC header. 11.根据权利要求9所述的无线网络的封包传送方法,其特征是整合多个下行即时通信封包为该下行连锁封包时,将具备相同属性的下行即时通信封包整合在一起。11. The wireless network packet transmission method according to claim 9, characterized in that when a plurality of downlink instant messaging packets are integrated into the downlink chain packet, downlink instant messaging packets with the same attribute are integrated together. 12.根据权利要求11所述的无线网络的封包传送方法,其特征是相同属性包括耗电、服务质量、安全性、传送延迟与延迟抖动中的一个。12. The wireless network packet transmission method according to claim 11, wherein the same attribute includes one of power consumption, quality of service, security, transmission delay and delay jitter. 13.一种无线网络的封包传送方法,其特征是包括下列步骤:13. A packet transmission method of a wireless network, characterized in that it comprises the following steps: 判断将进行传送的一封包是否为即时通信封包;以及Judging whether a packet to be transmitted is an instant messaging packet; and 当该封包为即时通信封包时,根据无线网络的收送封包丢失率来决定是否对该封包开启重传机制,其中使用多播媒体存取控制地址作为该即时通信封包的目的地媒体存取控制地址,以关闭重传机制,其中使用单播媒体存取控制地址作为该即时通信封包的目的地媒体存取控制地址,以开启重传机制。When the packet is an instant messaging packet, determine whether to enable the retransmission mechanism for the packet according to the packet loss rate of the wireless network, wherein the multicast MAC address is used as the destination MAC of the instant messaging packet address to disable the retransmission mechanism, wherein the unicast MAC address is used as the destination MAC address of the instant messaging packet to enable the retransmission mechanism. 14.根据权利要求13所述的无线网络的封包传送方法,其特征是根据无线网络的该收送封包丢失率来决定是否对该封包开启重传机制的步骤包括:14. The packet transmission method of the wireless network according to claim 13, wherein the step of determining whether to open the retransmission mechanism for the packet according to the packet loss rate of the wireless network includes: 每隔一段预定时间确认一次该收送封包丢失率;以及confirming the packet loss rate at regular intervals; and 当该收送封包丢失率高于默认值时,对该封包开启重传机制。When the loss rate of the sending and receiving packet is higher than the default value, the retransmission mechanism is enabled for the packet. 15.根据权利要求13所述的无线网络之封包传送方法,其特征是还包括设定无线存取节点与无线网络装置共同使用的多播媒体存取控制地址。15. The method for transmitting packets in a wireless network according to claim 13, further comprising setting a multicast MAC address commonly used by the wireless access node and the wireless network device. 16.根据权利要求15所述的无线网络的封包传送方法,其特征是该多播媒体存取控制地址是通过该无线存取节点与该无线网络装置的信息交换而设定。16. The packet transmission method of wireless network according to claim 15, wherein the MAC address is set through the information exchange between the wireless access node and the wireless network device. 17.根据权利要求15所述的无线网络的封包传送方法,其特征是该多播媒体存取控制地址是通过转换该无线网络装置的单播网络地址而得。17. The wireless network packet transmission method according to claim 15, wherein the multicast MAC address is obtained by converting the unicast network address of the wireless network device. 18.根据权利要求17所述的无线网络的封包传送方法,其特征是转换该无线网络装置的该单播网络地址而得该多播媒体存取控制地址的步骤,包括:18. The wireless network packet transmission method according to claim 17, characterized in that the step of converting the unicast network address of the wireless network device to obtain the multicast MAC address comprises: 进行将该单播网络地址转换为单播媒体存取控制地址的标准转换程序;以及perform standard translation procedures for translating the unicast network address to a unicast media access control address; and 将该单播媒体存取控制地址的特定字段的内容转换为多播媒体存取控制地址的特定字段的内容,以使该单播媒体存取控制地址成为多播媒体存取控制地址。converting the content of the specific field of the unicast MAC address into the content of the specific field of the multicast MAC address, so that the unicast MAC address becomes a multicast MAC address. 19.根据权利要求13所述的无线网络的封包传送方法,其特征是使用原本的单播媒体存取控制地址作为非即时通信封包的目的地媒体存取控制地址,以开启重传机制。19. The wireless network packet transmission method according to claim 13, wherein the original unicast MAC address is used as the destination MAC address of the non-IM packet to enable the retransmission mechanism. 20.根据权利要求13所述的无线网络的封包传送方法,其特征是判断将进行传送的该封包是否为即时通信封包的步骤包括:20. The packet transmission method of wireless network according to claim 13, characterized in that the step of judging whether the packet to be transmitted is an instant messaging packet comprises: 在建立即时通信时记录所用的网络端口号、地址标头与特定信息交换方式;以及record the network port numbers, address headers and specific information exchange methods used when establishing instant messaging; and 当发现收送该封包所用的端口号为该网络端口号,该封包使用该地址标头,以及以该特定信息交换方式收送该封包三种情况之一时,即判断该封包为即时通信封包。When it is found that the port number used to send the packet is the network port number, the packet uses the address header, and the packet is sent in the specific information exchange mode, it is determined that the packet is an instant messaging packet. 21.根据权利要求13所述的无线网络的封包传送方法,其特征是在判断将进行传送的该封包为即时通信封包之后,在决定是否对该封包开启重传机制之前还进行下列步骤:21. The packet transmission method of wireless network according to claim 13, characterized in that after judging that the packet to be transmitted is an instant messaging packet, before deciding whether to enable the retransmission mechanism for the packet, the following steps are also performed: 整合多个下行即时通信封包为下行连锁封包;以及Integrating multiple downlink instant messaging packets into downlink chain packets; and 以该下行连锁封包为一传送单位以进行封包传送。The downlink chain packet is used as a transmission unit for packet transmission. 22.根据权利要求21所述的无线网络的封包传送方法,其特征是整合多个下行即时通信封包为该下行连锁封包的步骤包括:22. The packet transmission method of wireless network according to claim 21, characterized in that the step of integrating a plurality of downlink instant messaging packets into the downlink chain packet comprises: 根据下行的单播网络地址转换为多播媒体存取控制地址时所使用的特定字节与对应的媒体存取控制封包数据单元的长度,产生子标头;generating a sub-header according to the specific byte used when converting the downlink unicast network address into the multicast MAC address and the length of the corresponding MAC packet data unit; 将该子标头与对应的媒体存取控制封包组合成一子封包;combining the sub-header and the corresponding MAC packet into a sub-packet; 经子标头介接方式,连锁组合每子封包;以及chain-combining each sub-packet via sub-header interfacing; and 在连锁组合每一个子封包所得的结果前加上标准多播媒体存取控制标头,由此产生该下行连锁封包。The downstream chained packet is generated by prepending the result of the chained combination of each sub-packet with a standard MBAC header. 23.根据权利要求21所述的无线网络的封包传送方法,其特征是整合多个下行即时通信封包为该下行连锁封包时,将具备相同属性的下行即时通信封包整合在一起。23. The packet transmission method of wireless network according to claim 21, characterized in that when a plurality of downlink instant messaging packets are integrated into the downlink chain packet, the downlink instant messaging packets with the same attribute are integrated together. 24.根据权利要求23所述的无线网络的封包传送方法,其特征是相同属性包括耗电、服务质量、安全性、传送迟延与延迟抖动中的一个。24. The packet transmission method of wireless network according to claim 23, wherein the same attribute includes one of power consumption, quality of service, security, transmission delay and delay jitter.
CN 200510116743 2005-10-28 2005-10-28 Packet transmission method of wireless network Active CN1956371B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510116743 CN1956371B (en) 2005-10-28 2005-10-28 Packet transmission method of wireless network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510116743 CN1956371B (en) 2005-10-28 2005-10-28 Packet transmission method of wireless network

Publications (2)

Publication Number Publication Date
CN1956371A CN1956371A (en) 2007-05-02
CN1956371B true CN1956371B (en) 2013-03-27

Family

ID=38063491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510116743 Active CN1956371B (en) 2005-10-28 2005-10-28 Packet transmission method of wireless network

Country Status (1)

Country Link
CN (1) CN1956371B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112788666B (en) * 2019-11-11 2025-03-18 瑞昱半导体股份有限公司 Wireless communication device and wireless communication method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1476199A (en) * 2002-07-26 2004-02-18 ���ǵ�����ʽ���� Transmission control parameter generation method and selective retransmission method according to packet characteristics
US6771659B1 (en) * 2000-01-21 2004-08-03 Nokia Mobile Phones Ltd. Method and apparatus for a selective acknowledgement scheme in a modified unacknowledge mode for use over a communications link
CN1647440A (en) * 2002-04-16 2005-07-27 皇家飞利浦电子股份有限公司 Transmission system with congestion control at the receiver end for deciding possible retransmission requests

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6771659B1 (en) * 2000-01-21 2004-08-03 Nokia Mobile Phones Ltd. Method and apparatus for a selective acknowledgement scheme in a modified unacknowledge mode for use over a communications link
CN1647440A (en) * 2002-04-16 2005-07-27 皇家飞利浦电子股份有限公司 Transmission system with congestion control at the receiver end for deciding possible retransmission requests
CN1476199A (en) * 2002-07-26 2004-02-18 ���ǵ�����ʽ���� Transmission control parameter generation method and selective retransmission method according to packet characteristics

Also Published As

Publication number Publication date
CN1956371A (en) 2007-05-02

Similar Documents

Publication Publication Date Title
US7783770B2 (en) Packet transmitting method of wireless network
US8228889B2 (en) Communication apparatus, communication system and communication control program
EP2086148B1 (en) Method for sending status information in mobile telecommunications system and receiver of mobile telecommunications
KR100762071B1 (en) Method for acknowledging data packets in network including plurality of stations connected by common wireless channel
US6865609B1 (en) Multimedia extensions for wireless local area network
AU2009209739B2 (en) Method for sending status information in mobile telecommunications system and receiver of mobile telecommunications
US8112091B2 (en) Allocating radio resources in mobile communications system
KR20080074854A (en) High Speed Control Messaging Mechanism for Use in Wireless Network Communications
CN101651963B (en) Transmission control method based on differentiated services in IEEE 802.11WLAN
JP2008507226A (en) System and method for improving data throughput using block acknowledgment
US20060013256A1 (en) Wireless communication device and method for aggregating MAC service data units
WO2007115469A1 (en) A method for decreasing the information exchanging redundancy in the wireless location area network 802.11
US20070171902A1 (en) Method device for transmitting data packets belong to different users in a common transmittal protocol packet
US20070195813A1 (en) Multicast packet transmitting method of wireless network
US20050169305A1 (en) Mobile terminal and radio access point in radio access system
US20060155856A1 (en) Communications device, network system, communication management method, request signal, response signal, program, and recording medium containing the program
US7613191B2 (en) Packet transmission method of wireless network
EP1613002A1 (en) Mobile terminal and radio access point in radio access system
CN1956371B (en) Packet transmission method of wireless network
JP2003523131A (en) Method for transmission of packetized messages with emitting timeout
CN101990241B (en) Packet data transmission system and method
EP4434180A1 (en) Receive reordering buffer control for latency sensitive traffic
US9479351B2 (en) Method and apparatus for providing voice service in communication system
Lu et al. A MAC queue aggregation scheme for VoIP transmission in WLAN
US20080192664A1 (en) Method and related apparatus for enhancing resource utility rate in a wireless communications system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: A-OPTRONICS, INC.

Free format text: FORMER OWNER: INDUSTRIAL TECHNOLOGY RESEARCH INSTITUTE

Effective date: 20141202

Owner name: JIANGONG ZHIQUAN SERVICE CO., LTD.

Free format text: FORMER OWNER: A-OPTRONICS, INC.

Effective date: 20141202

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20141202

Address after: Chinese Taiwan New Taipei Itabashi Ziqiang village 39-3 No. 2 floor

Patentee after: All the Intellectual Property Service Co.,Ltd.

Address before: Room 47, No. two, 103, Science Park, Hsinchu, Taiwan, China

Patentee before: A-OPTRONICS TECHNOLOGY Inc.

Effective date of registration: 20141202

Address after: Room 47, No. two, 103, Science Park, Hsinchu, Taiwan, China

Patentee after: A-OPTRONICS TECHNOLOGY Inc.

Address before: Taiwan County, Hsinchu, China Town, the eastern part of Zhongxing Road, No. 4, No. 195

Patentee before: Industrial Technology Research Institute

ASS Succession or assignment of patent right

Owner name: YUANJIAN INTELLECTUAL PROPERTY SERVICE COMPANY

Free format text: FORMER OWNER: JIANGONG ZHIQUAN SERVICE CO., LTD.

Effective date: 20150129

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20150129

Address after: Republic of Seychelles Maher Vitoria mailbox

Patentee after: Vision intellectual property services Co.

Address before: Chinese Taiwan New Taipei Itabashi Ziqiang village 39-3 No. 2 floor

Patentee before: All the Intellectual Property Service Co.,Ltd.

ASS Succession or assignment of patent right

Owner name: NANJING CHUANGDATE NETWORK TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: YUANJIAN INTELLECTUAL PROPERTY SERVICE COMPANY

Effective date: 20150907

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20150907

Address after: Jiangning District of Nanjing City, Jiangsu province 211111 Jiangning economic and Technological Development Zone, Mo Zhou Road No. 9

Patentee after: Nanjing Chuangdat Network Technology Co.,Ltd.

Address before: Republic of Seychelles Maher Vitoria mailbox

Patentee before: Vision intellectual property services Co.

TR01 Transfer of patent right

Effective date of registration: 20161222

Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee after: HUAWEI TECHNOLOGIES Co.,Ltd.

Address before: Jiangning District of Nanjing City, Jiangsu province 211111 Jiangning economic and Technological Development Zone, Mo Zhou Road No. 9

Patentee before: Nanjing Chuangdat Network Technology Co.,Ltd.

TR01 Transfer of patent right