CN105992317B - Wireless communication module management method and wireless communication module managing device - Google Patents

Wireless communication module management method and wireless communication module managing device Download PDF

Info

Publication number
CN105992317B
CN105992317B CN201510061104.8A CN201510061104A CN105992317B CN 105992317 B CN105992317 B CN 105992317B CN 201510061104 A CN201510061104 A CN 201510061104A CN 105992317 B CN105992317 B CN 105992317B
Authority
CN
China
Prior art keywords
communication module
wireless communication
timer
instruction
mentioned
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
CN201510061104.8A
Other languages
Chinese (zh)
Other versions
CN105992317A (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.)
TCL Corp
Original Assignee
TCL Corp
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 TCL Corp filed Critical TCL Corp
Priority to CN201510061104.8A priority Critical patent/CN105992317B/en
Publication of CN105992317A publication Critical patent/CN105992317A/en
Application granted granted Critical
Publication of CN105992317B publication Critical patent/CN105992317B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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

Abstract

The invention discloses a kind of wireless communication module management method and wireless communication module managing devices, wherein a kind of wireless communication module management method includes: to start first timer when wireless communication module is in normal operating conditions;When first timer timing reaches, and wireless communication module does not receive wireless telecommunications instruction during first timer timing, the working condition of above-mentioned wireless communication module is switched to standby mode, and start second timer;Before if above-mentioned second timer timing reaches, above-mentioned wireless communication module receives wireless telecommunications instruction, the working condition of above-mentioned wireless communication module is then switched to normal operating conditions, so that above-mentioned wireless communication module handles the wireless telecommunications instruction in normal operation.Technical solution provided by the invention can be effectively reduced the power consumption of wireless communication module.

Description

Wireless communication module management method and wireless communication module managing device
Technical field
The present invention relates to communication fields, and in particular to a kind of wireless communication module management method and wireless communication module management Device.
Background technique
With the continuous development of cybertimes, the concept of smart home is also gradually rooted in the hearts of the people, while people are to intelligent family The intelligent requirements in residence also gradually increase, in particular, people thirst for realizing the intelligent control to household electrical appliance (such as long-range control Deng), therefore occur many smart machines on the market, and such as: intelligent socket, intelligent distant control, intelligent air condition etc..
Most of these smart machines contain Wireless Fidelity (WiFi, Wireless Fidelity) module, and smart machine is logical It crosses WiFi module to connect with wireless router, and then may be coupled to internet, user can be completed using smart phone to intelligence The control of energy equipment.
Many smart machines, in order to be kept for the moment be in controllable state, WiFi module is in the shape to work completely State, because in this way to the control of WiFi module using relatively convenient, however, since WiFi module is connect as with wireless router Radio receiving transmitting module, power consumption is higher, and also have some electromagnetic radiation, increasingly focus on energy-saving and environment friendly today, Negative interaction can undoubtedly be generated.Although current some smart machines are provided with suspend mode key, intelligently set after pressing the suspend mode key Standby WiFi module can enter suspend mode, however, in the dormant state, which can not just carry out WiFi communication, need It is troublesome in poeration artificially by triggering key wakeup WiFi module.
Summary of the invention
The present invention provides a kind of wireless communication module management method and wireless communication module managing device, for reducing wireless The power consumption of communication module.
One aspect of the present invention provides a kind of wireless communication module management method, comprising: is in normal in wireless communication module When working condition, start first timer;
When above-mentioned first timer timing arrival, and above-mentioned wireless communication module is in the process of above-mentioned first timer timing In when not receiving wireless telecommunications instruction, the working condition of above-mentioned wireless communication module is switched to standby mode, and start the Two timers;
If before above-mentioned second timer timing reaches, above-mentioned wireless communication module receives wireless telecommunications instruction, then will The working condition of above-mentioned wireless communication module is switched to normal operating conditions, so that above-mentioned wireless communication module is working normally shape Above-mentioned wireless telecommunications instruction is handled under state.
Another aspect of the present invention provides a kind of wireless communication module managing device, comprising:
Timer start unit, for starting first timer when wireless communication module is in normal operating conditions;
Switch unit, for reaching when above-mentioned first timer timing, and above-mentioned wireless communication module is fixed above-mentioned first When device timing during do not receive wireless telecommunications instruction when, the working condition of above-mentioned wireless communication module is switched to standby State;
Above-mentioned timer start unit is also used to reach when above-mentioned first timer timing, and above-mentioned wireless communication module When not receiving wireless telecommunications instruction during above-mentioned first timer timing, start second timer;
Above-mentioned switch unit is also used to: before above-mentioned second timer timing arrival, above-mentioned wireless communication module is received To when wireless telecommunications instruction, the working condition of above-mentioned wireless communication module is switched to normal operating conditions, so as to above-mentioned wireless Communication module handles above-mentioned wireless telecommunications instruction in normal operation.
Therefore starts first timer when wireless communication module works normally in the present invention, work as first timer When arrival and period do not receive wireless telecommunications instruction, the working condition of the wireless communication module is switched to standby shape automatically State, and start second timer, when the wireless communication module receives wireless telecommunications and refers to before second timer timing arrival When enabling, the working condition of the wireless communication module is switched to normal operating conditions, since wireless communication module is in standby mode Power consumption be lower than the power consumption of normal operating conditions intelligent switching, energy therefore carried out by working condition to wireless communication module Wireless communication module is enough avoided to be in the working condition of high power consumption for a long time, to effectively reduce the function of wireless communication module Consumption.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art To obtain other drawings based on these drawings.
Fig. 1 is wireless communication module management method one embodiment flow diagram provided by the invention;
Fig. 2 is another embodiment flow diagram of wireless communication module management method provided by the invention;
Fig. 3-a is a kind of application scenarios system architecture diagram of wireless communication module management method provided by the invention;
Fig. 3-b is wireless communication module management method another kind application scenarios system architecture diagram provided by the invention;
Fig. 4 is the state and time relationship schematic diagram of WiFi module under a kind of application scenarios provided by the invention;
Fig. 5 is wireless communication module managing device one embodiment structural schematic diagram provided by the invention.
Specific embodiment
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described reality Applying example is only a part of the embodiment of the present invention, and not all embodiments.Based on the embodiments of the present invention, the common skill in this field Art personnel every other embodiment obtained without making creative work belongs to the model that the present invention protects It encloses.
One of present invention wireless communication module management method is described with an embodiment below, referring to Fig. 1, Wireless communication module management method in the embodiment of the present invention includes:
101, when wireless communication module is in normal operating conditions, start first timer;
In the embodiment of the present invention, wireless communication module is divided into three kinds of working conditions, is respectively as follows: normal operating conditions, standby State and dormant state.Wherein, when the working condition of wireless communication module is normal operating conditions, wireless communication module can It receives and transmitting wireless telecommunications instructs;When the working condition of wireless communication module is standby mode, wireless communication module can Receive wireless telecommunications instruction;When the working condition of wireless communication module be dormant state when, wireless communication module can not receive and Emit wireless telecommunications instruction.
In above-mentioned three kinds of working conditions of wireless communication module, consumed when wireless communication module is in normal operating conditions Electricity is maximum, and correspondingly, power consumption is also maximum;When wireless communication module is in standby, power consumption is relatively small, about wirelessly The 30% of power consumption when communication module is in normal operating conditions, correspondingly, power consumption is also smaller than the former;At wireless communication module When dormant state, due to having completely closed the wireless communication function of wireless communication module at this time, wireless telecommunications mould Power consumption of the block in dormant state is minimum, and correspondingly, power consumption is also minimum.
In the embodiment of the present invention, when wireless communication module is in normal operating conditions, wireless communication module managing device Start first timer, starts timing.
102, when above-mentioned first timer timing arrival, and above-mentioned wireless communication module is in above-mentioned first timer timing When not receiving wireless telecommunications instruction in the process, the working condition of above-mentioned wireless communication module is switched to standby mode, and open Dynamic second timer;
In the embodiment of the present invention, the timing length of above-mentioned first timer is pre-set, when in step 101 starting After stating first timer, above-mentioned first timer starts timing, when the timing arrival of above-mentioned first timer, and above-mentioned first During timer timing, when above-mentioned wireless communication module does not receive wireless telecommunications instruction, wireless communication module management dress It sets and the working condition of the wireless communication module is switched to standby mode, and start second timer.Specifically, wireless telecommunications mould Block managing device can be by sending normal-standby mode switching command to the wireless communication module, to trigger the wireless telecommunications Current working status is switched to standby mode by module.
If before 103, above-mentioned second timer timing reaches, above-mentioned wireless communication module receives wireless telecommunications instruction, The working condition of above-mentioned wireless communication module is then switched to normal operating conditions, so that above-mentioned wireless communication module is in normal work Make to handle above-mentioned wireless telecommunications instruction under state;
In the embodiment of the present invention, the timing length of above-mentioned second timer is pre-set, when in step 102 starting After stating second timer, above-mentioned second timer starts timing, since in the standby state, wireless communication module still is able to connect Wireless telecommunications instruction is received, therefore, if above-mentioned wireless communication module receives before the timing of above-mentioned second timer reaches Wireless telecommunications instruction, then the working condition of the wireless communication module is switched to normal work shape by wireless communication module managing device State, after the working condition of the wireless communication module is switched to normal operating conditions, wireless communication module can be handled normally and be connect The wireless telecommunications instruction received.Specifically, wireless communication module managing device can by the wireless communication module send to Machine-normal condition switching command is switched to normal operating conditions to trigger the wireless communication module for current working status.
Optionally, in the embodiment of the present invention, during above-mentioned first timer timing, above-mentioned wireless communication module is connect When receiving wireless telecommunications instruction, wireless communication module managing device restarts above-mentioned first timer, that is, making above-mentioned the New beginning timing is thought highly of in one timing.Certainly, during above-mentioned first timer timing, above-mentioned wireless communication module is received When wireless telecommunications instruct, wireless communication module managing device can not also restart above-mentioned first timer, that is, keep above-mentioned The continuation timing of first timer.
Optionally, the timing length of above-mentioned first timer is less than the timing length of above-mentioned second timer, certainly, above-mentioned The timing length of the timing length of first timer and above-mentioned second timer can also be set according to actual needs, herein It is not construed as limiting.
Optionally, the wireless communication module in the embodiment of the present invention is WiFi module.
It should be noted that the wireless communication module managing device in the embodiment of the present invention can integrate in smart machine In (such as intelligent terminal, intelligent electric appliance etc.), alternatively, the wireless communication module managing device in the embodiment of the present invention is also possible to Independently of the device of smart machine.Intelligent terminal in the embodiment of the present invention is specifically as follows mobile phone, tablet computer or other Intelligent terminal is not construed as limiting herein.
Therefore starts first timer when wireless communication module works normally in the present invention, work as first timer When arrival and period do not receive wireless telecommunications instruction, the working condition of the wireless communication module is switched to standby shape automatically State, and start second timer, when the wireless communication module receives wireless telecommunications and refers to before second timer timing arrival When enabling, the working condition of the wireless communication module is switched to normal operating conditions, since wireless communication module is in standby mode Power consumption be lower than the power consumption of normal operating conditions intelligent switching, energy therefore carried out by working condition to wireless communication module Wireless communication module is enough avoided to be in the working condition of high power consumption for a long time, to effectively reduce the function of wireless communication module Consumption.Particularly, the present invention has bigger meaning to using battery powered wireless communication module.
One of present invention wireless communication module management method is described with another embodiment below, please refers to figure 2, the wireless communication module management method in the embodiment of the present invention includes:
201, when wireless communication module is in normal operating conditions, start first timer;
In the embodiment of the present invention, wireless communication module is divided into three kinds of working conditions, is respectively as follows: normal operating conditions, standby State and dormant state.Wherein, when the working condition of wireless communication module is normal operating conditions, wireless communication module can It receives and transmitting wireless telecommunications instructs;When the working condition of wireless communication module is standby mode, wireless communication module can Receive wireless telecommunications instruction;When the working condition of wireless communication module be dormant state when, wireless communication module can not receive and Emit wireless telecommunications instruction.
In above-mentioned three kinds of working conditions of wireless communication module, consumed when wireless communication module is in normal operating conditions Electricity is maximum, and correspondingly, power consumption is also maximum;When wireless communication module is in standby, power consumption is relatively small, about wirelessly The 30% of power consumption when communication module is in normal operating conditions, correspondingly, power consumption is also smaller than the former;At wireless communication module When dormant state, due to having completely closed the wireless communication function of wireless communication module at this time, wireless telecommunications mould Power consumption of the block in dormant state is minimum, and correspondingly, power consumption is also minimum.
In the embodiment of the present invention, when wireless communication module is in normal operating conditions, wireless communication module managing device Start first timer, starts timing.
202, when above-mentioned first timer timing arrival, and above-mentioned wireless communication module is in above-mentioned first timer timing When not receiving wireless telecommunications instruction in the process, the working condition of above-mentioned wireless communication module is switched to standby mode, and open Dynamic second timer;
In the embodiment of the present invention, the timing length of above-mentioned first timer is pre-set, when in step 201 starting After stating first timer, above-mentioned first timer starts timing, when the timing arrival of above-mentioned first timer, and above-mentioned first During timer timing, when above-mentioned wireless communication module does not receive wireless telecommunications instruction, wireless communication module management dress It sets and the working condition of the wireless communication module is switched to standby mode, and start second timer.Specifically, wireless telecommunications mould Block managing device can be by sending normal-standby mode switching command to the wireless communication module, to trigger the wireless telecommunications Current working status is switched to standby mode by module.
If before 203, above-mentioned second timer timing reaches, above-mentioned wireless communication module receives wireless telecommunications instruction, The working condition of above-mentioned wireless communication module is then switched to normal operating conditions, so that above-mentioned wireless communication module is in normal work Make to handle above-mentioned wireless telecommunications instruction under state;
In the embodiment of the present invention, the timing length of above-mentioned second timer is pre-set, when in step 202 starting After stating second timer, above-mentioned second timer starts timing, since in the standby state, wireless communication module still is able to connect Wireless telecommunications instruction is received, therefore, if above-mentioned wireless communication module receives before the timing of above-mentioned second timer reaches Wireless telecommunications instruction, then the working condition of the wireless communication module is switched to normal work shape by wireless communication module managing device State, after the working condition of the wireless communication module is switched to normal operating conditions, wireless communication module can be handled normally and be connect The wireless telecommunications instruction received.Specifically, wireless communication module managing device can by the wireless communication module send to Machine-normal condition switching command is switched to normal operating conditions to trigger the wireless communication module for current working status.
Optionally, in the embodiment of the present invention, during above-mentioned first timer timing, above-mentioned wireless communication module is connect When receiving wireless telecommunications instruction, wireless communication module managing device restarts above-mentioned first timer, that is, making above-mentioned the New beginning timing is thought highly of in one timing.Certainly, during above-mentioned first timer timing, above-mentioned wireless communication module is received When wireless telecommunications instruct, wireless communication module managing device can not also restart above-mentioned first timer, that is, keep above-mentioned The continuation timing of first timer.
Optionally, the timing length of above-mentioned first timer is less than the timing length of above-mentioned second timer, certainly, above-mentioned The timing length of the timing length of first timer and above-mentioned second timer can also be set according to actual needs, herein It is not construed as limiting.
If 204, above-mentioned second timer timing reaches, and above-mentioned wireless communication module is in above-mentioned second timer timing It does not receive wireless telecommunications instruction in the process, then, the working condition of above-mentioned wireless communication module is switched to normal operating conditions, And start third timer;
In the embodiment of the present invention, the timing length of above-mentioned second timer is pre-set, when in step 202 starting After stating second timer, above-mentioned second timer starts timing, if the timing in above-mentioned second timer reaches, and above-mentioned nothing Line communication module does not receive wireless telecommunications instruction during the second timer timing, then wireless communication module management fills It sets and the working condition of the wireless communication module is switched to normal operating conditions, and start third timer.
The timing length of above-mentioned third timer can be set according to actual needs, be not construed as limiting herein.
205, before above-mentioned third timer timing arrival, to there are wireless telecommunications connections with above-mentioned wireless communication module The equipment of relationship indicates that above-mentioned wireless communication module will in a dormant state, so that above equipment is needing to send wireless telecommunications Wake up instruction first is sent to above-mentioned wireless communication module before instruction;
In the embodiment of the present invention, the timing length of above-mentioned third timer is pre-set, when in step 204 starting After stating third timer, above-mentioned third timer starts timing, and wireless telecommunications management module is arrived in above-mentioned third timer timing Up to before, to above-mentioned wireless communication module there are the equipment of wireless telecommunications connection relationship (can be with the wireless communication module The equipment of interaction wireless telecommunications instruction) indicate that above-mentioned wireless communication module will in a dormant state, so that above equipment knows this Wireless communication module can not will receive wireless telecommunications when due to the wireless communication module in a dormant state in a dormant state Instruction, therefore, when above equipment knows that the wireless communication module will in a dormant state, above equipment is needing to send out next time Before sending wireless telecommunications to instruct, wake up instruction first is sent to above-mentioned wireless communication module, which is triggered by wake up instruction Interrogate module switch operating state.
Optionally, wireless telecommunications management module triggers above-mentioned wireless telecommunications before above-mentioned third timer timing arrival Module is to there are the equipment of wireless telecommunications connection relationship to send suspend mode instruction message with above-mentioned wireless communication module, wherein above-mentioned Suspend mode instruction message is used to indicate that above-mentioned wireless communication module will in a dormant state to above equipment.When above equipment receives When the suspend mode instruction message, the suspend mode instruction message can be first stored, and needing to send channel radio to the wireless communication module When news instruction, detection device, which locally whether there is, suspend mode instruction message, if so, then first calling out to wireless communication module transmission It wakes up and instructs.Further, it after triggering the wireless communication module switch operating state by the wake up instruction, removes or invalid The suspend mode instruction message that equipment is locally stored.
Certainly, wireless telecommunications management module can also be otherwise to there are channel radios with above-mentioned wireless communication module The equipment for interrogating connection relationship indicates that above-mentioned wireless communication module will in a dormant state, for example, being led to by wireless telecommunications management module The value for crossing the specified parameter in modification above equipment, to above equipment indicate above-mentioned wireless communication module will in a dormant state, For example, a specified parameter is arranged in above equipment, the specified parameter is corresponding with the wireless communication module, and sets to work as and be somebody's turn to do When specified parameter value is 1, indicate that the wireless communication module is in non-sleep state, when it is 0 that this, which specifies the value of parameter, table Show the wireless communication module in a dormant state, before above-mentioned third timer timing arrival, wireless telecommunications management module will The value of the specified parameter in the equipment is revised as 0, when above equipment is needing to send wireless telecommunications to the wireless communication module When instruction, detects that the value of the specified parameter is 0, then first send wake up instruction to the wireless communication module.This is wireless when subsequent When communication module is switched to non-sleep state, the value of the specified parameter in the equipment is revised as 1 by wireless telecommunications management module. The embodiment of the present invention is to wireless telecommunications management module to there are wireless telecommunications connection relationships to set with above-mentioned wireless communication module It is standby to indicate that specific implementation in a dormant state is defined by above-mentioned wireless communication module.
206, it when above-mentioned third timer timing arrival, and is not received during above-mentioned third timer timing When stating wake up instruction, the working condition of above-mentioned wireless communication module is switched to dormant state, and start the 4th timer;
In the embodiment of the present invention, the timing length of above-mentioned third timer is pre-set, when in step 204 starting After stating third timer, above-mentioned third timer starts timing, if the timing in above-mentioned third timer reaches, and above-mentioned nothing Line communication module does not receive above-mentioned wake up instruction during the third timer timing, then wireless communication module management fills It sets and the working condition of the wireless communication module is switched to dormant state, and start the 4th timer.Specifically, wireless telecommunications mould Block managing device can be by sending normal-dormant state switching command to the wireless communication module, to trigger the wireless telecommunications Current working status is switched to dormant state by module.
The timing length of above-mentioned 4th timer can be set according to actual needs, be not construed as limiting herein.
207, when above-mentioned 4th timer timing reaches, the working condition of above-mentioned wireless communication module is switched to standby State, and start the 5th timer;
In the embodiment of the present invention, the timing length of above-mentioned 4th timer is pre-set, when in step 206 starting After stating the 4th timer, above-mentioned 4th timer starts timing, at this time wireless communication module in a dormant state in, wireless telecommunications Module can not receive and emit wireless telecommunications instruction, therefore, wireless communication module in above-mentioned 4th timer timing course not Wireless telecommunications instruction can be received.When above-mentioned 4th timer timing reaches, wireless communication module managing device is wireless by this The working condition of communication module is switched to standby mode, and starts the 5th timer.Specifically, wireless communication module managing device It can be by sending suspend mode-standby mode switching command to the wireless communication module, it will be current to trigger the wireless communication module Working condition is switched to standby mode.
The timing length of above-mentioned 5th timer can be set according to actual needs, be not construed as limiting herein.
If above-mentioned wireless communication module receives above-mentioned wake up instruction before 208, above-mentioned 5th timer timing reaches, The working condition of above-mentioned wireless communication module is then switched to normal operating conditions, and restarts above-mentioned first timer;
In the embodiment of the present invention, the timing length of above-mentioned 5th timer is pre-set, when in step 207 starting After stating the 5th timer, above-mentioned 5th timer starts timing, during wireless communication module is in standby at this time, wireless telecommunications Module can receive wireless telecommunications instruction, therefore, if the wireless communication module is before above-mentioned 5th timer timing arrival Above-mentioned wake up instruction is received, then the working condition of the wireless communication module is switched to normally by wireless communication module managing device Working condition so that wireless communication module prepares to receive wireless telecommunications instruction in normal operation, and is handled and is received Wireless telecommunications instruction.Meanwhile wireless communication module controlled state restarts above-mentioned first timer.
Specifically, wireless communication module managing device can be by sending standby-normal work to the wireless communication module Status switching instruction is switched to normal operating conditions to trigger the wireless communication module for current working status.
If 209, above-mentioned 5th timer timing reaches, and above-mentioned wireless communication module is in above-mentioned 5th timer timing Cheng Zhongwei receives above-mentioned wake up instruction, then the working condition of above-mentioned wireless communication module is switched to dormant state, and again Start above-mentioned 4th timer;
In the embodiment of the present invention, the timing length of above-mentioned 5th timer is pre-set, when in step 207 starting After stating the 5th timer, above-mentioned 5th timer starts timing, during wireless communication module is in standby at this time, wireless telecommunications Module can receive wireless telecommunications instruction, if the wireless communication module is reached in above-mentioned 5th timer timing, and above-mentioned Above-mentioned wake up instruction is not received in 5th timer timing course, then wireless communication module managing device is by the wireless telecommunications mould The working condition of block is switched to dormant state, and restarts above-mentioned 4th timer.Specifically, wireless communication module management fills Setting can will be worked as by sending standby-dormant state switching command to the wireless communication module with triggering the wireless communication module Preceding working condition is switched to dormant state.
Further, in order to guarantee that above-mentioned wireless communication module can receive above-mentioned wake up instruction in the standby state, if The timing length of fixed above-mentioned 4th timer is less than the lasting transmission duration of above-mentioned wake up instruction, that is, above-mentioned wireless communication module There are the equipment of wireless telecommunications connection relationship (equipment that wireless telecommunications instruction can be interacted with the wireless communication module) at this Persistently send duration in persistently send above-mentioned wake up instruction, to avoid when above equipment send wake up instruction when, above-mentioned channel radio The wake up instruction can not be received because handling dormant state by interrogating module.
Optionally, the wireless communication module in the embodiment of the present invention is WiFi module.
It should be noted that the wireless communication module managing device in the embodiment of the present invention can integrate in smart machine In (such as intelligent terminal, intelligent electric appliance etc.), alternatively, the wireless communication module managing device in the embodiment of the present invention is also possible to Independently of the device of smart machine.Intelligent terminal in the embodiment of the present invention is specifically as follows mobile phone, tablet computer or other Intelligent terminal is not construed as limiting herein.
Therefore starts first timer when wireless communication module works normally in the present invention, work as first timer When arrival and period do not receive wireless telecommunications instruction, the working condition of the wireless communication module is switched to standby shape automatically State, and start second timer, when the wireless communication module receives wireless telecommunications and refers to before second timer timing arrival When enabling, the working condition of the wireless communication module is switched to normal operating conditions, since wireless communication module is in standby mode Power consumption be lower than the power consumption of normal operating conditions intelligent switching, energy therefore carried out by working condition to wireless communication module Wireless communication module is enough avoided to be in the working condition of high power consumption for a long time, to effectively reduce the function of wireless communication module Consumption.Further, wireless communication module is additionally provided in the embodiment of the present invention in the automatic switchover side of standby mode and dormant state Case, since the power consumption of wireless communication module in the dormant state is minimum, can be in the non-frequent behaviour of user by this programme Make under scene, so that wireless communication module more time is in standby and dormant state, to further reduced wireless The power consumption of communication module.Particularly, the present invention has bigger meaning to using battery powered wireless communication module.
Wireless communication module management method in the embodiment of the present invention can be applied in system architecture shown in Fig. 3-a, As shown in Fig. 3-a, which includes: intelligent electric appliance (such as intelligent socket etc.), wireless router containing WiFi module And intelligent terminal (such as smart phone, tablet computer etc.), intelligent electric appliance, which passes through to match to postpone, establishes WiFi company with wireless router It connects, intelligent terminal is established WiFi with the wireless router also by WiFi network and connect, and control intelligence is equipped in intelligent terminal The application program of electric appliance, user realize the control to intelligent electric appliance by the application program in operation smart machine.And this hair Wireless communication module managing device is integrated in intelligent electric appliance in bright implementation, passes through the channel radio in Fig. 1 and embodiment illustrated in fig. 2 News module management method is managed the WiFi module in intelligent electric appliance.
Alternatively, the wireless communication module management method in the embodiment of the present invention can be applied to system tray shown in Fig. 3-b In structure, as shown in Fig. 3-b, which includes: cloud server, intelligent electric appliance containing WiFi module (such as intelligence is inserted Seat etc.), wireless router and intelligent terminal (such as smart phone, tablet computer etc.), intelligent electric appliance pass through with postpone with wirelessly Router establishes WiFi connection, and cloud server is connect by network with wireless router, and control intelligence is equipped in intelligent terminal Can electric appliance application program, user by the application program of operation intelligent terminal, control intelligent terminal by mobile network or Other networks access cloud server, realize the control to intelligent electric appliance through cloud server.And it is wireless in present invention implementation Communication module managing device is integrated in intelligent electric appliance, passes through the wireless communication module manager in Fig. 1 and embodiment illustrated in fig. 2 Method is managed the WiFi module in intelligent electric appliance.
Below by taking the smart machine comprising wireless communication module as an example, to the wireless communication module pipe in the embodiment of the present invention Reason method is described, wherein the wireless communication module is specially WiFi module, and wireless communication module managing device is integrated in In the smart machine.
WiFi module in the embodiment of the present invention is divided into 3 kinds of working conditions: 1. normal operating conditions, referred to as T1 state;? It can receive and emit wireless telecommunications instruction (i.e. WiFi instruction) under T1 state;2. standby mode, referred to as T2 state;In T2 state Under can normally receive WiFi instruction;3. dormant state, referred to as T3 state;WiFi can not be sended and received under T3 state to refer to It enables.First timer, second timer, third timer, the 4th timer and the 5th timer are set in the embodiment of the present invention Timing length distinguish t0, t1, t2, t3 and t4.The then wireless communication module management method in the embodiment of the present invention are as follows:
1) it is 0 point of the time, after smart machine powers on normal work, enters T1 state, timing length is the first of t0 Timer starting starts timing, and T1 state duration is shorter (for t0), after first timer timing, smart machine control WiFi module enters T2 state, starts for the second timer that timing length is t1 at this time and starts timing.
2), under T2 state under (timing of t1 is also not finished), after the WiFi module of smart machine receives WiFi instruction, It immediately returns to 0 point of the time, enters T1 state, complete the processing instructed to WiFi, and restart first timer and start Timing.
If 3) WiFi module does not receive always WiFi instruction, then (the t1 after time t1, under T2 state Timing be also not finished), smart machine control the WiFi module it is of short duration enter T1 state, and make the of timing length t2 The starting of three timers starts timing.Smart machine triggers the WiFi module to there are wireless telecommunications connections with the WiFi module at this time The equipment (setting the equipment in the embodiment of the present invention as smart phone) of relationship sends suspend mode instruction message, prompts the smart phone The WiFi module will in a dormant state.The transmission that suspend mode instruction message is completed in time t2, after t2 timing, control WiFi module enters T3 state, and the 4th timer of timing length t3 is made to start and start timing.
4), continue the t3 time under T3 state, i.e., after t3 timing, smart machine controls the WiFi module and is switched to T2 State, and the 5th timer of timing length t4 is made to start and start timing.After the WiFi module enters T2 state, if should WiFi module does not receive wake up instruction in t4 timing course, then after t4 timing, smart machine controls the WiFi mould Block is re-introduced into T3 state, and restarts the 4th timer and start timing, repeatedly.If smart phone is intended at this time Send control WiFi module WiFi instruction, due to having saved in the smart phone in process 3) in WiFi module send stop Dormancy instruction message, so, mobile phone first can send wake up instruction to the WiFi module when sending WiFi instruction, and can continue to send out It send several times, it is ensured that sending cycle (persistently sending duration) covers the time cycle of " t3+t4 ", alternatively, the hair of wake up instruction Send the period that can also only cover t3, the general t3 time is longer, may be configured as several seconds, and the t4 time is shorter, and it is several to may be configured as zero point Second is smaller.
5) after, receiving wake up instruction under the T2 state of t4 time when WiFi module, smart machine triggering WiFi module is 0 point of time returned is carved, T1 state is entered, to carry out WiFi information exchange to smart phone.And it is fixed to restart first When device start timing.Since the process time-consuming is very short, user experience is not influenced.
By above description, if user under non-frequent operation state, will have more time to be in following for " t3+t4 " Ring time state, and power consumption is extremely low under T3 state, power consumption is not also high under T2 state;Select the time duty of t3 and t4 appropriate Than both having can achieve good power savings, can also preferably having been waken up to WiFi module.
In the embodiment of the present invention, state and the time relationship of WiFi module can be as shown in Figure 4.
The embodiment of the present invention also protects a kind of wireless communication module managing device, as shown in figure 5, in the embodiment of the present invention Wireless communication module managing device 500, comprising:
Timer start unit 501, for when wireless communication module is in normal operating conditions, starting first to be periodically Device;
Switch unit 502, for reaching when above-mentioned first timer timing, and above-mentioned wireless communication module is above-mentioned first Do not received during timer timing wireless telecommunications instruction when, by the working condition of above-mentioned wireless communication module be switched to Machine state;
Timer start unit 501 is also used to reach when above-mentioned first timer timing, and above-mentioned wireless communication module exists When not receiving wireless telecommunications instruction during above-mentioned first timer timing, start second timer;
Switch unit 502 is also used to: before above-mentioned second timer timing arrival, above-mentioned wireless communication module is received When wireless telecommunications instruct, the working condition of above-mentioned wireless communication module is switched to normal operating conditions, so as to above-mentioned channel radio News module handles above-mentioned wireless telecommunications instruction in normal operation.
Optionally, switch unit 502 is also used to: when above-mentioned second timer timing reaches, and above-mentioned wireless communication module When not receiving wireless telecommunications instruction during above-mentioned second timer timing, by the work shape of above-mentioned wireless communication module State is switched to normal operating conditions;Timer start unit 501 is also used to: and above-mentioned when above-mentioned second timer timing reaches When wireless communication module does not receive wireless telecommunications instruction during above-mentioned second timer timing, starting third timing Device;Wireless communication module managing device in the embodiment of the present invention further include: indicating unit, based in above-mentioned third timer When reach before, to there are the equipment of wireless telecommunications connection relationship to indicate above-mentioned wireless communication module with above-mentioned wireless communication module Will in a dormant state, so that above equipment is first sent out to above-mentioned wireless communication module before needing to send wireless telecommunications instruction Send wake up instruction;Switch unit 502 is also used to: when above-mentioned third timer timing arrival, and in above-mentioned third timer timing During when not receiving above-mentioned wake up instruction, the working condition of above-mentioned wireless communication module is switched to dormant state;It is fixed When device start unit 501 be also used to: when above-mentioned third timer timing reaches, and during above-mentioned third timer timing When not receiving above-mentioned wake up instruction, start the 4th timer;When above-mentioned 4th timer timing reaches, the 5th timing of starting Device;Switch unit 502 is also used to: when above-mentioned 4th timer timing reaches, by the working condition of above-mentioned wireless communication module It is switched to standby mode;Before above-mentioned 5th timer timing arrival, above-mentioned wireless communication module receives above-mentioned wake-up and refers to When enabling, the working condition of above-mentioned wireless communication module is switched to normal operating conditions;When above-mentioned 5th timer timing reach, And above-mentioned wireless communication module is when receiving above-mentioned wake up instruction in above-mentioned 5th timer timing course, it will be above-mentioned wireless The working condition of communication module is switched to dormant state;Timer start unit 501 is also used to: when above-mentioned 5th timer timing Before arrival, when above-mentioned wireless communication module receives above-mentioned wake up instruction, above-mentioned first timer is restarted;When above-mentioned Five timer timing reach, and above-mentioned wireless communication module does not receive above-mentioned wake-up in above-mentioned 5th timer timing course When instruction, above-mentioned 4th timer is restarted.
Optionally, above-mentioned indicating unit is specifically used for: before above-mentioned third timer timing arrival, triggering above-mentioned wireless Communication module is to there are the equipment of wireless telecommunications connection relationship to send suspend mode instruction message with above-mentioned wireless communication module, wherein Above-mentioned suspend mode instruction message is used to indicate that above-mentioned wireless communication module will in a dormant state to above equipment.
Optionally, timer start unit 501 is also used to: above-mentioned wireless during above-mentioned first timer timing When communication module receives wireless telecommunications instruction, above-mentioned first timer is restarted.
It should be noted that the wireless communication module managing device in the embodiment of the present invention can integrate in smart machine In (such as intelligent terminal, intelligent electric appliance etc.), alternatively, the wireless communication module managing device in the embodiment of the present invention is also possible to Independently of the device of smart machine.Intelligent terminal in the embodiment of the present invention is specifically as follows mobile phone, tablet computer or other Intelligent terminal is not construed as limiting herein.
It should be understood that the wireless communication module managing device in the embodiment of the present invention can be as referred in above method embodiment Wireless communication module managing device, can be used to implement all the technical solutions in the foregoing method embodiment, each function The function of module can be implemented according to the method in above method embodiment, and specific implementation process can refer to above-mentioned implementation Associated description in example, details are not described herein again.
Therefore wireless communication module managing device of the invention is when wireless communication module works normally, starting the One timer, when first timer reaches and period does not receive wireless telecommunications instruction, automatically by the wireless communication module Working condition is switched to standby mode, and starts second timer, when the wireless telecommunications before second timer timing arrival When module receives wireless telecommunications instruction, the working condition of the wireless communication module is switched to normal operating conditions, due to nothing Therefore line communication module passes through the work to wireless communication module lower than the power consumption of normal operating conditions in the power consumption of standby mode Make state and carry out intelligent switching, can be avoided wireless communication module and be in the working condition of high power consumption for a long time, to effectively drop The low power consumption of wireless communication module.Particularly, the present invention has bigger meaning to using battery powered wireless communication module Justice.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of said units, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit Letter connection can be electrical property, mechanical or other forms.
It should be noted that for the various method embodiments described above, describing for simplicity, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, certain steps can use other sequences or carry out simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules might not all be this hair Necessary to bright.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
The above are to a kind of wireless communication module management method provided by the present invention and wireless communication module managing device Description, for those of ordinary skill in the art, thought according to an embodiment of the present invention in specific embodiment and applies model Place that there will be changes, to sum up, the contents of this specification are not to be construed as limiting the invention.

