CN105050129A - Data interaction method and device - Google Patents
Data interaction method and device Download PDFInfo
- Publication number
- CN105050129A CN105050129A CN201510504487.1A CN201510504487A CN105050129A CN 105050129 A CN105050129 A CN 105050129A CN 201510504487 A CN201510504487 A CN 201510504487A CN 105050129 A CN105050129 A CN 105050129A
- Authority
- CN
- China
- Prior art keywords
- data
- proberequest
- described terminal
- mac address
- terminal
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- 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/0225—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Communication Control (AREA)
Abstract
The embodiment of the invention discloses a data interaction method and device. The method comprises: receiving a data request Probe Request transmitted from a terminal; analyzing original data in the Probe Request and transmitting the original data and a MAC address of the terminal to a server; and receiving a data response pocket carrying the MAC address of the terminal transmitted by the server, analyzing the response data in the data response pocket, and transmitting the response data to the terminal via a data response Probe Response according to the MAC address. By adopting a mode of transmitting data through the Probe Request and the Probe Response, i.e. a mode of performing data interaction through management frames, the data can be interacted under the condition that WIFI connection is not built between the terminal and the network node, so that the ultralow power consumption data interaction of the WIFI equipment can be realized.
Description
Technical field
The present invention relates to communication technical field, more particularly, relate to a kind of method and device of data interaction.
Background technology
Existing WIFI data interaction is all need first to set up its WIFI to connect, and connects just can carry out data interaction by TCP/IP based on WIFI.The low-power consumption of WIFI adopts IEEEPowersave pattern usually, when needing AP maintenance full speed running, the data of each WIFIStation of buffer memory, then each Station is periodically notified by beacon, and Station needs with the AP retention time synchronous, based on the waking up of cycle in the time interval of beacon.But have some to apply at present, and need the data volume of transmission to be not very large, and very high to power consumption requirements, if need to keep connecting with AP, then periodically must wake up, more power consumption can be consumed.If do not keep connecting, then must same AP be needed to re-establish before needing to send data at every turn connect and could work, and the time connected be longer, also can consume very high power consumption.
Therefore, how WIFI equipment carries out the data interaction of super low-power consumption, is the problem needing to solve.
Summary of the invention
The object of the present invention is to provide a kind of method and device of data interaction, to realize the super low-power consumption data interaction of WIFI equipment.
For achieving the above object, following technical scheme is embodiments provided:
A method for data interaction, comprising:
The request of data ProbeRequest that receiving terminal sends;
Resolve the initial data in described ProbeRequest, and the MAC Address of described initial data and described terminal is sent to server;
Receive the data recovery bag carrying the MAC Address of described terminal that described server sends, resolve the reply data in described data recovery bag, and according to described MAC Address, described reply data are sent to described terminal by data recovery ProbeResponse.
Preferably, receive the ProbeRequest that described terminal sends, comprising:
Receive the ProbeRequest carrying unique identification type OUItype that described terminal sends.
Preferably, receive the ProbeRequest carrying OUItype that described terminal sends, comprising:
What receive the transmission of described terminal carries the ProbeRequest that OUItype is C8-93-46.
Preferably, also comprise:
Data are replied described in buffer memory;
Wherein, when receiving the next ProbeRequest that described terminal sends, described reply data are sent to described terminal.
A device for data interaction, comprising:
First receiver module, for the request of data ProbeRequest that receiving terminal sends;
First parsing module, for resolving the initial data in described ProbeRequest;
First sending module, for sending to server by the MAC Address of described initial data and described terminal;
Second receiver module, for receiving the data recovery bag carrying the MAC Address of described terminal that described server sends;
Second parsing module, for resolving the reply data in described data recovery bag;
Second sending module, for sending to described terminal by described reply data by data recovery ProbeResponse according to described MAC Address.
Preferably, described first receiver module receives the ProbeRequest carrying unique identification type OUItype that described terminal sends.
Preferably, described first receiver module receive described terminal send carry the ProbeRequest that OUItype is C8-93-46.
Preferably, also comprise:
Cache module, replys data for described in buffer memory; Wherein, when receiving the next ProbeRequest that described terminal sends, described second sending module is triggered.
Known by above scheme, the method for a kind of data interaction that the embodiment of the present invention provides and device, comprise the request of data ProbeRequest that receiving terminal sends; Resolve the initial data in described ProbeRequest, and the MAC Address of described initial data and described terminal is sent to server; Receive the data recovery bag carrying the MAC Address of described terminal that described server sends, resolve the reply data in described data recovery bag, and according to described MAC Address, described reply data are sent to described terminal by data recovery ProbeResponse, this mode being sent data by ProbeRequest and ProbeResponse, namely the mode of data interaction is carried out by management frames, can not set up WIFI is connected at terminal and network node and carry out data interaction, achieve the super low-power consumption data interaction of WIFI equipment.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The method flow diagram of Fig. 1 a kind of data interaction disclosed in the embodiment of the present invention;
The apparatus structure schematic diagram of Fig. 2 a kind of data interaction disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of method and device of data interaction, to realize the super low-power consumption data interaction of WIFI equipment.
See Fig. 1, the method for a kind of data interaction that the embodiment of the present invention provides, comprising:
The request of data ProbeRequest that S101, receiving terminal send;
Concrete, the terminal in the present embodiment is WIFI equipment, is in super low-power consumption pattern when the Station in WIFI equipment is flat, and WIFI is in IDLE state.When needing when there being data to send, CPU wakes up, be ProbeRequest packet data encapsulation, wake WIFI chip up, send this management frame data, here management frame data is the data that ProbeRequest sends, and the initial data in ProbeRequest hereinafter, can be understood as the data of carrying in management frames.
Existing management frames supports User Defined IE.The present embodiment defines a special user IE and is used for realizing data interaction.The OUItype of this IE is C8-93-46, and the type of data uses 1=Station reported data, and 2=AP replys data.When WIFI equipment has data to need to send, use ProbeRequest to carry data by this IE and use ProbeResponse to carry this IE data recovery to WIFI equipment to AP end (Accesspoint, wireless network node), AP end.
Concrete, WIFI management frames is made up of a lot of IE (informationelement).Each IE frame format definition is as shown in table 1:
Table 1
0xDD(1B) | Length(1B) | OUIType(3B) | Data… |
Wherein length is the total length that 3 bytes of OUIType add follow-up Data data, maximum can not more than 255.
S102, the initial data of resolving in described ProbeRequest, and the MAC Address of described initial data and described terminal is sent to server;
S103, receive described server send the data recovery bag carrying the MAC Address of described terminal, resolve the reply data in described data recovery bag;
S104, according to described MAC Address, described reply data are sent to described terminal by data recovery ProbeResponse.
Concrete, after what AP termination received that server sends carry the data recovery bag of the MAC Address of described terminal, parse the actual content in data recovery bag, namely reply data, after group bag, send to terminal.
Concrete, the present invention is by the expansion to WIFI agreement, just can carry out the feature of data interaction when not setting up WIFI and connecting based on WIFI management frames, by a small amount of amendment to the AP arranged net, achieve WIFI equipment can not need to set up WIFI connection, also time synchronized mustn't be done with AP, directly data are sent when needs transmission data, just super low-power consumption pattern is entered immediately after waiting for return data, wherein, under super low-power consumption pattern, the consumption of electric current drops to uA level, can use powered battery.
The method of a kind of data interaction that the embodiment of the present invention provides, comprises the request of data ProbeRequest that receiving terminal sends; Resolve the initial data in described ProbeRequest, and the MAC Address of described initial data and described terminal is sent to server; Receive the data recovery bag carrying the MAC Address of described terminal that described server sends, resolve the reply data in described data recovery bag, and according to described MAC Address, described reply data are sent to described terminal by data recovery ProbeResponse, this mode being sent data by ProbeRequest and ProbeResponse, namely the mode of data interaction is carried out by management frames, can not set up WIFI is connected at terminal and network node and carry out data interaction, achieve the super low-power consumption data interaction of WIFI equipment.
Preferably, in another embodiment of the invention, receive the ProbeRequest that described terminal sends, comprising:
Receive the ProbeRequest carrying unique identification type OUItype that described terminal sends.
Preferably, in another embodiment of the invention, receive the ProbeRequest carrying OUItype that described terminal sends, comprising:
What receive the transmission of described terminal carries the ProbeRequest that OUItype is C8-93-46.
Concrete, in order to better pick out ProbeRequest and ProbeResponse, at establishment user thread of AP end, being connected to the Cloud Server needing transmission, monitoring with OUItype the ProbeRequest of the customIE being C8-93-46.Wherein, the type of data uses 1=Station reported data, and 2=AP replys data.After the complete data of WIFI device processes, automatically can enter park mode, until need transmission data to wake up again get the hang of 1 next time.
When receiving this packet, obtaining the data data of IE immediately, then data being added that the MAC Address of WIFI equipment reports server.Send over from server the data comprising WIFI device mac address if received, just immediately the customIE of data encapsulation to be OUIType be C8-93-46, the mode with ProbeResponse sends to the WIFI equipment of this MAC Address.
Preferably, in another embodiment of the invention, also comprise: described in buffer memory, reply data;
Wherein, when receiving the next ProbeRequest that described terminal sends, described reply data are sent to described terminal.
Concrete, when for WIFI equipment to the less demanding application of the real-time property in server, the data cached mode of AP can be used to reduce the power consumption of WIFI equipment further.Specific practice is that each AP receives data from server, is first buffered in this locality, only has in time receiving the data of WIFI equipment transmission ProbeRequest, the data of buffer memory before replying immediately.WIFI equipment need not wait for the reply in high in the clouds at every turn after sending data, can again enter super low-power consumption pattern very soon.
See Fig. 2, the device of a kind of data interaction that the embodiment of the present invention provides, comprising:
First receiver module 100, for the request of data ProbeRequest that receiving terminal sends;
First parsing module 200, for resolving the initial data in described ProbeRequest;
First sending module 300, for sending to server by the MAC Address of described initial data and described terminal;
Second receiver module 400, for receiving the data recovery bag carrying the MAC Address of described terminal that described server sends;
Second parsing module 500, for resolving the reply data in described data recovery bag;
Second sending module 600, for sending to described terminal by described reply data by data recovery ProbeResponse according to described MAC Address.
The device of a kind of data interaction that the embodiment of the present invention provides, comprises the request of data ProbeRequest that receiving terminal sends; Resolve the initial data in described ProbeRequest, and the MAC Address of described initial data and described terminal is sent to server; Receive the data recovery bag carrying the MAC Address of described terminal that described server sends, resolve the reply data in described data recovery bag, and according to described MAC Address, described reply data are sent to described terminal by data recovery ProbeResponse, this mode being sent data by ProbeRequest and ProbeResponse, namely the mode of data interaction is carried out by management frames, can not set up WIFI is connected at terminal and network node and carry out data interaction, achieve the super low-power consumption data interaction of WIFI equipment.
Preferably, in another embodiment of the invention, described first receiver module 100 receives the ProbeRequest carrying unique identification type OUItype that described terminal sends.
Preferably, in another embodiment of the invention, described first receiver module 100 receive described terminal send carry the ProbeRequest that OUItype is C8-93-46.
Preferably, in another embodiment of the invention, also comprise:
Cache module, replys data for described in buffer memory; Wherein, when receiving the next ProbeRequest that described terminal sends, described second sending module is triggered.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.
Claims (8)
1. a method for data interaction, is characterized in that, comprising:
The request of data ProbeRequest that receiving terminal sends;
Resolve the initial data in described ProbeRequest, and the MAC Address of described initial data and described terminal is sent to server;
Receive the data recovery bag carrying the MAC Address of described terminal that described server sends, resolve the reply data in described data recovery bag;
According to described MAC Address, described reply data are sent to described terminal by data recovery ProbeResponse.
2. the method for data interaction according to claim 1, is characterized in that, receives the ProbeRequest that described terminal sends, comprising:
Receive the ProbeRequest carrying unique identification type OUItype that described terminal sends.
3. the method for data interaction according to claim 2, is characterized in that, receives the ProbeRequest carrying OUItype that described terminal sends, comprising:
What receive the transmission of described terminal carries the ProbeRequest that OUItype is C8-93-46.
4. the method for data interaction according to claim 3, is characterized in that, after resolving the reply data in described data recovery bag, also comprises:
Data are replied described in buffer memory;
Wherein, when receiving the next ProbeRequest that described terminal sends, described reply data are sent to described terminal.
5. a device for data interaction, is characterized in that, comprising:
First receiver module, for the request of data ProbeRequest that receiving terminal sends;
First parsing module, for resolving the initial data in described ProbeRequest;
First sending module, for sending to server by the MAC Address of described initial data and described terminal;
Second receiver module, for receiving the data recovery bag carrying the MAC Address of described terminal that described server sends;
Second parsing module, for resolving the reply data in described data recovery bag;
Second sending module, for sending to described terminal by described reply data by data recovery ProbeResponse according to described MAC Address.
6. the device of data interaction according to claim 5, is characterized in that, described first receiver module receives the ProbeRequest carrying unique identification type OUItype that described terminal sends.
7. the device of data interaction according to claim 6, is characterized in that, described first receiver module receive described terminal send carry the ProbeRequest that OUItype is C8-93-46.
8. the device of data interaction according to claim 7, is characterized in that, also comprises:
Cache module, replys data for described in buffer memory; Wherein, when receiving the next ProbeRequest that described terminal sends, described second sending module is triggered.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510504487.1A CN105050129B (en) | 2015-08-17 | 2015-08-17 | Data interaction method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510504487.1A CN105050129B (en) | 2015-08-17 | 2015-08-17 | Data interaction method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105050129A true CN105050129A (en) | 2015-11-11 |
CN105050129B CN105050129B (en) | 2020-01-10 |
Family
ID=54456229
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510504487.1A Active CN105050129B (en) | 2015-08-17 | 2015-08-17 | Data interaction method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105050129B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106060801A (en) * | 2016-05-06 | 2016-10-26 | 上海庆科信息技术有限公司 | Data communication method, device and system based on Wi-Fi device |
CN106507394A (en) * | 2016-11-15 | 2017-03-15 | 杭州华三通信技术有限公司 | Data transmission method for uplink, data receiver method and electronic equipment, access point |
CN110234173A (en) * | 2016-05-04 | 2019-09-13 | 杭州博联智能科技股份有限公司 | The method for realizing high-speed traffic using wifi probe request and response bag |
CN111885598A (en) * | 2020-06-02 | 2020-11-03 | 普联国际有限公司 | Event sending realization system and method of Wi-Fi equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1852112A (en) * | 2006-02-17 | 2006-10-25 | 华为技术有限公司 | System and method for conducting information alteration through wireless local network |
US20110106956A1 (en) * | 2005-10-21 | 2011-05-05 | Yujin Luo | Communication System and Communication Method |
CN102437897A (en) * | 2011-11-11 | 2012-05-02 | 杭州华三通信技术有限公司 | Method and device for sending Beacon |
CN102750750A (en) * | 2012-06-18 | 2012-10-24 | 北京大学 | Punch card method based on Wi-Fi and system thereof |
CN104113865A (en) * | 2013-04-17 | 2014-10-22 | ***通信集团公司 | Wireless local area network access device AP state adjusting method, device, and system |
CN104735757A (en) * | 2015-03-27 | 2015-06-24 | 珠海全志科技股份有限公司 | Method for improving frame extraction efficiency of STA equipment |
-
2015
- 2015-08-17 CN CN201510504487.1A patent/CN105050129B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110106956A1 (en) * | 2005-10-21 | 2011-05-05 | Yujin Luo | Communication System and Communication Method |
CN1852112A (en) * | 2006-02-17 | 2006-10-25 | 华为技术有限公司 | System and method for conducting information alteration through wireless local network |
CN102437897A (en) * | 2011-11-11 | 2012-05-02 | 杭州华三通信技术有限公司 | Method and device for sending Beacon |
CN102750750A (en) * | 2012-06-18 | 2012-10-24 | 北京大学 | Punch card method based on Wi-Fi and system thereof |
CN104113865A (en) * | 2013-04-17 | 2014-10-22 | ***通信集团公司 | Wireless local area network access device AP state adjusting method, device, and system |
CN104735757A (en) * | 2015-03-27 | 2015-06-24 | 珠海全志科技股份有限公司 | Method for improving frame extraction efficiency of STA equipment |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110234173A (en) * | 2016-05-04 | 2019-09-13 | 杭州博联智能科技股份有限公司 | The method for realizing high-speed traffic using wifi probe request and response bag |
CN110234173B (en) * | 2016-05-04 | 2023-07-25 | 杭州博联智能科技股份有限公司 | Method for realizing rapid communication by wifi probe request and response packet |
CN106060801A (en) * | 2016-05-06 | 2016-10-26 | 上海庆科信息技术有限公司 | Data communication method, device and system based on Wi-Fi device |
CN106060801B (en) * | 2016-05-06 | 2020-02-11 | 上海庆科信息技术有限公司 | Data communication method, device and system based on Wi-Fi device |
CN106507394A (en) * | 2016-11-15 | 2017-03-15 | 杭州华三通信技术有限公司 | Data transmission method for uplink, data receiver method and electronic equipment, access point |
CN106507394B (en) * | 2016-11-15 | 2021-04-09 | 新华三技术有限公司 | Data sending method, data receiving method, electronic equipment and access point |
CN111885598A (en) * | 2020-06-02 | 2020-11-03 | 普联国际有限公司 | Event sending realization system and method of Wi-Fi equipment |
CN111885598B (en) * | 2020-06-02 | 2024-05-03 | 普联国际有限公司 | Event sending realization system and method of Wi-Fi equipment |
Also Published As
Publication number | Publication date |
---|---|
CN105050129B (en) | 2020-01-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104243481B (en) | A kind of method and system of power information acquisition advance data processing | |
CN108541047A (en) | The indicating means and equipment of downlink service data | |
CN105050129A (en) | Data interaction method and device | |
CN104023316A (en) | Multicast information transmission method and device | |
US9069601B2 (en) | Method and apparatus for controlling task execution | |
US9462549B2 (en) | Systems and methods for optimizing power consumption associated with processing group addressed messages | |
CN104507148A (en) | Low-power-consumption wireless sensor network | |
CN104244333A (en) | Terminal-to-terminal D2D data transmission method and device and system | |
CN110177097A (en) | Data transmission method, apparatus and system | |
CN103313303A (en) | Wireless access point, wireless work station and work method of wireless access point and wireless work station | |
CN101754479A (en) | Method and device for transmitting multicast/broadcast message through wireless access point | |
CN207251930U (en) | The simple gateways of LoRa | |
CN202617155U (en) | Multiple host RS485 communication device | |
CN103906172A (en) | Method for networking low-power-dissipation small wireless sensor networks based on oil field application | |
EP3512262A1 (en) | Wireless local area network communications method, receiver, access point and station | |
CN105049115A (en) | EPON-based hibernation method and system | |
CN104284326A (en) | Mobile terminal power saving method, system, application processor and wireless module | |
CN104427592A (en) | Terminal device, and frame sending and receiving methods | |
CN103731484B (en) | A kind of power save transmission method towards mobile cloud computing and middleware system | |
CN106714264B (en) | Energy-saving method and system for nodes of Internet of things | |
CN105007313A (en) | Terminal access method and mass data transmission system for energy saving service | |
CN204559629U (en) | Based on the farm environment monitoring system of 6LoWPAN wireless sensor network | |
CN101895592A (en) | Routing and addressing method based on tree topology address assignment | |
CN114245317B (en) | Data processing method, device and computer readable storage medium | |
CN203840551U (en) | Wireless sensing networking system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A method and device of data interaction Effective date of registration: 20210408 Granted publication date: 20200110 Pledgee: Bank of Communications Ltd. Shanghai Xuhui sub branch Pledgor: SHANGHAI MXCHIP INFORMATION TECHNOLOGY Co.,Ltd. Registration number: Y2021310000030 |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right |