Summary of the invention
The manually opened experience of user of the prior art is poor in order to solve, power consumption is big and control problems such as dumb, and the embodiment of the invention provides a kind of method and wireless access point device of controlling wireless access point device.Said technical scheme is following:
A kind of method of controlling wireless access point device, said wireless access point device comprises: Wireless Fidelity module and wireless communication module, said method comprises:
Data Detection is carried out in radio-frequency channel in the said Wireless Fidelity module; When said Wireless Fidelity module is in mode of operation and said radio-frequency channel and in Preset Time, does not detect data, notify said wireless communication module to get into park mode, said Wireless Fidelity module gets into park mode.
A kind of wireless access point device, said wireless access point device comprises: Wireless Fidelity module and wireless communication module, said Wireless Fidelity module comprises the radio-frequency channel, said radio-frequency channel is used to carry out Data Detection,
Said Wireless Fidelity module is used for when being in mode of operation and said radio-frequency channel and in Preset Time, not detecting data, notifies said wireless communication module to get into park mode,
Said Wireless Fidelity module also is used for after notifying said wireless communication module to get into dormancy, and self gets into park mode.
The beneficial effect that the technical scheme that the embodiment of the invention provides is brought is:
Carry out Data Detection through the radio-frequency channel in the Wireless Fidelity module, when the radio-frequency channel did not detect data in Preset Time, the notice wireless communication module got into park mode; The Wireless Fidelity module gets into park mode, and whole process need not be closed the Wireless Fidelity module, does not therefore need the user manually opened; User experience is good; And power consumption can be further saved in wireless communication module and the equal dormancy of Wireless Fidelity module, and whole process is accomplished by wireless access point device control simultaneously; Need not the external device intervention, improved flexibility.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, will combine accompanying drawing that embodiment of the present invention is done to describe in detail further below.
Referring to Fig. 1 and Fig. 2; The embodiment of the invention provides a kind of method of controlling wireless access point device on the one hand; Wireless access point device comprises: Wireless Fidelity module and wireless communication module; The Wireless Fidelity module specifically is used for carrying out WIFI with other equipment communicates by letter, and wireless communication module specifically can be the 3G wireless module, and this method comprises:
101: Data Detection is carried out in the radio-frequency channel in the Wireless Fidelity module.
102a: when the Wireless Fidelity module was in mode of operation and radio-frequency channel and in Preset Time, does not detect data, the notice wireless communication module got into park mode, and the Wireless Fidelity module gets into park mode.
When the Wireless Fidelity module was in mode of operation and radio-frequency channel and in Preset Time, detects data, Wireless Fidelity module and wireless communication module kept mode of operation.
The Wireless Fidelity module is under the mode of operation, and data are detected in the radio-frequency channel, when detecting less than data, picks up counting, if in Preset Time, do not detect data, then notifies wireless communication module to get into park mode, and the Wireless Fidelity module gets into park mode; If the radio-frequency channel detects data in Preset Time, then timing zero clearing, the Wireless Fidelity module keeps mode of operation.
Concrete, when the radio-frequency channel did not detect data in Preset Time, Wireless Fidelity module notice wireless communication module earlier got into park mode, and the Wireless Fidelity module gets into park mode more then.
Wherein, the Wireless Fidelity module gets into park mode, specifically comprises: the Wireless Fidelity in the Wireless Fidelity module drives and abandons Frame, and blocks the transmission of control frame.The transmission of blocking control frame, also i.e. transmission control frame no longer.
102b: when the Wireless Fidelity module was in park mode and radio-frequency channel and detects data, wake on wireless fidelity module and wireless communication module made Wireless Fidelity module and wireless communication module get into mode of operation.
When the Wireless Fidelity module was in park mode, when the radio-frequency channel did not detect data, then Wireless Fidelity module and wireless communication module kept park mode.
When the Wireless Fidelity module is in park mode; Data are still detected in radio-frequency channel in the Wireless Fidelity module, detect data as if the radio-frequency channel, then wake on wireless fidelity module; Wireless Fidelity module wake on wireless communication module, Wireless Fidelity module and wireless communication module get into mode of operation; If the radio-frequency channel is detected less than data, then Wireless Fidelity module and wireless communication module still are in park mode.
Concrete, when the radio-frequency channel detected data, the Wireless Fidelity module was waken the functional module of other except that the radio-frequency channel in self up, for example Wireless Fidelity driving etc., Wireless Fidelity module wake on wireless communication module more then.
Wherein, the wake on wireless communication module specifically comprises:
The GPIO (General Purpose Input Output, universal input/output interface) that is provided with in the wireless communication module becomes high level, with the wake on wireless communication module.
Present embodiment carries out Data Detection through the radio-frequency channel in the Wireless Fidelity module, and when the radio-frequency channel did not detect data in Preset Time, the notice wireless communication module got into park mode; The Wireless Fidelity module gets into park mode, and whole process need not be closed the Wireless Fidelity module, does not therefore need the user manually opened; User experience is good; And power consumption can be further saved in wireless communication module and the equal dormancy of Wireless Fidelity module, and whole process is accomplished by wireless access point device control simultaneously; Need not the external device intervention, improved flexibility.And when the radio-frequency channel detected data, wake on wireless fidelity module and wireless communication module made Wireless Fidelity module and wireless communication module get into mode of operation, do not need the user manually opened, and user experience is good.
Referring to Fig. 3, the embodiment of the invention a kind of wireless access point device is provided on the other hand, wireless access point device comprises: Wireless Fidelity module 201 and wireless communication module 202,
Wireless Fidelity module 201 comprises radio-frequency channel 201a, and radio-frequency channel 201a is used to carry out Data Detection,
Wireless Fidelity module 201 is used for when being in mode of operation and radio-frequency channel and in Preset Time, not detecting data, and notice wireless communication module 202 gets into park modes,
Wireless Fidelity module 201 also is used for after notice wireless communication module 202 gets into dormancy, and self gets into park mode.
When Wireless Fidelity module 201 was in mode of operation and radio-frequency channel and in Preset Time, detects data, Wireless Fidelity module 201 kept mode of operation with wireless communication module 202.
Wireless Fidelity module 201 is under the mode of operation; Radio-frequency channel 201a detects data, when detecting less than data, picks up counting, if in Preset Time, do not detect data; Then notify wireless communication module 202 to get into park mode, Wireless Fidelity module 202 gets into park mode; If the radio-frequency channel detects data in Preset Time, then timing zero clearing, Wireless Fidelity module 201 keeps mode of operation.
Concrete, when radio-frequency channel 201a did not detect data in Preset Time, Wireless Fidelity module 201 notice wireless communication module 202 earlier got into park mode, and Wireless Fidelity module 201 gets into park mode more then.
Referring to Fig. 4, wherein, Wireless Fidelity module 201 comprises that also Wireless Fidelity drives 201b, is used for when Wireless Fidelity module 201 gets into park mode, abandoning Frame, and blocks the transmission of control frame.
When Wireless Fidelity module 201 also is used for being in park mode and radio-frequency channel 201a and detecting data, wake self and wireless communication module 202 up, make Wireless Fidelity module 201 and wireless communication module 202 get into mode of operations.
When Wireless Fidelity module 201 was in park mode, when radio-frequency channel 201a did not detect data, then Wireless Fidelity module 201 kept park mode with wireless communication module 202.
When Wireless Fidelity module 201 is in park mode; Radio-frequency channel 201a in the Wireless Fidelity module 201 still detects data; If the radio-frequency channel detects data; Wake on wireless fidelity module 201 then, Wireless Fidelity module 201 wake on wireless communication modules 202, Wireless Fidelity module 201 gets into mode of operations with wireless communication module 202; If radio-frequency channel 201a detects less than data, then Wireless Fidelity module 201 still is in park mode with wireless communication module 201.
Concrete, when radio-frequency channel 201a detected data, Wireless Fidelity module 201 was waken other functional modules except that the 201a of radio-frequency channel in self up, Wireless Fidelity driving 201b etc. for example, Wireless Fidelity module 201 wake on wireless communication module 202 more then.
Wherein, Wireless Fidelity module 201 is when wake on wireless communication module 202, and the universal input/output interface that specifically is used for being provided with wireless communication module 202 becomes high level, with wake on wireless communication module 202.
Present embodiment carries out Data Detection through the radio-frequency channel in the Wireless Fidelity module, and when the radio-frequency channel did not detect data in Preset Time, the notice wireless communication module got into park mode; The Wireless Fidelity module gets into park mode, and whole process need not be closed the Wireless Fidelity module, does not therefore need the user manually opened; User experience is good; And power consumption can be further saved in wireless communication module and the equal dormancy of Wireless Fidelity module, and whole process is accomplished by wireless access point device control simultaneously; Need not the external device intervention, improved flexibility.And when the radio-frequency channel detected data, wake on wireless fidelity module and wireless communication module made Wireless Fidelity module and wireless communication module get into mode of operation, do not need the user manually opened, and user experience is good.
The all or part of step that one of ordinary skill in the art will appreciate that realization the foregoing description can be accomplished through hardware; Also can instruct relevant hardware to accomplish through program; Described program can be stored in a kind of computer-readable recording medium; The above-mentioned storage medium of mentioning can be a read-only memory, disk or CD etc.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.