WO2015021892A1 - 功耗降低的方法、Wi-Fi主控制器及Wi-Fi网关 - Google Patents

功耗降低的方法、Wi-Fi主控制器及Wi-Fi网关 Download PDF

Info

Publication number
WO2015021892A1
WO2015021892A1 PCT/CN2014/084057 CN2014084057W WO2015021892A1 WO 2015021892 A1 WO2015021892 A1 WO 2015021892A1 CN 2014084057 W CN2014084057 W CN 2014084057W WO 2015021892 A1 WO2015021892 A1 WO 2015021892A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
main controller
chip
gateway
entry signal
Prior art date
Application number
PCT/CN2014/084057
Other languages
English (en)
French (fr)
Inventor
王书峰
姚新正
屈立虎
Original Assignee
华为终端有限公司
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 华为终端有限公司 filed Critical 华为终端有限公司
Publication of WO2015021892A1 publication Critical patent/WO2015021892A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0203Power saving arrangements in the radio access network or backbone network of wireless communication networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0229Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/27Transitions between radio resource control [RRC] states
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the field of computer and wireless communication technologies, and in particular, to a method for reducing power consumption, a Wi-Fi main controller, and a Wi-Fi gateway.
  • Wi-Fi Wireless Fidelity
  • the Wi-Fi gateway After the user accesses the Wi-Fi gateway through a handheld client (such as a mobile phone or a tablet), the user often forgets to cut off the connection, so that the Wi-Fi gateway automatically shuts down after 10 minutes, and the energy consumption is still large;
  • a handheld client such as a mobile phone or a tablet
  • the embodiment of the invention provides a method for reducing power consumption, a Wi-Fi main controller and a Wi-Fi gateway, in order to solve the problem that the Wi-Fi gateway can not simultaneously consider the low energy consumption and convenient connection in the prior art.
  • the first aspect provides a method for reducing power consumption, and the method for reducing power consumption includes:
  • the Wi-Fi master controller is controlled to enter a sleep state.
  • the method for reducing power consumption further includes: receiving a data entry signal sent by the Wi-Fi chip, and controlling the Wi-Fi main controller to maintain or enter an active state to enter The data of the Wi-Fi chip is processed; the data incoming signal of the Wi-Fi chip is sent to the Wi-Fi main controller when the Wi-Fi chip has data entry.
  • the Wi-Fi main controller is controlled to enter an active state from a sleep state according to a user control instruction.
  • the second aspect provides a Wi-Fi main controller, where the Wi-Fi main controller includes:
  • a data flow monitoring module configured to monitor data traffic in the Wi-Fi chip
  • a data flow judging module configured to determine whether the data traffic in the specified duration is less than a threshold; and a state control module, configured to control the Wi- when the data traffic judging module determines that the data traffic is less than a threshold
  • the Fi host controller goes to sleep.
  • the Wi-Fi main control further includes a data incoming signal receiving module
  • the data enters a signal receiving module, and receives a data entry signal sent by the Wi-Fi chip; the state control module is further configured to receive the data at the data entry signal receiving module. After entering the signal, controlling the Wi-Fi main controller to maintain or enter an active state, so that the Wi-Fi main controller processes data entering the Wi-Fi chip;
  • the data entry signal is sent to the data entry signal receiving module when data is entered by the Wi-Fi chip.
  • the state control module is further configured to control the Wi-Fi main controller to enter an active state from a sleep state according to a user control instruction.
  • the Wi-Fi main control further includes a timer module for measuring a specified duration.
  • a third aspect provides a Wi-Fi gateway, the Wi-Fi gateway comprising a Wi-Fi chip and a Wi-Fi host controller as described in any of the implementations of the second aspect.
  • the Wi-Fi gateway is a mobile Wi-Fi gateway.
  • the energy-consuming Wi-Fi master determines whether to enter or remain in a sleep state by monitoring data traffic in the Wi-Fi chip to reduce power consumption. Specifically, when the data traffic of the Wi-Fi chip is less than the threshold, the Wi-Fi gateway has a high idle rate and can enter an energy-saving sleep state to achieve energy saving, thereby extending the standby time of the Wi-Fi gateway; The Wi-Fi chip is always active, and it stays connected to the client at any time, facilitating data interaction with the client. This combines the low power consumption of the Wi-Fi gateway while simplifying the easy and convenient connection between the client and the Wi-Fi gateway.
  • FIG. 1 is a flow chart of a method for reducing power consumption in an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a Wi-Fi main controller according to an embodiment of the present invention
  • 3 is a schematic structural diagram of a Wi-Fi gateway according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a Wi-Fi main controller according to an embodiment of the present invention. detailed description
  • a Wi-Fi gateway usually includes a Wi-Fi main controller and a Wi-Fi chip for transmitting and receiving data, and a plurality of functional modules for performing various functions, such as a firewall module, a routing module, and a web, are also integrated in the main controller. UI server modules, etc. These modules are used to implement specific functions and are all energy consumption modules. When the Wi-Fi master is active, these function modules are usually also activated, resulting in a large power consumption of the Wi-Fi master, which directly affects the standby time of the Wi-Fi gateway. Especially when the Wi-Fi gateway is in the absence of an external power supply, energy saving is particularly important.
  • the Wi-Fi gateway idle rate is first judged by the data traffic passing through the Wi-Fi chip, and if the idle rate is high, the Wi-Fi is switched to the energy-saving sleep state, thereby achieving the purpose of energy saving.
  • Specific examples are as follows.
  • a first embodiment of the present invention provides a method for reducing power consumption, as shown in FIG. 1, the method for reducing power consumption,
  • Step S110 The Wi-Fi main controller monitors data traffic in the Wi-Fi chip.
  • Step S120 The Wi-Fi main controller determines whether the data traffic within the specified duration is less than a threshold. If yes, the process proceeds to step S130, where the step S130 is to control the Wi-Fi main controller to enter a sleep state. In the process of implementing the above method, if the current Wi-Fi main controller is in an active state, Then, the active state is switched to the sleep state, and if the current Wi-Fi main controller is in the sleep state, the sleep state is continued.
  • the Wi-Fi main controller state remains unchanged when the data flow within the specified duration of the Wi-Fi host controller is equal to or greater than the threshold. That is, when the data traffic is greater than the threshold, the Wi-Fi host controller remains in the sleep state if it is in the sleep state. If the Wi-Fi main controller is in an active state, it remains active. When the data traffic is greater than the threshold, the idle rate of the Wi-Fi gateway is low, and the Wi-Fi master controller is activated, which is beneficial to ensure smooth and secure data passing through the gateway; but not necessarily at the specified time. At this moment, data is entered, so if the Wi-Fi main controller is in a dormant state, it will remain unchanged, which is conducive to further energy saving.
  • the sleep state of the Wi-Fi host controller described in this embodiment is the same as that of other common electronic devices by turning off related hardware or running software to achieve energy saving.
  • Specific electronic devices such as computers and mobile phones turn off hardware or software programs that do not have to be running during hibernation to achieve the goal of reducing energy consumption.
  • the specified duration in step S120 can be set according to requirements, such as 10s, 30S, or lmin.
  • the specified duration can be calculated in time slots, the data traffic is cleared every other time slot, and the data traffic in the time slot is re-stated or the data traffic monitored in the time slots is compared to obtain the time slot monitored.
  • Data Flow In the data traffic monitoring, the data of each time slot can also be accumulated, and the accumulated data flow at the end of the time slot is subtracted from the accumulated traffic at the end of the previous time slot, and the data traffic of the time slot is obtained. After the monitoring and calculation of the data traffic is completed, the statistical data traffic is compared with the threshold value at the end of the time slot, and then the subsequent step S130 is performed.
  • the threshold may be preset or may be a value obtained by interacting with a server or a client, for example, setting a threshold to 256 bytes or 100 KB.
  • the Wi-Fi gateway is connected to the network on one side, and the client is connected to the client. When data traffic is monitored, only the data traffic of any side of the network side or the client side can be monitored. In this embodiment, the network is preferred. side.
  • the method for reducing power consumption described in this embodiment is to control the state switching of the Wi-Fi main controller, so that the Wi-Fi main controller is in a sleep state with low energy consumption to achieve work.
  • Reduced consumption The purpose, and the state switching with respect to the traditional Wi-Fi gateway is based on the data traffic, rather than the bluntness of whether or not the client's access directly switches to the off state according to the preset time. Both the method and the traditional method in this embodiment achieve the purpose of energy saving. However, when the traditional method is connected again, the operation is cumbersome and the user experience is poor.
  • the Wi-Fi chip is always Keeping in touch with the client, when the client uses Wi-Fi for data transmission again, there is no need to connect by manual button, which improves the user experience and achieves the purpose of energy saving and prolongs the standby time of the Wi-Fi gateway.
  • the Wi-Fi gateway when the user no longer uses the Wi-Fi gateway, the user forgets to turn off the Wi-Fi gateway, and the Wi-Fi gateway must stand by for a fixed period of time such as lOmin to enter the shutdown state, further Reduced energy consumption.
  • the power consumption reduction method described in this embodiment solves the contradiction between long standby time and simple and fast connection.
  • the Wi-Fi gateway when the data traffic is greater than the threshold, and the Wi-Fi main controller is in the sleep state, the active state is not switched to in the step S130. If the main controller is not awake, the data is lost or cannot be correspondingly performed. Processing. Further, in this embodiment, a method for ensuring no loss of data transmission and synchronously maintaining power consumption of the gateway is provided in the Wi-Fi gateway, and the specifics are as follows:
  • the Wi-Fi main controller After the Wi-Fi main controller receives the data entry signal sent by the Wi-Fi chip, the Wi-Fi main controller enters or maintains an active state to process data entering the Wi-Fi chip;
  • the data entry signal is sent to the Wi-Fi host controller when data is entered by the Wi-Fi chip.
  • the Wi-Fi chip If data enters the Wi-Fi chip, the Wi-Fi chip sends a data entry signal, so that the Wi-Fi main controller is in an active state to ensure effective and safe data transmission;
  • the Wi-Fi chip If no data enters the Wi-Fi chip, the Wi-Fi chip does not issue a data entry signal, and the Wi-Fi main controller state remains unchanged.
  • the specific Wi-Fi main controller can be divided into the following two types after receiving the data entry signal sent by the Wi-Fi chip and entering or maintaining the activation state:
  • the first type only the data entry signal is needed, and the data entry signal is an active level, and then received
  • the activation level regardless of the current state of the Wi-Fi main controller, directly causes the Wi-Fi main controller to be in an active state to perform corresponding processing on the data according to the instruction.
  • the Wi-Fi main controller needs to be switched to enter the active state, and if the current state is the active state, The data entered by the Wi-Fi main controller can be processed accordingly.
  • the Wi-Fi main controller enters an active state, thereby ensuring data loss and safe and effective transmission, and judging by monitoring data traffic.
  • the idle rate of the current Wi-Fi gateway determines whether Wi-Fi enters a sleep state, thereby achieving the purpose of saving energy and extending the standby time, and does not cut off the connection between the client and the gateway, thereby eliminating the need for reconnection, thereby being easy to operate, and The client can access the gateway at any time.
  • the Wi-Fi host controller enters the active state from the sleep state.
  • the following provides an easy way to pass the general purpose input/output GPIO (General Purpose Input Output)
  • the method causes the Wi-Fi host controller in a dormant state to enter an active state.
  • the method of waking up the Wi-Fi main controller by the GPIO method is mature in technology, simple in implementation, low in implementation cost, small in power consumption, small in size, and energy saving again, which is advantageous for extending standby time.
  • the wake-up of the sleeping Wi-Fi host controller is activated, and can also be implemented by other methods, such as writing a special wake-up software.
  • the user sometimes needs to force the Wi-Fi host controller from the sleep state to the active state.
  • the following provides a mandatory way to make the Wi-Fi host controller sleep. How the state enters the active state:
  • the Wi-Fi main controller is controlled to enter an active state from a sleep state according to a user control instruction.
  • the input of the user control instruction may be through a specially set wake-up control, and specifically may be set in a Wi-Fi gateway shell physical button or a virtual touch screen button.
  • the user can also forcibly switch the Wi-Fi main controller in the sleep state to the activation state by inputting the user control instruction, thereby further enhancing the Wi-Fi main controller. Controllability and practicality.
  • the method for reducing power consumption described in this embodiment is to monitor the data traffic of the Wi-Fi chip while the Wi-Fi chip idle rate is high, while the Wi-Fi chip idle rate is high, while the Wi-Fi chip that is transmitting and receiving data is activated.
  • the Wi-Fi master is in a dormant state, thereby saving energy, while maintaining the connection between the client and the Wi-Fi gateway, and the new client STA (Wi-Fi Station) is easily accessible at any time. It has the advantages of good use and practicality.
  • a second embodiment of the present invention provides a Wi-Fi main controller. As shown in FIG. 2, the Wi-Fi main controller includes:
  • a data traffic monitoring module 110 configured to monitor data traffic in the Wi-Fi chip
  • the data traffic judging module 120 is configured to determine whether the data traffic in the specified duration is less than a threshold.
  • the state control module 130 is configured to control the Wi-Fi main controller to enter a sleep state when the data traffic judgment module determines that the data traffic is less than a threshold. In a specific implementation process, when the data traffic is greater than or equal to a threshold, the state of the Wi-Fi main controller is maintained.
  • the data traffic monitoring module 110 monitors the traffic of the data in the Wi-Fi chip, and may monitor the network side data traffic in the Wi-Fi chip, or monitor the data traffic on the client side, and optimize the network side data traffic.
  • the specified duration and the threshold may be preset in advance, such as 150 KB for a specified duration of 10 seconds.
  • the state control module 130 controls the state switching of the Wi-Fi main controller, specifically including: switching the Wi-Fi main controller from an active state to a dormant state or causing the Wi-Fi main controller to be in a dormant state. Switch to the active state.
  • the data traffic in each specified duration is separately monitored; when a new specified duration is entered, the data traffic is cleared once, and the data traffic in the new specified duration is recalculated.
  • the data traffic monitoring module monitors the accumulated value of the data traffic at all times, and records the traffic value at the end of each specified duration, and obtains the data traffic of the specified duration by the subtraction operation.
  • the calculated data flow for a specified period of time is used to compare with the threshold.
  • the threshold may be predetermined or acquired through interaction with the server or client.
  • the data entry signal of the Wi-Fi chip is sent when the Wi-Fi chip receives the data, and is sent to the Wi-Fi main controller.
  • the Wi-Fi master further includes a data entry signal receiving module, and the data entry signal module is configured to receive a data entry signal of the Wi-Fi chip;
  • the Wi-Fi controller needs to be maintained or enter an active state, so that the Wi- The Fi host controller processes the data accordingly.
  • the Wi-Fi controller if the Wi-Fi controller is in a sleep state, and first needs to switch from the sleep state to the active state, if it is in the active state, the data can be directly processed accordingly.
  • the Wi-Fi master keeps an active state or enters an active state according to the data entry signal; in the embodiment, the Wi-Fi chip sends data only when the Wi-Fi chip has data input.
  • the incoming signal causes the Wi-Fi master to be active, maximizing the time the Wi-Fi master is in sleep, maximizing the energy savings.
  • the Wi-Fi main controller enters an active state, thereby ensuring effective, safe, and no loss of data transmission, thereby being practical and user-friendly.
  • the data entry signal is a signal output by a general purpose input/output GPIO (General Purpose Input Output).
  • the component that outputs the data entry signal in the Wi-Fi chip in a specific implementation process may be a hardware logic circuit wake-up module, or may be corresponding software or firmware running on a Wi-Fi chip, and
  • the GPIO with mature technology, low power consumption and small size is used to make the Wi-Fi main controller active, thereby further reducing energy consumption and enhancing the utility of the Wi-Fi main controller described in this embodiment. .
  • the state control module is further configured to control the Wi-Fi main controller to enter an active state from a sleep state according to a user control instruction.
  • the specific user control instruction may be received by a wake-up control set on a Wi-Fi gateway or a Wi-Fi main controller or input from a peripheral through a data receiving interface.
  • the Wi-Fi main controller can be brought into an active state from the sleep state, thereby enhancing the user's controllability to the Wi-Fi main controller.
  • the wake-up control may be a physical control disposed on an outer surface of the Wi-Fi main controller, or may be a virtual software control disposed on the software, such as a contact on the touch screen.
  • the Wi-Fi main controller further includes a timer module for measuring whether the specified duration is reached.
  • the timer is used for timing, and when the specified duration is reached, the Wi-Fi main controller is triggered to determine the size of the data flow and the threshold.
  • the specific implementation structure of the timer is various, such as a common watchdog timer.
  • the Wi-Fi master controller in this embodiment monitors the data traffic in the Wi-Fi chip relative to the master controller in the conventional device, and finally performs its own according to the monitored data traffic.
  • the state is switched so as to be in a sleep state for a maximum time, thereby effectively reducing power consumption while maintaining a smooth connection with the client, thereby realizing efficient, data-efficient and secure transmission of the connection.
  • a third embodiment of the present invention provides a Wi-Fi gateway.
  • the Wi-Fi gateway includes a Wi-Fi chip 210 and a Wi-Fi main controller 220 according to any of the second embodiments of the present invention.
  • the Wi-Fi main controller 220 includes a data flow monitoring module, a data flow judging module, and a state control module;
  • the data flow monitoring module is configured to monitor data traffic in the Wi-Fi chip; and the data traffic determining module is configured to determine whether the data traffic in the specified duration is less than a threshold, and the state control module is used in the When the data traffic judgment module determines that the data traffic is less than the threshold, the Wi-Fi main controller is controlled to enter a sleep state.
  • the data traffic judging module determines that the data traffic is not less than a threshold, the status of the Wi-Fi main controller remains unchanged.
  • the Wi-Fi chip 210 may include a data entry signal output module:
  • the data entry signal module is configured to send a data entry signal to the Wi-Fi host controller when the Wi-Fi chip receives data to maintain or enter the sleep state of the Wi-Fi host controller.
  • the logic circuit or software in the Wi-Fi chip detects that there is data coming and needs to be ready to receive or forward data, then sends a data entry signal to the Wi-Fi host controller to enable
  • the Wi-Fi main controller turns on the corresponding functions, such as firewall and routing, to ensure smooth, secure, and stable data transmission.
  • the wake-up module is a general-purpose input/output GPIO module; and the data entry signal is a general-purpose input/output GPIO data entry signal.
  • the wake-up module is set to the GPIO (General Purpose Input Output) module, which is simple in structure and easy to implement.
  • the Wi-Fi gateway is a mobile Wi-Fi gateway.
  • the Wi-Fi gateway is classified into a mobile type or a fixed type, and is preferably mobile in this embodiment.
  • the Wi-Fi gateway described in this embodiment determines the Wi-Fi main controller by monitoring the size of the data traffic transmitted and received through the Wi-Fi chip for the purpose of long power consumption and no long standby time when there is no external power supply. Is the idle rate higher? If the idle rate is higher, it goes to the energy-saving sleep state, and monitors whether the Wi-Fi chip has data input. If so, the Wi-Fi master controller is activated, thus ensuring data. Not lost, while ensuring efficient and secure data transmission.
  • the Wi-Fi gateway described in this embodiment solves the contradiction between the standby duration of the Wi-Fi gateway and the convenient connection, and has a simple structure, simple implementation, and convenient use.
  • the Wi-Fi gateway in the foregoing embodiment is specifically configured as shown in FIG.
  • the processor 310 includes at least one processor 310 (for example, a CPU), at least one network interface 320 or other communication interface, and a memory. 330 and at least one communication bus 340 for enabling connection communication between these devices.
  • the processor 310 is configured to execute executable modules stored in the memory 330, such as: a computer program.
  • the memory 330 may include a high speed random access memory (RAM), and may also include a non-volatile memory such as: at least one disk memory.
  • the system is implemented by at least one network interface 320 (which may be wired or wireless)
  • the communication connection between the gateway and at least one other network element may use the Internet, a wide area network, a local network, a metropolitan area network, or the like.
  • the memory 330 stores a program, and the program can be executed by the processor 310.
  • the program includes: monitoring data traffic in the Wi-Fi chip; determining whether the data traffic within the specified duration is less than a threshold, and if so, controlling the location
  • the Wi-Fi host controller enters a sleep state.
  • the processor 310 may be a chip or an integrated circuit integrated with a Wi-Fi chip and a Wi-Fi host controller in a specific implementation process.
  • aspects of the invention, or aspects of various aspects may be embodied as a system, method, or computer program product.
  • aspects of the invention, or possible implementations of various aspects may be in the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, etc.), or a combination of software and hardware aspects, They are collectively referred to herein as "circuits," “modules,” or “systems.”
  • aspects of the invention, or aspects of various aspects may be embodied in the form of a computer program product, which is a computer readable program code stored on a computer readable medium.
  • the computer readable medium can be a computer readable signal medium or a computer readable storage medium.
  • the computer readable storage medium includes, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing, such as random access memory (RAM), read only memory (ROM), Erase programmable read-only memory (EPROM or flash memory), optical fiber, portable read-only memory (CD-ROM).
  • the processor in the computer reads the computer readable program code stored in the computer readable medium, such that the processor can perform the functional actions specified in each step or combination of steps in the flowchart; A device that functions as specified in each block, or combination of blocks.
  • the computer readable program code can be executed entirely on the user's computer, partly on the user's computer, as a separate software package, partly on the user's computer and partly on the remote computer, or entirely on the remote computer or server.
  • the functions noted in the various steps of the flowchart, or in the blocks of the block diagram may not be as noted in the drawings. The order occurs. For example, two steps, or two blocks shown in succession may be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
  • the spirit and scope of the Ming Thus, it is intended that the present invention cover the modifications and the modifications of the invention

