Method and device for establishing communication based on WIFI
A technology for establishing and establishing communication, applied in security devices, wireless communication, wireless communication services, etc., can solve the problems of slow transmission speed, poor use effect, short transmission distance, etc., and achieve the effect of improving efficiency and safety
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] figure 1 It is a flow chart of the WIFI-based communication establishment method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of short-distance data transmission between terminals in a commercial WIFI scenario. This method can be implemented by the device of the WIFI-based communication establishment method. Execution, the device can be implemented by means of hardware and / or software, and the technology specifically includes:
[0027] S110. The sending end broadcasts and sends the beacon detection frame based on the WIFI protocol;
[0028] Wherein, the sending end and the receiving end are smart terminals that support the beacon sensing function, and the sending end is usually a terminal that supports WIFI set by the merchant. The sending end uses the WIFI protocol to broadcast a beacon detection frame, and judges whether there is a neighbor terminal device around through the beacon detection frame. The beacon detection ...
Embodiment 2
[0043] figure 2 It is a flow chart of the WIFI-based communication establishment method provided by Embodiment 2 of the present invention. This embodiment is based on the foregoing embodiments, and further provides a specific implementation method of the WIFI-based communication establishment method, that is, S150 at the sending end and the described The receiving end establishes a tunnel security mechanism, including:
[0044] S151. The TCP / IP three-way handshake is implemented between the sending end and the receiving end;
[0045] S152. Establish a Layer 2 wireless transmission tunnel between the sending end and the receiving end;
[0046] S153. The sending end and the receiving end use Layer 2 Wireless Tunneling Protocol (Layer 2 Wireless Tunneling Protocol, L2WTP) to encapsulate the data to be transmitted.
[0047] Among them, L2WTP is a tunnel encryption protocol. Any one or more encryption and decryption algorithms can be used in this protocol. For example, it can be...
Embodiment 3
[0050] image 3 It is a schematic diagram of the module structure of the device of the WIFI-based communication establishment method provided by the third embodiment of the present invention. This embodiment is a device of the WIFI-based communication establishment method proposed on the basis of the above-mentioned embodiments. The device includes: beacon detection Frame sending module 10 , beacon detection frame response module 20 , communication connection request module 30 , communication connection response module 40 , tunnel security mechanism establishment module 50 and data transmission module 60 .
[0051] Wherein, the beacon detection frame transmission module 10 is used to broadcast and send the beacon detection frame based on the WIFI protocol; the beacon detection frame response module 20 is used to receive the response to the beacon detection frame based on the WIFI protocol unicast reply of the receiving end; The communication connection request module 30 is use...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 