CN106488531B - Method for fast connecting wireless local area network - Google Patents

Method for fast connecting wireless local area network Download PDF

Info

Publication number
CN106488531B
CN106488531B CN201510534509.9A CN201510534509A CN106488531B CN 106488531 B CN106488531 B CN 106488531B CN 201510534509 A CN201510534509 A CN 201510534509A CN 106488531 B CN106488531 B CN 106488531B
Authority
CN
China
Prior art keywords
local area
area network
network
wireless local
sub
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
CN201510534509.9A
Other languages
Chinese (zh)
Other versions
CN106488531A (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.)
Guangzhou Haoshifu Intelligent Technology Co ltd
Original Assignee
Guangzhou Haoshifu 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 Guangzhou Haoshifu Intelligent Technology Co ltd filed Critical Guangzhou Haoshifu Intelligent Technology Co ltd
Priority to CN201510534509.9A priority Critical patent/CN106488531B/en
Publication of CN106488531A publication Critical patent/CN106488531A/en
Application granted granted Critical
Publication of CN106488531B publication Critical patent/CN106488531B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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
    • 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]

Landscapes

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

Abstract

The invention discloses a method for quickly connecting a wireless local area network, which comprises the following steps: A) setting a local area network by using a user terminal and writing a network identifier of the local area network into a storage medium; B) reading a network identifier to be added into the local area network by the sub-equipment in the local area network area, and adding the network identifier into the local area network; C) the local area network wirelessly sends the local area network name and the secret key to the sub-equipment, and the sub-equipment is automatically matched and connected with the local area network after receiving the local area network name and the secret key. According to the invention, through the wireless touch of the sub-equipment and the wireless local area network, the sub-equipment can automatically acquire the network name and the key information without one-to-one operation configuration of a mobile phone or other software, and the method is simple and convenient.

Description

Method for fast connecting wireless local area network
Technical Field
The invention relates to the internet technology, in particular to a method for quickly connecting a wireless local area network.
Background
The local area network in the current market is generally set by downloading a third party application program through a terminal such as a mobile phone or a home computer to perform networking, and connecting products, such as a millet intelligent home set. After the network information is accessed through the gateway, other devices need to pair products one by one through an application program and can be used after network names and keys are manually input.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method and a system for matching a wireless connection local area network, which reduce manual input at least to a certain extent.
In order to solve the above technical problem, the present invention provides a method for fast connecting to a wireless local area network, comprising the following steps: A) setting a local area network by using a user terminal and writing a network identifier of the local area network into a storage medium; B) reading a network identifier to be added into the local area network by the sub-equipment in the local area network area, and adding the network identifier into the local area network; C) the local area network wirelessly sends the local area network name and the secret key to the sub-equipment, and the sub-equipment is automatically matched and connected with the local area network after receiving the local area network name and the secret key.
Further, in the step A), a channel number and a network identifier are selected through a ZigBee coordinator in a gateway to establish a local area network, and the network identifier is written into a storage medium; the storage medium is a mifare card.
Further, in the step B), the sub device includes a Mifare card reader, and the Mifare card reader of the sub device is close to the Mifare card of the gateway and reads the network identifier in the Mifare card, so that the sub device is consistent with the network identifier of the gateway to join the local area network where the gateway is located.
Further, the sub-equipment comprises an alarm and a sensor.
Further, in the step C), the gateway of the lan wirelessly sends the lan name and the key to the kid device through zigbee, sub1G or bluetooth technology.
Further, the user terminal is a home computer or a mobile phone.
The invention also discloses a system for quickly connecting the wireless local area network, which comprises: the network setting unit comprises a user terminal and a storage medium, and is used for setting a local area network by using the user terminal and writing a network identifier of the local area network into the storage medium; the network matching unit comprises a sub-device with a network identifier reading device, and the sub-device in the local area network area reads the network identifier to be added into the local area network and adds the network identifier into the local area network; and the network connection unit comprises a wireless transmission subunit, the wireless transmission subunit transmits the local area network name and the key to the sub-equipment, and the sub-equipment is automatically matched and connected with the local area network after receiving the local area network name and the key.
Further, the network setting unit further comprises a ZigBee coordinator in the gateway, wherein the ZigBee coordinator selects the channel number and the network identifier to establish a local area network and writes the network identifier into a storage medium; the storage medium is a mifare card.
Further, the network identifier reading device is a Mifare card reader, and the Mifare card reader is close to a Mifare card of the gateway and reads a network identifier in the Mifare card, so that the sub-device is consistent with the network identifier of the gateway to join a local area network where the gateway is located.
Further, the wireless transmitting subunit is a zigbee, sub1G, or a bluetooth device.
According to the invention, through the wireless touch of the sub-equipment and the wireless local area network, the mifare card of the local area network gateway is matched with the card reader in the product, the network name and the key information are automatically acquired, and the operation and configuration of a mobile phone or other software are not needed, so that the method is simple and convenient.
Drawings
FIG. 1 is a flow chart of the method of the present invention.
Fig. 2 is a schematic diagram of the working principle of the present invention.
Detailed Description
The present invention is further described below in conjunction with the following figures and specific examples so that those skilled in the art may better understand the present invention and practice it, but the examples are not intended to limit the present invention.
As shown in fig. 1, the method for fast connecting to a wireless local area network of the present invention includes the following steps:
s1, setting LAN by user terminal and writing network identifier (PANID) of LAN into storage medium;
s2, the sub-device in the LAN area reads the network identifier to be added into the LAN, and adds into the LAN;
and S3, the local area network sends the local area network name and the key to the sub-equipment in a wireless mode, and the sub-equipment is automatically matched and connected with the local area network after receiving the local area network name and the key.
In a preferred embodiment, the established local area network is a ZigBee local area network, that is, a wireless local area network established by a ZigBee module is used for a gateway, a sub-device can search the wireless local area network through the ZigBee module and read information (including a network identifier) in the wireless local area network, ZigBee is an inexpensive and low-power-consumption short-range wireless networking communication technology, and is a wireless network protocol for low-speed short-range transmission, and the ZigBee protocol is, from bottom to top, a physical layer, a media access control layer, a transport layer, a network layer, an application layer, and the like, where the physical layer and the media access control layer conform to the provisions of the IEEE 802.15.4 standard. In a preferred embodiment, step S1 may select a channel number and a network identifier through a ZigBee coordinator in the gateway to establish a local area network, and write the network identifier into a storage medium; the storage medium is a mifare card. mifare cards, also known as contactless smart cards, inductive IC cards or radio frequency IC cards, successfully combine the radio frequency identification technology with the IC card technology, solve the technical problems of passive (no power supply in the card) and contactless, adopt an open architecture, have a memory function, and can store/read data information after being matched with a processor. In step S2, the child device includes a Mifare card reader, where the Mifare card reader of the child device is approximately 20 centimeters close to the Mifare card of the gateway and reads the network identifier in the Mifare card, so that the child device and the network identifier of the gateway are consistent to join the local area network where the gateway is located. In step S3, the gateway of the lan wirelessly transmits the lan name and the key to the child device via zigbee, sub1G or bluetooth technology.
The invention relates to a system for fast connecting wireless local area network, comprising: the network setting unit comprises a user terminal and a storage medium, and is used for setting a local area network by using the user terminal and writing a network identifier of the local area network into the storage medium; the network matching unit comprises a sub-device with a network identifier reading device, and the sub-device in the local area network area reads and reads the network identifier to be added into the local area network and adds the network identifier into the local area network; and the network connection unit comprises a wireless transmission subunit, the wireless transmission subunit transmits the local area network name and the key to the sub-equipment, and the sub-equipment is automatically matched and connected with the local area network after receiving the local area network name and the key.
In a preferred embodiment, the local area network is a ZigBee local area network, the network setting unit further includes a ZigBee coordinator in the gateway, the ZigBee coordinator selects a channel number and a network identifier to establish the local area network, and writes the network identifier in the storage medium; the storage medium is a mifare card. Preferably, the network identifier reading device is a Mifare card reader, which is approximately 20 cm close to the Mifare card of the gateway and reads the network identifier in the Mifare card, so that the sub-device is consistent with the network identifier of the gateway to join the local area network where the gateway is located. Still preferably, the wireless transmitting unit is a zigbee, sub1G or bluetooth device.
The invention does not need to configure products one by one, only needs to configure information to the gateway through a user terminal such as a mobile phone or a home computer, and other equipment can complete the pairing mode only by touching the gateway.
To explain the working principle of the present invention more fully with reference to fig. 2, first, the ZigBee coordinator in the gateway selects a channel number and a PANID (Personal Area Network ID) to establish a local Area Network, and writes the PANID into the mifare card. And secondly, reading the PANID in the mifare card by a card reader in the sub-equipment to ensure that the network identifier of the sub-equipment is consistent with the network identifier to be added into the local area network, so that a terminal node or a router in the sub-equipment can be added into the designated ZigBee local area network through the designated PANID. Specifically, if the network identifier in the child device is consistent with the identifier of the network established by the gateway, the child device sends a command to the gateway to apply for joining the network, so that the child device is connected to the local area network. Finally, the ZigBee coordinator of the gateway sends an SSID (Service Set Identifier, local area network name) and a KEY to a terminal node or a router in the child device through wireless (2.4G), so that the child device can establish connection with the local area network and connect to the internet through the local area network. After the sub-equipment receives the SSID and the KEY sent by the gateway, the sub-equipment can be provided with an internal WIFI module to establish connection with the wireless router, so that the sub-equipment can be connected to the Internet.
The above-mentioned embodiments are merely preferred embodiments for fully illustrating the present invention, and the scope of the present invention is not limited thereto. The equivalent substitution or change made by the technical personnel in the technical field on the basis of the invention is all within the protection scope of the invention. The protection scope of the invention is subject to the claims.

Claims (10)

1. A method for fast connection to a wireless local area network, comprising:
A) setting a zigbee wireless local area network by using a user terminal and writing a network identifier of the zigbee wireless local area network into a storage medium;
B) a sub-device in a zigbee wireless local area network area reads a network identifier to be added into the zigbee wireless local area network, and applies for adding into the WIFI wireless local area network;
C) and the zigbee wireless local area network wirelessly sends the WIFI wireless local area network name and the secret key to the sub-equipment, and the sub-equipment receives the WIFI wireless local area network name and the secret key and then automatically matches and connects the WIFI wireless local area network.
2. The method for fast connecting wireless local area network according to claim 1, wherein in step a), ZigBee wireless local area network is established by selecting channel number and network identifier through ZigBee coordinator in gateway, and writing the network identifier into storage medium; the storage medium is a mifare card.
3. The method according to claim 2, wherein in step B), the sub-device includes a Mifare card reader, and the Mifare card reader of the sub-device is close to the Mifare card of the gateway and reads the network identifier in the Mifare card, so that the sub-device is consistent with the network identifier of the gateway to join the zigbee wireless lan where the gateway is located.
4. The method of claim 3, wherein the sub-devices comprise alarms and sensors.
5. The method of claim 3, wherein in step C), the WIFI WLAN name and the secret key are wirelessly transmitted to the sub-device by a gateway of the zigbee WLAN through zigbee, sub1G or Bluetooth technology.
6. The method of claim 1, wherein the user terminal is a home computer or a mobile phone.
7. A system for fast connecting to a wireless local area network, comprising:
the network setting unit comprises a user terminal and a storage medium, and is used for setting a zigbee wireless local area network by using the user terminal and writing a network identifier of the zigbee wireless local area network into the storage medium;
the network matching unit comprises a sub-device with a network identifier reading device, and the sub-device in the zigbee wireless local area network area reads the network identifier to be added into the zigbee wireless local area network and applies for adding into the WIFI wireless local area network;
and the network connection unit comprises a wireless transmission subunit, the wireless transmission subunit transmits the WIFI wireless local area network name and the secret key to the sub-equipment, and the sub-equipment is automatically matched and connected with the WIFI wireless local area network after receiving the WIFI wireless local area network name and the secret key.
8. The system of claim 7, wherein the network setup unit further comprises a ZigBee coordinator in the gateway, the ZigBee coordinator selecting a channel number and a network identifier to establish a ZigBee wireless local area network, and writing the network identifier to the storage medium; the storage medium is a mifare card.
9. The system according to claim 8, wherein the network identifier reader is a Mifare card reader, the Mifare card reader is close to the Mifare card of the gateway and reads the network identifier in the Mifare card, so that the sub-device is consistent with the network identifier of the gateway to join the zigbee wireless lan where the gateway is located.
10. The system of claim 9, wherein the wireless transmitting subunit is a zigbee, sub1G or bluetooth device.
CN201510534509.9A 2015-08-24 2015-08-24 Method for fast connecting wireless local area network Active CN106488531B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510534509.9A CN106488531B (en) 2015-08-24 2015-08-24 Method for fast connecting wireless local area network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510534509.9A CN106488531B (en) 2015-08-24 2015-08-24 Method for fast connecting wireless local area network