Abstract

本发明公开了一种功耗降低的方法、Wi-Fi主控制器及Wi-Fi网关。所述方法包括Wi-Fi主控制器监测Wi-Fi芯片中的数据流量;所述Wi-Fi主控制器判断出指定时长内的所述数据流量小于阈值,则控制所述Wi-Fi主控制器进入休眠状态。本发明实施例中通过监测Wi-Fi芯片的数据流量,从而判断出此时Wi-Fi主控制器的闲置率高低,若闲置率高则让Wi-Fi主控制器进入节能的休眠状态,且同时不断开与客户端的连接,既达到了节能的目的且用户再次使用Wi-Fi网关时不用再次接入。从而本发明很好了解决了待机时长以及与客户端连接方便快捷的矛盾。

Description

功耗降低的方法、 Wi-Fi主控制器及 Wi-Fi网关
本申请要求于 2013年 08月 15日提交中国专利局, 申请号为 CN 201310356744.2、 发明名称为 "功耗降低的方法、 Wi-Fi主控制器及 Wi-Fi网关" 的中国专利申请, 其全部内容通过引用结合在本申请中。 技术领域
本发明涉及计算机及无线通信技术领域, 尤其涉及一种功耗降低的方法、 Wi-Fi主控制器及 Wi-Fi网关。
背景技术
目前随着 Wi-Fi ( Wireless Fidelity )无线局域网用户的增多, Wi-Fi技术的成 熟, 可移动的 Wi-Fi网关的待机时长成为提高 Wi-Fi使用感受的限制因素。 目前当 无外接电源供电时, Wi-Fi网关为了降低功耗, 釆用的方法是 10分钟期内无客户 端接入, 则 Wi-Fi网关自动关闭。
故可知为了延长 Wi-Fi网关的待机时间, 当无需使用 Wi-Fi网关时, 则需要断 开网关与 Wi-Fi客户端之间的连接。
这样就导致再次使用时, 必须需重新连接热点与 Wi-Fi客户端, 操作繁瑣; 且进一步地客户端与网关之间的连接, 需要用户手动按键唤醒, 再一次导致操 作繁瑣, 体验感受差。
而且在 Wi-Fi的实际使用过程中存在以下情况:
1、用户通过手持类客户端(如手机、平板等客户端设备 )接入 Wi-Fi网关后, 常常忘记切断连接, 以至于 Wi-Fi网关 10分钟之后才自动关闭, 能耗依然很大;
2、 在实际使用时, 用户希望与 Wi-Fi网关持续保持连接, 以便客户端随时可 接入, 显然与 Wi-Fi网关保持长时间待机相矛盾。 故如何兼顾既降低 Wi-Fi能耗,又同时保证客户端随时且方便接入 Wi-Fi网关 是现有 Wi-Fi通信技术中亟待解决的一个问题。 发明内容
本发明实施例提供了一种功耗降低的方法、 Wi-Fi主控制器及 Wi-Fi网关, 为了解决现有技术当中不能同时兼顾 Wi-Fi网关能耗低且连接方便的问题。
为了解决上述技术问题, 本发明实施例公开了如下技术方案:
第一方面提供一种功耗降低的方法, 所述功耗降低的方法包括:
监测 Wi-Fi芯片中的数据流量;
判断指定时长内的所述数据流量小于阔值,则控制 Wi-Fi主控制器进入休眠 状态。
第一方面第一种实现方式中, 所述功耗降低的方法还包括: 接收所述 Wi-Fi 芯片发送的数据进入信号,控制所述 Wi-Fi主控制器维持或进入激活状态以对进 入所述 Wi-Fi芯片的数据进行处理; Wi-Fi芯片的数据进入信号是在所述 Wi-Fi芯 片有数据进入时发送至所述 Wi-Fi主控制器。
第一方面第二种实现方式中,根据用户控制指令,控制所述 Wi-Fi主控制器 从休眠状态进入激活状态。
第二方面提供一种 Wi-Fi主控制器, 所述 Wi-Fi主控制器包括:
数据流量监测模块, 用以监测所述 Wi-Fi芯片中的数据流量;
数据流量判断模块, 用以判断指定时长内的所述数据流量是否小于阔值; 状态控制模块, 用以在所述数据流量判断模块判断出所述数据流量小于阔 值时, 控制所述 Wi-Fi主控制器进入休眠状态。
第二方面第一种实现方式中,所述 Wi-Fi主控制还包括数据进入信号接收模 块;
所述数据进入信号接收模块, 接收所述 Wi-Fi芯片发送的数据进入信号; 所述状态控制模块, 还用以在所述数据进入信号接收模块接收到所述数据 进入信号后, 控制所述 Wi-Fi 主控制器维持或进入激活状态, 以使所述 Wi-Fi 主控制器对进入所述 Wi-Fi芯片的数据进行处理;
其中,所述数据进入信号是在所述 Wi-Fi芯片有数据进入时发送至所述数据 进入信号接收模块。
第二方面第二种实现方式中, 所述状态控制模块, 还用以根据用户控制指 令控制所述 Wi-Fi主控制器从休眠状态进入激活状态。
第二方面第三种实现方式中,所述 Wi-Fi主控制还包括用以计量指定时长的 定时器模块。
第三方面提供一种 Wi-Fi网关, 所述 Wi-Fi网关包括 Wi-Fi芯片以及如第二 方面任一实现方式中所述的 Wi-Fi主控制器。
第三方面第一种实现方式中, 所述 Wi-Fi网关为移动式 Wi-Fi网关。
本发明实施例中, Wi-Fi芯片处于激活状态的同时, 耗能的 Wi-Fi主控器通 过监测 Wi-Fi芯片中数据流量决定是否进入或保持休眠状态以降低能耗。具体的 当 Wi-Fi芯片的数据流量小于阔值时, 则说明此时 Wi-Fi网关闲置率高, 可以进 入节能的休眠状态从而达到节能的目的, 从而可以延长 Wi-Fi网关的待机时间; Wi-Fi芯片一直处于激活状态, 随时与客户端保持连接, 便于与客户端进行数据 的交互。 从而同时兼顾了 Wi-Fi 网关的低能耗的同时, 简化了客户端与 Wi-Fi 网关之间的简单方便连接。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实施 例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下面描 述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出 创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1是本发明实施例中一种功耗降低的方法的流程图;
图 2为本发明实施例中一种 Wi-Fi主控制器结构示意图; 图 3为本发明实施例中一种 Wi-Fi网关的结构示意图;
图 4为本发明实施例中一种 Wi-Fi主控制器结构示意图。 具体实施方式
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发明 实施例中的附图, 对本发明实施例中的技术方案进行清楚地描述, 显然, 所描 述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实 施例, 本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实 施例, 都属于本发明保护的范围。
下面结合附图和实施例, 对本发明的具体实施方式作进一步详细描述。 以 下实施例用于说明本发明, 但不用来限制本发明的范围。
Wi-Fi网关通常包括 Wi-Fi主控制器和收发数据的 Wi-Fi芯片, 在所述主控 器中还集成了若干个完成各种功能的功能模块, 如防火墙模块、 路由选择模块 以及 web UI服务器模块等, 这些模块均是用于实现特定的功能且均是能耗模 块。 当 Wi-Fi主控器处于激活状态时, 这些功能模块通常也处于激活状态, 导致 Wi-Fi主控器的能耗大, 从而直接影响 Wi-Fi网关的待机时长。 尤其是当 Wi-Fi 网关处于没有外接电源时, 节能显得尤为重要。 在本发明中首先通过经过 Wi-Fi 芯片的数据流量判断所述 Wi-Fi网关闲置率的高低,若闲置率高则将 Wi-Fi切换 到节能的休眠状态, 从而达到节能的目的。 具体的如下实施例。
本发明第一个实施例提供一种功耗降低的方法, 如图 1 所示, 所述功耗降 低的方法,
包括以下步骤:
步骤 S110: Wi-Fi主控制器监测 Wi-Fi芯片中的数据流量;
步骤 S120: Wi-Fi主控制器判断指定时长内的数据流量是否小于阔值, 若是则进入步骤 S130,所述步骤 S130为控制所述 Wi-Fi主控制器进入休眠 状态。 在实现上述方法的过程中, 若当前所述 Wi-Fi主控制器处于激活状态时, 则由激活状态切换至休眠状态,若当前所述 Wi-Fi主控制器处于休眠状态, 则继 续保持休眠状态。
当所述 Wi-Fi主控制器判读处指定时长内的数据流量等于或大于阔值,则所 述 Wi-Fi主控制器状态保持不变。 即当所述数据流量大于阔值时, 若所述 Wi-Fi 主控制器处于休眠状态则依旧保持休眠状态。若所述 Wi-Fi主控制器处于激活状 体则依旧保持激活状态。 当数据流量大于阔值, 则说明此时 Wi-Fi网关的闲置率 较低, Wi-Fi主控制器处于激活状, 有利于保证经过网关数据的流畅和安全等; 但不一定在该指定时间的此刻就有数据进入,故若 Wi-Fi主控制器处于休眠状态 则继续保持不变, 有利于进一步的节省能耗。
在本实施例中所述的 Wi-Fi 主控制器的休眠状态和其他的常见的电子设备 一样是通过关闭相关的硬件或运行中的软件来达到节能的目的。 具体的如电脑、 手机等电子设备, 在休眠时关闭一些不必须运行的硬件或软件程序, 从而达到 降低能耗的的目的。
其中, 步骤 S120中的所述指定时长可以根据需求进行设置, 具体如 10s、 30S或 lmin中等。 所述指定时长可以以时隙来计算, 每隔一时隙则清空一次数 据流量, 再重新统计本时隙内数据流量或者将前后时隙所监测到的数据流量进 行比较得到本时隙所监测的数据流量。 在进行数据流量监控时, 还可以累计每 一时隙的数据, 在本时隙结束时将累计的数据流量减去前一时隙结束时的累计 流量, 则得到了本时隙的数据流量。 完成数据流量的监控和计算后在本时隙结 束时将统计的数据流量与阔值进行比较, 再进行后续步骤 S130。 所述阔值可以 是预设的、 也可以是通过与服务器端或客户端交互得到的数值, 例如将阔值预 设成 256个字节或 100KB等。 所述 Wi-Fi网关一侧连接网络, 一侧连接客户端, 进行数据流量监测时, 可仅监测网络侧或客户端侧其中任——侧的数据流量即 可, 在本实施例中优选网络侧。
首先, 本实施例中所述的功耗降低的方法, 是通过控制 Wi-Fi主控制器的状 态切换,以使 Wi-Fi主控制器更多的时候处于能耗低的休眠状态来达到功耗降低 的目的,且相对于传统的 Wi-Fi网关的状态切换是根据数据流量进行的, 而非生 硬的根据在预设时间内是否有无客户端的接入直接切换到关闭状态。 本实施例 所述的方法与传统的方法均达到了节能的目的, 但是传统方法再次连接时操作 繁瑣, 用户体验差, 而本实施例所述的功耗降低的方法中, Wi-Fi芯片始终与客 户端保持连接,客户端再次使用 Wi-Fi进行数据传输时,无需通过手动按键进行 连接,提升了用户体验,同时达到了节能的目的,延长了 Wi-Fi网关的待机时间。
其次, 相对于传统方法, 也不会出现用户不再使用 Wi-Fi网关时, 忘记关闭 Wi-Fi网关, Wi-Fi网关必须待机至较长的固定时长如 lOmin中才进入关闭状态, 进一步的降低了能耗。
综合上述, 本实施例所述的功耗降低的方法, 很好的解决了待机时间长与 连接简便快捷的矛盾。
在上述过程中, 当数据流量大于阔值时, 且 Wi-Fi主控制器处于休眠状态, 在步骤 S130中也未切换至激活状态, 若不唤醒主控制器将导致数据的丟失或不 能进行相应的处理。在本实施例中进一步的提供了一种 Wi-Fi网关保证数据无丟 失传输且同步保持网关功耗降低的方法, 具体的如下:
所述 Wi-Fi主控制器接收所述 Wi-Fi芯片发送的数据进入信号后,所述 Wi-Fi 主控制器进入或维持激活状态以对进入所述 Wi-Fi芯片的数据进行处理;
其中, 所述数据进入信号是在所述 Wi-Fi 芯片有数据进入时发送至所述 Wi-Fi主控制器的。
若有数据进入所述 Wi-Fi芯片, 则所述 Wi-Fi芯片发出数据进入信号, 使所 述 Wi-Fi主控制器处于激活状态, 以保证数据有效安全传输;
若无数据进入所述 Wi-Fi芯片, 则所述 Wi-Fi芯片不发出数据进入信号, 则 所述 Wi-Fi主控制器状态保持不变。
具体的所述 Wi-Fi主控制器,接收到所述 Wi-Fi芯片发出的数据进入信号后 进入或维持激活状态的执行过程中可以分为以下两种:
第一种, 仅需要数据进入信号, 所述数据进入信号为一激活电平, 则收到 所述激活电平, 不管所述 Wi-Fi主控制器当前的状态, 则直接使所述 Wi-Fi主控 制器处于激活状态, 以便根据指令对数据进行相应的处理。 如包括数据的安全 性的过滤、 路由等相关的处理;
第二种,还需要对 Wi-Fi主控制器的当前状态进行判断,若当前状态为休眠 状态则需要使 Wi-Fi主控制器的状态进行切换以进入激活状态,若当前状态为激 活状态则 Wi-Fi主控制器进入的数据进行相应的处理即可。
通过本实施例中进一步的改良, 明确了 Wi-Fi芯片中有数据输入, 则 Wi-Fi 主控制器进入激活状态, 则保证了数据不丟失以及安全有效的传输, 且通过监 测数据流量来判断当前 Wi-Fi网关的闲置率来确定 Wi-Fi是否进入休眠状态,既 达到了节能延长待机时间的目的, 同时不切断客户端与网关之间的连接, 从而 无需重新连接, 从而操作简便, 且客户端可随时接入网关。
在具体的实施过程中,使 Wi-Fi主控制器从休眠状态进入激活状态的方式有 多种, 下面提供给一种简便易行的方法——通过通用输入 /输出 GPIO ( General Purpose Input Output )方法使处于休眠状态的所述 Wi-Fi主控制器进入激活状态。 所述 GPIO方法唤醒 Wi-Fi主控制器的方法,技术成熟、实现简便、实现成本低、 功耗小、 体积小, 再次的节省能耗, 有利于延长待机时间。 在具体的实施过程 中, 唤醒处于休眠状态的 Wi-Fi主控制器进入激活状态, 还可以通过其他方法, 如撰写专门的唤醒软件等方法实现。
此外, 在具体的 Wi-Fi 网关使用过程中, 用户有时需要强制性的使 Wi-Fi 主控制器从休眠状态进入激活状态,下面提供一种使强制性的使 Wi-Fi主控制器 从休眠状态进入激活状态的方法:
根据用户控制指令,控制所述 Wi-Fi主控制器从休眠状态进入激活状态。所 述用户控制指令的输入可以通过专门设置的唤醒控件, 具体的可以是设置在 Wi-Fi网关外壳实体按键或虚拟的触屏键。
在本实施例中, 用户还可以通过输入用户控制指令强制将处于休眠状态的 所述 Wi-Fi主控制器切换到激活状体,从而进一步的增强了 Wi-Fi主控制器的可 控性, 实用性更强。
综合上述, 本实施例中所述的功耗降低的方法, 在保持收发数据的 Wi-Fi 芯片激活状态下, 通过监测 Wi-Fi芯片数据流量, 在 Wi-Fi网关闲置率较高时, 使 Wi-Fi主控器处于休眠状态,从而达到节省能耗的目的, 同时保持了客户端与 Wi-Fi网关的连接, 且新的客户端 STA ( Wi-Fi Station ) 随时简便的接入, 从而 具有使用感受好, 实用性强等优点。 本发明第二个实施例提供一种 Wi-Fi主控制器。 如图 2所示, 所述 Wi-Fi 主控制器包括:
数据流量监测模块 110, 用以监测所述 Wi-Fi芯片中的数据流量;
数据流量判断模块 120, 用以判断指定时长内的所述数据流量是否小于阔 值,
状态控制模块 130,用以在所述数据流量判断模块判断出所述数据流量小于 阔值时, 控制所述 Wi-Fi主控制器进入休眠状态。 具体的实现过程中, 当所述数 据流量大于或等于阔值时, 则保持所述 Wi-Fi主控制器状态不变。
数据流量监测模块 110, 监测 Wi-Fi芯片中数据的流量, 可以是监测 Wi-Fi 芯片中网络侧数据流量, 也可以是监测客户端侧的数据流量, 优选网络侧数据 流量。
所述指定时长以及所述阔值可以事先预设值, 如 10 秒的指定时长内为 150KB等。
所述状态控制模块 130控制所述 Wi-Fi主控制器的状态切换,具体包括使所 述 Wi-Fi主控制器从激活状态切换到休眠状态或使所述 Wi-Fi主控制器从休眠状 态切换到激活状态。
计算的指定时长内的数据流量的监测至少有两种方法;
方法一, 单独监测每一个指定时长内的数据流量; 进入一个新的指定时长, 则清空一次数据流量, 重新计算新的指定时长内的数据流量。 方法二, 所述数据流量监控模块监测所有时间的数据流量的累计值, 并记 下每一指定时长结束时流量值, 通过减法运算得到本指定时长的数据流量。
计算得到的一个指定时长内数据流量用于与阔值进行比较。 所述阔值可以 是事先预定的, 也可是通过与服务端或客户端交互获取的。
其中,所述 Wi-Fi芯片的数据进入信号是在所述 Wi-Fi芯片接收到数据时发 出的, 且发送到所述 Wi-Fi主控制器。
进一步地, 所述 Wi-Fi主控器还包括数据进入信号接收模块, 所述数据进入 信号模块用以接收所述 Wi-Fi芯片的数据进入信号;
所述 Wi-Fi主控制器的状态控制模块,在所述数据进入信号接收模块接收到 所述数据进入信号后, 需使所述 Wi-Fi控制器维持或进入激活状态, 以便所述 Wi-Fi主控制器对数据进行相应的处理。 在具体的实施过程中, 若所述 Wi-Fi控 制器处于休眠状态, 且首先需要从休眠状态切换至激活状态, 若处于激活状态 则可直接对数据进行下相应的处理。
根据所述数据进入信号使所述 Wi-Fi 主控器保持激活状态或由休眠状态进 入激活状态; 在本实施例中仅当 Wi-Fi芯片有数据输入时, 所述 Wi-Fi芯片发送 数据进入信号, 使 Wi-Fi主控制器处于激活状态, 使 Wi-Fi主控制器处于休眠状 态的时间最大化, 使节省的能耗最大化。 同时一旦 Wi-Fi芯片有数据输入, 所述 Wi-Fi主控制器则进入激活状态, 从而保证了数据的有效、 安全, 无丟失传输, 从而实用性强, 用户感受良好。
具体的如何使所述 Wi-Fi主控器由激活状态进入休眠状态,可以釆用以下方 式: 所述数据进入信号为通用输入 /输出 GPIO ( General Purpose Input Output )输 出的信号。在具体的实施过程中所述 Wi-Fi芯片中输出所述数据进入信号的部件 可以是硬件的逻辑电路唤醒模块,也可以是对应的运行在 Wi-Fi芯片上的软件或 固件, 而在本实施例中优选技术成熟、 功耗小、 体积小的 GPIO使 Wi-Fi主控制 器处于激活状态,从而进一步降低了能耗、增强了本实施例所述的 Wi-Fi主控制 器的实用性。 作为本实施例进一步地改进, 所述状态控制模块还用以根据用户控制指令 控制所述 Wi-Fi主控制器从休眠状态进入激活状态。具体的所述用户控制指令可 以通过设置在 Wi-Fi网关或 Wi-Fi主控制器上的唤醒控件来接收或通过数据接收 接口从外设输入。通过根据用户控制指令接收,可以使 Wi-Fi主控制器从休眠状 态进入激活状态,从而增强了用户对 Wi-Fi主控制器的可控性。所述唤醒控件可 以是设置在 Wi-Fi主控制器的外表面的实体控件,也可以是设置在软件上的虚拟 的软件控件, 如触摸屏上的触点等。
进一步地,所述 Wi-Fi主控制器还包括用以计量是否达到指定时长的定时器 模块。 所述定时器用于计时, 当达到指定时长, 触发所述 Wi-Fi主控制器判断数 据流量与阔值的大小。 所述计时器具体的实施结构有多种, 如常见的看门狗计 时器等。
综合上述,本实施例所述的 Wi-Fi主控器,相对于传统的设备当中的主控器 会对 Wi-Fi芯片中的数据流量进行监测,并最终根据所监测的数据流量进行其自 身状态的切换, 从而以最大时间的处于休眠状态, 从而能有效的降低功耗, 且 同时保持与客户端的畅通连接, 从而实现连接的有效、 数据有效安全的传输。
如图 3所示, 本发明第三个实施例提供一种 Wi-Fi网关。 所述 Wi-Fi网关, 包括 Wi-Fi芯片 210以及本发明第二个实施例中任一所述的 Wi-Fi主控制器 220。 所述 Wi-Fi主控制器 220包括数据流量监测模块、数据流量判断模块以及状态控 制模块;
所述数据流量监测模块, 用以监测所述 Wi-Fi芯片中的数据流量; 数据流量判断模块, 用以判断指定时长内的所述数据流量是否小于阔值, 状态控制模块, 用以在所述数据流量判断模块判断出所述数据流量小于阔 值时, 控制所述 Wi-Fi主控制器进入休眠状态。
且通常在所述数据流量判断模块判断出所述数据流量的不小于阔值时, 所 述 Wi-Fi主控制器状态保持不变。
进一步地, 所述 Wi-Fi芯片 210可以包括数据进入信号输出模块: 所述数据进入信号模块用以在所述 Wi-Fi 芯片接收到数据时向所述 Wi-Fi 主控制器发送数据进入信号, 以使所述 Wi-Fi主控制器维持或进入休眠状态。 当 有数据进入到 Wi-Fi芯片时, Wi-Fi芯片中的逻辑电路或软体监测到有数据到来 需要准备就绪接收或转发数据,则向所述 Wi-Fi主控制器发送数据进入信号以使 Wi-Fi主控制器开启相应的功能, 如防火墙, 路由等功能, 以保证数据的流畅、 安全、 稳定传输。
进一步地, 所述唤醒模块为通用输入 /输出 GPIO模块; 所述数据进入信号 为通用输入 /输出 GPIO数据进入信号。将唤醒模块设置成 GPIO( General Purpose Input Output )模块, 结构简单, 实现简便。
进一步地, Wi-Fi网关为移动式 Wi-Fi网关。 Wi-Fi网关分为移动式的或固 定式, 而本实施例中优选为移动式的。
本实施例所述的 Wi-Fi网关, 为了达到在无外接电源时, 能耗小待机时间长 的目的, 通过监测通过 Wi-Fi芯片的收发数据流量的大小, 来判断 Wi-Fi主控制 器的闲置率是否较高, 若闲置率较高, 则转入节能的休眠状态, 同时监测 Wi-Fi 芯片是否有数据输入,若有则使 Wi-Fi主控制器处于激活状态,从而保证数据的 不丟失, 同时保证数据高效、 安全传输。 本实施例所述的 Wi-Fi网关, 艮好的解 决了 Wi-Fi网关待机时长与连接方便简单之间的矛盾, 结构简单, 实现简便, 使 用方便。 本发明的另一个实施例, 上述实施例中的 Wi-Fi 网关, 具体结构为如图 4 所示, 包括至少一个处理器 310 (例如: CPU ), 至少一个网络接口 320或者其 他通信接口, 存储器 330和至少一个通信总线 340, 用于实现这些装置之间的连 接通信。 处理器 310用于执行存储器 330中存储的可执行模块, 例如: 计算机 程序。 存储器 330 可能包含高速随机存取存储器 (Random Access Memory, RAM ), 也可能还包括非不稳定的存储器(non-volatile memory ), 例如: 至少一 个磁盘存储器。 通过至少一个网络接口 320 (可以是有线或者无线)实现该系统 网关与至少一个其他网元之间的通信连接, 可以使用互联网、 广域网、 本地网、 城域网等。 在一些实施方式中, 存储器 330存储了程序, 程序可以被处理器 310执行, 这个程序包括: 监测 Wi-Fi芯片中的数据流量; 判断指定时长内的数据流量是否 小于阔值,若是则控制所述 Wi-Fi主控制器进入休眠状态。在具体的实现过程中 所述处理器 310可为集成了 Wi-Fi芯片以及 Wi-Fi主控制器的芯片或集成电路。
本领域普通技术人员将会理解, 本发明的各个方面、 或各个方面的可能实 现方式可以被具体实施为系统、 方法或者计算机程序产品。 因此, 本发明的各 方面、 或各个方面的可能实现方式可以釆用完全硬件实施例、 完全软件实施例 (包括固件、 驻留软件等等), 或者组合软件和硬件方面的实施例的形式, 在这里 都统称为"电路"、 "模块"或者"系统"。 此外, 本发明的各方面、 或各个方面的可 能实现方式可以釆用计算机程序产品的形式, 计算机程序产品是指存储在计算 机可读介质中的计算机可读程序代码。
计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。 计 算机可读存储介质包含但不限于电子、 磁性、 光学、 电磁、 红外或半导体系统、 设备或者装置, 或者前述的任意适当组合, 如随机存取存储器 (RAM)、 只读存 储器 (ROM)、 可擦除可编程只读存储器(EPROM或者快闪存储器)、 光纤、 便 携式只读存储器 (CD-ROM)。
计算机中的处理器读取存储在计算机可读介质中的计算机可读程序代码, 使得处理器能够执行在流程图中每个步骤、 或各步骤的组合中规定的功能动作; 生成实施在框图的每一块、 或各块的组合中规定的功能动作的装置。
计算机可读程序代码可以完全在用户的计算机上执行、 部分在用户的计算 机上执行、 作为单独的软件包、 部分在用户的计算机上并且部分在远程计算机 上, 或者完全在远程计算机或者服务器上执行。 也应该注意, 在某些替代实施 方案中, 在流程图中各步骤、 或框图中各块所注明的功能可能不按图中注明的 顺序发生。 例如, 依赖于所涉及的功能, 接连示出的两个步骤、 或两个块实际 上可能被大致同时执行, 或者这些块有时候可能被以相反顺序执行。 明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权利要求及 其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。

Claims

权 利 要求 书
1、 一种功耗降低的方法, 其特征在于, 包括:
监测 Wi-Fi芯片中的数据流量;
判断指定时长内的所述数据流量小于阔值,则控制 Wi-Fi主控制器进入休眠 状态。
2、 根据权利要求 1所述的功耗降低的方法, 其特征在于, 还包括: 接收所 述 Wi-Fi芯片发送的数据进入信号,控制所述 Wi-Fi主控制器维持或进入激活状 态, 以对进入所述 Wi-Fi芯片的数据进行处理; Wi-Fi芯片的数据进入信号是在 所述 Wi-Fi芯片有数据进入时发送至所述 Wi-Fi主控制器。
3、 根据权利要求 1或 2 所述的功耗降低的方法, 其特征在于, 还包括: 根 据用户控制指令, 控制所述 Wi-Fi主控制器从休眠状态进入激活状态。
4、 一种 Wi-Fi主控制器, 其特征在于, 包括:
数据流量监测模块, 用以监测所述 Wi-Fi芯片中的数据流量;
数据流量判断模块, 用以判断指定时长内的所述数据流量是否小于阔值; 状态控制模块, 用以在所述数据流量判断模块判断出所述数据流量小于阔 值时, 控制所述 Wi-Fi主控制器进入休眠状态。
5、 根据权利要求 4所述的 Wi-Fi主控制器, 其特征在于, 还包括数据进入 信号接收模块;
所述数据进入信号接收模块, 接收所述 Wi-Fi芯片发送的数据进入信号; 所述状态控制模块, 还用以根据所述数据进入信号接收模块接收到所述数 据进入信号, 控制所述 Wi-Fi 主控制器维持或进入激活状态, 以使所述 Wi-Fi 主控制器对进入所述 Wi-Fi芯片的数据进行处理;
其中,所述数据进入信号是在所述 Wi-Fi芯片有数据进入时发送至所述数据 进入信号接收模块。
6、 根据权利要求 4或 5所述的 Wi-Fi主控制器, 其特征在于, 所述状态控 制模块,还用以根据用户控制指令控制所述 Wi-Fi主控制器从休眠状态进入激活 状态。
7、 根据权利要求 4或 5所述的 Wi-Fi主控制器, 其特征在于, 还包括用以 计量指定时长的定时器模块。
8、 一种 Wi-Fi网关, 其特征在于, 包括 Wi-Fi芯片以及如权利要求 4-7任 一项所述的 Wi-Fi主控制器。
9、 根据权利要求 8所述的 Wi-Fi网关, 其特征在于, 所述 Wi-Fi网关为移 动式 Wi-Fi网关。
PCT/CN2014/084057 2013-08-15 2014-08-11 功耗降低的方法、Wi-Fi主控制器及Wi-Fi网关 WO2015021892A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310356744.2A CN104378809A (zh) 2013-08-15 2013-08-15 功耗降低的方法、Wi-Fi主控制器及Wi-Fi网关
CN201310356744.2 2013-08-15

