CN111356208A - AP distribution network jump-free method - Google Patents
AP distribution network jump-free method Download PDFInfo
- Publication number
- CN111356208A CN111356208A CN201811567223.0A CN201811567223A CN111356208A CN 111356208 A CN111356208 A CN 111356208A CN 201811567223 A CN201811567223 A CN 201811567223A CN 111356208 A CN111356208 A CN 111356208A
- Authority
- CN
- China
- Prior art keywords
- camera
- app
- mobile phone
- message
- distribution network
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/18—Selecting a network or a communication service
-
- 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]
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Multimedia (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention relates to the technical field of AP distribution network skipping, in particular to an AP distribution network skipping-free method, which comprises the following steps: binding APP at the mobile phone end, and managing Wi-Fi of the mobile phone; the APP is automatically connected with a camera hotspot Wi-Fi through a system API; the APP displays a Wi-Fi list scanned by the camera; the user selects one Wi-Fi and sends the account password to the camera; the user disconnects the hot spot Wi-Fi of the camera and then connects the previous Wi-Fi according to the system API; the camera takes Wi-Fi information to be added in a self-networking mode; the camera is successfully connected with the Wi-Fi, and a message is sent to inform the APP; according to the method and the device, the APP can be added with the UI successfully according to the message display, a user does not need to manually enter a setting page of the mobile phone, the camera can be automatically added in a networking mode, the phenomenon that the APP loses the message is avoided, correct UI display can be carried out according to the message, the intelligent degree is improved, and the two problems that the user is troublesome to operate and the message is lost are avoided.
Description
Technical Field
The invention relates to the technical field of AP distribution network skipping, in particular to an AP distribution network skipping-free method.
Background
As a security product, the camera is widely applied to various life scenes of people, as a terminal consumer, after taking the camera, the first step of the usage is to add the camera to the account number of the user by using an App provided by a manufacturer, the mode of adding equipment is various, the core is to inform the camera of Wi-Fi information which can be networked under the network environment, and the camera can be networked by taking the Wi-Fi information (account number name and password) through a network module of the firmware of the camera, so that the addition is completed;
when Wi-Fi information is added at present, a user needs to manually enter a setting page of a mobile phone and switch to a hot spot Wi-Fi of a camera; after the mobile phone disconnects the hotspot Wi-Fi of the camera, an available Wi-Fi can be automatically connected, but a certain time is needed, and in the period of time, the camera completes the action of networking addition, and the platform sends a message of successful addition to the App; therefore, if the mobile phone does not finish the operation of connecting with the available Wi-Fi in the period of time, the App loses the message and cannot perform correct UI display, so that although the device can be added, the problems of troublesome user operation and message loss exist.
Disclosure of Invention
The invention aims to provide an AP distribution network jump-free method to solve the problems in the background technology.
In order to achieve the purpose, the invention adopts the following technical scheme:
an AP distribution network jump-free method is designed, and comprises the following steps:
step one, binding APP at a mobile phone end, and managing Wi-Fi of the mobile phone;
step two, the APP is automatically connected with a camera hotspot Wi-Fi through a system API;
step three, the APP displays a Wi-Fi list scanned by the camera;
step four, the user selects one Wi-Fi and sends the account password to the camera;
step five, the user disconnects the hot spot Wi-Fi of the camera, and then connects the previous Wi-Fi according to the system API;
step six, the camera takes Wi-Fi information to be added in a self-networking mode;
seventhly, the camera is successfully connected with the Wi-Fi, and a message is sent to notify the APP;
and step eight, the APP displays and adds the UI successfully according to the message.
Preferably, when the mobile phone in the step one is an Android system, a WifiManager class and a WifiConfiguration class are provided for managing Wi-Fi of the mobile phone,
s1: initializing a Wifi configuration object, and setting Wi-Fi information into the object;
s2: and taking the object constructed in the first step as a parameter, and calling an addNet method of WifiManager.
Preferably, when the mobile phone in the step one is an iOS system, a nehotspot configuration class and a nehotspot configuration manager class are provided to manage the mobile phone Wi-Fi;
s1: initializing a NEHotspotconfiguration object by taking the Wi-Fi information as a parameter;
s2: the object constructed in the first step may be used as a parameter, and the applyConfiguration method of nehotspot configurarmager may be called.
The invention has the beneficial effects that:
according to the invention, a user does not need to manually enter a setting page of the mobile phone, the camera can be automatically added in a networking manner, the App is prevented from losing messages, correct UI display can be carried out according to the messages, the intelligent degree is improved, and two problems of troublesome operation of the user and message loss are avoided.
Drawings
FIG. 1 is a schematic structural view of the present invention;
FIG. 2 is a schematic diagram of the principle structure of the comparison method of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
Referring to fig. 1, an AP distribution network jump-free method includes the following steps:
step one, binding APP at a mobile phone end, and managing Wi-Fi of the mobile phone;
when the mobile phone is an Android system, a WifiManager class and a WifiConfiguration class are provided for managing the Wi-Fi of the mobile phone,
s1: initializing a Wifi configuration object, and setting Wi-Fi information into the object;
s2: taking the object constructed in the first step as a parameter, and calling an addNet method of WifiManager;
when the mobile phone is an iOS system, a NEHotspotconfiguration class and a NEHotspotconfiguration manager class are provided for managing the Wi-Fi of the mobile phone;
s1: initializing a NEHotspotconfiguration object by taking the Wi-Fi information as a parameter;
s2: taking the object constructed in the first step as a parameter, and calling an applyConfiguration method of NEHotspotconfiguration manager;
step two, the APP is automatically connected with a camera hotspot Wi-Fi through a system API;
step three, the APP displays a Wi-Fi list scanned by the camera;
step four, the user selects one Wi-Fi and sends the account password to the camera;
step five, the user disconnects the hot spot Wi-Fi of the camera, and then connects the previous Wi-Fi according to the system API;
step six, the camera takes Wi-Fi information to be added in a self-networking mode;
seventhly, the camera is successfully connected with the Wi-Fi, and a message is sent to notify the APP;
and step eight, the APP displays and adds the UI successfully according to the message.
The working principle is as follows: the mobile phone end is connected with Wi-Fi of a camera hotspot through an API of an APP system, so that the mobile phone end and the mobile phone end have a channel capable of transmitting data, the camera sends a Wi-Fi list scanned under the network environment to the App, the App shows the list, a user can perform networking and know the Wi-Fi of a password, the account number and the password of the Wi-Fi are sent to the camera through the channel just established, and the camera can perform networking addition after taking Wi-Fi information.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.
Claims (3)
1. A AP distribution network jump-free method is characterized by comprising the following steps:
step one, binding APP at a mobile phone end, and managing Wi-Fi of the mobile phone;
step two, the APP is automatically connected with a camera hotspot Wi-Fi through a system API;
step three, the APP displays a Wi-Fi list scanned by the camera;
step four, the user selects one Wi-Fi and sends the account password to the camera;
step five, the user disconnects the hot spot Wi-Fi of the camera, and then connects the previous Wi-Fi according to the system API;
step six, the camera takes Wi-Fi information to be added in a self-networking mode;
seventhly, the camera is successfully connected with the Wi-Fi, and a message is sent to notify the APP;
and step eight, the APP displays and adds the UI successfully according to the message.
2. The AP distribution network jump-free method according to claim 1, wherein: when the mobile phone in the step one is an Android system, a WifiManager class and a WifiConfiguration class are provided to manage the Wi-Fi of the mobile phone,
s1: initializing a Wifi configuration object, and setting Wi-Fi information into the object;
s2: and taking the object constructed in the first step as a parameter, and calling an addNet method of WifiManager.
3. The AP distribution network jump-free method according to claim 1, wherein: when the mobile phone in the step one is an iOS system, a NEHotspotconfiguration class and a NEHotspotconfiguration manager class are provided for managing the mobile phone Wi-Fi; s1: initializing a NEHotspotconfiguration object by taking the Wi-Fi information as a parameter; s2: the object constructed in the first step may be used as a parameter, and the applyConfiguration method of nehotspot configurarmager may be called.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811567223.0A CN111356208A (en) | 2018-12-21 | 2018-12-21 | AP distribution network jump-free method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811567223.0A CN111356208A (en) | 2018-12-21 | 2018-12-21 | AP distribution network jump-free method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111356208A true CN111356208A (en) | 2020-06-30 |
Family
ID=71196828
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811567223.0A Pending CN111356208A (en) | 2018-12-21 | 2018-12-21 | AP distribution network jump-free method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111356208A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120120243A1 (en) * | 2003-01-14 | 2012-05-17 | Tseng-Lu Chien | Device Having Built-In Digital Data Device Powered By Unlimited Power Source |
CN103108167A (en) * | 2013-02-26 | 2013-05-15 | 深圳市高斯贝尔家居智能电子有限公司 | Method for camera connecting to local wireless network and monitoring method of wireless network |
CN104144471A (en) * | 2014-07-24 | 2014-11-12 | 浙江生辉照明有限公司 | Wi-Fi networking method and system based on LED devices |
CN108990053A (en) * | 2018-07-04 | 2018-12-11 | 杭州涂鸦信息技术有限公司 | A method of making the smart machine intelligent networking with camera |
-
2018
- 2018-12-21 CN CN201811567223.0A patent/CN111356208A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120120243A1 (en) * | 2003-01-14 | 2012-05-17 | Tseng-Lu Chien | Device Having Built-In Digital Data Device Powered By Unlimited Power Source |
CN103108167A (en) * | 2013-02-26 | 2013-05-15 | 深圳市高斯贝尔家居智能电子有限公司 | Method for camera connecting to local wireless network and monitoring method of wireless network |
CN104144471A (en) * | 2014-07-24 | 2014-11-12 | 浙江生辉照明有限公司 | Wi-Fi networking method and system based on LED devices |
CN108990053A (en) * | 2018-07-04 | 2018-12-11 | 杭州涂鸦信息技术有限公司 | A method of making the smart machine intelligent networking with camera |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11109185B2 (en) | Mesh network and mesh device and network distribution method thereof | |
CN108012311B (en) | Method for automatically switching and configuring router of intelligent equipment | |
CN104144420A (en) | Wireless access method and related equipment and system | |
EP3496427B1 (en) | Method and device for networking devices | |
CN103797849A (en) | Method and apparatus for mobile terminal connected mode mobility | |
CN110798389B (en) | Network distribution method and system of intelligent household equipment, electronic equipment and storage medium | |
CN109005532B (en) | Bluetooth connection method, Bluetooth master device and Bluetooth slave device | |
EP3183911A1 (en) | Access control for connected network user devices | |
CN103327644A (en) | Method and equipment for wireless connection | |
CN104168389B (en) | Method for receiving talking and device | |
CN105745906B (en) | Message processing method, system and related equipment | |
CN101572885A (en) | Method and apparatus for setting wireless local area network by using button | |
EP3151610B1 (en) | Method for triggering registrar protocol interaction, access point and wireless station | |
CN104486755A (en) | System and method for realizing WIFI (Wireless Fidelity) configuration of intelligent equipment based on ibeacon | |
CN109691172A (en) | The method and apparatus for transmitting information | |
CN110519747A (en) | A kind of loaming method and AP and AP collaborative work controller | |
CN106537953B (en) | Method and system for improving or enabling radio coverage of user equipment to a mobile communication network | |
CN104105218A (en) | Method and system for achieving Android system mobile phone hotspot WPS connection | |
CN107318137A (en) | Base station, mobile communication device, and connection maintaining method | |
US20170127472A1 (en) | Method and wireless device for controlling disconnection of a wireless device in a wi-fi direct group of a wireless network | |
EP2445235B1 (en) | Short message network management realizing method, system and device | |
EP3531750B1 (en) | Communication apparatus and communication method | |
CN111356208A (en) | AP distribution network jump-free method | |
CN101808298A (en) | Method for transmitting prompt language and terminal | |
KR101677524B1 (en) | Method, base station, and network system for automatic x2 configuration deletion |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200630 |