Claims (10)

1. a kind of wireless communication module management method characterized by comprising
When wireless communication module is in normal operating conditions, start first timer;
When the first timer timing reach, and the wireless communication module during first timer timing not When receiving wireless telecommunications instruction, the working condition of the wireless communication module is switched to standby mode, and it is fixed to start second When device;
If before the second timer timing reaches, the wireless communication module receives wireless telecommunications instruction, then will be described The working condition of wireless communication module is switched to normal operating conditions, in normal operation so as to the wireless communication module Handle the wireless telecommunications instruction;
Wherein, include: after the starting second timer
If the second timer timing reaches, and the wireless communication module during second timer timing not Receive wireless telecommunications instruction, then:
The working condition of the wireless communication module is switched to normal operating conditions, and starts third timer;
Before third timer timing arrival, to the setting there are wireless telecommunications connection relationship with the wireless communication module It is standby to indicate that the wireless communication module in a dormant state, so that the equipment is before needing to send wireless telecommunications instruction First wake up instruction is sent to the wireless communication module.
2. the method according to claim 1, wherein
After the starting third timer, comprising:
When third timer timing arrival, and the wake-up is not received during the third timer timing and is referred to When enabling, the working condition of the wireless communication module is switched to dormant state, and start the 4th timer;
When the 4th timer timing reaches, the working condition of the wireless communication module is switched to standby mode, and Start the 5th timer;
It, then will be described if the wireless communication module receives the wake up instruction before the 5th timer timing reaches The working condition of wireless communication module is switched to normal operating conditions, and restarts the first timer;
If the 5th timer timing reaches, and the wireless communication module does not connect in the 5th timer timing course The wake up instruction is received, then the working condition of the wireless communication module is switched to dormant state, and described in restarting 4th timer.
3. according to the method described in claim 2, it is characterized in that, the third timer timing arrival before, Xiang Yusuo Stating wireless communication module, there are the equipment of wireless telecommunications connection relationship to indicate that the wireless communication module will wrap in a dormant state It includes:
Before third timer timing arrival, triggers the wireless communication module and exist to the wireless communication module The equipment of wireless telecommunications connection relationship sends suspend mode instruction message, wherein the suspend mode instruction message to the equipment for referring to Show that the wireless communication module will in a dormant state.
4. according to the method in claim 2 or 3, which is characterized in that the timing length of the 4th timer is less than described The lasting transmission duration of wake up instruction.
5. according to the method in claim 2 or 3, which is characterized in that the wireless communication module is specially WiFi module.
6. method according to any one of claims 1 to 3, which is characterized in that
Include: after the starting first timer
During the first timer timing, when the wireless communication module receives wireless telecommunications instruction, open again Move the first timer.
7. a kind of wireless communication module managing device characterized by comprising
Timer start unit, for starting first timer when wireless communication module is in normal operating conditions;
Switch unit, for reaching when the first timer timing, and the wireless communication module is in the first timer When not receiving wireless telecommunications instruction during timing, the working condition of the wireless communication module is switched to standby shape State;
The timer start unit is also used to reach when the first timer timing, and the wireless communication module is in institute When not receiving wireless telecommunications instruction during stating first timer timing, start second timer;
The switch unit is also used to: before second timer timing arrival, the wireless communication module receives nothing When line communication instruction, the working condition of the wireless communication module is switched to normal operating conditions, so as to the wireless telecommunications Module handles the wireless telecommunications instruction in normal operation;
Wherein, the switch unit is also used to: when second timer timing arrival, and the wireless communication module is described When not receiving wireless telecommunications instruction during second timer timing, the working condition of the wireless communication module is switched For normal operating conditions;
The timer start unit is also used to: when second timer timing arrival, and the wireless communication module is in institute When not receiving wireless telecommunications instruction during stating second timer timing, start third timer;
The wireless communication module managing device further include:
Indicating unit is used for before third timer timing arrival, to there are channel radios with the wireless communication module The equipment for interrogating connection relationship indicates that the wireless communication module will in a dormant state, so that the equipment is needing to send nothing Wake up instruction first is sent to the wireless communication module before line communication instruction.
8. wireless communication module managing device according to claim 7, which is characterized in that
The switch unit is also used to: when third timer timing arrival, and in the process of the third timer timing In when not receiving the wake up instruction, the working condition of the wireless communication module is switched to dormant state;
The timer start unit is also used to: when third timer timing arrival, and in the third timer timing During when not receiving the wake up instruction, start the 4th timer;When the 4th timer timing reaches, starting 5th timer;
The switch unit is also used to: when the 4th timer timing reaches, by the work shape of the wireless communication module State is switched to standby mode;Before the 5th timer timing arrival, the wireless communication module receives the wake-up When instruction, the working condition of the wireless communication module is switched to normal operating conditions;When the 5th timer timing is arrived It reaches, and when the wireless communication module does not receive the wake up instruction in the 5th timer timing course, it will be described The working condition of wireless communication module is switched to dormant state;
The timer start unit is also used to: before the 5th timer timing arrival, the wireless communication module is connect When receiving the wake up instruction, the first timer is restarted;When the 5th timer timing reaches, and it is described wireless When communication module does not receive the wake up instruction in the 5th timer timing course, the 4th timing is restarted Device.
9. wireless communication module managing device according to claim 8, which is characterized in that
The indicating unit is specifically used for: the third timer timing arrival before, trigger the wireless communication module to There are the equipment of wireless telecommunications connection relationship to send suspend mode instruction message with the wireless communication module, wherein the suspend mode refers to Show message for indicating that the wireless communication module will in a dormant state to the equipment.
10. wireless communication module managing device according to any one of claims 7 to 9, which is characterized in that
The timer start unit is also used to: during the first timer timing, the wireless communication module is connect When receiving wireless telecommunications instruction, the first timer is restarted.
CN201510061104.8A 2015-02-05 2015-02-05 Wireless communication module management method and wireless communication module managing device Active CN105992317B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510061104.8A CN105992317B (en) 2015-02-05 2015-02-05 Wireless communication module management method and wireless communication module managing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510061104.8A CN105992317B (en) 2015-02-05 2015-02-05 Wireless communication module management method and wireless communication module managing device