Publications (2)

Publication Number Publication Date
CN106488531A CN106488531A (en) 2017-03-08
CN106488531B true CN106488531B (en) 2020-08-25

Family

ID=58234221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510534509.9A Active CN106488531B (en) 2015-08-24 2015-08-24 Method for fast connecting wireless local area network

Country Status (1)

Country Link
CN (1) CN106488531B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107105476A (en) * 2017-03-31 2017-08-29 欧普照明股份有限公司 Method of network entry and device, smart machine
CN107948003A (en) * 2017-12-29 2018-04-20 南京物联传感技术有限公司 A key screening device and its collocation method for a kind of smart home
CN112165727B (en) * 2020-09-09 2022-11-15 杭州涂鸦信息技术有限公司 Parallel network distribution system and method and mobile terminal
CN113067721A (en) * 2021-03-02 2021-07-02 广东睿住智能科技有限公司 Wireless network configuration method, system and storage medium of intelligent door

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102711282A (en) * 2012-05-21 2012-10-03 浙江优诺肯科技有限公司 Method for accessing zero-input wireless equipment into network and zero-input wireless equipment
CN103957593A (en) * 2014-01-17 2014-07-30 北京奇虎科技有限公司 Wireless network accessing method, device and system
CN104144463A (en) * 2014-08-19 2014-11-12 天津三星通信技术研究有限公司 Wi-fi network access method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9100382B2 (en) * 2012-03-20 2015-08-04 Qualcomm Incorporated Network security configuration using short-range wireless communication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102711282A (en) * 2012-05-21 2012-10-03 浙江优诺肯科技有限公司 Method for accessing zero-input wireless equipment into network and zero-input wireless equipment
CN103957593A (en) * 2014-01-17 2014-07-30 北京奇虎科技有限公司 Wireless network accessing method, device and system
CN104144463A (en) * 2014-08-19 2014-11-12 天津三星通信技术研究有限公司 Wi-fi network access method and system

Also Published As

Publication number Publication date
CN106488531A (en) 2017-03-08

Similar Documents

Publication Publication Date Title
CN104253634B (en) Double frequency multi-protocols multifunctional near-field communication integrate system and methods for using them
US9678693B2 (en) Method of setting wireless connection via near field communication function and image forming apparatus for performing the method
CN103051361B (en) Near field communication system and mobile terminal thereof, method of attachment
US9241237B2 (en) Device with an EEPROM having both a near field communication interface and a second interface
US9344154B2 (en) Near field communication system in a local network
JP6193859B2 (en) RFID card management method and terminal
EP2770782B1 (en) Wireless data communication
KR20150114765A (en) Image forming apparatus supporting function of NFC(near field communication) and method for setting NFC operation mode thereof
CN105144201A (en) Wireless signal generating cards and methods and system of using such cards
KR20140052690A (en) Electronic apparatus and control method of system
TWI539858B (en) Method for processing network connection with an electronic device and the electronic device
CN106488531B (en) Method for fast connecting wireless local area network
KR20150014317A (en) Image forming apparatus and mobile device for performing wireless configuration using near field communication
WO2013127124A1 (en) Method, system and terminal for implementing wi-fi connection through nfc
JP2016042693A (en) Method for detecting manipulation by user of device provided with communication tag, corresponding computer program product, user terminal, device and system
CN102255640B (en) Data exchange method based on near field communication technology and mobile terminal
CN101692741A (en) Information processing device, method and system
CN102832976A (en) NFC (Near Field Communication) communication method and device
CN105823560A (en) Intelligent temperature measurement method and intelligent temperature measurement system
CN105556492B (en) Near-field communication(NFC)Data transmission
KR101081535B1 (en) Method and Devices Transmitting Data for Bluetooth Mobile Phone by RFID
CN104284447A (en) Control apparatus, electronic device, control method
CN103987129A (en) Information push method, apparatus and system
KR101599905B1 (en) Wireless communication module and method for providing automatic configuration of network
KR100827813B1 (en) Method for pairing between bluetooth devices using tag and bluetooth device for the same

Legal Events

Date Code Title Description
C06 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