Publications (1)

Publication Number Publication Date
WO2015021892A1 true WO2015021892A1 (zh) 2015-02-19

Family

ID=52468045

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/084057 WO2015021892A1 (zh) 2013-08-15 2014-08-11 功耗降低的方法、Wi-Fi主控制器及Wi-Fi网关

Country Status (2)

Country Link
CN (1) CN104378809A (zh)
WO (1) WO2015021892A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106341903A (zh) * 2015-07-06 2017-01-18 中兴通讯股份有限公司 无线网络建立方法、装置及无线路由装置
CN106412845B (zh) * 2015-08-03 2021-06-15 中兴通讯股份有限公司 无线保真Wi-Fi设备的休眠方法及装置
CN105611566B (zh) * 2016-03-16 2019-07-19 上海斐讯数据通信技术有限公司 Wifi网络的接入设备的控制方法、系统及网络设备
CN105704801A (zh) * 2016-03-18 2016-06-22 深圳市吉祥腾达科技有限公司 一种路由器的管理方法和路由器
CN106604375A (zh) * 2016-12-14 2017-04-26 努比亚技术有限公司 一种休眠装置及方法
CN106851796A (zh) * 2016-12-14 2017-06-13 努比亚技术有限公司 一种数据卡及其实现Wi‑Fi热点的方法
CN106851797A (zh) * 2016-12-16 2017-06-13 上海斐讯数据通信技术有限公司 可无线唤醒路由器、无线唤醒系统及路由器无线唤醒方法
CN112867107B (zh) * 2019-11-28 2022-09-23 华为技术有限公司 一种无线保真wifi芯片控制方法及其相关设备
CN114698069A (zh) * 2020-12-31 2022-07-01 华为技术有限公司 通信方法和设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547935A (zh) * 2011-12-23 2012-07-04 华为终端有限公司 一种控制便携式路由器低功耗工作的方法及便携式路由器
CN102833831A (zh) * 2012-08-21 2012-12-19 中兴通讯股份有限公司 实现动态休眠和唤醒的网卡设备、路由设备、系统及方法
CN103200314A (zh) * 2013-03-05 2013-07-10 广东欧珀移动通信有限公司 一种移动终端的智能休眠方法及装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895972A (zh) * 2010-04-20 2010-11-24 深圳市权智掌上电脑有限公司 WiFi电源动态管理系统及管理方法
CN102457851B (zh) * 2010-10-29 2016-04-13 瑞昱半导体股份有限公司 低耗电网络装置与其通讯方法
CN102056348A (zh) * 2011-01-07 2011-05-11 深圳市至高通信技术发展有限公司 多制式3g-wifi无线路由器及无线通信系统
CN103002494B (zh) * 2012-12-25 2018-09-25 上海寰创通信科技股份有限公司 一种家用lte路由器的节能控制装置及方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547935A (zh) * 2011-12-23 2012-07-04 华为终端有限公司 一种控制便携式路由器低功耗工作的方法及便携式路由器
CN102833831A (zh) * 2012-08-21 2012-12-19 中兴通讯股份有限公司 实现动态休眠和唤醒的网卡设备、路由设备、系统及方法
CN103200314A (zh) * 2013-03-05 2013-07-10 广东欧珀移动通信有限公司 一种移动终端的智能休眠方法及装置