Publications (2)

Publication Number Publication Date
CN105992317A CN105992317A (en) 2016-10-05
CN105992317B true CN105992317B (en) 2019-08-02

Family

ID=57035920

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510061104.8A Active CN105992317B (en) 2015-02-05 2015-02-05 Wireless communication module management method and wireless communication module managing device

Country Status (1)

Country Link
CN (1) CN105992317B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018133300A1 (en) * 2017-01-19 2018-07-26 华为技术有限公司 Method and device for establishing data communication
CN108900391A (en) * 2018-06-15 2018-11-27 广东美的制冷设备有限公司 Progress control method, Wi-Fi communication module, household appliance, system and storage medium
CN108810149A (en) * 2018-06-15 2018-11-13 广东美的制冷设备有限公司 Progress control method, Wi-Fi communication modules, household appliance, system and storage medium
CN108809777B (en) * 2018-06-15 2021-12-21 广东美的制冷设备有限公司 Operation control method, Wi-Fi communication module, home appliance device, system, and storage medium
WO2020103080A1 (en) * 2018-11-22 2020-05-28 深圳市欢太科技有限公司 Method for reducing power consumption, terminal device, and storage medium
CN113390172A (en) * 2020-03-11 2021-09-14 上海海立(集团)股份有限公司 Air conditioner control method and system, air conditioner and readable storage medium
CN116320147B (en) * 2023-02-17 2023-11-17 荣耀终端有限公司 Awakening method and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7979097B2 (en) * 2008-03-18 2011-07-12 Kyocera Corporation Power management for multimode wireless communication device
CN103546951B (en) * 2013-10-31 2018-04-10 惠州Tcl移动通信有限公司 Mobile device and its sleep management method
CN104023129A (en) * 2014-05-22 2014-09-03 小米科技有限责任公司 Power saving method and device thereof
CN104301976A (en) * 2014-11-13 2015-01-21 上海斐讯数据通信技术有限公司 Wireless router and working method thereof

