CN110177343A - Processing method, device, storage medium, processor and the system of broadcast frame - Google Patents
Processing method, device, storage medium, processor and the system of broadcast frame Download PDFInfo
- Publication number
- CN110177343A CN110177343A CN201910459730.0A CN201910459730A CN110177343A CN 110177343 A CN110177343 A CN 110177343A CN 201910459730 A CN201910459730 A CN 201910459730A CN 110177343 A CN110177343 A CN 110177343A
- Authority
- CN
- China
- Prior art keywords
- communication apparatus
- communication
- broadcast frame
- preset duration
- mode
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C17/00—Arrangements for transmitting signals characterised by the use of a wireless electrical link
- G08C17/02—Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/06—Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/70—Services for machine-to-machine communication [M2M] or machine type communication [MTC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0212—Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
- H04W52/0216—Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave using a pre-established activity schedule, e.g. traffic indication frame
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/175—Controlling the light source by remote control
- H05B47/19—Controlling the light source by remote control via wireless transmission
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C2201/00—Transmission systems of control signals via wireless link
- G08C2201/10—Power supply of remote control devices
- G08C2201/12—Power saving techniques of remote control or controlled devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/04—Terminal devices adapted for relaying to or from another terminal or user
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
The invention discloses a kind of processing method of broadcast frame, device, storage medium, processor and systems.This method comprises: determining that the first communication apparatus switches to the second communication mode from the first communication mode;Response acts on the control operation of third communication apparatus, determines control instruction to be sent;It repeats to send broadcast frame to the first communication apparatus in preset duration, wherein carry control instruction in broadcast frame.The present invention solve in the related technology provided by electronic equipment during carrying out communication interaction with the BLE controller that is adapted to, if BLE controller sends control instruction to electronic equipment by the way of broadcast, it then can largely increase drop probabilities, so that the technical issues of electronic equipment can not normally receive control instruction.
Description
Technical field
The present invention relates to the communications fields, in particular to a kind of processing method of broadcast frame, device, storage medium, place
Manage device and system.
Background technique
Wireless Fidelity (WiFi) is the Wireless Local Area network technology for being created in 802.11 standard of IEEE, by wireless
Electric wave is networked, and is usually arranged as wireless router.It can be used in the effective range that the electric wave of the wireless router covers
WiFi connection type is networked.
Bluetooth Low Energy (BLE) is a kind of personal area network technology.Compared with classical bluetooth, BLE is keeping equivalent communication
Power consumption and cost are reduced while range significantly.
Currently, being usually provided simultaneously with WiFi component and BLE component on electronic equipment provided by the related technology, configure
Mode generally includes following two:
Mode one, WiFi component and BLE component are respectively arranged at two different chips, and each chip respectively corresponds one
A antenna, works independently.
In this mode, WiFi component and BLE component are without cooperating, not interfereing with each other, and therefore, communication performance is good.
However, the defect of which is: higher using the hardware cost of double-chip structure.
Mode two, WiFi component and BLE component are integrated on the same chip, share same root antenna.
In this mode, WiFi component and BLE component are alternately worked by the way of time-sharing multiplex, therefore, the party
The hardware cost of single integrated chip structure used by formula is lower.However, the defect of which is: due to WiFi component and
BLE component is alternately worked by the way of time-sharing multiplex, high to the Collaborative Control requirement of WiFi component and BLE component,
Otherwise it will cause higher packet loss.
In addition, electronic equipment (such as: household electrical appliance used in smart home) provided by the related technology with it is suitable
During the BLE controller (such as: the remote controler being adapted to household electrical appliance) matched carries out communication interaction, if BLE controller
Control instruction is sent to electronic equipment by the way of broadcast, then can largely increase drop probabilities, so that electric
Sub- equipment can not normally receive control instruction.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The present invention at least partly embodiment provide the processing method of broadcast frame a kind of, device, storage medium, processor and
System, at least solve in the related technology provided by electronic equipment in the mistake for carrying out communication interaction with the BLE controller that is adapted to
Cheng Zhong can largely increase and lose if BLE controller sends control instruction to electronic equipment by the way of broadcast
Packet probability, so that the technical issues of electronic equipment can not normally receive control instruction.
A wherein embodiment according to the present invention, additionally provides a kind of processing method of broadcast frame, comprising:
Determine that the first communication apparatus switches to the second communication mode from the first communication mode, wherein the first communication apparatus exists
It is communicated under first communication mode by the second communication apparatus and extraneous communication apparatus, the second communication apparatus is wireless for setting up
Local area network, the first communication apparatus are carrying out point-to- point communication between third communication apparatus under the second communication mode;Response effect
It is operated in the control of third communication apparatus, determines control instruction to be sent;It is repeated in preset duration to the first communication apparatus
Send broadcast frame, wherein control instruction is carried in broadcast frame.
Optionally, preset duration is greater than actual beacon interval.
Optionally, in preset duration to the first communication apparatus repeat send broadcast frame include: in preset duration, via
Default channel repeats to send broadcast frame to the first communication apparatus, wherein chooses from multiple alternative channels and by the in default channel
One communication apparatus is negotiated to determine in advance with third communication apparatus.
Optionally, after repeating transmission broadcast frame to the first communication apparatus in preset duration, further includes: if default
The feedback message from the first communication apparatus is received in duration, then stops hair before the finish time for reaching preset duration
Send broadcast frame, wherein feedback message is for indicating the first communication apparatus successful execution control instruction.
Optionally, after repeating transmission broadcast frame to the first communication apparatus in preset duration, further includes: if default
The finish time of duration does not receive the feedback message from the first communication apparatus when reaching yet, then stops sending broadcast frame simultaneously
Into dormant state, wherein feedback message is for indicating the first communication apparatus successful execution control instruction.
Optionally, it in preset duration, repeats to send broadcast frame to include: pre- to the first communication apparatus via default channel
If in duration, repeating to send broadcast frame to the first communication apparatus at regular intervals via default channel.
A wherein embodiment according to the present invention, additionally provides a kind of processing unit of broadcast frame, comprising:
Determining module, for determining that the first communication apparatus switches to the second communication mode from the first communication mode, wherein the
One communication apparatus is communicated under the first communication mode by the second communication apparatus and extraneous communication apparatus, the second communication apparatus
For setting up WLAN, the first communication apparatus is carrying out point-to-point lead between third communication apparatus under the second communication mode
News, and response act on the control operation of third communication apparatus, determine control instruction to be sent;Processing module is used for
It repeats to send broadcast frame to the first communication apparatus in preset duration, wherein carry control instruction in broadcast frame.
Optionally, preset duration is greater than actual beacon interval.
Optionally, processing module, for repeating to send extensively to the first communication apparatus via default channel in preset duration
Broadcast frame, wherein choose from multiple alternative channels and negotiated in advance by the first communication apparatus and third communication apparatus in default channel
It determines.
Optionally, processing module, if being also used to receive the feedback from the first communication apparatus in preset duration
Message then stopped sending broadcast frame before the finish time for reaching preset duration, wherein feedback message is for indicating that first is logical
Interrogate equipment successful execution control instruction.
Optionally, processing module, if be also used to preset duration finish time reach when do not receive yet from
The feedback message of first communication apparatus then stops sending broadcast frame and enters dormant state, wherein feedback message is for indicating the
One communication apparatus successful execution control instruction.
Optionally, processing module is also used in preset duration, via default channel at regular intervals to
One communication apparatus repeats to send broadcast frame.
A wherein embodiment according to the present invention additionally provides a kind of storage medium, and storage medium includes the program of storage,
In, in program operation, equipment where control storage medium executes the processing method of the broadcast frame of above-mentioned any one.
A wherein embodiment according to the present invention additionally provides a kind of processor, and processor is for running program, wherein journey
The processing method of the broadcast frame of above-mentioned any one is executed when sort run.
A wherein embodiment according to the present invention, additionally provides a kind of switching system of communication mode, comprising: the first communication is set
Standby, the second communication apparatus and third communication apparatus, wherein third communication apparatus includes the processing unit of above-mentioned broadcast frame.
In the present invention at least partly embodiment, second is switched to from the first communication mode using determining first communication apparatus
Communication mode, first communication apparatus are led under the first communication mode by the second communication apparatus and extraneous communication apparatus
News, the second communication apparatus for setting up WLAN, the first communication apparatus under the second communication mode with third communication apparatus
Between carry out point-to- point communication mode, by respond act on third communication apparatus control operate, determine control to be sent
System instruction, and repeat to send the broadcast frame for carrying control instruction to the first communication apparatus in preset duration, reach logical
It crosses and repeats to send broadcast frame to improve the first communication apparatus successful reception control instruction to the first communication apparatus in preset duration
Probability purpose, thus realize improve electronic equipment communication stability (the especially stability of BLE), reduce electronics set
The technical effect of standby drop probabilities during carrying out communication interaction with the BLE controller being adapted to, and then solve related skill
Electronic equipment provided in art is during carrying out communication interaction with the BLE controller being adapted to, if BLE controller uses
The mode of broadcast sends control instruction to electronic equipment, then can largely increase drop probabilities, so that electronics is set
Standby the technical issues of can not normally receiving control instruction.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the wherein structural schematic diagram of the switching system of the communication mode of an embodiment according to the present invention;
Fig. 2 is the wherein flow chart of the switching method of the communication mode of an embodiment according to the present invention;
Fig. 3 is the WiFi component of a wherein alternative embodiment according to the present invention and the timing control schematic diagram of BLE component;
Fig. 4 is the wherein flow chart of the processing method of the broadcast frame of an embodiment according to the present invention;
Fig. 5 is the wherein work flow diagram of the switching system of the communication mode of an alternative embodiment according to the present invention;
Fig. 6 is the wherein structural block diagram of the switching device of the communication mode of an embodiment according to the present invention;
Fig. 7 is the wherein structural block diagram of the switching device of the communication mode of an alternative embodiment according to the present invention;
Fig. 8 is the wherein structural block diagram of the processing unit of the broadcast frame of an embodiment according to the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
A wherein embodiment according to the present invention, provides a kind of embodiment of the switching system of communication mode.The communication mould
The switching system of formula includes: the first communication apparatus, the second communication apparatus and third communication apparatus.It is arranged on first communication apparatus
There is communication module group, wherein the communication module group includes: the first communication part and the second communication part.Second communication apparatus is used for group
Build WLAN.First communication apparatus under the first communication mode by the second communication apparatus and extraneous communication apparatus (such as:
The mobile devices control terminal such as smart phone, cloud server) it is communicated.The second communication part on first communication apparatus is
Point-to- point communication is carried out under two communication modes between third communication apparatus.That is, the first communication apparatus is under the second communication mode
Wireless personal area network is formed with third communication apparatus.
In one alternate embodiment, Fig. 1 is the wherein switching system of the communication mode of an embodiment according to the present invention
Structural schematic diagram, as shown in Figure 1, the first communication apparatus is work station (STATION), the second communication apparatus is WiFi access point
(AP), third communication apparatus is BLE controller.First communication mode is WiFi operating mode, and the second communication mode is BLE work
Mode.First communication part included in communication module group on STATION is WiFi component, the communication module group on STATION
Included in the second communication part be BLE component.
By taking smart home application scenarios as an example, above-mentioned work station can further be controlling intelligent household appliances, such as: intelligence electricity
Depending on, intelligent refrigerator, intelligent desk lamp, intelligent air condition etc..Above-mentioned WiFi AP can further be wireless router.Above-mentioned BLE control
Device can further be the remote controler of controlling intelligent household appliances.
By taking the first communication apparatus is controlling intelligent household appliances as an example, controlling intelligent household appliances may include one or more processors
(processor can include but is not limited to central processing unit (CPU), graphics processor (GPU), Digital Signal Processing (DSP) chip,
The processing unit of microprocessor (MCU) or programmable logic device (FPGA) etc.) and memory for storing data.It is optional
Ground, above-mentioned controlling intelligent household appliances can also include the communication module group and input-output equipment for communication function.This field is general
Logical technical staff is appreciated that above structure description is only to illustrate, and does not cause to limit to the structure of above-mentioned controlling intelligent household appliances
It is fixed.More perhaps less component is described than above structure or is had and above-mentioned knot for example, controlling intelligent household appliances may also include
Structure describes different configurations.
Memory can be used for storing computer program, for example, the software program and module of application software, such as present invention are real
Apply the corresponding computer program of switching method of the communication mode in example, the calculating that processor is stored in memory by operation
Machine program realizes the switching method of above-mentioned communication mode thereby executing various function application and data processing.Memory
May include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory,
Or other non-volatile solid state memories.In some instances, memory can further comprise remotely setting relative to processor
The memory set, these remote memories can pass through network connection to controlling intelligent household appliances.The example of above-mentioned network include but
It is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
WiFi component in communication module group includes radio frequency (Radio Frequency, referred to as RF) module, is used to pass through
Wireless mode is communicated with internet.
Similarly, by taking third communication apparatus is the remote controler of controlling intelligent household appliances as an example, remote controler may include one or more
(processor can include but is not limited to central processing unit (CPU), graphics processor (GPU), Digital Signal Processing to a processor
(DSP) processing unit of chip, microprocessor (MCU) or programmable logic device (FPGA) etc.) and depositing for storing data
Reservoir.Optionally, above-mentioned remote controler can also include the communication part and input-output equipment for point-to-point communication.Ability
Domain those of ordinary skill is appreciated that above structure description is only to illustrate, and does not cause to limit to the structure of above-mentioned remote controler.
More perhaps less component is described than above structure or is had with above structure description not for example, remote controler may also include
Same configuration.
Memory can be used for storing computer program, for example, the software program and module of application software, such as present invention are real
Apply the corresponding computer program of processing method of the broadcast frame in example, the computer that processor is stored in memory by operation
Program realizes the processing method of above-mentioned broadcast frame thereby executing various function application and data processing.Memory can wrap
Include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory or
Other non-volatile solid state memories.In some instances, memory can further comprise remotely located relative to processor
Memory, these remote memories can pass through network connection to remote controler.The example of above-mentioned network includes but is not limited to interconnect
Net, intranet, local area network, mobile radio communication and combinations thereof.
A wherein embodiment according to the present invention, provides a kind of embodiment of the switching method of communication mode, needs to illustrate
, step shown in the flowchart of the accompanying drawings can hold in a computer system such as a set of computer executable instructions
Row, although also, logical order is shown in flow charts, and it in some cases, can be to be different from sequence herein
Execute shown or described step.
A kind of switching method of communication mode for running on above-mentioned work station is provided in the present embodiment, and Fig. 2 is basis
The flow chart of the present invention wherein switching method of the communication mode of an embodiment, as shown in Fig. 2, this method comprises the following steps:
Step S20 wakes up the first communication part on the first communication apparatus according to actual beacon interval, wherein first is logical
It interrogates equipment to be communicated under the first communication mode by the second communication apparatus and extraneous communication apparatus, the second communication apparatus is used for
Set up WLAN;
Step S21 listens to the beacon frame from the second communication apparatus by the first communication part, wherein in beacon frame
At least carry the first instruction information, the first instruction information, which is used to indicate on the second communication apparatus whether to be stored with, is sent to the
The downlink data of one communication apparatus;
Step S22 is switched between the first communication mode and the second communication mode according to the first instruction information,
In, the second communication part on the first communication apparatus is carrying out point-to-point lead between third communication apparatus under the second communication mode
News.
It through the above steps, can be using the first communication group waken up according to actual beacon interval on the first communication apparatus
Part, first communication apparatus are communicated under the first communication mode by the second communication apparatus and extraneous communication apparatus, this
Two communication apparatus are used to set up the mode of WLAN, listen to the letter from the second communication apparatus by the first communication part
Frame is marked, at least carries the first instruction information in the beacon frame, which, which is used to indicate on the second communication apparatus, is
It is no to be stored with the downlink data for being sent to the first communication apparatus, and according to the first instruction information in the first communication mode and the
It is switched between two communication modes, the second communication part on first communication apparatus is logical with third under the second communication mode
Point-to- point communication is carried out between news equipment, has reached the first communication part of optimization (such as: WiFi component) and the second communication part
The purpose of (such as: BLE component) collaborative work logic improves the communication stability of electronic equipment (especially to realize
The stability of WiFi), it reduces the operation complexity of the Collaborative Control of WiFi component and BLE component and is caused by time-sharing multiplex
Packet loss technical effect, and then solve in the related technology provided by electronic equipment with the BLE controller that is adapted into
During row communication interaction, if BLE controller using broadcast by the way of to electronic equipment send control instruction, can compared with
Increase drop probabilities in big degree, so that the technical issues of electronic equipment can not normally receive control instruction.
The process alternately to be worked by the way of time-sharing multiplex in view of the relevant technologies in WiFi component and BLE component
In, if WiFi component is in running order, BLE component is in a dormant state.Similarly, if BLE component is in work shape
State, then WiFi component is in a dormant state.Therefore, higher packet loss will certainly be caused using the working method of time-sharing multiplex,
The problem of additionally easily causing broken string.For being divided into 100ms between above-mentioned actual beacon, according to used by the relevant technologies
WiFi component and BLE component time-sharing multiplex mode, in the time range of first 100ms, WiFi component is in running order,
And BLE component is in a dormant state.In the time range of second 100ms, BLE component is in running order, and WiFi group
Part is in a dormant state.It is and so on alternately performed, details are not described herein again.
For this purpose, being assisted using the battery saving mode (power save mode) of IEEE 802.11 by WiFi component low-power consumption
View so that the WiFi component operation time is shortened as far as possible, and will distribute to the use of BLE component the most of the time.
IEEE 802.11power save mode is the WiFi low power consumption protocol an of standard.Under such an arrangement, WiFi
STATION, into battery saving mode, closes RF module in the case where no data transmit-receive.STATION according to AP beacon interval
(beacon interval) is devices may wake up periodically, and the beacon frame of AP is listened to this.The beacon frame of AP is substantially AP weeks
The broadcast frame that phase property is sent, wherein the information carried in the broadcast frame can include but is not limited to: the title of AP (such as:
Server identification (Service Set Identifier, referred to as SSID)), cipher mode, whether there is on AP and the AP is closed
The data cached label (flag) of each STATION of connection, such as: Traffic Indication Map (Traffic indication map,
Referred to as TIM) in flag value (being equivalent to the first instruction information).
By taking the STATION1 in Fig. 1 as an example, STATION 1 is according to the WiFi group waken up on STATION1 at interval of 100ms
Part.The WiFi component under WiFi operating mode by WiFi AP and extraneous communication apparatus (such as: the movement such as smart phone is set
Standby control terminal, cloud server) it is communicated.STATION 1 can be listened to by WiFi component from WiFi AP's
Beacon frame.At least carry the first instruction information in the beacon frame, the first instruction information be used to indicate on WiFi AP whether
It is stored with the downlink data for being sent to STATION 1.STATION 1 according to first instruction information WiFi operating mode with
It is switched between BLE operating mode.BLE component on STATION 1 under BLE operating mode between BLE controller 1 into
Row point-to- point communication.
Fig. 3 is the WiFi component of a wherein alternative embodiment according to the present invention and the timing control schematic diagram of BLE component, such as
Shown in Fig. 3, it can be called out at interval of 100ms by the WiFi component on IEEE 802.11power save mode, STATION
It wakes up primary, receives beacon frame using the WiFi component being arranged on STATION, then immediately enter dormant state again, reached with this
The purpose of power consumption is saved to WiFi component.Simultaneously as the downlink data for being sent to STATION can be cached on AP, therefore,
The downlink data for being sent to STATION can't be lost.In addition, the technology by utilizing IEEE 802.11power save mode
Principle is switched to BLE component operation mode, therefore ensures that electronic equipment exists on the opportunity for the RF module for closing WiFi component
90% or more time is only in WiFi operating mode all in BLE operating mode in very short time range.
Optionally, in step S22, according to first instruction information between the first communication mode and the second communication mode into
Row switching may include step performed below:
Step S220 is determined according to the first instruction information and not stored on the second communication apparatus be sent to the first communication and set
Standby downlink data;
Step S221, the first communication part of control enter dormant state, and control the second communication part and enter wake-up states,
So that the first communication apparatus is in the second communication mode.
Downlink data due to that will be sent to STATION can be buffered in AP in advance, when not stored in AP
Have the STATION it is data cached when, can be arranged in beacon frame represent it is data cached not in the presence of the STATION
TIM mark.TIM uses bitmap (Bitmap) structure, to indicate whether be cached on AP and the associated each STATION of the AP
Downlink data.Each STATION checks the flag value in Bitmap on corresponding position by the Tim field in beacon frame
To determine whether be cached with corresponding downlink data on AP.
Table 1 is to indicate whether the optional example for being cached with the downlink data for being sent to STATION using Bitmap in TIM, such as
Shown in table 1:
Table 1
STATION NO. | Beacon | Bitmap |
STATION 1 | TIM flag 1 | 0 |
STATION 2 | TIM flag 2 | 1 |
STATION 3 | TIM flag 3 | 1 |
STATION 4 | TIM flag 4 | 0 |
…… | …… | …… |
STATION n-1 | TIM flag n-1 | 1 |
STATION n | TIM flag n | 0 |
Bitmap in TIM usually can be set to the matrix (M be positive integer with N) of M row × N column.Each TIM
Flag respectively corresponds different STATION.It is exemplified by Table 1, the TIM flag of Tim field in the corresponding beacon frame of STATION 1
The TIM flag 2 of Tim field, STATION3 correspond to Tim field in beacon frame in 1, STATION 2 corresponding beacon frame
TIM flag 3 ... and so on, until STATION n corresponds to the TIM flag n of Tim field in beacon frame.If TIM
The value of flag is 1, then it represents that the corresponding downlink data of the STATION is cached on AP;If the value of TIM flag is 0,
Then indicating uncached on AP has the corresponding downlink data of the STATION.It is uncached on AP when being determined according to the value of TIM flag
When having the corresponding downlink data of the STATION, control WiFi component enters dormant state, and controls BLE component and enter wake-up shape
State, so that STATION is in BLE operating mode.Such as: when determining on AP uncached there is this according to the value 0 of TIM flag 1
When 1 corresponding downlink data of STATION, STATION 1 will control WiFi component and enter dormant state, and control BLE component
Into wake-up states, so that STATION 1 is in BLE operating mode.
Optionally, in step S22, according to first instruction information between the first communication mode and the second communication mode into
Row switching may include step performed below:
Step S222 indicates that information determines to be stored on the second communication apparatus according to first and is sent to the first communication apparatus
Downlink data;
Step S223, the first communication part of control stay awake for, and control the second communication part and enter dormant state,
So that the first communication apparatus is in the first communication mode.
Still as shown in table 1, the corresponding lower line number of the STATION is cached on AP when determining according to the value of TIM flag
According to when, control WiFi component stays awake for, and controls BLE component and enters dormant state, so that STATION is in WiFi work
Operation mode.Such as: when according to the 2 corresponding downlink data of STATION is cached on the determining AP of the value 1 of TIM flag 2,
STATION 2 will control WiFi component and stay awake for, and controls BLE component and enter dormant state, so that STATION 2
In WiFi operating mode.
Optionally, it in step S22, is carried out between the first communication mode and the second communication mode according to the first instruction information
Can also include step performed below after switching:
Step S23 sends the first empty data frame to the second communication apparatus, wherein carry second in the first empty data frame
Indicate that information, second indication information are identified as the first numerical value, the first numerical value is used to indicate the first communication part and is in wake-up shape
State;
Step S24 receives the downlink data from the second communication apparatus by the first communication part;
Step S25 executes corresponding control according to downlink data and operates.
Empty data (Nulldata) frame is responsible for the power down mode change information of STATION being transmitted to AP.STA (is equivalent to
Second indication information) be a field in Nulldata frame, for by the power down mode change notification of STATION to AP.Table 2
It is as shown in table 2 for the optional example changed using the power down mode of STA instruction STATION:
Table 2
STATION NO. | Nulldata No. | STA |
STATION 1 | Nulldata 1 | 0- indicates work |
STATION 2 | Nulldata 2 | 1- indicates suspend mode |
STATION 3 | Nulldata 3 | 1 |
STATION 4 | Nulldata 4 | 0 |
…… | …… | …… |
STATION n-1 | Nulldata n-1 | 1 |
STATION n | Nulldata n | 0 |
By taking STATION 1 as an example, firstly, STATION 1 sends Nulldata 1 to AP, wherein the Nulldata 1 takes
The value of the STA field of band is 0, indicates that STATION 1 is in WiFi operating mode.Secondly, STATION 1 passes through WiFi component
Receive the downlink data from AP.Then STATION 1 executes corresponding control according to downlink data and operates.Below in conjunction with
Multiple application scenarios execute corresponding control operation according to downlink data to STATION 1 and are illustrated:
Application scenarios one, hypothesis STATION 1 are intelligent electric lamp, and downlink data is to pass through intelligence set by cloud server
Can electric light need 6 points of control information turned on light automatically on time at night, then STATION 1 will at night 6 according to downlink data
Point is turned on light automatically on time.
Application scenarios two, hypothesis STATION 1 are intelligent electric lamp, and downlink data is to pass through other smart home device (examples
Such as intelligent anti-theft door) user that is detected opens the door and enters the room, and intelligent electric lamp needs the control information turned on light automatically immediately, then
STATION 1 will turn on light according to downlink data as user's illumination automatically immediately.
Application scenarios three, hypothesis STATION 1 are intelligent electric lamp, and downlink data is that user passes through set by smart phone
The brightness regulation of intelligent electric lamp needs to enter the control information of reading model or theater mode, then STATION 1 is according to lower line number
According to lamplight brightness will be adjusted according to reading model or theater mode.
It optionally, can also include following hold after sending the first empty data frame to the second communication apparatus in step S23
Row step:
Step S26, in the case where determining that downlink data receives, the first communication part of control enters dormant state,
And control the second communication part and enter wake-up states, so that the first communication apparatus is in the second communication mode;
Step S27 sends the second empty data frame to the second communication apparatus, wherein carry second in the second empty data frame
Indicate that information, second indication information are identified as second value, second value is used to indicate the first communication part and is in suspend mode shape
State.
By taking STATION2 as an example, in the case where STATION2 determines that downlink data receives, STATION2 control
WiFi component enters dormant state, and controls BLE component and enter wake-up states, so that STATION2 is in BLE operating mode.So
Afterwards, STATION 2 sends Nulldata 2 to AP, wherein the value for the STA field that the Nulldata 2 is carried is 1, is indicated
STATION 2 is in BLE operating mode.
Optionally, the above method can also include step performed below:
Step S28 listens to the broadcast frame from third communication apparatus by the second communication part, wherein in broadcast frame
Carry control instruction;
Step S29 executes corresponding control according to control instruction and operates.
While WiFi component keeps connecting, the BLE component on STATION is without establishing connection and synchronous situation
Under, it still can listen to the broadcast frame from BLE controller.Control instruction is carried in the broadcast frame.STATION will root
Corresponding control operation is executed according to control instruction.
Assuming that STATION is intelligent electric lamp, BLE controller be with the matched remote controler of the intelligent electric lamp, then by the way that this is distant
Control device can send the control instruction turned on light to intelligent electric lamp, and then intelligent electric lamp will execute corresponding open according to control instruction
Lamp operation.Similarly, the control instruction turned off the light can also be sent to intelligent electric lamp by the remote controler, then intelligent electric lamp will
Corresponding operation of turning off the light can be executed according to control instruction.
Optionally, in step S28, listening to broadcast frame by the second communication part may include step performed below:
Step S281 listens to broadcast frame via default channel by the second communication part, wherein default channel is from multiple
It is chosen in alternative channel and negotiates to determine in advance by the first communication apparatus and third communication apparatus.
The broadcasting process of BLE component may work in multiple and different channels (channel), therefore, in order to improve originally
BLE component receives the success rate of data, the broadcasting process of BLE component can be fixed therein any channel.As for reality
It is fixed on which channel, then needs to negotiate to determine in advance with corresponding BLE controller by each STATION, so as to each
STATION listens to the broadcast frame from corresponding BLE controller via fixation channel.
Optionally, updated beacon interval is also carried in beacon frame, in step S21, is detectd by the first communication part
Can also include step performed below after listening beacon frame:
Actual beacon interval is adjusted to updated beacon interval by step S30, and again according to updated beacon interval
The first communication part of secondary wake-up.
In general, AP according to beacon interval (such as: 100ms) send a beacon frame.And this is pre-
If duration can carry out customized adjustment by user, updated beacon interval is obtained.Then, AP can be carried in beacon frame
Beacon frame is simultaneously sent to STATION by the updated beacon interval, so that STATION is called out according to updated beacon interval
Awake WiFi component.
A wherein embodiment according to the present invention, additionally provides a kind of embodiment of the processing method of broadcast frame, needs to illustrate
, step shown in the flowchart of the accompanying drawings can hold in a computer system such as a set of computer executable instructions
Row, although also, logical order is shown in flow charts, and it in some cases, can be to be different from sequence herein
Execute shown or described step.
A kind of processing method of broadcast frame for running on above-mentioned BLE controller is provided in the present embodiment, and Fig. 4 is basis
The flow chart of the present invention wherein processing method of the broadcast frame of an embodiment, as shown in figure 4, this method comprises the following steps:
Step S40 determines that the first communication apparatus switches to the second communication mode from the first communication mode, wherein first is logical
It interrogates equipment to be communicated under the first communication mode by the second communication apparatus and extraneous communication apparatus, the second communication apparatus is used for
WLAN is set up, the first communication apparatus is carrying out point-to- point communication between third communication apparatus under the second communication mode;
Step S41, response act on the control operation of third communication apparatus, determine control instruction to be sent;
Step S42 repeats to send broadcast frame to the first communication apparatus in preset duration, wherein carry in broadcast frame
Control instruction.
In order to reduce the drop probabilities of BLE component, retransmission mechanism is increased newly in BLE controller end, is therefore ensured that when default
The control instruction of BLE controller can be repeatedly retransmitted in length, then the probability that STATION receives BLE control instruction will be significant
It improves.For the control operation of BLE controller, can both be completed by physical control keyboard that physical button forms, it can also be with
The virtual controlling keyboard that is made of virtual key on touching display screen is completed, can also with physics touch panel display screen
To complete.Pressing operation is executed in physical button when BLE controller detects user, alternatively, executing on touching display screen
Touch control operation, alternatively, in the touch control operation executed on touch panel, determine BLE control instruction to be sent (such as: open
Lamp instruction).Then, BLE control instruction multiplicating can be sent to STATION in preset duration by BLE controller.
In one alternate embodiment, above-mentioned preset duration is greater than actual beacon interval.
Control instruction is sent in order to ensure that STATION is successfully received BLE controller, when can control lasting repeating transmission
Between be greater than actual beacon interval (such as: 100ms).Certainly, which can also be set as small according to practical application scene
In or equal to 100ms.
Optionally, in step S42, in preset duration to the first communication apparatus repeat send broadcast frame may include with
Lower execution step:
Step S420 repeats to send broadcast frame to the first communication apparatus via default channel in preset duration, wherein
It is chosen from multiple alternative channels and negotiates to determine in advance by the first communication apparatus and third communication apparatus in default channel.
The broadcasting process of BLE component may work in multiple and different channel originally, therefore, in order to improve BLE component
The success rate for receiving data, can be fixed therein any channel for the broadcasting process of BLE component.As for being actually fixed on
Which channel then needs to negotiate to determine in advance with corresponding BLE controller by each STATION, so as to each STATION
The broadcast frame from corresponding BLE controller is listened to via fixation channel.
In one alternate embodiment, BLE controller is in preset duration, can be according to via above-mentioned fixed channel
Equal time interval repeats to send broadcast frame to corresponding STATION.For example, when preset duration is 100ms, BLE control
Device repeats to send 10 broadcast frames to corresponding STATION with the time interval of 10ms.Certainly, BLE controller can not also be pressed
The time interval of photograph etc. repeats to send broadcast frame to corresponding STATION.For example, when preset duration is 100ms, BLE control
Device processed repeats to send 4 broadcast frames respectively to corresponding STATION in 10ms, 30ms, 60ms, 100ms.
Optionally, it repeats after sending broadcast frame, can also be wrapped to the first communication apparatus in step S42, preset duration
Include step performed below:
Step S43, it is pre- reaching if receiving the feedback message from the first communication apparatus in preset duration
If stopping sending broadcast frame before the finish time of duration, wherein feedback message is for indicating that the first communication apparatus is successfully held
Row control instruction.
In order to enable the first communication apparatus can receive control instruction entrained in broadcast frame accurately and in time, the
Three communication apparatus repeat to send broadcast frame to the first communication apparatus in preset duration.In order to be effectively saved or reduce by
The power consumption of three communication apparatus can add feedback mechanism on the first communication apparatus.
In one alternate embodiment, feedback message can be used to indicate that the successful execution control of the first communication apparatus refers to
It enables.If the first communication apparatus receives control instruction from third communication apparatus and the first communication apparatus successful execution should
Control instruction, then the first communication apparatus can send feedback message to third communication apparatus, so that third communication apparatus can be true
Determine the first communication apparatus successful execution control instruction.Third communication apparatus is wide to the first communication apparatus without repeating as a result,
Frame is broadcast, so as to be effectively saved or reduce the power consumption of third communication apparatus.
In one alternate embodiment, feedback message can be also used for indicating that the first communication apparatus fails and executes control
Instruction.If the first communication apparatus receives control instruction from third communication apparatus but the first communication apparatus fails
The control instruction is executed, then the first communication apparatus still can send feedback message to third communication apparatus, so as to third communication
Equipment can determine that the first communication apparatus fails and execute control instruction.Third communication apparatus can be targetedly as a result,
It repeats to the first communication apparatus broadcast frame.
Optionally, it repeats after sending broadcast frame, can also be wrapped to the first communication apparatus in step S42, preset duration
Include step performed below:
Step S44, if do not received yet when reaching the finish time of preset duration from the first communication apparatus
Feedback message then stops sending broadcast frame and enters dormant state, wherein feedback message is for indicating that the first communication apparatus has become
Function executes control instruction.
In one alternate embodiment, feedback message can be used to indicate that the successful execution control of the first communication apparatus refers to
It enables.If third communication apparatus is not received yet when reaching the finish time of preset duration from the anti-of the first communication apparatus
Present message, then third communication apparatus can stop repeating to send broadcast frame and enter dormant state (i.e. low power consumpting state), thus
It can be effectively saved or reduce the power consumption of third communication apparatus.
Below in conjunction with overall workflow of the optional embodiment shown in fig. 5 to the switching system of communication mode do into
One step it is described in detail.Fig. 5 is the wherein workflow of the switching system of the communication mode of an alternative embodiment according to the present invention
Figure.As shown in figure 5, the process may include following processing step:
Step S502, WiFi AP sends beacon frame to STATION, wherein is carried between beacon in the beacon frame
Every, TIM field, ssid field.In TIM field the value of TIM flag corresponding with the STATION be 0, indicate STATION into
Enter BLE operating mode.
Step S504, STATION receive the control instruction of turning on light from BLE controller.
Step S506, WiFi AP sends beacon frame to STATION, wherein is carried between beacon in the beacon frame
Every, TIM field, ssid field.In TIM field the value of TIM flag corresponding with the STATION be 1, indicate STATION into
Enter WiFi operating mode.
Step S508, STATION send Nulldata frame to WiFi AP, wherein carry STA in the Nulldata frame
Field.The attribute value of STA field is 0, and STATION is entered WiFi operating mode and notifies to give WiFi AP, so that WiFi AP will
What is stored in WiFi AP is sent to STATION with the associated content of STATION.
Step S510, WiFi AP is sent to STATION with the associated content of STATION for what is stored in WiFi AP.
Step S512, WiFi AP is emptied what is stored in WiFi AP with the associated content of STATION.
Step S514, STATION send Nulldata frame to WiFi AP, wherein carry STA in the Nulldata frame
Field.The attribute value of STA field is 1, and STATION is entered BLE operating mode and notifies to give WiFi AP.
Step S516, WiFi AP sends beacon frame to STATION, wherein is carried between beacon in the beacon frame
Every, TIM field, ssid field.In TIM field the value of TIM flag corresponding with the STATION be 0, indicate STATION into
Enter BLE operating mode.
Step S518, STATION receive from BLE controller other control instructions (such as: adjust lamplight brightness,
It turns off the light).
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much
In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing
The part that technology contributes can be embodied in the form of software products, which is stored in a storage
In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate
Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Additionally provide a kind of switching device of communication mode in the present embodiment, the device for realizing above-described embodiment and
Preferred embodiment, the descriptions that have already been made will not be repeated.As used below, predetermined function may be implemented in term " module "
The combination of the software and/or hardware of energy.It is hard although device described in following embodiment is preferably realized with software
The realization of the combination of part or software and hardware is also that may and be contemplated.
Fig. 6 is the wherein structural block diagram of the switching device of the communication mode of an embodiment according to the present invention, as shown in fig. 6,
The device includes: wake-up module 100, for waking up the first communication part on the first communication apparatus according to actual beacon interval,
Wherein, the first communication apparatus is communicated under the first communication mode by the second communication apparatus and extraneous communication apparatus, and second
Communication apparatus is for setting up WLAN;Module 102 is listened to, for listening to by the first communication part from the second communication
The beacon frame of equipment, wherein the first instruction information is at least carried in beacon frame, the first instruction information is used to indicate the second communication
Whether the downlink data that is sent to first communication apparatus is stored in equipment;Switching module 104, for being believed according to the first instruction
Breath switches between the first communication mode and the second communication mode, wherein the second communication part on the first communication apparatus
Point-to- point communication is being carried out under second communication mode between third communication apparatus.
Optionally, switching module 104 includes: the first determination unit (not shown), for according to the first instruction information
Determining not stored on the second communication apparatus has the downlink data for being sent to the first communication apparatus;First control unit is (in figure not
Show), enter dormant state for controlling the first communication part, and control the second communication part and enter wake-up states, so that the
One communication apparatus is in the second communication mode.
Optionally, switching module 104 includes: the second determination unit (not shown), for according to the first instruction information
Determine the downlink data for being stored on the second communication apparatus and being sent to the first communication apparatus;Second control unit (is not shown in figure
Out), it is stayed awake for for controlling the first communication part, and controls the second communication part and enter dormant state, so that first
Communication apparatus is in the first communication mode.
Optionally, Fig. 7 is the wherein structural block diagram of the switching device of the communication mode of an alternative embodiment according to the present invention,
As shown in fig. 7, the device except include all modules shown in fig. 6 in addition to, above-mentioned apparatus further include: the first sending module 106 is used for
The first empty data frame is sent to the second communication apparatus, wherein second indication information, the second instruction are carried in the first empty data frame
Information is identified as the first numerical value, and the first numerical value is used to indicate the first communication part and is in wake-up states;Receiving module 108 is used
In the downlink data by the reception of the first communication part from the second communication apparatus;Execution module 110, for according to lower line number
It is operated according to corresponding control is executed.
Optionally, as shown in fig. 7, above-mentioned apparatus further include: control module 112, for determining that downlink data received
In the case where finishing, the first communication part of control enters dormant state, and controls the second communication part and enter wake-up states, so that the
One communication apparatus is in the second communication mode;Second sending module 114, for sending the second empty data to the second communication apparatus
Frame, wherein second indication information is carried in the second empty data frame, second indication information is identified as second value, the second number
Value is used to indicate the first communication part in a dormant state.
Optionally, module 102 is listened to, is also used to listen to the broadcast from third communication apparatus by the second communication part
Frame, wherein control instruction is carried in broadcast frame;Corresponding control operation is executed according to control instruction.
Optionally, module 102 is listened to, for listening to broadcast frame via default channel by the second communication part, wherein
It is chosen from multiple alternative channels and negotiates to determine in advance by the first communication apparatus and third communication apparatus in default channel.
Optionally, updated beacon interval is also carried in beacon frame, as shown in fig. 7, above-mentioned apparatus further include: processing
Module 116 for actual beacon interval to be adjusted to updated beacon interval, and is called out again according to updated beacon interval
Awake first communication part.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong
Following manner realization is crossed, but not limited to this: above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with any
Combined form is located in different processors.
A kind of processing unit of broadcast frame is additionally provided in the present embodiment, and the device is for realizing above-described embodiment and excellent
Embodiment is selected, the descriptions that have already been made will not be repeated.As used below, predetermined function may be implemented in term " module "
Software and/or hardware combination.Although device described in following embodiment is preferably realized with software, hardware,
Or the realization of the combination of software and hardware is also that may and be contemplated.
Fig. 8 is the wherein structural block diagram of the processing unit of the broadcast frame of an embodiment according to the present invention, as shown in figure 8, should
Device comprises determining that module 200, for determining that the first communication apparatus switches to the second communication mode from the first communication mode,
In, the first communication apparatus is communicated under the first communication mode by the second communication apparatus and extraneous communication apparatus, and second is logical
For setting up WLAN, the first communication apparatus is carrying out a little between third communication apparatus news equipment under the second communication mode
The control operation of third communication apparatus is acted on to a communication, and response, determines control instruction to be sent;Processing module
202, broadcast frame is sent for repeating in preset duration to the first communication apparatus, wherein control instruction is carried in broadcast frame.
Optionally, preset duration is greater than actual beacon interval.
Optionally, processing module 202, for repeating to send out to the first communication apparatus via default channel in preset duration
Send broadcast frame, wherein default channel is chosen and preparatory by the first communication apparatus and third communication apparatus from multiple alternative channels
Negotiate to determine.
Optionally, processing module 202, if being also used to be received in preset duration from the anti-of the first communication apparatus
Message is presented, then stops sending broadcast frame before the finish time for reaching preset duration, wherein feedback message is for indicating first
Communication apparatus successful execution control instruction.
Optionally, processing module 202 come from if being also used to not receive yet when reaching the finish time of preset duration
In the feedback message of the first communication apparatus, then stops sending broadcast frame and enter dormant state, wherein feedback message is for indicating
First communication apparatus successful execution control instruction.
Optionally, processing module 202 are also used in preset duration, at regular intervals via default channel
It repeats to send broadcast frame to the first communication apparatus.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong
Following manner realization is crossed, but not limited to this: above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with any
Combined form is located in different processors.
The embodiments of the present invention also provide a kind of storage medium, computer program is stored in the storage medium, wherein
The computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps
Calculation machine program:
S1 wakes up the first communication part on the first communication apparatus according to actual beacon interval, wherein the first communication apparatus
It is communicated under the first communication mode by the second communication apparatus and extraneous communication apparatus, the second communication apparatus is for setting up nothing
Line local area network;
S2 listens to the beacon frame from the second communication apparatus by the first communication part, wherein at least take in beacon frame
With the first instruction information, whether the first instruction information, which is used to indicate to be stored on the second communication apparatus, is sent to the first communication
The downlink data of equipment;
S3 is switched between the first communication mode and the second communication mode, wherein first according to the first instruction information
The second communication part on communication apparatus is carrying out point-to- point communication between third communication apparatus under the second communication mode.
Optionally, storage medium is also configured to store the computer program for executing following steps:
S1 determines that the first communication apparatus switches to the second communication mode from the first communication mode, wherein the first communication apparatus
It is communicated under the first communication mode by the second communication apparatus and extraneous communication apparatus, the second communication apparatus is for setting up nothing
Line local area network, the first communication apparatus are carrying out point-to- point communication between third communication apparatus under the second communication mode;
S2, response act on the control operation of third communication apparatus, determine control instruction to be sent;
S3 repeats to send broadcast frame to the first communication apparatus in preset duration, wherein carry control in broadcast frame and refer to
It enables.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (Read-
Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hard
The various media that can store computer program such as disk, magnetic or disk.
The embodiments of the present invention also provide a kind of processor, which is arranged to run computer program to execute
Step in any of the above-described embodiment of the method.
Optionally, in the present embodiment, above-mentioned processor can be set to execute following steps by computer program:
S1 wakes up the first communication part on the first communication apparatus according to actual beacon interval, wherein the first communication apparatus
It is communicated under the first communication mode by the second communication apparatus and extraneous communication apparatus, the second communication apparatus is for setting up nothing
Line local area network;
S2 listens to the beacon frame from the second communication apparatus by the first communication part, wherein at least take in beacon frame
With the first instruction information, whether the first instruction information, which is used to indicate to be stored on the second communication apparatus, is sent to the first communication
The downlink data of equipment;
S3 is switched between the first communication mode and the second communication mode, wherein first according to the first instruction information
The second communication part on communication apparatus is carrying out point-to- point communication between third communication apparatus under the second communication mode.
Optionally, in the present embodiment, above-mentioned processor may be also configured to execute following step by computer program
It is rapid:
S1 determines that the first communication apparatus switches to the second communication mode from the first communication mode, wherein the first communication apparatus
It is communicated under the first communication mode by the second communication apparatus and extraneous communication apparatus, the second communication apparatus is for setting up nothing
Line local area network, the first communication apparatus are carrying out point-to- point communication between third communication apparatus under the second communication mode;
S2, response act on the control operation of third communication apparatus, determine control instruction to be sent;
S3 repeats to send broadcast frame to the first communication apparatus in preset duration, wherein carry control in broadcast frame and refer to
It enables.
Optionally, the specific example in the present embodiment can be with reference to described in above-described embodiment and optional embodiment
Example, details are not described herein for the present embodiment.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others
Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module
It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code
Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (10)
1. a kind of processing method of broadcast frame characterized by comprising
Determine that the first communication apparatus switches to the second communication mode from the first communication mode, wherein first communication apparatus exists
It is communicated under first communication mode by the second communication apparatus and extraneous communication apparatus, second communication apparatus is for setting up
WLAN, first communication apparatus carry out between third communication apparatus point-to-point logical under second communication mode
News;
Response acts on the control operation of third communication apparatus, determines control instruction to be sent;
It repeats to send broadcast frame to the first communication apparatus in preset duration, wherein carry the control in the broadcast frame
Instruction.
2. the method according to claim 1, wherein the preset duration is greater than actual beacon interval.
3. the method according to claim 1, wherein to the first communication apparatus weight in the preset duration
Recurrence send the broadcast frame to include:
In the preset duration, repeat to send the broadcast frame to first communication apparatus via default channel, wherein institute
Default channel is stated to choose from multiple alternative channels and negotiated in advance by first communication apparatus and the third communication apparatus
It determines.
4. the method according to claim 1, wherein to the first communication apparatus weight in the preset duration
Recurrence is sent after the broadcast frame, further includes:
It is described pre- reaching if receiving the feedback message from first communication apparatus in the preset duration
If stopping sending the broadcast frame before the finish time of duration, wherein the feedback message is for indicating first communication
Equipment control instruction described in successful execution.
5. the method according to claim 1, wherein to the first communication apparatus weight in the preset duration
Recurrence is sent after the broadcast frame, further includes:
If not receiving the feedback from first communication apparatus yet when reaching the finish time of the preset duration
Message then stops sending the broadcast frame and enters dormant state, wherein the feedback message is for indicating first communication
Equipment control instruction described in successful execution.
6. according to the method described in claim 3, it is characterized in that, in the preset duration, via the default channel to
First communication apparatus repeats to send the broadcast frame
In the preset duration, repeated at regular intervals to first communication apparatus via the default channel
Send the broadcast frame.
7. a kind of processing unit of broadcast frame characterized by comprising
Determining module, for determining that the first communication apparatus switches to the second communication mode from the first communication mode, wherein described
One communication apparatus is communicated under the first communication mode by the second communication apparatus and extraneous communication apparatus, second communication
Equipment is for setting up WLAN, and first communication apparatus is under second communication mode between third communication apparatus
Carry out point-to- point communication;And response acts on the control operation of third communication apparatus, determines control instruction to be sent;
Processing module sends broadcast frame for repeating in preset duration to the first communication apparatus, wherein take in the broadcast frame
With the control instruction.
8. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program
When control the storage medium where equipment perform claim require any one of 1 to 6 described in broadcast frame processing method.
9. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run
Benefit require any one of 1 to 6 described in broadcast frame processing method.
10. a kind of processing system of broadcast frame characterized by comprising the first communication apparatus, the second communication apparatus and third
Communication apparatus, wherein the third communication apparatus includes the processing unit of broadcast frame as claimed in claim 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910459730.0A CN110177343B (en) | 2019-05-29 | 2019-05-29 | Broadcast frame processing method, device, storage medium, processor and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910459730.0A CN110177343B (en) | 2019-05-29 | 2019-05-29 | Broadcast frame processing method, device, storage medium, processor and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110177343A true CN110177343A (en) | 2019-08-27 |
CN110177343B CN110177343B (en) | 2022-02-18 |
Family
ID=67695985
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910459730.0A Active CN110177343B (en) | 2019-05-29 | 2019-05-29 | Broadcast frame processing method, device, storage medium, processor and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110177343B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111586917A (en) * | 2020-06-23 | 2020-08-25 | 台州市椒江萤星电子电器有限公司 | LED lamp string system and control method thereof |
CN112350901A (en) * | 2020-10-19 | 2021-02-09 | 珠海格力电器股份有限公司 | Device control method, storage medium, mobile terminal, and electronic device |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203325449U (en) * | 2013-07-05 | 2013-12-04 | 中国华录集团有限公司 | Blue ray player controlled by using smart terminal |
CN104574899A (en) * | 2014-12-15 | 2015-04-29 | 惠州Tcl移动通信有限公司 | Intelligent control method and terminal therefor |
CN104731066A (en) * | 2015-02-11 | 2015-06-24 | 珠海格力电器股份有限公司 | Intelligent housing system and control method thereof |
CN104955137A (en) * | 2015-05-21 | 2015-09-30 | 北京深思数盾科技有限公司 | Wireless device and broadcasting method thereof |
CN105068432A (en) * | 2015-07-03 | 2015-11-18 | 上海理工大学 | Extensible intelligent home network control system |
CN105910238A (en) * | 2016-05-13 | 2016-08-31 | 广东美的暖通设备有限公司 | Multi-online air-conditioning system and communication method and device thereof |
CN107450332A (en) * | 2017-07-31 | 2017-12-08 | 广东美的制冷设备有限公司 | Information transferring method, system, intelligent appliance, control terminal and storage medium |
US20180034652A1 (en) * | 2015-03-31 | 2018-02-01 | Sharp Kabushiki Kaisha | Terminal and method of controlling same |
CN108566687A (en) * | 2018-04-25 | 2018-09-21 | 成都西谷曙光数字技术有限公司 | LDSW ultra-low power consumption wireless self-organizing network system and communication means |
CN108694823A (en) * | 2018-04-11 | 2018-10-23 | 苏州浩瀚集成电路有限公司 | Synchronisation control means in wireless network and intelligent domestic system |
-
2019
- 2019-05-29 CN CN201910459730.0A patent/CN110177343B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203325449U (en) * | 2013-07-05 | 2013-12-04 | 中国华录集团有限公司 | Blue ray player controlled by using smart terminal |
CN104574899A (en) * | 2014-12-15 | 2015-04-29 | 惠州Tcl移动通信有限公司 | Intelligent control method and terminal therefor |
CN104731066A (en) * | 2015-02-11 | 2015-06-24 | 珠海格力电器股份有限公司 | Intelligent housing system and control method thereof |
US20180034652A1 (en) * | 2015-03-31 | 2018-02-01 | Sharp Kabushiki Kaisha | Terminal and method of controlling same |
CN104955137A (en) * | 2015-05-21 | 2015-09-30 | 北京深思数盾科技有限公司 | Wireless device and broadcasting method thereof |
CN105068432A (en) * | 2015-07-03 | 2015-11-18 | 上海理工大学 | Extensible intelligent home network control system |
CN105910238A (en) * | 2016-05-13 | 2016-08-31 | 广东美的暖通设备有限公司 | Multi-online air-conditioning system and communication method and device thereof |
CN107450332A (en) * | 2017-07-31 | 2017-12-08 | 广东美的制冷设备有限公司 | Information transferring method, system, intelligent appliance, control terminal and storage medium |
CN108694823A (en) * | 2018-04-11 | 2018-10-23 | 苏州浩瀚集成电路有限公司 | Synchronisation control means in wireless network and intelligent domestic system |
CN108566687A (en) * | 2018-04-25 | 2018-09-21 | 成都西谷曙光数字技术有限公司 | LDSW ultra-low power consumption wireless self-organizing network system and communication means |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111586917A (en) * | 2020-06-23 | 2020-08-25 | 台州市椒江萤星电子电器有限公司 | LED lamp string system and control method thereof |
CN111586917B (en) * | 2020-06-23 | 2022-12-20 | 台州市椒江萤星电子电器有限公司 | LED lamp string system and control method thereof |
CN112350901A (en) * | 2020-10-19 | 2021-02-09 | 珠海格力电器股份有限公司 | Device control method, storage medium, mobile terminal, and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN110177343B (en) | 2022-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110191449A (en) | Switching method, device, storage medium, processor and the system of communication mode | |
CN1898900B (en) | Supporter, client and corresponding method for power saving in a wireless local area network | |
CN103688488B (en) | The method and system of the power save proxy in communication network | |
CN105307249B (en) | Low-consumption wireless Transmission system and its transmission method | |
CN104796971B (en) | System and method for the low-power signaling in WLAN | |
JP5190568B2 (en) | Radio base station and radio communication system using the same | |
CN105357746B (en) | Double bounce wireless network architecture | |
CN104749996B (en) | A kind of ZigBee remote controlers long-range control method | |
CN107079404A (en) | Paging signal sending method, paging signal method of reseptance, apparatus and system | |
CN105992317B (en) | Wireless communication module management method and wireless communication module managing device | |
CN106792127A (en) | Network wake-up method and device, wake-up terminal and television set | |
RU2012111060A (en) | METHOD AND SYSTEM FOR ANNOUNCEMENT TIME FROM THE WAITING TIME IN A SIMPLE MODE APPLICABLE TO ENERGY-SAVING OPERATIONS IN WIRELESS NETWORKS | |
CN104656515B (en) | The long-range control method and system of dual system smart machine | |
CN110235487A (en) | Power for wireless device is saved | |
CN106790611A (en) | The monitoring method of internet of things equipment, supervising device and monitoring system | |
CN110177343A (en) | Processing method, device, storage medium, processor and the system of broadcast frame | |
CN111417182A (en) | Data transmission method, device, storage medium, processor and system | |
CN105511345A (en) | Zigbee IOT (Internet of Things) module and low-power-consumption control method therefor | |
CN109729550A (en) | A kind of energy saving awakening method suitable for half-duplex wireless communication system | |
CN109246801A (en) | The method and device of idle listening state terminal realization discontinuous reception | |
CN110521253A (en) | Determine the access slot for communication on a wireless interface | |
CN108966326A (en) | Wireless access point control method and relevant device, system | |
CN110609534A (en) | Intelligent household control method and system | |
CN103108385B (en) | Control the method and system of the network node in network area | |
CN202630316U (en) | Air conditioner and air conditioner control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |