CN104900032B - Wireless device controls method and system - Google Patents
Wireless device controls method and system Download PDFInfo
- Publication number
- CN104900032B CN104900032B CN201510246163.2A CN201510246163A CN104900032B CN 104900032 B CN104900032 B CN 104900032B CN 201510246163 A CN201510246163 A CN 201510246163A CN 104900032 B CN104900032 B CN 104900032B
- Authority
- CN
- China
- Prior art keywords
- module
- main control
- control module
- wireless
- circuit
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 230000003993 interaction Effects 0.000 claims description 16
- 230000001960 triggered effect Effects 0.000 claims description 10
- 230000008569 process Effects 0.000 claims description 3
- 230000005611 electricity Effects 0.000 description 25
- 238000001514 detection method Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 4
- 238000004378 air conditioning Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 3
- 230000003321 amplification Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
- Transceivers (AREA)
Abstract
The present invention relates to a kind of wireless device controls method and system.Method includes the following steps: wireless module received data packet;Circuit between triggering main control module and power module is connected;The main control module executes corresponding task according to the received data packet of the wireless module;After the main control module has executed corresponding task, the circuit connection between the main control module and the power module is disconnected, into standby mode.Above-mentioned wireless device controls method and system enable wireless device ensuring main control module received data packet and while execute corresponding task under power supply state, and main control module and power module power off in stand-by mode, and more power saving reduces power consumption.
Description
Technical field
The present invention relates to radio-based electronic devices fields, more particularly to a kind of wireless device controls method and system.
Background technique
As the continuous development and mobile terminal of wireless technology are universal in life, occur in the market various
Wireless device, such as the radio houses product such as radio-control toy, intelligent wireless robot and wireless refrigerator, wireless air-conditioning.
User controls wireless device by the wireless signal that mobile terminal issues.Wireless device on the market, such as intelligent wireless
Toy generally all includes main control module, wireless module, power module and other functional modules.Main control module is mainly used for
The work of various other functional modules is controlled, wireless module is used to carry out data when data interaction with other wireless terminal devices
Send and receive work, power module electricity consumption required when then providing work for modules.
In traditional scheme, wireless device in the operational mode when, power module need to be such as master control of other modules
Required electricity consumption when module, wireless module, functional module etc. provide work, i.e., in the operational mode, power module and other each
Circuit between a module is conducting.And when wireless device is under standby mode, power module is still needed to other
Modules provide electricity consumption, i.e., in stand-by mode, the circuit of power module and other modules is on state, this meeting
Make wireless device that there is higher power dissipation under standby idle state.
Summary of the invention
Based on this, it is necessary to there are problems that higher power dissipation in stand-by mode wireless device, provide a kind of wireless
Apparatus control method can reduce power consumption.
In addition, there is a need there are problems that higher power dissipation in stand-by mode wireless device, provide a kind of wireless
Apparatus control system can reduce power consumption.
A kind of wireless device controls method, comprising the following steps:
Wireless module received data packet;
Circuit between triggering main control module and power module is connected;
The main control module executes corresponding task according to the received data packet of the wireless module;
After the main control module has executed corresponding task, disconnect between the main control module and the power module
Circuit connection, into standby mode.
The main control module executes corresponding according to the received data packet of the wireless module in one of the embodiments,
The step of task, specifically includes:
The main control module carries out initial work;
The main control module receives the data packet of wireless module transmitting, and parse the data packet be control command or
Data flow;
The circuit triggered between the control command or the corresponding functional module executed of data flow and the power module is led
It is logical;
The corresponding functional module executed executes the control command or data flow.
In one of the embodiments, in the step for disconnecting the circuit connection between the main control module and the power module
It is further comprising the steps of before rapid:
Disconnect the circuit connection between the corresponding functional module executed and the power module.
In one of the embodiments, the method also includes:
The wireless module detects whether received data packet in need every preset interval time;
If detecting received data packet in need, the wireless module receives and saves the data packet;
It detects whether the circuit between the main control module and the power module is connected, if being not turned on, passes through I/O mouthfuls
The circuit that the mode of order control triggers between the main control module and the power module is connected.
Circuit connection between the disconnection main control module and the power module in one of the embodiments,
The step of before, the method also includes:
It detects and carries out whether the time interrupting value of data interaction is more than pre- between the main control module and the wireless module
If time threshold;
If the time interrupting value is more than the preset time threshold, the main control module and the power module are disconnected
Between circuit connection.
A kind of wireless device controls system, including wireless module, main control module and power module, the wireless module difference
It is connected with the main control module and the power module;
The wireless module wraps for receiving data, and triggers the circuit between the main control module and the power module
Conducting;
The main control module is used to receive the data packet of the wireless module transmitting, and is executed accordingly according to the data packet
Task;
After the main control module has executed corresponding task, the main control module is disconnected between the power module
Circuit connection.
The system also includes other functional modules in one of the embodiments,;
The main control module is also used to carry out initial work, receives the data packet of the wireless module transmitting, and parses
The data packet is control command or data flow, and the triggering control command or the corresponding functional module executed of data flow with
Circuit conducting between the power module.
In one of the embodiments, the main control module disconnect and the power module between circuit connection it
Before, the circuit controlled between the corresponding functional module executed and the power module disconnects.
The wireless module is also used to detect whether in need connect every preset interval time in one of the embodiments,
The data packet of receipts receives and saves the data packet if detecting received data packet in need, and detects the master control mould
Whether the circuit between block and the power module is connected, when detecting the electricity between the main control module and the power module
When road does not turn on, the circuit between the main control module and the power module is triggered in such a way that I/O mouthfuls of orders control and is led
It is logical.
The main control module is also used to after having executed corresponding task in one of the embodiments, detection with it is described
Carry out whether the time interrupting value of data interaction is more than preset time threshold between wireless module, if the time interrupting value is more than
The preset time threshold then disconnects the circuit connection between the power module.
Above-mentioned wireless device controls method and system, the wireless module of wireless device trigger master control mould after having received data packet
Circuit between block and power module is connected, when main control module receives the data packet of wireless module transmitting and has executed corresponding appoint
After business, the circuit connection of main control module and power module is disconnected, i.e., cuts off its master control mould when wireless device is in non-working condition
The circuit connection of block and power module only retains wireless module and is connected with the circuit of power module, so that wireless device exists
Ensure that main control module can be in received data packet under power supply state and while execute corresponding task, master control mould in stand-by mode
Block and power module power off, and more power saving reduces power consumption.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of wireless device controls system in one embodiment;
Fig. 2 is the flow chart of wireless device controls method in one embodiment;
Fig. 3 is the process that main control module executes corresponding task according to the received data packet of wireless module in one embodiment
Figure;
Fig. 4 is the flow chart of wireless device controls method in another embodiment.
Specific embodiment
With reference to the accompanying drawing and technical solution of the present invention is described in detail in specific embodiment.
As shown in Figure 1, in one embodiment, a kind of wireless device controls system, including power module 110, wireless mould
Block 120, main control module 130 and other functional modules 140.Wireless module 120 respectively with main control module 130 and power module 110
It is connected.
Power module 110, for providing electric energy for the modules of system.
Specifically, power module 110 includes power circuit and power switch, and when power switch is opened, power module
110 provide electricity consumption for the modules of system.
Wireless module 120, is wrapped for receiving data, and the circuit triggered between main control module 130 and power module 110 is led
It is logical.
Specifically, wireless module 120 is generally serial ports WiFi (WIreless-Fidelity, Wireless Fidelity) module.Serial ports
WiFi module is using UART (Universal Asynchronous Receiver/Transmitter, universal asynchronous receiving-transmitting transmission
Device) interface, it is built-in with IEEE802.11 (Institute of Electrical and Electronics Engineers, electricity
Gas and Electronic Engineering Association) assist adopted stack and TCP/IP (Transmission Control Protocol/Internet
Protocol, transmission control protocol/Internet Protocol) adopted stack is assisted, it can be realized user's serial ports between wireless network
Conversion.Wireless module 120 can also be zigbee (ZigBee protocol) module, bluetooth module, infrared module other than WiFi module
Deng.
Wireless module 120 can receive the data packet that is sent by mobile radio terminal, wherein mobile radio terminal equipment can be
The equipment such as cell phone, tablet computer, PC (personal computer personal computer).It is equipped on wireless module 120 soft
The circuit that part program or hardware module can be used for triggering between main control module 130 and power module 110 is connected.
Main control module 130 executes accordingly for receiving the data packet of the transmitting of wireless module 120, and according to the data packet
Task.
Specifically, main control module 130 mainly includes main control MCU (Microcontroller Unit, micro-control unit),
It can receive and parse the data packet of the transmitting of wireless module 120, and control other functional modules 140 and carry out executing corresponding task.
It further include having hardware switch circuit between main control module 130 and power module 110, the hardware switch circuit is for controlling master control mould
Circuit connection between block 130 and power module 110.After main control module 130 has executed corresponding task, main control module 130
The circuit connection between power module 110 is disconnected, that is, closes hardware switch circuit between the two.
Other functional modules 140, for executing the operational order of the sending of main control module 130.
Specifically, other functional modules 140 are specific functional module in system, such as the sound with audio playing function
Frequency playing module, the voice dialogue module etc. with phonetic function.Main control module 130 issues operational order and controls corresponding function
Energy module works.It further include having hardware switch circuit between other functional modules 140 and power module 110, which opens
Powered-down road is used to control the circuit connection between other functional modules 140 and power module 110.
Wireless device in the present embodiment can be intelligent wireless toy, intelligent robot or intelligent wireless refrigerator, wireless
The radio houses product such as intelligent air condition.
Above-mentioned wireless device controls system, the wireless module of wireless device have received triggering main control module and electricity after data packet
Circuit conducting between source module, after main control module receives the data packet of wireless module transmitting and has executed corresponding task,
The circuit connection for disconnecting main control module and power module cuts off its main control module and electricity when that is, wireless device is in non-working condition
The circuit connection of source module only retains wireless module and is connected with the circuit of power module, so that wireless device is ensuring
Main control module can be in received data packet under power supply state and while execute corresponding task, main control module and electricity in stand-by mode
Source module power-off, more power saving reduce power consumption.
In another embodiment, in above-mentioned wireless device controls system, main control module 130 is also used to be initialized
Work receives the data packet that wireless module 120 transmits, and parsing the data packet is control command or data flow, and triggers this
Control command or the corresponding functional module 140 executed of data flow are connected with the circuit between power module 110.
Specifically, the initial work of main control module 130 includes to initialize the working condition of main control module 130, initially
Change network protocol stack, obtains the working condition etc. of wireless module 120.Main control module 130 receives nothing after completing initial work
The data packet that the transmitting of wire module 120 comes, and be control command or data flow by the resolve packet, then main control module 130 is controlled
It makes this control command or the corresponding functional module 140 of data flow executes the control command or data flow.When main control module 130 needs
Corresponding functional module 140 is controlled need to first control the functional module 140 and power module when executing control command or data flow
110 circuit conducting, required electricity consumption when ensuring that the functional module 140 has work.Main control module 130 uses I/O
(input/output, input/output port) mouth order control triggers the functional module 140 and the circuit of power module 110 is led
It is logical.
For example, control command or data flow that main control module 130 parses are to play the order of one section of wireless audio data,
It is then executing the control command or when data flow needs to use the audio playing module of wireless device, is just needing first to control the audio and broadcast
Circuit between amplification module and power module 110 is connected.Or the control command that parses of main control module 130 or data flow are
Voice dialogue then needs to use voice dialogue module when executing the control command or data flow, just needs first to control the voice pair
Circuit is connected between words module and power module 110.
After the corresponding functional module 140 executed has executed control command or data flow, the functional module 140 and power supply mould
Circuit between block 110 first tends to remain on.After main control module 130 has executed corresponding task, exist in main control module 130
Before disconnecting the circuit connection between power module 110, main control module 130 first control corresponding execution functional module 140 and
Circuit between power module 110 disconnects.Then main control module 130 disconnects the company of the circuit between power module 110 again
It connects, main control module 130 enters standby mode.
Wireless module 120 is also used to detect whether received data packet in need every preset interval time, if detecting
Received data packet in need, then receive and save the data packet, and detects between main control module 130 and power module 110
Whether circuit is connected, and when detecting that the circuit between main control module 130 and power module 110 does not turn on, is ordered by I/O mouthfuls
The circuit that the mode of control triggers between main control module 130 and power module 110 is connected.
Specifically, wireless module 120 is in timing receipt state, preset interval time can according to circumstances be set, example
Such as it is set as 10 milliseconds, 100 milliseconds, 1 second.Wireless module 120 receives to be gone out by mobile radio terminal every the preset interval time
The data packet of submitting.The information such as intended recipient address, order, parameter are carried in data packet.Wireless module 120 judges data packet
In intended recipient address whether be itself, if so, indicating that the data packet to need received data packet, receives and saves this
Data packet needs received data packet if being not detected, is detected again after preset interval time.When wireless module 120
After receiving data packet, main control module 130 is detected by the software program or hardware module that were originally mounted on wireless module 120
Whether the circuit between power module 110 is connected, if not turning on, opens master control mould in such a way that I/O mouthfuls of orders control
Hardware switch circuit between block 130 and power module 110, the circuit triggered between main control module 130 and power module 110 are led
It is logical.By preset interval time received data packet, resource consumption can be saved, saves electric energy.
Main control module 130 is also used to after having executed corresponding task, and data friendship is carried out between detection and wireless module 120
Whether mutual time interrupting value is more than preset time threshold, if the time interrupting value is more than preset time threshold, is disconnected and electricity
Circuit connection between source module 110.
Specifically, carrying out the time interrupting value of data interaction between the detection of main control module 130 and wireless module 120, wherein
Time interrupting value refers to that main control module 130 and wireless module 120 do not carry out the time of data interaction.Preset time threshold can root
It is set, such as is set as 3 minutes, 6 minutes, 9 minutes etc. according to situation.If main control module 130 detect with wireless module 120 it
Between carry out data interaction time interrupting value be more than the preset time threshold, i.e. main control module 130 and wireless module 120 at this moment
Between do not carry out any data interaction in section, then main control module 130 will be deemed as needing currently without operational order or task
It executes, the hardware switch circuit between main control module 130 and power module 110 is closed into control, the stopping of power module 110 is given
Main control module 130 provides electricity consumption, and main control module 130 enters standby mode.
Above-mentioned wireless device controls system, the wireless module of wireless device have received triggering main control module and electricity after data packet
Circuit conducting between source module, after main control module receives the data packet of wireless module transmitting and has executed corresponding task,
And the time interrupting value that data interaction is carried out between main control module and wireless module is more than preset time threshold, then disconnects master control mould
The circuit connection of block and power module, i.e. wireless device cut off the electricity of its main control module and power module when being in non-working condition
Road connection only retains wireless module and is connected with the circuit of power module, so that wireless device is ensuring main control module energy
The received data packet and while execute corresponding task under power supply state, main control module and power module are disconnected in stand-by mode
Electricity, more power saving reduce power consumption.
As shown in Fig. 2, in one embodiment, a kind of wireless device controls method, comprising the following steps:
Step S210, wireless module received data packet.
Specifically, the wireless module in wireless device receives the data packet sent by other mobile radio terminal equipment.Its
In, wireless device can be the wireless family such as intelligent wireless toy, intelligent robot or intelligent wireless refrigerator, intelligent wireless air-conditioning
Product is occupied, mobile radio terminal equipment can be the equipment such as cell phone, tablet computer, PC.Wireless module is generally serial ports WiFi
Module.Serial ports WiFi module uses UART interface, is built-in with IEEE802.11 and adopted stack and TCP/IP is assisted to assist adopted stack, can be realized use
Family serial ports is to the conversion between wireless network.Wireless module can also be zigbee module, bluetooth mould other than WiFi module
Block, infrared module etc..The information such as intended recipient address, order, parameter are carried in data packet.When wireless module judges data packet
In intended recipient address be itself when, receive and save this data packet.
Step S220, the circuit triggered between main control module and power module are connected.
Specifically, being detected after wireless module has received data packet by the software program or hardware module originally installed
Whether the circuit of main control module and power module is connected, if not turning on, opens master control mould in such a way that I/O mouthfuls of orders control
Hardware switch circuit between block and power module, the circuit triggered between main control module and power module are connected.
Step S230, main control module execute corresponding task according to the received data packet of wireless module.
Specifically, main control module mainly includes main control MCU, the data packet transmitted by wireless module is can receive and parsed,
And it controls other functional modules and carries out executing corresponding task.
Step S240 disconnects the circuit connection between main control module and power module, into standby mode.
Specifically, including hardware switch circuit between main control module and power module, the hardware switch circuit is for controlling
Circuit connection between main control module and power module processed.After main control module has executed corresponding task, main control module control
The hardware switch circuit between power module is closed, the circuit connection between power module is disconnected, power module is no longer
Main control module provides electricity consumption, and wireless device enters standby mode.
Above-mentioned wireless device controls method, the wireless module of wireless device have received triggering main control module and electricity after data packet
Circuit conducting between source module, after main control module receives the data packet of wireless module transmitting and has executed corresponding task,
The circuit connection for disconnecting main control module and power module cuts off its main control module and electricity when that is, wireless device is in non-working condition
The circuit connection of source module only retains wireless module and is connected with the circuit of power module, so that wireless device is ensuring
Main control module can be in received data packet under power supply state and while execute corresponding task, main control module and electricity in stand-by mode
Source module power-off, more power saving reduce power consumption.
Fig. 3 is the process that main control module executes corresponding task according to the received data packet of wireless module in one embodiment
Figure.As shown in figure 3, specifically packet is rapid for the step of main control module executes corresponding task according to the received data packet of wireless module:
Step S302, main control module carry out initial work.
Specifically, the initial work of main control module includes to initialize the working condition of main control module, network is initialized
Protocol stack obtains the working condition etc. of wireless module.
Step S304, main control module receive the data packet of wireless module transmitting, and parsing data packet is control command or number
According to stream.
Specifically, receiving the data packet that wireless module transmitting comes, and by the data after main control module completes initial work
Packet analyzing is control command or data flow, and then main control module controls other functional modules and executes the control command or data flow.
Step S306, the circuit triggered between control command or the corresponding functional module executed of data flow and power module are led
It is logical.
Specifically, needing elder generation when main control module needs to control corresponding functional module to execute control command or data flow
It controls the functional module to be connected with the circuit of power module, required electricity consumption when ensuring that the functional module has work.Master control
Module opens the hardware switch circuit between the functional module and power module by the way of I/O mouthfuls of order control, and triggering should
Circuit between functional module and power module is connected.
For example, control command or data flow that main control module parses are to play the order of one section of wireless audio data, then
The audio playing module for needing to use wireless device when executing the control command or data flow just needs first to control audio broadcasting
Circuit between module and power module is connected.Or the control command that parses of main control module or data flow are voice dialogue,
The voice dialogue module for then needing to use wireless device when executing the control command or data flow, just needs first to control the voice pair
Circuit between words module and power module is connected.
Step S308, the corresponding functional module executed execute control command or data flow.
Specifically, the functional module executes after the circuit between the corresponding functional module executed and power module is connected
The operational order that main control module issues executes control command or data flow by resolve packet.
Above-mentioned wireless device controls method, wireless device also ensure master control while realizing standby mode low-power-consumption
Module in received data packet under power supply state and can execute completion task.
As shown in figure 4, in another embodiment, a kind of wireless device controls method, comprising the following steps:
Step S410, wireless module detects whether received data packet in need every preset interval time, if so, holding
Row step S420, if it is not, then continuing to execute step S410.
Specifically, the wireless module in wireless device is received every preset interval time by other mobile radio terminal equipment
The data packet of transmission.Wherein, wireless device can be intelligent wireless toy, intelligent robot or intelligent wireless refrigerator, wireless intelligence
The radio houses products such as energy air-conditioning, mobile radio terminal equipment can be the equipment such as cell phone, tablet computer, PC.Wireless module
Generally serial ports WiFi module.Serial ports WiFi module uses UART interface, is built-in with IEEE802.11 and assists adopted stack and TCP/IP association
Adopted stack can be realized user's serial ports to the conversion between wireless network.Wireless module can also be other than WiFi module
Zigbee module, bluetooth module, infrared module etc..
Wireless module is in timing receipt state, carries out detecting whether received data in need every preset interval time
Packet.Preset interval time can according to circumstances be set, such as be set as 10 milliseconds, 100 milliseconds, 1 second etc..It is carried in data packet
The information such as intended recipient address, order, parameter.Wireless module judges whether the intended recipient address in data packet is itself, i.e.,
Received data packet in need is detected whether, if so, receiving and saving this data packet;If it is not, then after preset interval time
It is detected again.By preset interval time received data packet, resource consumption can be saved, saves electric energy.
Step S420, wireless module receive and save data packet.
Specifically, if receiving and saving this data packet when the destination address in wireless module detection data packet is oneself.
Step S430, then whether the circuit between main control module and power module is connected for inspection.If so, thening follow the steps
S450, if it is not, thening follow the steps S440.
Specifically, after wireless module receives and saves data packet, wireless module pass through the software program originally installed or
Whether the circuit of hardware module detection main control module and power module is connected.
Step S440 triggers the circuit between main control module and power module in such a way that I/O mouthfuls of orders control and is connected.
If then wireless module is by using I/O specifically, detecting that the circuit of main control module and power module does not turn on
The mode of mouth order control opens the hardware switch circuit between main control module and power module, triggering main control module and power supply mould
The circuit of block is connected.
Step S450, main control module execute corresponding task according to the received data packet of wireless module.
Specifically, main control module mainly includes main control MCU, the data packet transmitted by wireless module is can receive and parsed,
And it controls other functional modules and carries out executing corresponding task.
Step S460 is detected and is carried out whether the time interrupting value of data interaction is more than pre- between main control module and wireless module
If time threshold, if so, S470 is thened follow the steps, if it is not, then returning to step S450.
Specifically, carrying out the time interrupting value of data interaction between main control module detection and wireless module, wherein in the time
Disconnected value refers to that main control module and wireless module do not carry out the time of data interaction.Preset time threshold can according to circumstances be set
It is fixed, such as be set as 3 minutes, 6 minutes, 9 minutes etc..
Step S470 disconnects the circuit connection between main control module and power module.
Specifically, if main control module detects that the time interrupting value for carrying out data interaction between wireless module is more than that this is pre-
If time threshold, i.e. main control module and the wireless module data interaction any without progress within the time period, then main control module
It will be deemed as needing to be implemented currently without operational order or task, control be closed hard between main control module and power module
Part switching circuit, power module stop providing electricity consumption to main control module, and main control module enters standby mode.
Before step S470, the above method is further comprised the steps of:
Disconnect the circuit connection between the corresponding functional module executed and power module.
Specifically, after the corresponding functional module executed has executed control command or data flow, the functional module and power supply
Circuit between module first tends to remain on.After main control module has executed corresponding task, disconnected and electricity in main control module
Before circuit connection between source module, main control module first controls the circuit between the functional module and power module of corresponding execution
It disconnects.Then main control module disconnects the circuit connection between power module again.
Above-mentioned wireless device controls method, the wireless module of wireless device have received triggering main control module and electricity after data packet
Circuit conducting between source module, after main control module receives the data packet of wireless module transmitting and has executed corresponding task,
And the time interrupting value that data interaction is carried out between main control module and wireless module is more than preset time threshold, then disconnects master control mould
The circuit connection of block and power module, i.e. wireless device cut off the electricity of its main control module and power module when being in non-working condition
Road connection only retains wireless module and is connected with the circuit of power module, so that wireless device is ensuring main control module energy
The received data packet and while execute corresponding task under power supply state, main control module and power module are disconnected in stand-by mode
Electricity, more power saving reduce power consumption.
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention
Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
Claims (10)
1. a kind of wireless device controls method, which comprises the following steps:
Wireless module received data packet;
Circuit between triggering main control module and power module is connected;
The main control module executes corresponding task according to the received data packet of the wireless module;
After the main control module has executed corresponding task, the circuit between the main control module and the power module is disconnected
Connection, into standby mode;
Retain the wireless module to be connected with the circuit of the power module;
The main control module executes the process of corresponding task according to the received data packet of the wireless module, further includes:
It is control command or data flow that the main control module, which parses the data packet, triggers the control command or data flow is corresponding
Circuit between the functional module of execution and power module is connected.
2. wireless device controls method according to claim 1, which is characterized in that the main control module is according to described wireless
The step of received data packet of module executes corresponding task specifically includes:
The main control module carries out initial work;
The main control module receives the data packet of the wireless module transmitting, and parsing the data packet is control command or data
Stream;
It triggers the control command or the corresponding functional module executed of data flow is connected with the circuit between the power module;
The corresponding functional module executed executes the control command or data flow.
3. wireless device controls method according to claim 2, which is characterized in that disconnect the main control module with it is described
It is further comprising the steps of before the step of circuit connection between power module:
Disconnect the circuit connection between the corresponding functional module executed and the power module.
4. wireless device controls method according to claim 1, which is characterized in that the method also includes:
The wireless module detects whether received data packet in need every preset interval time;
If detecting received data packet in need, the wireless module receives and saves the data packet;
It detects whether the circuit between the main control module and the power module is connected, if being not turned on, is ordered by I/O mouthfuls
The circuit that the mode of control triggers between the main control module and the power module is connected.
5. wireless device controls method according to claim 1, which is characterized in that it is described disconnect the main control module with
Before the step of circuit connection between the power module, the method also includes:
When whether the time interrupting value for detecting progress data interaction between the main control module and the wireless module is more than default
Between threshold value;
If the time interrupting value is more than the preset time threshold, disconnect between the main control module and the power module
Circuit connection.
6. a kind of wireless device controls system, which is characterized in that including wireless module, main control module and power module, the nothing
Wire module is connected with the main control module and the power module respectively;
The wireless module wraps for receiving data, and the circuit triggered between the main control module and the power module is led
It is logical;
The main control module is used to receive the data packet of the wireless module transmitting, and executes corresponding appoint according to the data packet
Business;The system also includes other function module, it is control command or number that the main control module, which is also used to parse the data packet,
According to stream, the circuit triggered between the control command or the corresponding functional module executed of data flow and power module is connected;
After the main control module has executed corresponding task, the main control module disconnects the circuit between the power module
Connection;Retain the wireless module to be connected with the circuit of the power module.
7. wireless device controls system according to claim 6, which is characterized in that the main control module is also used to carry out just
Beginning chemical industry is made.
8. wireless device controls system according to claim 7, which is characterized in that the main control module disconnect with it is described
Before circuit connection between power module, the circuit between the corresponding functional module executed and the power module is controlled
It disconnects.
9. wireless device controls system according to claim 6, which is characterized in that the wireless module is also used to every pre-
If interval time detects whether received data packet in need, if detecting received data packet in need, receive and save
The data packet, and detect whether the circuit between the main control module and the power module is connected, when detecting the master
When circuit between control module and the power module does not turn on, the master control mould is triggered in such a way that I/O mouthfuls of orders control
Circuit between block and the power module is connected.
10. wireless device controls system according to claim 6, which is characterized in that the main control module is also used to holding
It has gone after corresponding task, has detected the time interrupting value of data interaction is carried out between the wireless module when whether being more than default
Between threshold value, if the time interrupting value be more than the preset time threshold, disconnect and the power module between circuit connect
It connects.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510246163.2A CN104900032B (en) | 2015-05-14 | 2015-05-14 | Wireless device controls method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510246163.2A CN104900032B (en) | 2015-05-14 | 2015-05-14 | Wireless device controls method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104900032A CN104900032A (en) | 2015-09-09 |
CN104900032B true CN104900032B (en) | 2018-12-21 |
Family
ID=54032673
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510246163.2A Active CN104900032B (en) | 2015-05-14 | 2015-05-14 | Wireless device controls method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104900032B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114286431B (en) * | 2021-12-02 | 2024-03-22 | 海尔优家智能科技(北京)有限公司 | Method and device for starting low-power mode, storage medium and electronic device |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8181046B2 (en) * | 2008-10-29 | 2012-05-15 | Sandisk Il Ltd. | Transparent self-hibernation of non-volatile memory system |
CN201570054U (en) * | 2010-01-15 | 2010-09-01 | 詹宜巨 | Low-power-consumption RFID temperature sensing tag |
CN102523402B (en) * | 2011-12-29 | 2014-11-26 | 深圳Tcl新技术有限公司 | Intelligent television remote controller and power-saving method thereof |
US9609600B2 (en) * | 2013-06-21 | 2017-03-28 | Micron Electronics LLC | Wireless communication system with enhanced power management |
CN203313417U (en) * | 2013-06-27 | 2013-11-27 | 深圳市双赢伟业科技股份有限公司 | Wireless router |
CN203824687U (en) * | 2014-03-25 | 2014-09-10 | 河海大学 | Wake-up wireless sensor network node module for air pressure monitoring |
CN204309535U (en) * | 2014-10-09 | 2015-05-06 | 深圳市云图电装系统有限公司 | Tire condition monitoring device and tire |
-
2015
- 2015-05-14 CN CN201510246163.2A patent/CN104900032B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104900032A (en) | 2015-09-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN202309994U (en) | Digital television terminal and digital television standby system | |
WO2022083620A1 (en) | Signal transmission method and apparatus, and terminal device, smart device, and electronic device | |
CN107295615A (en) | A kind of method of wake on wireless equipment | |
CN103209009B (en) | Server wireless input device adopting near field communication (NFC) matching and working method thereof | |
US20160156478A1 (en) | Control method, device and optical transceiver | |
CN104900032B (en) | Wireless device controls method and system | |
CN101252733B (en) | Communication circuit and communication method between mobile terminal and module | |
CN204206482U (en) | Radio reception device and system | |
CN105099836A (en) | BLE intelligent node control method and system | |
CN102801903A (en) | Web camera with radio frequency gateway function | |
CN207264552U (en) | A kind of Portable safety protection intelligent alarm device and system | |
CN105490949A (en) | Bluetooth 4.0-based intelligent router and control method thereof | |
CN101860983A (en) | Method, system and mobile terminal for entering power saving mode under long connection mode | |
CN205049873U (en) | Smart home systems based on wireless sensor network | |
CN103068018A (en) | Low-power dissipation data-passthrough method with supper-high speed | |
CN204808569U (en) | Remote control equipment | |
CN103079195B (en) | Wireless device and network address report method thereof | |
CN203242142U (en) | Wired and wireless double-network alarm system | |
CN100459772C (en) | Dual-mode wireless controller based on GSM and CDMA short message | |
CN102118045A (en) | Power supply management system and method | |
JP2001285320A (en) | Lan interface equipment | |
CN101141739A (en) | Method to transmit data between television functional module and mobile functional module and corresponding terminal | |
CN112788440B (en) | A data transmission method and device | |
CN111447270A (en) | Data forwarding middleware for Internet of things | |
CN204131613U (en) | The active and standby emission system controller of a kind of 1+1 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 518057 A, B, C, D, E, F1, 8 Building, Financial Services Technology Innovation Base, No. 8 Kefa Road, Nanshan District, Shenzhen City, Guangdong Province Applicant after: Shenzhen jiangbolong electronic Limited by Share Ltd Address before: 518057 A, B, C, D, E, F1, 8 Building, Financial Services Technology Innovation Base, No. 8 Kefa Road, Nanshan District, Shenzhen City, Guangdong Province Applicant before: Shenzhen jiangbolong Electronic Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |