CN117858273A - Wi-Fi quick network distribution method and device based on 2.4g and intelligent equipment - Google Patents

Wi-Fi quick network distribution method and device based on 2.4g and intelligent equipment Download PDF

Info

Publication number
CN117858273A
CN117858273A CN202410076519.1A CN202410076519A CN117858273A CN 117858273 A CN117858273 A CN 117858273A CN 202410076519 A CN202410076519 A CN 202410076519A CN 117858273 A CN117858273 A CN 117858273A
Authority
CN
China
Prior art keywords
module
mobile phone
ssid
password
packet
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.)
Pending
Application number
CN202410076519.1A
Other languages
Chinese (zh)
Inventor
戴宏宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Vip Infinite Intelligent Technology Co ltd
Original Assignee
Beijing Vip Infinite Intelligent Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Vip Infinite Intelligent Technology Co ltd filed Critical Beijing Vip Infinite Intelligent Technology Co ltd
Priority to CN202410076519.1A priority Critical patent/CN117858273A/en
Publication of CN117858273A publication Critical patent/CN117858273A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method, a device and intelligent equipment for Wi-Fi quick network distribution based on 2.4 g. The method comprises the following steps: the Wi-Fi module starts 241n module to connect with the mobile phone through Bluetooth, and is successfully connected with the mobile phone through Bluetooth in a preset time; the mobile phone sends the routed SSID and the password to the 241n module through Bluetooth connection by using the APP; the Wi-Fi module starts a site function and is connected with the router by using a routing SSID and a password; according to the invention, the 241n module is combined into the Wi-Fi module, the same baseband and radio frequency are shared, the lightweight 2.4g transceiver in the 241n module is used for packaging into the Bluetooth BLE packet, and the Bluetooth BLE packet is communicated with the mobile phone in an encrypted manner to obtain the SSID and the password of the target route, so that the Wi-Fi module is connected with the routing equipment, the Wi-Fi module is successfully connected with the route under the condition of no external input interface, the production cost is effectively reduced, the connection speed and the success rate are improved, and meanwhile, the Wi-Fi module has excellent compatibility.

Description

Wi-Fi quick network distribution method and device based on 2.4g and intelligent equipment
Technical Field
The invention relates to a Wi-Fi rapid network distribution method based on 2.4g, a corresponding device and intelligent equipment comprising the device, and belongs to the technical field of Internet of things.
Background
At present, internet of things equipment including intelligent home appliances and intelligent home products are increasingly entering our daily lives. As a carrier of an application layer of the internet of things system, connection of intelligent home appliances and intelligent home products to the cloud is a basic functional requirement. At present, the common internet of things mode is realized through an input interface and is not realized through the input interface, and mainly comprises the following steps:
AirKiss distribution network technology: the Wi-Fi module is in a monitoring state, the mobile phone is used for sending UDP broadcast packets to an AP (access point), and the AP forwards the broadcast packets again. The Wi-Fi module analyzes SSID and password according to the information such as the size of UDP broadcast packet. Problems with this networking approach include: the compatibility is poor, the monitoring signals are more, the time consumption is longer, and the failure rate is high.
NFC distribution network technology: and the NFC chip is matched with the NFC of the mobile phone to perform incoming communication, and SSID and password are exchanged. Problems with this networking approach include: the NFC chip needs to be built in, and the cost is high.
BLE distribution network technology: and the BLE module in the Wi-Fi module is connected with the mobile phone, then SSID and password are sent to the Wi-Fi module through the mobile phone APP (application program), and then the Wi-Fi module is connected with the target router. Problems with this networking approach include: the built-in BLE module is needed, and the cost is high.
The easy connect distribution network technology: the Wi-Fi module is in a monitoring state, and multicast packet address codes sent by the mobile phone APP are utilized. The Wi-Fi module analyzes the SSID and the password according to the monitored information. Problems with this networking approach include: the compatibility is poor, the monitoring signals are more, the time consumption is longer, and the failure rate is high.
The AP function distribution network technology comprises the following steps: after the Wi-Fi module is electrified, the Wi-Fi module is in an AP mode, then the mobile phone is used as a Station (STA) to communicate with the Wi-Fi module, and an SSID and a password are sent to the Wi-Fi module through the APP. The Wi-Fi module is switched to a site mode after acquiring the related information, is connected with the target router and is connected to the cloud. The mobile phone also needs to be connected with the target router, and the Wi-Fi module is connected with the target router through cloud confirmation. Problems with this networking approach include: after connection, the connection is confirmed through the cloud, and the time consumption is long.
Disclosure of Invention
The invention aims to provide a Wi-Fi rapid network distribution method based on 2.4 g.
The invention aims to provide a device for Wi-Fi fast distribution network based on 2.4 g.
Another technical problem to be solved by the present invention is to provide an intelligent device comprising the above device.
In order to achieve the technical purpose, the invention adopts the following technical scheme:
according to a first aspect of an embodiment of the present invention, there is provided a method for Wi-Fi fast distribution network based on 2.4g, including the steps of:
s2: the Wi-Fi module starts 241n module to connect with the mobile phone through Bluetooth, and is successfully connected with the mobile phone through Bluetooth in a preset time;
s3: the mobile phone sends the routed SSID and the password to the 241n module through Bluetooth connection by using the APP;
s4: the Wi-Fi module starts a site function and is connected with the router by using a routing SSID and a password.
Wherein preferably the 241n module comprises a Host protocol stack and a 2.4g transceiver.
Preferably, the step S2 further includes:
s21: the 241n module constructs a broadcast packet;
s22: the 241n module sends the broadcast packet to the mobile phone through the pseudo Bluetooth function of the 2.4g transceiver;
s23: after receiving the broadcast packet, the mobile phone sends a connection command to the 241n module.
Preferably, the step S3 further includes:
s31: the 241n module interacts the characteristic value interaction package with the encryption interaction package to generate a secret key;
s32: the mobile phone prepares the routing SSID and the password as an ATT bearing packet, and sends the ATT bearing packet to a 241n module;
s33: after receiving the ATT bearing packet, the 241n module decrypts the ATT bearing packet according to the key generated in step S31 to obtain the routing SSID and the password;
s34: after obtaining the route SSID and the password, the 241n module constructs an encrypted confirmation packet and sends the encrypted confirmation packet to the mobile phone;
s35: the handset receives the encrypted acknowledgement packet, acknowledging that 241n has received the routing SSID and password.
Wherein preferably, before step S2, it comprises:
s1: the Wi-Fi module retrieves the parameter configuration table and judges whether the Wi-Fi module is connected with the router or not; if the router is not connected, the step S2 is entered; if the router is connected, the Wi-Fi module invokes the SSID and the password of the router in the parameter configuration table, and the step S4 is entered.
Wherein preferably after step S4 comprises:
s5: the Wi-Fi module informs the mobile phone that the connection with the route is successful through the APP;
s6: the Wi-Fi module stores the SSID and the password of the route into a parameter configuration table;
s7: and the 241n module is disconnected, and the process is ended.
According to a second aspect of the embodiment of the invention, a device for Wi-Fi fast distribution network based on 2.4g is provided, which comprises a Wi-Fi module. The Wi-Fi module comprises a 241n module for realizing the method.
According to a third aspect of embodiments of the present invention, there is provided an intelligent device, including the foregoing apparatus.
Compared with the prior art, the Wi-Fi module is combined into the Wi-Fi module, the same baseband and radio frequency are shared, the lightweight 2.4g transceiver in the 241n module is used for packaging a Bluetooth BLE packet, and the Bluetooth BLE packet is communicated with a mobile phone in an encrypted mode to obtain the SSID and the password of a target route, so that the Wi-Fi module is connected with a routing device, the Wi-Fi module is successfully connected with the route under the condition that no external input interface exists, the production cost is effectively reduced, the connection speed and the success rate are improved, and meanwhile excellent compatibility is achieved.
Drawings
Fig. 1 is a flowchart of a method for Wi-Fi fast distribution network based on 2.4g provided by the present invention;
fig. 2 is a schematic diagram of data interaction between a 241n module and a mobile phone through bluetooth in an embodiment of the present invention;
fig. 3 (a) is a schematic diagram of a usage state of a device based on a Wi-Fi fast distribution network of 2.4g according to the present invention;
fig. 3 (b) is a schematic diagram of an internal structure of a device based on a Wi-Fi fast distribution network with 2.4 g.
Detailed Description
The technical contents of the present invention will be described in detail with reference to the accompanying drawings and specific examples.
As shown in fig. 1, a first embodiment of the present invention discloses a method for fast Wi-Fi network allocation based on 2.4g, comprising the following steps:
s1: the Wi-Fi module retrieves the parameter configuration table and judges whether the Wi-Fi module is connected with the router or not.
If the router is not connected, the step S2 is entered; if the router is connected, the Wi-Fi module invokes the SSID and the password of the router in the parameter configuration table, and the step S4 is entered.
S2: the Wi-Fi module starts 241n module to connect with the mobile phone through Bluetooth, and judges whether the Wi-Fi module is successfully connected with the mobile phone through Bluetooth within a preset time.
The preset time is determined according to the requirement of the user, and the invention is not limited to the preset time.
Wherein the 241n module includes a Host protocol stack and a 2.4g transceiver.
As shown in fig. 2, the 241n module establishes connection with bluetooth of the mobile phone, and specifically includes the following steps:
s21: the 241n module constructs broadcast (adv) packets.
S22: the 241n module transmits the broadcast packet to the handset through the pseudo bluetooth function of its 2.4g transceiver.
S23: after receiving the broadcast packet, the mobile phone sends a connection command to the 241n module.
If the mobile phone is successfully connected with the mobile phone through Bluetooth in the preset time, entering step S3; if the connection with the mobile phone is not successful through Bluetooth within the preset time, the step S7 is entered.
S3: the mobile phone sends the routed SSID and the password to the 241n module through Bluetooth connection by using the APP;
the mobile phone APP includes many bluetooth related APPs such as nRF Connect and/or applets, which are not limited in this aspect of the invention. For example, nRF Connect is bluetooth-debugged android APP developed by Nordic semiconductor corporation.
As shown in fig. 2, the mobile phone sends the routed SSID and password to the 241n module, and the data interaction between the two specifically includes the following steps:
s31: the 241n module interacts the characteristic value interaction package with the encryption interaction package to generate a secret key;
s32: the mobile phone prepares a routing SSID and a password as a ATT (Attribute Protocol) bearing packet, and sends an ATT bearing packet to a 241n module;
s33: after receiving the ATT bearing packet, the 241n module decrypts the ATT bearing packet according to the key generated in step S31 to obtain the routing SSID and the password;
s34: after obtaining the route SSID and the password, the 241n module constructs an encrypted confirmation packet and sends the encrypted confirmation packet to the mobile phone;
s35: the handset receives the encrypted acknowledgement packet, acknowledging that 241n has received the routing SSID and password.
S4: the Wi-Fi module starts a site function, and is connected with the router by using a routing SSID and a password to judge whether the connection is successful or not;
if the connection is successful, the step S5 is entered; if the connection fails, judging whether the upper limit of the number of attempts is reached;
the number of attempts is determined according to the needs of the user, and the invention is not limited in any way.
If the number of attempts does not reach the upper limit, repeating the step S4; if the number of attempts has reached the upper limit, the SSID and password are cleared, and the process proceeds to step S7.
S5: the Wi-Fi module informs the mobile phone that the connection with the route is successful through the APP.
S6: the Wi-Fi module saves the SSID and the password of the route to a parameter configuration table.
S7: and the 241n module is disconnected, and the process is ended.
In one embodiment of the invention, the steps S2-S3 realize the connection of the mobile phone end and the Wi-Fi module by a method of receiving/transmitting the blue tooth broadcasting packet, thereby solving the compatibility problem caused by using STBC modulation in the prior art and greatly improving the compatibility of the Wi-Fi module.
Compared with the prior art, the manufacturing cost of the Wi-Fi module is reduced by using the 2.4g transceiver which is cheaper than NCF and BLE Bluetooth modules.
On the other hand, the Wi-Fi module sends the notice of successfully establishing connection with the route to the mobile phone end, so that the step that the mobile phone needs to be connected with the cloud in the prior art is omitted, and the waiting time for connection confirmation is greatly shortened.
As shown in fig. 3 (a) and fig. 3 (b), a second embodiment of the present invention provides a device for Wi-Fi fast network allocation based on 2.4g, which includes a Wi-Fi module. The Wi-Fi module includes a 241n module, which is used to implement the foregoing method for fast Wi-Fi network distribution based on 2.4g, which is not described herein.
In addition, a third embodiment of the present invention provides an intelligent device, which includes the apparatus provided by the second embodiment of the present invention. The method for implementing Wi-Fi fast distribution network based on 2.4g by the intelligent device is the same as the method described in the first embodiment of the present invention, and will not be described here again.
It should be noted that the above embodiments are only examples, and the technical solutions of the embodiments may be combined, which are all within the protection scope of the present invention. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present invention, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
The method, the device and the intelligent equipment for rapidly configuring the network based on the Wi-Fi with the capacity of 2.4g are described in detail. Any obvious modifications to the present invention, without departing from the spirit thereof, would constitute an infringement of the patent rights of the invention and would take on corresponding legal liabilities.

Claims (8)

1. A Wi-Fi rapid network distribution method based on 2.4g is characterized by comprising the following steps:
s2: the Wi-Fi module starts 241n module to connect with the mobile phone through Bluetooth, and is successfully connected with the mobile phone through Bluetooth in a preset time;
s3: the mobile phone sends the routed SSID and the password to the 241n module through Bluetooth connection by using the APP;
s4: the Wi-Fi module starts a site function and is connected with the router by using a routing SSID and a password.
2. The method of claim 1, wherein:
the 241n module includes a Host protocol stack and a 2.4g transceiver.
3. The method of claim 1, wherein step S2 further comprises:
s21: the 241n module constructs a broadcast packet;
s22: the 241n module sends the broadcast packet to the mobile phone through the pseudo Bluetooth function of the 2.4g transceiver;
s23: after receiving the broadcast packet, the mobile phone sends a connection command to the 241n module.
4. The method of claim 1, wherein step S3 further comprises:
s31: the 241n module interacts the characteristic value interaction package with the encryption interaction package to generate a secret key;
s32: the mobile phone prepares the routing SSID and the password as an ATT bearing packet, and sends the ATT bearing packet to a 241n module;
s33: after receiving the ATT bearing packet, the 241n module decrypts the ATT bearing packet according to the key generated in step S31 to obtain the routing SSID and the password;
s34: after obtaining the route SSID and the password, the 241n module constructs an encrypted confirmation packet and sends the encrypted confirmation packet to the mobile phone;
s35: the handset receives the encrypted acknowledgement packet, acknowledging that 241n has received the routing SSID and password.
5. The method according to claim 1, characterized in that it comprises, before step S2:
s1: the Wi-Fi module retrieves the parameter configuration table and judges whether the Wi-Fi module is connected with the router or not; if the router is not connected, the step S2 is entered; if the router is connected, the Wi-Fi module invokes the SSID and the password of the router in the parameter configuration table, and the step S4 is entered.
6. The method according to claim 1, characterized in that it comprises, after step S4:
s5: the Wi-Fi module informs the mobile phone that the connection with the route is successful through the APP;
s6: the Wi-Fi module stores the SSID and the password of the route into a parameter configuration table;
s7: and the 241n module is disconnected, and the process is ended.
7. A Wi-Fi fast network distribution device based on 2.4g, comprising a Wi-Fi module comprising a 241n module for implementing the method of any of claims 1-6.
8. A smart device comprising the apparatus of claim 7.
CN202410076519.1A 2024-01-18 2024-01-18 Wi-Fi quick network distribution method and device based on 2.4g and intelligent equipment Pending CN117858273A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410076519.1A CN117858273A (en) 2024-01-18 2024-01-18 Wi-Fi quick network distribution method and device based on 2.4g and intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410076519.1A CN117858273A (en) 2024-01-18 2024-01-18 Wi-Fi quick network distribution method and device based on 2.4g and intelligent equipment

Publications (1)

Publication Number Publication Date
CN117858273A true CN117858273A (en) 2024-04-09

Family

ID=90536082

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410076519.1A Pending CN117858273A (en) 2024-01-18 2024-01-18 Wi-Fi quick network distribution method and device based on 2.4g and intelligent equipment

Country Status (1)

Country Link
CN (1) CN117858273A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117440534A (en) * 2022-12-31 2024-01-23 北京维普无限智能技术有限公司 Wi-Fi quick network distribution method and device based on 2.4g and intelligent equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117440534A (en) * 2022-12-31 2024-01-23 北京维普无限智能技术有限公司 Wi-Fi quick network distribution method and device based on 2.4g and intelligent equipment

Similar Documents

Publication Publication Date Title
US8908862B2 (en) Method, system, and devices for fast session transfer of wireless devices from one frequency band to another
US9351158B2 (en) Method for wireless easy connect
CN100479403C (en) System and method for access external network of non-radio local network terminal
CN101594578B (en) Establishment method of direct connected link, station device and communication system
CN102833345B (en) A kind of equipment room shares the method for content, Apparatus and system
KR20210055039A (en) Communication device and communication method for multi-band operation
CN104205933B (en) Seamless transition of cellular phone from cellular communication to Wi-Fi communication
CN105554754A (en) Method and system for accessing WIFI module of the internet of things to network
US8743903B2 (en) Hybrid networking simple-connect setup using forwarding device
US20140029513A1 (en) Wireless communication system, wireless communication method, and mobile terminal
WO2015158168A1 (en) Method and apparatus for communication between mobile terminal and pos terminal, and pos terminal
WO2019047197A1 (en) Method and system to integrate fixed access into converged 5g core
CN113132983B (en) Network disconnection reconnection method for intelligent terminal
US20150249946A1 (en) Network connection method and device supporting same
CN102612033B (en) Mobile phone with thin wireless access point and communication method for mobile phone
KR102085175B1 (en) Method, apparatus, and system for adjusting data packet length in near field communication (NCF)
CN102724666A (en) Terminal data relay method, device thereof and system thereof
CN113068181B (en) Multi-type intelligent terminal safety network access method
CN103517462A (en) Distributed wireless extenders over home MOCA backbone
CN103384365A (en) Method and system for network access, method for processing business and equipment
CN117440534A (en) Wi-Fi quick network distribution method and device based on 2.4g and intelligent equipment
US20190261436A1 (en) Device networking method, apparatus and system
CN101237450A (en) Method and apparatus for handling packets in a wireless communications system
KR20140113241A (en) Method for expedited wireless link setup considering backhaul network
CN113132966A (en) Intelligent terminal fast network access method

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