Abstract:
A power management method and apparatus for a wireless LAN module in a computer system may include a communication sensitivity checking unit for checking a communication sensitivity of a wireless communications channel. If a communications sensitivity is lower than a desired value, a power mode of the wireless LAN module is changed into a sleep mode for a predetermined period of time. After the delay period expires, the wireless LAN module is switched back into a normal mode, and the communications sensitivity is checked again. If the communications sensitivity is acceptable, a data checking unit checks to determine whether there is data to be transmitted/received by the wireless LAN module. If no data needs to be sent, at least the transmission block of the wireless LAN module can be set to the power down mode. Also, if an attempt to set up a communications channel is unsuccessful, the device can be set to the power down mode for a predetermined delay period. After the delay period expires, the wireless LAN module is returned to the normal mode for another setup attempt.

Description:
BACKGROUND OF THE INVENTION  
         [0001]    1. Field of the Invention  
           [0002]    The present invention relates to a wireless LAN module in a computer system, and more particularly, to a method of managing power consumption based on a communication sensitivity of a set channel, or based on data traffic that must be processed through the wireless LAN module.  
           [0003]    2. Background of the Related Art  
           [0004]    In the following descriptions, the term “normal mode” is intended to mean the same thing as the term “working mode,” and the term “sleeping mode” is intended to mean the same thing as “power down mode.” 
           [0005]    In a wireless LAN network system, data is wirelessly transmitted between computer systems which are installed in buildings or in large-sized offices. As shown in FIG. 1, the wireless LAN network system includes computers  6 , an access point  4 , a hub  3 , a router  2  and a server  5 . The computers  6  communicate with the access point  4  using a wireless LAN module. Available wireless communications channels are allocated to corresponding computers. This allows the computers  6  to communicate with each other through wireless communications passing through the access point  4 . Additionally, the wireless devices may directly establish a LAN with each other in a peer-to-peer communications mode.  
           [0006]    The hub  3  is disposed in the middle of a LAN transmission line and functions as a transmission line repeater. The router  2  is a computer or repeater equipment for determining a path of traffic flow in the communication network The router  2  promptly processes message traffic through the Internet  1 . In a communications network which connects the computers with the terminals through mesh-shaped paths, the router  2  receives a transferred message and selects a shortest path or an optimal path, and then transmits the message to a reception computer via the selected path.  
           [0007]    A wireless LAN module installed in one of the computers  6  operates according to a system power mode (working mode/sleeping mode) determined by a central processing unit (CPU). The wireless LAN module always supervises the system power mode so as to set and change its own power mode according to an I/O request packet (IRP) of the system power mode. If the system power mode of the computer&#39;s CPU is the working mode, the wireless LAN module sets its own power mode to the working mode. If the system power mode of the computer&#39;s CPU is the sleeping mode, the wireless LAN module sets its own power mode to the sleeping mode.  
           [0008]    An operating system (OS) based on the Advanced Configuration and Power Interface Specification (ACPI Specification) directly manages the power mode setting of the computer system.  
           [0009]    Because the power mode of a wireless LAN module is set according to the system power mode determined by the CPU, and because the power mode of the wireless LAN module is set without regard to the existence of data which must be processed by the wireless LAN module, when the CPU is operating in the working mode, the wireless LAN module acts as a system load. If no data must be processed by the wireless LAN module, the wireless LAN module consumes power unnecessarily.  
         SUMMARY OF THE INVENTION  
         [0010]    An object of the invention is to solve at least the above problems and/or disadvantages and to provide at least the advantages described hereinafter.  
           [0011]    Accordingly, the present invention is directed to a power management method and apparatus of a wireless LAN module that substantially obviates one or more problems due to limitations and disadvantages of the related art.  
           [0012]    It is an object of the present invention to provide a power management method and apparatus of a wireless LAN module in which a power mode of the wireless LAN module is set and changed according to a communication sensitivity of a set channel, or based on the existence of data which must be processed by the wireless LAN module.  
           [0013]    One embodiment of the invention may include a communication sensitivity checking means for checking a communication sensitivity of a wireless LAN network and a power mode changing means for changing a power mode of a wireless LAN module based on the checked communication sensitivity. Other embodiments may include a data checking means for checking whether there is data to be transmitted/received by the wireless LAN module, and a power mode changing means for changing a power mode of a wireless LAN module based on the need to communicate data.  
           [0014]    A method embodying the invention may include the steps of: (a) setting up a channel to configure the wireless LAN network; (b) checking a communication sensitivity of the set channel; and (c) changing a power mode of the wireless LAN device based on the channel setup and/or the checked transmission sensitivity. The method may further include the steps of checking whether data needs to be transmitted or received by the wireless LAN module, and changing the power mode based on the results of the checking step.  
           [0015]    It is possible to change the power mode of the wireless LAN module according to the communication sensitivity of the set channel, or based on the existence of data to be processed by the wireless LAN module. Methods embodying the invention prevent unnecessary power consumption of the wireless LAN module and thereby reduce a system load.  
           [0016]    Additional advantages, objects, and features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention. The objects and advantages of the invention maybe realized and attained as particularly pointed out in the appended claims. 
       
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0017]    The invention will be described in detail with reference to the following drawings in which like reference numerals refer to like elements, and wherein:  
         [0018]    [0018]FIG. 1 is a block diagram of a general wireless LAN system;  
         [0019]    [0019]FIG. 2 shows a communication system configuration using an access point in accordance with the present invention;  
         [0020]    [0020]FIG. 3 shows an overall configuration of a wireless LAN;  
         [0021]    [0021]FIG. 4 is a block diagram of a computer system configuration in accordance with the present invention;  
         [0022]    [0022]FIG. 5 is a block diagram of a wireless LAN module in accordance with the present invention; and  
         [0023]    [0023]FIG. 6 is an operational flowchart showing a power management method of a wireless LAN module in a computer system in accordance with the present invention. 
     
    
     DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS  
       [0024]    [0024]FIG. 2 is a block diagram of a communication system configuration using an access point in accordance with the present invention. The access point is a bridge that connects a wireless client device to a wired network.  
         [0025]    While the bridge determines only whether to pass data, a router analyzes a protocol contained in the data, selects an optimal path, and then transfers the data via the selected path.  
         [0026]    In an access point based topology, the access point bridges the traffic through a wired (Ethernet or token ring) or wireless backbone. The access point enables a wireless client device to communicate with other wired or wireless devices on the network.  
         [0027]    In preferred embodiments, the access point supports essential IEEE 802.11 Protocol. A wireless LAN standard (IEEE 802.11) includes Home RF, Bluetooth, and the like, which is Shared Wireless Access Protocol (SWAP) for wireless networking on the basis of the WLI Forum Open Air of 2.4 GHz frequency hopping spread spectrum. As one example, a principle of the IEEE 802.11 standard wireless LAN will be described with reference to FIG. 3. FIG. 3 shows an overall configuration of a wireless LAN.  
         [0028]    The IEEE 802.11 Working Group leads a standardization of a physical (PHY) layer and a media access control (MAC) layer in the wireless LAN. A Frequency hopping (FH) mode and a direct sequence (DS) mode using 26 MHz in a 2.4 GHz band (which is called an industrial scientific medical (ISM) band) are standardized in the PHY layer. A wireless packet access uses carrier sense media access/collision avoidance (CSMA/CA) as a most typical method. The CSMA/CA is a kind of random access that does not reserve bandwidth.  
         [0029]    In order to reduce or avoid a packet collision, a carrier sense algorithm is used to monitor a state of the line to be used after the arrival of transmitted data, not based on the arrival of the transmission data. In the wireless data transmission, the carrier sense is determined according to the existence of signal power on the line.  
         [0030]    Generally, the wireless access interface protocol consists of a PHY layer, a data link layer and a network layer. These layers can be classified as layer 1 (L1), layer 2 (L2) and layer 3 (L3) on the basis of the lower three layers of the Open System Interface (OSI) 7-layer model, which is well known in the field of communications.  
         [0031]    Layer 1 (L1) functions as the PHY layer of the wireless interface and is connected through transport channels to the MAC layer which is disposed in the upper portion. Additionally, layer 1 (L1) functions to transmit data, which is transferred through the transport channels of the PHY layer, to a reception side using various coding and modulation methods suitable for the wireless environment.  
         [0032]    The transport channels existing between the PHY layer and the MAC layer are classified into a dedicated transport channel and a common transport channel, based on whether one terminal uses the transport channel exclusively, or whether several terminals uses the transport channel commonly.  
         [0033]    Layer 2 (L2) functions as the data line layer and allows several terminals to share the wireless resources. The MAC layer transmits data through a proper mapping relationship between a logical channel and a transmission channel. Various logical channels are provided according to the kind of information that is transmitted to channels for connecting an upper layer with the MAC layer.  
         [0034]    Generally, when information of a control plane is transmitted, a control channel is used. When information of a user plane is transmitted, a traffic channel is used.  
         [0035]    The network layer of layer 3 manages the controls of the transmission channel and the physical channel in relation to setup/reset/release of a radio carrier. At this time, the radio carrier is set up. The setup of the radio carrier (RB setup) means a definition of characteristics of the protocol layers and channels required to provide a specific service, and a process of setting respective parameters and an operation method.  
         [0036]    [0036]FIG. 4 is a block diagram of a computer system configuration in accordance with the present invention. Referring to FIG. 4, the computer system includes a CPU  10 , a PC card controller  20 , a universal serial bus (USB) controller  30 , a wireless LAN module  40 , a video graphics adaptor (VGA) controller  50 , a BIOs ROM  60 , a keyboard controller  70 , a sound controller  80 , a Host-PCI bridge  90 , and a main memory  100 . The wireless LAN module  40  performs a bus communication with the CPU  10  and sets communicable channels, thereby achieving a wireless communication with wireless LAN modules of other computer systems, or with an access point. The wireless LAN module can be mounted on a system board or be formed in a shape of a PCI-type adaptor card.  
         [0037]    [0037]FIG. 5 is a block diagram showing a detailed configuration of the wireless LAN module  40  shown in FIG. 4. Referring to FIG. 5, the wireless LAN module  40  includes a PCI interface block  401  for interfacing with a peripheral component interconnect (PCI) bus directly connected to the CPU  10 ; a MAC controller  402  for communicating with the CPU through the PCI interface block  401 , and for processing data to be transmitted/received to/from other computer systems through a predefined protocol; a reception block  403  for processing data to be received from other computer systems under a control of the MAC controller  402 ; a transmission block  404  for processing data to be transmitted to other computer systems under a control of the MAC controller  402 ; a transmission amplification block  406  for amplifying an output of the transmission data processed at the transmission block  404 ; and an RF switching block  405  for selectively switching RF signals inputted from the transmission amplification block  406  or an antenna ANT.  
         [0038]    The wireless LAN module  40  performs a series of communication operations, such as a channel setup operation, together with one or more access points  4  existing within a predetermined area.  
         [0039]    In the wireless LAN module  40  described above, the MAC controller  402  performs signal processing of I/O request packets (IRP) transmitted from the CPU  10  through the PCI interface block  401 , and then transmits the processed I/O request packet data to the transmission block  404 . The MAC controller  402  also performs signal processing of data received from other computer systems through the reception block  403 , and then transmits the processed data to the CPU  10 . Upon initialization, the MAC controller  402  scans and sets channels that can support wireless communications with other computer systems. Then, the MAC controller  402  checks a communication sensitivity of the set channels, and controls the operation of the transmission block  404  to send packet data transmitted from the CPU.  
         [0040]    The scan of the communication channels and the check of the communication sensitivity can be achieved by the wireless LAN module  40  or by a system BIOS.  
         [0041]    During the channel setup operation performed by the MAC controller  402 , if the currently available channels are not being used to communicate data, the power mode is changed into a sleep mode, or a deep sleep mode to cut off power to any of the components except for the PCI interface block  401 . When in the sleep mode, power is not provided to the reception block  403 , the transmission block  404 , the transmission amplification block  406  or the RF switching block  405 .  
         [0042]    The deeper sleep mode represents a sleep mode that is higher than the normal sleep mode by one level.  
         [0043]    In some embodiments of the invention, the MAC controller  402  enables or disables the reception block  404  based on a data attribute which is obtained by determining whether the transmission block  404  is needed to send data transmitted from the CPU.  
         [0044]    The MAC controller  402  can also transmit a power control signal to cut off power to the RF switching block  405 .  
         [0045]    [0045]FIG. 6 is an operational flowchart showing a power management method performed by a wireless LAN module in a computer system embodying with the present invention. Referring to FIG. 6, if the wireless LAN module  40  is reset (S 10 ) during an initialization mode, the MAC controller  402  performs sequential channel setup operations for all available channels through data transmission/reception with an access point  4  based on respective channel information (S 11 ).  
         [0046]    After channel setup is accomplished, a check is performed to determine whether a communication sensitivity of the corresponding set channels is satisfactory (S 12 ). If the communicated sensitivity of the set channel is lower than a predefined reference communication sensitivity, in other words, if not satisfactory, the power modes of all the components of the wireless LAN module  40  except for the PCI interface block  401  are changed into the deeper sleep mode (S 21 ). For example, in some embodiments, if the communication sensitivity is 70 percent or less, the power mode is changed into the deeper sleep mode (S 21 ). If the sensitivity is greater than 70 percent, the power mode is changed into a full power mode, i.e., the normal mode. The 70-percent communication sensitivity is merely an example. The sensitivity amount that would trigger a sleep mode can be increased or decreased according to communication conditions. Also, in some embodiments of the invention, the user may be able to change the sensitivity level that will cause the wireless communications device to enter the sleep mode.  
         [0047]    If the power mode is changed into the deeper sleep mode, the MAC controller  402  counts the duration time of the deeper sleep mode. After a predefined time (e.g., 1 msec) elapses, the deeper sleep mode is disabled and the process returns to the step S 12 . Thus, the MAC controller  402  repeatedly performs the sensitivity measurement operation.  
         [0048]    In other words, after a predefined period of time has elapsed since the deeper sleep mode was set, the deeper sleep mode is canceled, (S 23 ) and the communication sensitivity is rechecked. If the communication sensitivity is not satisfactory, the above steps S 21  to S 23  are repeated. Accordingly, when the wireless LAN module is idle, power consumption can be reduced.  
         [0049]    According to another embodiment of the present invention, first, the channel is set (S 11 ). If the communication sensitivity is less than the predefined reference value (70 percent) but maintains the lowest level (e.g., 50 percent or more) for a predetermined time, the deeper sleep mode is enabled (S 21 ). After a predetermined time (which is generally longer than a time corresponding to the predetermined reference value (70 percent)), the deeper sleep mode is disabled (S 23 ). Then, after periodically checking the communication sensitivity of the set channel, the deeper sleep mode is started, so that the power consumption is reduced.  
         [0050]    If the communication sensitivity is 50 percent or less, the time-out (wake-up time) is extended longer compared with the case when the communication sensitivity is 50 percent or more, so that power consumption can be reduced as much as the extended time period. If the communication sensitivity is 50 percent or less, the time-out value can be set to, for example, 50 msec.  
         [0051]    According to the present invention, the MAC controller  402  can measure the communication sensitivity by comparing the radio wave received through the antenna ANT with the signal amplified through the RF switching block and the information previously inputted into the main memory  100 .  
         [0052]    Additionally, the CPU  10  can perform the power management by periodically checking whether or not the data is transmitted/received to/from the access point  4 , and the power management can be achieved at the MAC controller.  
         [0053]    The above channel setup operation is performed with respect to all available channels. If the current scanned channel does not satisfy the setup conditions, the above-described channel setup operations are repeatedly performed with respect to the next channel. The MAC controller  402  performs the above-described channel setup operations for all available channels (S 31 ). Then, if there are no more channels that can be set, the power mode of the wireless LAN module  40  is changed into the deeper sleep mode (S 32 ).  
         [0054]    If the power mode of the wireless LAN module  40  is changed into the deeper sleep mode, the MAC controller  402  counts the duration time of the deeper sleep mode (S 33 ). After a predefined time (e.g., 2 sec) elapses, the deeper sleep mode is disabled (S 34 ) and the process returns to the step S 11 , so that a series of channel setup operations are repeatedly performed.  
         [0055]    Here, if the wireless LAN module  40  is not associated with any AP, the OS (not shown) of the system requests the wireless LAN module  40  to check whether or not there is an available access point  40  at two-second intervals.  
         [0056]    It is possible to save the power of the wireless LAN module  40  by reducing AP scanning frequency and using the information which is caching the latest access point scanning result for a long time. “Caching” means that commands and data are temporarily stored into a cache memory or a disk cache. The caching is one method for improving the system performance. According to the caching, the CPU can read out or write commands and data at higher speed or almost at CPU speed, compared with the case that commands and data are read/written from/to a main memory device or disk  
         [0057]    In the transmission power control, if the wireless LAN module  40  is adjacent to the access point, the power output level of the RF amplification block  406  can be transmitted at a much lower level.  
         [0058]    As an embodiment of the present invention, if the access point is disposed at an adjacent place, in other words, if the signal sensitivity is great, the MAC controller  402  is controlled using a transmission power control signal so that the MAC controller can change the transmission power of the amplifier  406  to a low level. Therefore, the power consumption of the wireless LAN module  40  can be reduced due to the lowered transmission power.  
         [0059]    Additionally, the wireless LAN module  40  can be replaced with a Bluetooth module. In case of a Bluetooth module, the above-described operations can be carried out when other systems with the Bluetooth module, except for the access point, communicates with a Bluetooth antenna installed in the system with the Bluetooth module.  
         [0060]    Additionally, if the system is in an AC adapter mode, the power mode of the wireless LAN module  40  can operate in an active mode which has no power saving. If the system is in a battery only mode, the wireless LAN module  40  can be set to operate in a power save mode. Here, the “power save mode” means that the sleep mode and the wake-up mode are repeated.  
         [0061]    Meanwhile, the MAC controller  402  checks the communication sensitivity of the current set channel. If the checked communication sensitivity is excellent, it is checked whether or not the I/O packet data is received through the PCI interface block  401  (S 13 ). If I/O packet data is received, it is determined whether or not the I/O packet data requests the transmission block  404 , by checking the attribute of the I/O packet data (S 14 ).  
         [0062]    The I/O request packet (IRP) causes all data of a user program to be changed into IRP through an I/O manager of the OS and transmits them to a driver of the wireless LAN module  400 .  
         [0063]    The driver of the wireless LAN module  400  consists of several dispatch routines, including a create dispatch routine for processing an IRP generated when using the wireless LAN module  400 , a power dispatch routine for processing a power IRP used to change or scan the power of the module, and a PNP dispatch routine for processing IRP related to an installation/removal/operation of the device.  
         [0064]    It is determined whether the data attribute of the IRP is a receive data or a transmit data. If the I/O packet data is not a data requiring the transmission block  404 , the power mode of the transmission block  404  is changed into the power down mode, and simultaneously the power of the amplifier  406  is eliminated using the Tx enable/disable signal of FIG. 3, so that the power is saved.  
         [0065]    If the I/O packet data is a data requiring the transmission block  404 , the power mode of the transmission block  404  is changed into the working mode (S 15 ). Additionally, at the same time, the power is supplied to the amplifier  406 .  
         [0066]    Meanwhile, if the I/O packet data is not received, the power mode of the transmission block  404  is changed into the sleep mode (S 16 ), and then it is checked whether or not the power is off (S 17 ). If the power is not off, the process proceeds to the step S 13 . Therefore, the above-described processes are repeatedly performed according to the reception of the I/O packet data.  
         [0067]    The foregoing embodiments and advantages are merely exemplary and are not to be construed as limiting the present invention. The present teaching can be readily applied to other types of apparatuses. The description of the present invention is intended to be illustrative, and not to limit the scope of the claims. Many alternatives, modifications, and variations will be apparent to those skilled in the art. In the claims, means-plus-function clauses are intended to cover the structures described herein as performing the recited function and not only structural equivalents but also equivalent structures.