Also Published As

Publication number Publication date
CN105992317A (en) 2016-10-05

Similar Documents

Publication Publication Date Title
CN105992317B (en) Wireless communication module management method and wireless communication module managing device
CN204241946U (en) A kind of control system using signal light control intelligent appliance based on high in the clouds Internet of Things
CN105093945B (en) The system and method that intelligent home device is safely controlled based on intelligent cloud
CN102547943B (en) Control method and device of task item execution
CN107491160A (en) A kind of application method of dual operating systems, storage device and intelligent terminal
CN102612214A (en) Light control system based on android smart cell phone
CN107787034A (en) Discontinuous receiving cycle collocation method, system, mobile terminal and storage medium
WO2014161400A1 (en) Processing method for network search and terminal
CN110191449A (en) Switching method, device, storage medium, processor and the system of communication mode
CN103118420A (en) Mobile hot pot waking-up handling method and device using the same
CN102681649A (en) Device and method for prolonging battery endurance abilities of all kinds of intelligent equipment
CN109285546A (en) Control system, method, storage medium and the electronic device of terminal
CN105681181A (en) Home gateway system suitable for smart home
CN111130105A (en) Electric equipment control method and device based on constant limit power and control equipment
CN109429313A (en) A kind of information interacting method, function device, terminal, server and storage medium
CN104579428B (en) A kind of PLC device automatic matching method
CN203984450U (en) Intelligent domestic gateway
CN104240475A (en) Smart home monitoring system and smart home monitoring method
CN112083669A (en) Household appliance, storage medium and method for controlling communication module of household appliance
CN104883613A (en) Method for awakening television through network terminal equipment
CN105099836A (en) BLE intelligent node control method and system
CN110177343A (en) Processing method, device, storage medium, processor and the system of broadcast frame
WO2023098055A1 (en) Low-power-consumption mode starting method and apparatus, storage medium, and electronic apparatus
CN102547933B (en) A kind of power-economizing method and terminal
CN109673044A (en) Communication control method, chip, the gateway apparatus of chip

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant