CN108366382B - WiFi automatic configuration method for mobile terminal - Google Patents

WiFi automatic configuration method for mobile terminal Download PDF

Info

Publication number
CN108366382B
CN108366382B CN201711492186.7A CN201711492186A CN108366382B CN 108366382 B CN108366382 B CN 108366382B CN 201711492186 A CN201711492186 A CN 201711492186A CN 108366382 B CN108366382 B CN 108366382B
Authority
CN
China
Prior art keywords
mobile terminal
wifi
equipment
network
configuration method
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.)
Active
Application number
CN201711492186.7A
Other languages
Chinese (zh)
Other versions
CN108366382A (en
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.)
GRANDSTREAM NETWORKS Inc
Shenzhen Grandstream Networks Technologies Co ltd
Original Assignee
GRANDSTREAM NETWORKS Inc
Shenzhen Grandstream Networks Technologies 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 GRANDSTREAM NETWORKS Inc, Shenzhen Grandstream Networks Technologies Co ltd filed Critical GRANDSTREAM NETWORKS Inc
Priority to CN201711492186.7A priority Critical patent/CN108366382B/en
Publication of CN108366382A publication Critical patent/CN108366382A/en
Application granted granted Critical
Publication of CN108366382B publication Critical patent/CN108366382B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention mainly discloses a WiFi automatic configuration method of a mobile terminal, which is used for deploying WiFi network settings of mobile terminal equipment in batches, and mainly comprises the following steps: step a: the mobile terminal main equipment inputs a key code to enter a host mode; step b: starting WiFi hot spot service by using default SSID, password and encryption mode, and automatically generating WiFi configuration parameters through user configuration; step c: the mobile terminal slave device inputs a key code to enter a slave mode, and establishes WiFi network connection according to agreed setting, and downloads the WiFi configuration parameters; step d: and the mobile terminal automatically restarts and exits from the slave mode, and after the mobile terminal is started, the wireless network in the actual environment is connected by using the WiFi configuration parameters. The technical scheme provided by the invention can greatly reduce the workload when equipment is deployed in batches, so that the mobile terminal equipment can be quickly connected with the appointed hot spot, and the network setting efficiency of the batch equipment is greatly improved.

Description

WiFi automatic configuration method for mobile terminal
Technical Field
The invention belongs to the network communication technology, and particularly relates to a WiFi configuration technology of a mobile network.
Background
As network technologies are becoming mature, the types of networks to which various network terminals can be connected are diversified, and network environments are also becoming more complex. The existing applications running on each platform can not actively select to connect to a specific network, and can only be used according to the network to which the device is specifically connected.
On a mobile terminal without a cellular mobile network and an Ethernet, wiFi is used as the only network connection mode and basic setting, and the specific function can be completed by depending on the network after the WiFi connection is established first. The connection configuration of the WiFi is more complicated than the DHCP mode of the ethernet, so that the WiFi cannot be plug and play, and the WiFi can access the network only after a specific hotspot is designated after the hotspot is scanned and a corresponding password is input and authenticated. Particularly, security is emphasized in the enterprise, strict security mechanisms are often deployed and added in the WiFi network, and more information needs to be input.
Based on the situation that the actual WiFi network is unknown in the deployment process, information such as hot spots, authentication and the like needs to be input on a single device in the batch deployment process so as to ensure that the enterprise is authenticated and connected with the Internet safely, and for the situation that no touch screen support exists, only a nine-grid key is difficult, the batch deployment becomes a task which cannot be completed basically, and the subsequent setting change and the introduction of a new security mechanism are also unfavorable.
Disclosure of Invention
The invention aims to provide a WiFi automatic configuration method for a mobile terminal, which is used for realizing batch issuing and deployment of WiFi settings.
In order to achieve the above object, the present invention has the following technical scheme: the WiFi automatic configuration method of the mobile terminal is used for deploying WiFi network settings of the mobile terminal equipment in batches, and mainly comprises the following steps: step a: the mobile terminal main equipment inputs a key code to enter a host mode; step b: starting WiFi hot spot service by using default SSID, password and encryption mode, and automatically generating WiFi configuration parameters through user configuration; step c: the mobile terminal slave device inputs a key code to enter a slave mode, and establishes WiFi network connection according to agreed setting, and downloads the WiFi configuration parameters; step d: and the mobile terminal automatically restarts and exits from the slave mode, and after the mobile terminal is started, the wireless network in the actual environment is connected by using the WiFi configuration parameters.
Preferably, in step c, after the mobile terminal slave device establishes the WiFi network, the mobile terminal master device starts a network download service, where the network download service includes http, tftp, ftp.
Preferably, in step b, the mobile terminal master device starts the WiFi hotspot service. In step c, the mobile terminal slave device automatically initiates WiFi hotspot connection of the mobile terminal master device, and after connection is successful, wiFi configuration parameters are downloaded.
Preferably, the mobile terminal master device creates a link file pointing to the WiFi parameter file when entering the host mode, the http service opens and downloads the link file, and deletes the link file when exiting the host mode.
Preferably, in step b, the WiFi hotspot service is started by an additionally provided AP router, and the mobile terminal master device automatically accesses the AP router and is configured to be a static IP address after successful connection. The static IP address is pre-defined between the mobile terminal main equipment and the mobile terminal slave equipment, and the mobile terminal slave equipment can find the mobile terminal main equipment through the static IP address. In step c, after the mobile terminal establishes the WiFi network connection from the equipment, the mobile terminal automatically sends a configuration downloading request to the static IP address.
The WiFi automatic configuration method of the mobile terminal enables one mobile device to work in a host mode (hereinafter referred to as a master mode) by inputting a specific key code, and only needs to carry out actual WiFi configuration parameters once. Other devices are triggered to enter a slave mode (hereinafter referred to as a slave mode) through key codes to connect with the host mode device to automatically acquire WiFi connection parameters.
The technical scheme provided by the invention can greatly reduce the workload when equipment is deployed in batches, and ensures that the mobile terminal equipment is quickly connected with the appointed hot spot. Meanwhile, the implementation scheme is flexible, and WiFi parameters can be adjusted according to the actual network environment in the enterprise deployment process.
Drawings
FIG. 1 is a schematic view of a frame structure according to a first embodiment of the present invention;
FIG. 2 is a flow chart of a network configuration according to a first embodiment of the present invention;
FIG. 3 is a schematic diagram of a frame structure of a second embodiment of the present invention;
fig. 4 is a flowchart of a network configuration according to a second embodiment of the present invention.
Detailed Description
The basic principle of the invention is that one device to be deployed works in a master mode and the other devices to be deployed work in a slave mode by means of a special key code by means of the P2P and hot spot technology of WiFi. The host equipment is also a Soft AP used for receiving connection of the slave equipment, and can input relevant settings of the actual WiFi network environment through operation of the LCD of the equipment, the slave equipment is connected with the Soft AP on the master setting through preset settings, and the actual WiFi network settings are obtained from the host equipment after the connection is successful, wherein the equipment comprises WiFi hotspot names, encryption modes, authentication information and the like, so that the aim of deploying the equipment in batches is achieved.
To make the objects, technical solutions and advantages of the present invention more apparent, the following description will be given by way of example only with respect to VoIP softphone applications. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The first embodiment is as follows:
fig. 1 is a schematic diagram of a frame structure according to an embodiment of the present invention. As shown in the figure, the embodiment of the invention provides a WiFi automatic configuration method, which enables a mobile terminal device to enter a master mode or a slave mode through a specific key code.
Fig. 2 is a flowchart of a network configuration according to a first embodiment of the present invention. According to the figure, this particular embodiment essentially comprises the following steps:
step 101: a mobile terminal device inputs a key code to enter a master mode, and the device automatically opens a hot spot function by using an SSID, a password, an encryption mode and the like which are appointed by default in the mode, so that the host device provides a network connection function to the outside and waits for the connection of the terminal device working in the slave mode.
Step 102: the host device pop-up configuration interface is used to configure WiFi parameters, which are the parameters of the wireless network that are actually used in the actual environment. And after the user configuration is finished, automatically generating WiFi configuration parameters for downloading and applying by the slave equipment.
Step 103: the host device opens a network download service. Wait for a slave mode device to connect and download the WiFi configuration parameters generated in step 102. The network download service includes http, tftp, ftp, etc., and the present invention is specifically described by taking an http download service as an example.
In addition, from the security point of view, our phone normally exits the slave mode and master mode, because web services are provided externally, the http service is turned on by default. Assuming that the phone has an http service, if the service does not take any encrypted form for the WiFi parameter file (the name of the file is unified by wpa_suppicant. Conf for any device connected to WiFi through the wpa_suppicant application), then other devices can easily obtain the file directly through URL. In order to improve network security, http protocol may be generally adopted to authorize access, and user name and password authentication may be agreed in advance to download. In the embodiment of the invention, a link file is created to point to the WiFi parameter file when the master mode is entered, the http service starts to download the link file, and the link file is deleted when the master mode is exited. Thus, even if the http download is started, the phone can not be downloaded to the real WiFi parameter file.
Step 104: the mobile terminal to be configured inputs the key code to enter a slave mode, and the equipment entering the slave mode automatically initiates the hot spot connection opened to the host equipment according to the preset setting.
Step 105: after the slave device successfully connects with the hotspot, the WiFi configuration parameters are automatically downloaded through the http service started in step 103.
Step 106: after the WiFi configuration parameters are successfully downloaded, the slave device automatically restarts and exits from the slave device in a slave mode, and after the slave device is started, the slave device is connected with a wireless network in an actual environment by using the acquired WiFi parameters.
Step 107: and repeatedly inputting specific case codes on all terminal configurations to be configured to enter a slave mode, automatically connecting a master, downloading the configuration, restarting and completing the application of the configuration.
Step 108: the host device is restarted, it automatically exits master mode and connects to the network using the previously set WiFi parameters.
Specific embodiment II:
fig. 3 is a schematic diagram of a frame structure according to a second embodiment of the present invention. As shown in the figure, the difference between the second embodiment and the first embodiment of the present invention is that the mobile terminal device does not support the hotspot function, and in the embodiment of the present invention, one more routing device is needed to provide the hotspot service.
Fig. 4 is a flowchart of a network configuration according to a second embodiment of the present invention. As shown in the figure, the specific steps of the specific embodiment of the present invention are as follows:
step 201: and starting an additional AP router by using default agreed SSID, password, encryption mode and the like, and providing WiFi service to the outside.
Step 202: a mobile terminal device enters a key code into master mode and automatically accesses the AP router turned on in step 201.
Step 203: after the host equipment is successfully connected with the AP router, the host equipment is configured into a static IP address, and then network download service is started, wherein the static IP address is agreed in advance between a master and a slave, and the slave can find the master through the IP address. The network download service includes http, tftp, ftp, etc., and the present invention is described by taking http download service as an example.
Step 204: the host device pop-up configuration interface is used to configure WiFi parameters, which are the parameters of the wireless network that are actually used in the actual environment. And after the user configuration is finished, automatically generating WiFi configuration parameters.
Step 205: the mobile terminal to be configured enters a key code into a slave mode, and equipment entering the slave mode automatically initiates a contracted AP router to establish network connection.
Step 206: after the slave device successfully connects to the AP router, it automatically sends a configuration download request to the static IP address agreed in advance in step 203.
Step 207: after the WiFi configuration parameters are successfully downloaded, the device automatically restarts and exits from the slave mode, and after the device is started, the obtained WiFi parameters are used for connecting a wireless network in an actual environment.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.

Claims (10)

1. The WiFi automatic configuration method for the mobile terminal is used for deploying WiFi network settings of N pieces of mobile terminal equipment in batches, and N is more than 1, and is characterized by mainly comprising the following steps:
step a: selecting any mobile terminal equipment to input a key code to enter a host mode, wherein the mobile terminal equipment is mobile terminal main equipment;
step b: starting WiFi hot spot service by using default SSID, password and encryption mode, and automatically generating WiFi configuration parameters through user configuration;
step c: the other N-1 mobile terminal equipment inputs a key code to enter a slave mode, the N-1 mobile terminal equipment is a mobile terminal slave equipment at the moment, wiFi network connection is established according to the set setting, and the N-1 mobile terminal equipment downloads the WiFi configuration parameters;
step d: and the N-1 mobile terminal equipment automatically restarts and exits the slave mode, and the WiFi configuration parameters are used for connecting a wireless network in an actual environment after the starting is completed.
2. The WiFi automatic configuration method according to claim 1, wherein in the step c, after the mobile terminal slave device establishes a WiFi network, the mobile terminal master device starts a network download service.
3. The WiFi auto-configuration method according to claim 2, wherein the network download service comprises http, tftp, ftp.
4. The WiFi auto-configuration method according to claim 3, wherein in step b the WiFi hotspot service is turned on by the mobile terminal host device.
5. The WiFi automatic configuration method according to claim 4, wherein in the step c, the mobile terminal slave device automatically initiates a WiFi hotspot connection to the mobile terminal master device, and downloads the WiFi configuration parameters after the connection is successful.
6. The WiFi auto-configuration method according to claim 5, wherein the mobile terminal host device creates a link file pointing to a WiFi parameter file when entering a host mode, the http service opens the link file for downloading, and deletes the link file when exiting the host mode.
7. The WiFi auto-configuration method according to claim 3, wherein in step b the WiFi hotspot service is turned on by an additionally provided AP router.
8. The WiFi auto-configuration method according to claim 7, wherein the mobile terminal master device automatically accesses the AP router and configures a static IP address after a successful connection.
9. The WiFi auto-configuration method according to claim 8, wherein the static IP address is pre-defined between the mobile terminal master device and the mobile terminal slave device, and the mobile terminal slave device can find the mobile terminal master device through the static IP address.
10. The WiFi automatic configuration method according to claim 9, wherein in the step c, the mobile terminal automatically sends a configuration download request to the static IP address after the WiFi network connection is established from the device.
CN201711492186.7A 2017-12-30 2017-12-30 WiFi automatic configuration method for mobile terminal Active CN108366382B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711492186.7A CN108366382B (en) 2017-12-30 2017-12-30 WiFi automatic configuration method for mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711492186.7A CN108366382B (en) 2017-12-30 2017-12-30 WiFi automatic configuration method for mobile terminal

Publications (2)

Publication Number Publication Date
CN108366382A CN108366382A (en) 2018-08-03
CN108366382B true CN108366382B (en) 2023-12-08

Family

ID=63010762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711492186.7A Active CN108366382B (en) 2017-12-30 2017-12-30 WiFi automatic configuration method for mobile terminal

Country Status (1)

Country Link
CN (1) CN108366382B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111147269B (en) * 2018-11-02 2022-09-30 中国电信股份有限公司 Access point configuration method, networking system, access point and storage medium
CN109548176A (en) * 2018-12-04 2019-03-29 深圳市四海伽蓝电子科技有限公司 A kind of wireless device pairing management method
CN110719589A (en) * 2019-07-11 2020-01-21 厦门亿联网络技术股份有限公司 IP telephone deployment method and system
CN111132164A (en) * 2019-12-30 2020-05-08 浙江欣奕华智能科技有限公司 Network distribution method and device of intelligent equipment
CN115733745A (en) * 2022-10-31 2023-03-03 苏州盛科通信股份有限公司 Method and device for generating flexible Ethernet service transmission configuration

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012075929A1 (en) * 2010-12-07 2012-06-14 华为技术有限公司 Method and system for batch upgrade of base stations
CN103188107A (en) * 2011-12-31 2013-07-03 北京大唐高鸿数据网络技术有限公司 Automatic finding and configured deployment system and method of terminal devices
CN103338504A (en) * 2013-06-21 2013-10-02 北京邮电大学 Information channel and power combined self-configuration method for APs (Access Points) in wireless local area network
CN105451230A (en) * 2015-11-12 2016-03-30 深圳市江波龙科技有限公司 Internet-of-things device configuration method and Internet-of-things device configuration system
CN105607493A (en) * 2015-11-20 2016-05-25 王丽华 WiFi communication based intelligent household control method
CN105721212A (en) * 2016-02-24 2016-06-29 四川长虹电器股份有限公司 Method and system of remotely configuring WIFI routing module by CM (Cable modem) module
CN106413033A (en) * 2016-06-16 2017-02-15 海尔优家智能科技(北京)有限公司 Method and device for configuring new device network access through adoption of device in network
CN106550427A (en) * 2015-09-21 2017-03-29 中国电信股份有限公司 For realizing method, WiFi terminal and the system of WLAN rapid configuration

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2508004A (en) * 2012-11-16 2014-05-21 Chris Hagan Wireless access point for transmitting downloads with means to encourage mobile devices into close proximity whilst downloading
CN104519020B (en) * 2013-09-29 2017-10-13 阿里巴巴集团控股有限公司 Manage method, server and the system of wireless network login password sharing function
US20160379017A1 (en) * 2013-12-27 2016-12-29 Intel Corporation Apparatus, system and techniques for a smart card computing device and associated host devices

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012075929A1 (en) * 2010-12-07 2012-06-14 华为技术有限公司 Method and system for batch upgrade of base stations
CN103188107A (en) * 2011-12-31 2013-07-03 北京大唐高鸿数据网络技术有限公司 Automatic finding and configured deployment system and method of terminal devices
CN103338504A (en) * 2013-06-21 2013-10-02 北京邮电大学 Information channel and power combined self-configuration method for APs (Access Points) in wireless local area network
CN106550427A (en) * 2015-09-21 2017-03-29 中国电信股份有限公司 For realizing method, WiFi terminal and the system of WLAN rapid configuration
CN105451230A (en) * 2015-11-12 2016-03-30 深圳市江波龙科技有限公司 Internet-of-things device configuration method and Internet-of-things device configuration system
CN105607493A (en) * 2015-11-20 2016-05-25 王丽华 WiFi communication based intelligent household control method
CN105721212A (en) * 2016-02-24 2016-06-29 四川长虹电器股份有限公司 Method and system of remotely configuring WIFI routing module by CM (Cable modem) module
CN106413033A (en) * 2016-06-16 2017-02-15 海尔优家智能科技(北京)有限公司 Method and device for configuring new device network access through adoption of device in network

Also Published As

Publication number Publication date
CN108366382A (en) 2018-08-03

Similar Documents

Publication Publication Date Title
CN108366382B (en) WiFi automatic configuration method for mobile terminal
US11133985B2 (en) Systems and methods for intuitive home networking
KR101102663B1 (en) System and method for auto wireless connection between mobile terminal and digital device
EP1844580B1 (en) Upnp vpn gateway configuration service
EP3151628B1 (en) Method, device and system for accessing a wireless network
KR101554743B1 (en) Method for automatic connectting of wireless lan between devices and the device therefor
WO2020098253A1 (en) Network access method and apparatus, related devices, and storage medium
US20090233609A1 (en) Touchless Plug and Play Base Station
CN104159321B (en) Wi-Fi configuration method and system
JP2006523412A (en) Automatic configuration of client terminals in public hot spots
JP4762660B2 (en) Wireless LAN system, wireless LAN terminal, and initial setting method of wireless LAN terminal
CN105744598B (en) A kind of connection method of Wireless LAN and device
CN104717225A (en) Internet of Things gateway access authentication method and system
JP2017102627A (en) IoT device network
US20210251019A1 (en) Systems and methods for provisioning wi-fi devices
CN110808942B (en) Subscription information configuration method, network equipment and terminal equipment
CN111934961A (en) Intelligent household network configuration method, equipment and computer readable storage medium
EP1947818A1 (en) A communication system and a communication method
JP2008258666A (en) Radio access system and radio access method
CN103906170A (en) Method for setting hardware Wi-Fi access point information
CN104918296A (en) Network connection assistance system and method
KR20120045859A (en) System and method for producing sequrity service by means of application, and apparatus applied to the same
CN103987075A (en) Method for adding Internet access device with mobile phone APP
WO2014005939A1 (en) Methods for configuring a device for establishing a first wireless link with a network.
CN107241412B (en) Method and system for storing MAC address of wireless access equipment

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