Also Published As

Publication number Publication date
CN104378809A (zh) 2015-02-25

Similar Documents

Publication Publication Date Title
WO2015021892A1 (zh) 功耗降低的方法、Wi-Fi主控制器及Wi-Fi网关
US8255724B2 (en) Control of awake time in mobile device with event based time period followed by sleep mode algorithm
EP2876944B1 (en) Network card device, routing device, system and method for realizing dynamic sleep and wakeup
KR101464741B1 (ko) 전원관리 제어 장치 및 방법
WO2016180132A1 (zh) 无线保真Wi-Fi设备的休眠方法及装置
WO2018028132A1 (zh) Wifi异常自动重连装置、系统及方法
JP5773288B2 (ja) ハイスピードインターチップhsicインタフェースに基づくウェイクアップ方法、ホットスワップ方法、およびデバイス
WO2010066132A1 (zh) 电力线通讯设备及其控制方法
WO2011113349A1 (zh) 上网模块电源管理的方法和装置
WO2014135129A1 (zh) 一种处理器工作频率的控制方法及装置
WO2011160500A1 (zh) 一种动态能耗控制方法及系统、相关设备
WO2014205913A1 (zh) 一种终端设备的节电方法及终端设备
US20200288403A1 (en) Smart power saving method for terminal, terminal, and device having memory function
WO2012155760A1 (zh) 一种移动终端及其省电方法
CN104977979A (zh) 时钟源切换方法和系统
WO2015180607A1 (zh) 一种终端
WO2014032473A1 (zh) 机顶盒待机方法、机顶盒待机控制装置和机顶盒
TWI475911B (zh) 網路搜尋方法及使用此方法的行動電子裝置
KR20190129219A (ko) 무선랜 ap에 따른 전력 절감 최적화 방법 및 장치
WO2012126396A1 (zh) 业务单板的节能方法、主控板、业务单板及接入设备
CN103024543A (zh) 机顶盒低功耗实现方法和实现装置
JPWO2008084541A1 (ja) 受信装置及び受信装置の起動制御方法
WO2014169647A1 (zh) 移动设备省电控制方法、装置及移动设备、主机终端
WO2014127690A1 (zh) 一种蓝牙唤醒pos机的方法
TW201630394A (zh) 維持傳輸控制協定連線的方法及電腦系統

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14836909

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14836909

Country of ref document: EP

Kind code of ref document: A1