CN104902532A - A method and system for automatically accessing wireless local area network - Google Patents

A method and system for automatically accessing wireless local area network Download PDF

Info

Publication number
CN104902532A
CN104902532A CN201410081872.5A CN201410081872A CN104902532A CN 104902532 A CN104902532 A CN 104902532A CN 201410081872 A CN201410081872 A CN 201410081872A CN 104902532 A CN104902532 A CN 104902532A
Authority
CN
China
Prior art keywords
equipment
local area
address
area network
wlan
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
CN201410081872.5A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201410081872.5A priority Critical patent/CN104902532A/en
Publication of CN104902532A publication Critical patent/CN104902532A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

An embodiment of the present invention provides a method and system for automatically accessing a wireless local area network. The method includes the steps that: whether a first device containing valid network connection information exists in the wireless local area network or not is determined; if so, when a new entrant second apparatus is found in the wireless local network, the first device sends the valid network connection information to the second device; and the second device configures itself with the valid network connection information, and accesses the wireless local area network. The method and system of the present invention can reduce manual operations, increase simplicity and accuracy of wireless local area network accessing, save time for accessing the wireless local area network, and fully and reasonably use resources on the premise that no hardware nor other cost are added.

Description

A kind of method and system of automatic accessing WLAN
Technical field
The application relates to communication technical field, particularly relates to a kind of method of automatic accessing WLAN, and, a kind of system of automatic accessing WLAN.
Background technology
WiFi is the technology that the terminals such as PC, handheld device (as PDA, mobile phone) can wirelessly be connected to each other by one, WiFi was originally the abbreviation of Wireless Fidelity, the English full name of WiFi is wireless fidelity, refer to " Wireless Fidelity " at the category of WLAN (wireless local area network), it is in fact a kind of commercial verification, also be simultaneously a kind of technology of Wireless Networking, connected computer by netting twine in the past, present then be networked by radio wave; Common is exactly a wireless router, so terminal can adopt WiFi connected mode to network in the effective range that the electric wave of this wireless router covers, if wireless router is connected to an adsl line or other online circuit, be then otherwise known as " focus ".
Be well known that, terminal interconnection network has two kinds of modes, and one is wirelessly, and a kind of is by wired mode.Wherein, wirelessly interconnection network refers to that terminal enters Wi-Fi hotspot region, wireless access points (Wireless Access Point near scanning, or Wi-Fi hotspot AP), then carry out SSID(Service Set Identifier, service set) select and Password Input.For any terminal newly entered, its operating procedure all, first, opens WiFi switch in wireless setting, then, AP in end of scan environs or Wi-Fi hotspot etc., afterwards, from identifying the SSID selecting an AP or Wi-Fi hotspot the AP or Wi-Fi hotspot that scan out with SSID, finally, input the password of AP corresponding to this SSID or Wi-Fi hotspot, then terminal can interconnection network in password authentification success, otherwise not by this AP or Wi-Fi hotspot interconnection network.
Refer to that terminal carries out network connection by network cable interconnection network access device by wired mode interconnection network, for the ease of identifying and management, usually network manager is needed manually to the terminal distribution IP address of new access, mask address and gateway address are set, afterwards, this terminal just can interconnection network.
But, when there is multiple terminal in the network environment in WLAN (wireless local area network) and needing configuration, no matter wirelessly, or all need a large amount of manual operations by wired mode interconnection network, such as: current have 50 intelligent terminals needing to access this wireless network, in this case, wirelessly need on each station terminal, at least input a password, or, need on each station terminal, at least arrange an IP address by wired mode, mask address and gateway address, cause expending of time, affect the efficiency of work, and, the repeatedly input of password, or, easily there is mistake in arranging of multiple stage IP address of terminal, increase the probability of makeing mistakes, network is caused to connect the increase of degree of difficulty, make resource can not abundant Appropriate application.
Therefore, the technical problem needing those skilled in the art urgently to solve at present is exactly: the method and system providing a kind of automatic accessing WLAN, in order under the prerequisite not increasing any hardware and other costs, reduce manual operation, improve simplification and the accuracy of WLAN (wireless local area network) access, save the turn-on time of WLAN (wireless local area network), fully make rational use of resources.
Summary of the invention
Embodiment of the present invention technical problem to be solved is to provide a kind of method of automatic accessing WLAN, in order under the prerequisite not increasing any hardware and other costs, reduce manual operation, improve simplification and the accuracy of WLAN (wireless local area network) access, save the turn-on time of WLAN (wireless local area network), fully make rational use of resources.
Accordingly, the embodiment of the present invention additionally provides a kind of device of automatic accessing WLAN, in order to ensure the implementation and application of said method.
In order to solve the problem, the invention discloses a kind of method of automatic accessing WLAN, comprising:
Judge in described WLAN (wireless local area network), whether there is the first equipment comprising effective network connection information;
When if so, then finding the second equipment newly entered in described WLAN (wireless local area network), by described first equipment, described active block link information is sent to described second equipment;
Described second equipment adopts described active block link information to be configured self, accesses in described WLAN (wireless local area network).
Preferably, described first equipment is radio reception device, and described second equipment is radio reception device or access in radio equipment.
Preferably, when described second equipment is radio reception device, described network connection information comprises wireless network and connects configuration information;
Described first equipment is installed and is started wireless direct-connected WiFi Direct and serves; Described second equipment is provided with wireless direct-connected WiFi Direct and serves;
The second equipment newly entered is searched in the following way in described WLAN (wireless local area network):
Second equipment is by one or more equipment of described wireless direct-connected WiFi Direct service scan create name; One or more equipment of described create name comprise the first equipment;
After first equipment described in second selection of equipment, be connected based on described wireless direct-connected WiFi Direct service with described first equipment;
If successful connection, then determine in described WLAN (wireless local area network), find the second equipment newly entered;
Or,
The second equipment newly entered is searched in the following way in described WLAN (wireless local area network):
First equipment is by one or more equipment of described wireless direct-connected WiFi Direct service scan create name; One or more equipment of described create name comprise the second equipment;
After second equipment described in first selection of equipment, be connected based on described wireless direct-connected WiFi Direct service with described second equipment;
If successful connection, then determine in described WLAN (wireless local area network), find the second equipment newly entered.
Preferably, also comprise:
Described second equipment starts described wireless direct-connected WiFi Direct serve.
Preferably, when described second equipment is radio reception device, described network connection information comprises wireless network and connects configuration information;
The second equipment newly entered is searched in the following way in described WLAN (wireless local area network):
The wireless access point AP that second device scan is specified;
When scanning described wireless access point AP of specifying and being configured on the first device, described second carries out wireless connections with described first equipment;
If successful connection, then determine in described WLAN (wireless local area network), find the second equipment newly entered.
Preferably, described by described first equipment described active block link information is sent to the step of described second equipment after, also comprise:
Described second equipment, after receiving described active block link information, disconnects the connection with described first equipment.
Preferably, adopt described active block link information to be configured self at described second equipment, after accessing the step in described WLAN (wireless local area network), also comprise:
Described second equipment configures described wireless access point AP of specifying after adopting the success of described active block link information interconnection network on described second equipment.
Preferably, when described second equipment is access in radio equipment, described network connection information includes spider lines and connects configuration information; The private IP address in described WLAN (wireless local area network) is preset with in described second equipment;
The second equipment newly entered is searched in the following way in described WLAN (wireless local area network):
When by Intranet broadcast, described second equipment finds that described private IP address is unduplicated private IP address, described private IP address is adopted to initiate to seek IP address broadcast agreement in described WLAN (wireless local area network);
When described first equipment according to described in seek IP address broadcast agreement receive the private IP address of described second equipment time, determine in described WLAN (wireless local area network), find the second equipment newly entered.
Preferably, described first equipment has IP address own, mask address and gateway address; Described cable network connects configuration information and comprises available IP address, mask address and gateway address, describedly the step that described active block link information is sent to described second equipment is comprised by described first equipment:
After described first equipment receives the broadcast address of described second equipment, the IP address according to described first equipment itself generates available IP address;
Described available IP address, mask address and gateway address are broadcast to described second equipment by described first equipment.
According to embodiments of the invention, disclose a kind of system of automatic accessing WLAN, comprising:
There is judge module in the first equipment, for judging in described WLAN (wireless local area network), whether there is the first equipment comprising effective network connection information;
Network connection information delivery module, for when existence comprises the first equipment of effective network connection information, when then finding the second equipment newly entered in described WLAN (wireless local area network), by described first equipment, described active block link information is sent to described second equipment;
Network connection information configuration module, adopts described active block link information to be configured self for described second equipment, accesses in described WLAN (wireless local area network).
Preferably, described first equipment is radio reception device, and described second equipment is radio reception device or access in radio equipment.
Preferably, when described second equipment is radio reception device, described network connection information comprises wireless network and connects configuration information;
Described first equipment is installed and is started wireless direct-connected WiFi Direct and serves; Second equipment is provided with wireless direct-connected WiFi Direct and serves;
In described WLAN (wireless local area network), the second equipment newly entered is searched by following submodule:
Active scan submodule, for the one or more equipment of the second equipment by described wireless direct-connected WiFi Direct service scan create name; One or more equipment of described create name comprise the first equipment;
Initiatively connexon module, after the first equipment described in the second selection of equipment, is connected based on described wireless direct-connected WiFi Direct service with described first equipment;
First determines submodule, for when successful connection, then determines in described WLAN (wireless local area network), find the second equipment newly entered;
Or,
In described WLAN (wireless local area network), the second equipment newly entered is searched by following submodule:
Drive sweep submodule, for the one or more equipment of the first equipment by described wireless direct-connected WiFi Direct service scan create name; One or more equipment of described create name comprise the second equipment;
Passive connexon module, after the second equipment described in the first selection of equipment, is connected based on described wireless direct-connected WiFi Direct service with described second equipment;
Second determines submodule, for when successful connection, then determines in described WLAN (wireless local area network), find the second equipment newly entered.
Preferably, described system also comprises:
WiFi Direct serves and starts module, serves for starting described wireless direct-connected WiFi Direct on described second equipment.
Preferably, when described second equipment is radio reception device, described network connection information comprises wireless network and connects configuration information;
In described WLAN (wireless local area network), the second equipment newly entered is searched by following submodule:
Wireless access point AP scanning submodule, for the wireless access point AP that the second device scan is specified;
Wireless connections submodule, for when scanning described wireless access point AP of specifying and being configured on the first device, described second carries out wireless connections with described first equipment;
3rd determines submodule, for when successful connection, then determines in described WLAN (wireless local area network), find the second equipment newly entered.
Preferably, described system also comprises:
Connect and disconnect submodule, for described second equipment after receiving described active block link information, disconnect the connection with described first equipment.
Preferably, also comprise in described system:
Wireless access point AP configuration submodule, after adopting the success of described active block link information interconnection network, described second equipment configures described wireless access point AP of specifying for described second equipment.
Preferably, when described second equipment is access in radio equipment, described network connection information includes spider lines and connects configuration information; The private IP address in described WLAN (wireless local area network) is preset with in described second equipment;
In described WLAN (wireless local area network), the second equipment newly entered is searched by following submodule:
Seek IP address broadcast agreement and initiate submodule, for when by Intranet broadcast, described second equipment finds that described private IP address is unduplicated private IP address, described private IP address is adopted to initiate to seek IP address broadcast agreement in described WLAN (wireless local area network);
4th determines submodule, for described first equipment according to described in seek IP address broadcast agreement receive the private IP address of described second equipment time, determine in described WLAN (wireless local area network), find the second equipment newly entered.
Preferably, described first equipment has IP address own, mask address and gateway address; Described cable network connects configuration information and comprises available IP address, mask address and gateway address, and described network connection information delivery module comprises:
Available IP address generates submodule, and receive the broadcast address of described second equipment for described first equipment after, the IP address according to described first equipment itself generates available IP address;
Active block link information broadcast submodule, is broadcast to described second equipment for described first equipment by described available IP address, mask address and gateway address.
Compared with prior art, the embodiment of the present invention comprises following advantage:
The present invention is by wireless network environment, there is one or more when comprising the first equipment of effective network connection information, second equipment can obtain the active block link information of the first equipment transmission by the mode of automatic learning, and adopt described active block link information to be automatically configured, access in described wireless network environment, in the process, namely the first conventional equipment and the second equipment can complete the configuration of active block link information, and, all automatically, operate after first equipment and the second opening of device, therefore, the present invention does not need to increase any hardware and other costs and namely effectively can reduce by the second equipment and obtain network connection information and carry out the manual operation of network connection, save the turn-on time of WLAN (wireless local area network), improve the simplification of WLAN (wireless local area network) access, and, the accuracy that active block link information can guarantee information is transmitted by the first equipment, therefore, decrease the mistake that manual operation causes, improve the accuracy of WLAN (wireless local area network) access, fully make rational use of resources.
Further, the mode that the present invention is served by wireless direct-connected WiFi Direct, or the mode of AP+Client, extends the approach finding the second equipment, guarantee that the second equipment can be searched, thus the automatic configuration of network connection information can be completed, can manual operation be reduced, improve simplification and the accuracy of WLAN (wireless local area network) access, save the turn-on time of WLAN (wireless local area network), fully make rational use of resources.
Further, the present invention adopts the mode of wired connection to be connected to network by the second equipment, first equipment automatically can generate IP address required for the second equipment, arrange mask address and gateway address, and send the second equipment to, second equipment adopts described IP address, arrange after mask address and gateway address be configured automatically, is connected to network.Therefore, extend the approach finding the second equipment, guarantee that the second equipment can be searched, thus the automatic configuration of network connection information can be completed, manual operation can be reduced, improve simplification and the accuracy of WLAN (wireless local area network) access, save the turn-on time of WLAN (wireless local area network), fully make rational use of resources.
Accompanying drawing explanation
Fig. 1 shows the flow chart of steps of the embodiment of the method 1 of a kind of automatic accessing WLAN of the present invention;
Fig. 2 shows the flow chart of steps of the embodiment of the method 2 of a kind of automatic accessing WLAN of the present invention;
Fig. 3 shows the flow chart of steps of the embodiment of the method 3 of a kind of automatic accessing WLAN of the present invention;
Fig. 4 shows the flow chart of steps of the embodiment of the method 4 of a kind of automatic accessing WLAN of the present invention;
Fig. 5 shows the flow chart of steps of the embodiment of the method 5 of a kind of automatic accessing WLAN of the present invention;
Fig. 6 shows the structured flowchart of the system embodiment of a kind of automatic accessing WLAN of the present invention.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
One of core idea of the embodiment of the present invention is, in wireless network environment, there is one or more when comprising the first equipment of effective network connection information, second equipment can obtain the active block link information of the first equipment transmission by the mode of automatic learning, and adopt described active block link information to be automatically configured, access in described wireless network environment, thus can under the prerequisite not increasing any hardware and other costs, reduce manual operation, improve simplification and the accuracy of WLAN (wireless local area network) access, save the turn-on time of WLAN (wireless local area network), fully make rational use of resources.
With reference to Fig. 1, show the flow chart of steps of the embodiment of the method 1 of a kind of automatic accessing WLAN of the present invention, specifically can comprise the steps:
Step 101, judges in described WLAN (wireless local area network), whether there is the first equipment comprising effective network connection information; If so, then step 102 is performed;
In embodiments of the present invention, described first equipment is radio reception device, such as, and mobile phone, panel computer etc.Described active block link information is for effectively can connect AP, and the networks such as Wi-Fi hotspot connect configuration information, such as, and the password that SSID and SSID is corresponding.In specific implementation, when the first equipment is successfully connected to WiFi router, usually can automatically preserves network and connect configuration information, such as, the password etc. that SSID and SSID is corresponding.
It should be noted that, when WLAN (wireless local area network) is for completely newly to build, when not yet configuring arbitrary accessing terminal, when a certain terminal initially accesses as the first equipment, for ease of user operation, mobile phone, panel computer etc. can be adopted to have the terminal of interactive interface as the first equipment, namely user can pass through interactive interface configuration network link information, such as, select SSID and input password thus configure current first equipment connection WLAN (wireless local area network), network connection information is just kept in current first equipment voluntarily afterwards; Certainly, those skilled in the art also can be adopted traditional approach to be connected on computer by wired network interface and configure the first equipment, the present invention to this without the need to being limited.
Step 102, when finding the second equipment newly entered in described WLAN (wireless local area network), is sent to described second equipment by described first equipment by described active block link information;
In actual applications, second equipment can be radio reception device, also can be access in radio equipment, such as, mobile phone, panel computer, wireless camera, wireless network DVR etc., when there is the first equipment comprising effective network connection information in WLAN (wireless local area network), and, when finding the second equipment newly entered, the active block link information that self preserves can be sent to the second equipment by the first equipment.
Step 103, described second equipment adopts described active block link information to be configured self, accesses in described WLAN (wireless local area network).
In a particular application, the second equipment can adopt this network connection information to be configured self, namely access in current wireless Local Area Network after configuration successful after receiving the active block link information of the first equipment transmission.
When after the described WLAN (wireless local area network) of access, described second equipment can adopt the network connection information himself configured to carry out network connection, uses Internet service miscellaneous.
Relative in prior art, wirelessly interconnection network needs manually to select SSID and input password, and need manually to arrange IP address by wired mode interconnection network, mask address and gateway address, the present invention is by wireless network environment, there is one or more when comprising the first equipment of effective network connection information, second equipment can obtain the active block link information of the first equipment transmission by the mode of automatic learning, and adopt described active block link information to be automatically configured, access in described wireless network environment, in the process, namely the first conventional equipment and the second equipment can complete the configuration of active block link information, all automatically run after first equipment and the second opening of device, therefore, the present invention does not need to increase any hardware and other costs and namely effectively can reduce by the second equipment and obtain network connection information and carry out the manual operation of network connection, improve the simplification of WLAN (wireless local area network) access, and, the accuracy that active block link information can guarantee information is transmitted by the first equipment, therefore, decrease the mistake that manual operation causes, improve the accuracy of WLAN (wireless local area network) access, save the turn-on time of WLAN (wireless local area network), fully make rational use of resources.
With reference to Fig. 2, show the flow chart of steps of the embodiment of the method 2 of a kind of automatic accessing WLAN of the present invention, specifically can comprise the steps:
Step 201, judges in described WLAN (wireless local area network), whether there is the first equipment comprising effective network connection information; If so, then step 202 is performed;
Wherein, described first equipment is radio reception device, and described first equipment is installed and started wireless direct-connected WiFi Direct and serves.
WiFi Direct service is the service based on WiFi Direct standard, WiFi Direct standard is referred to and allows equipment in wireless network without the need to being interconnected by wireless router, can support direct-connected one to one, also can realize multiple devices and connect simultaneously.
Step 202, the second equipment is by one or more equipment of described wireless direct-connected WiFi Direct service scan create name;
Wherein, one or more equipment of described create name comprise the first equipment;
In the present embodiment, described second equipment is radio reception device, and described network connection information comprises wireless network and connects configuration information; Described second equipment is provided with WiFi Direct and serves.
In described WLAN (wireless local area network), can by WiFi Direct service search to the second equipment newly entered, wherein, can to be comprised to the second equipment newly entered by WiFi Direct service search and in described WLAN (wireless local area network), find by active mode the second equipment newly entered, namely the second equipment initiatively scans, and determines the second equipment in a wireless local area network.
It should be noted that, in embodiments of the present invention, the first equipment, the second equipment are when dispatching from the factory or just fill, and system can specify the title of the first equipment, the second equipment.
Step 203, after the first equipment described in the second selection of equipment, is connected based on described wireless direct-connected WiFi Direct service with described first equipment;
Step 204, if successful connection, then determines in described WLAN (wireless local area network), find the second equipment newly entered;
After the second equipment finds the first equipment by WiFi Direct service scan, be connected based on described WiFi Direct service with the first equipment, now, legitimacy verification can be carried out, namely judge whether the second equipment and the first equipment are same categories of device, if the second equipment and the first equipment are same categories of device, then successful connection, determine in described WLAN (wireless local area network), find the second equipment newly entered; Otherwise connection failure, determines not find the second equipment newly entered in described WLAN (wireless local area network).
It should be noted that, in the present embodiment, first equipment and the second equipment are the same category of device installing WiFi Direct service, and so-called same category of device refers to the device name with identical naming rule, and uses identical host-host protocol to carry out the equipment communicated.
Below, to find by initiatively (namely the second equipment searches the first equipment) mode the second equipment newly entered in described WLAN (wireless local area network), the step 202 of this kind of situation detailed process to step 204 is introduced.
Suppose, the device name of the first equipment is Device123;
Step 1, the second equipment is first equipment of Device123 by described WiFi Direct service scan create name;
Step 2, when discovering device name is called first equipment of Device123, the second selection of equipment first equipment, is connected based on described WiFi Direct service with described first equipment;
Step 3, judges whether described first equipment is same category of device, if so, then performs step 4; Otherwise, then step 5 is performed;
Step 4, successful connection, determines in described WLAN (wireless local area network), find the second equipment newly entered;
Step 5, connection failure, determines in described WLAN (wireless local area network), do not find the second equipment newly entered.
Step 205, is sent to described second equipment by described first equipment by described active block link information;
In embodiments of the present invention, active block link information comprises wireless network and connects configuration information, and wireless network connects configuration information can comprise password corresponding to the SSID of WLAN (wireless local area network) and this SSID.When determining to find the second equipment newly entered in a wireless local area network, password corresponding for the SSID of WLAN (wireless local area network) and this SSID is sent to the second equipment by the first equipment automatically.
Step 206, described second equipment adopts described active block link information to be configured self, accesses in described WLAN (wireless local area network).
In specific implementation, the second equipment gets final product in accessing WLAN after adopting password corresponding to the SSID of WLAN (wireless local area network) and this SSID to configure.
In a kind of preferred exemplary of the present invention, can also comprise the following steps after described step 206:
Described second equipment starts described wireless direct-connected WiFi Direct serve.
After this second equipment access WLAN (wireless local area network), the WiFi Direct that can start this second equipment serves, and namely this second Equipments Setting as the first equipment, can wait for that the second equipment that other do not configure connects after completing.
Certainly, just exemplarily, when implementing the embodiment of the present invention, can arrange the configuration mode of other the second equipment according to actual conditions, the embodiment of the present invention is not limited this configuration mode of above-mentioned second equipment.In addition, except the configuration mode of above-mentioned second equipment, those skilled in the art can also adopt the configuration mode of other the second equipment according to actual needs, and the embodiment of the present invention is not also limited this.
The present invention finds the second equipment by mode initiatively, extend the approach finding the second equipment, guarantee that the second equipment can be searched, thus the automatic configuration of network connection information can be completed, under the prerequisite not increasing any hardware and other costs, manual operation can be reduced, improve simplification and the accuracy of WLAN (wireless local area network) access, save the turn-on time of WLAN (wireless local area network), fully make rational use of resources.
With reference to Fig. 3, show the flow chart of steps of the embodiment of the method 3 of a kind of automatic accessing WLAN of the present invention, specifically can comprise the steps:
Step 301, judges in described WLAN (wireless local area network), whether there is the first equipment comprising effective network connection information; If so, then step 302 is performed;
Wherein, described first equipment is radio reception device, and described first equipment is installed and started wireless direct-connected WiFi Direct and serves.
Step 302, the first equipment is by one or more equipment of described wireless direct-connected WiFi Direct service scan create name;
Wherein, one or more equipment of described create name comprise the second equipment;
In the present embodiment, described second equipment is radio reception device, and described network connection information comprises wireless network and connects configuration information; Described second equipment is provided with wireless direct-connected WiFi Direct and serves;
After the first equipment finds the second equipment by WiFi Direct service scan, be connected based on described WiFi Direct service with the second equipment, now, legitimacy verification can be carried out, namely judge whether the second equipment and the first equipment are same categories of device, if the second equipment and the first equipment are same categories of device, then successful connection, determine in described WLAN (wireless local area network), find the second equipment newly entered; Otherwise connection failure, determines not find the second equipment newly entered in described WLAN (wireless local area network).
Step 303, after the second equipment described in the first selection of equipment, is connected based on described wireless direct-connected WiFi Direct service with described second equipment;
Step 304, if successful connection, then determines in described WLAN (wireless local area network), find the second equipment newly entered.
Below, to find by passive (namely the first equipment searches the second equipment) mode the second equipment newly entered in described WLAN (wireless local area network), the step 302 of this kind of situation detailed process to step 304 is introduced.
Suppose, the device name of the second equipment is Device456;
Step I, the first equipment is second equipment of Device456 by described WiFi Direct service scan create name;
Step I i, when discovering device name is called second equipment of Device456, the first selection of equipment second equipment, is connected based on described WiFi Direct service with described second equipment;
Step I ii, judges whether described second equipment is same category of device, if so, then performs step I v, if not, then performs step v;
Step I v, successful connection, determines in described WLAN (wireless local area network), find the second equipment newly entered;
Step v, connection failure, determines in described WLAN (wireless local area network), do not find the second equipment newly entered.
Step 305, is sent to described second equipment by described first equipment by described active block link information;
Step 306, described second equipment adopts described active block link information to be configured self, accesses in described WLAN (wireless local area network).
In a kind of preferred exemplary of the present invention, can also comprise the following steps after described step 306:
Described second equipment starts described wireless direct-connected WiFi Direct serve.
The difference part of the present embodiment and said method embodiment 2 is, the present embodiment finds the second equipment newly entered in described WLAN (wireless local area network) by passive mode, and namely the first equipment is by scanning search second equipment, and the second equipment is the process of passively discover.
The present invention is based on WiFi Direct service and find the second equipment by passive mode, extend the approach finding the second equipment, guarantee that the second equipment can be searched, thus the automatic configuration of network connection information can be completed, under the prerequisite not increasing any hardware and other costs, manual operation can be reduced, improve simplification and the accuracy of WLAN (wireless local area network) access, save the turn-on time of WLAN (wireless local area network), fully make rational use of resources.
With reference to Fig. 4, show the flow chart of steps of the embodiment of the method 4 of a kind of automatic accessing WLAN of the present invention, specifically can comprise the steps:
Step 401, judges in described WLAN (wireless local area network), whether there is the first equipment comprising effective network connection information; If so, then step 402 is performed;
Wherein, described first equipment is radio reception device, and described first equipment is installed and started AP service.
Step 402, the wireless access point AP that the second device scan is specified;
Wherein, described second equipment is radio reception device, and described network connection information comprises wireless network and connects configuration information.
Wireless access point AP is the access point of a wireless network, mainly contain route switching access equipment integrating and pure access point apparatus, equipment integrating performs access and route work, pure access device is only responsible for the access of wireless client, pure access device uses usually used as wireless network expansion, be connected with other AP or main AP, to expand wireless coverage, and equipment integrating is generally the core of wireless network.
It should be noted that, in embodiments of the present invention, the first equipment, the second equipment, can the titles of the good wireless access point AP of default setting when dispatching from the factory, and conveniently identify, what the title of wireless access point AP can be set grows and be not easy to obscure.
Step 403, when scanning described wireless access point AP of specifying and being configured on the first device, described second carries out wireless connections with described first equipment;
Step 404, if successful connection, then determines in described WLAN (wireless local area network), find the second equipment newly entered.
After the second equipment is by Wi-Fi hotspot scanning discovery first equipment of the first equipment, be connected with the first equipment, now, legitimacy verification can be carried out, namely judge whether the second equipment and the first equipment are same categories of device, if the second equipment and the first equipment are same categories of device, then successful connection, determine in described WLAN (wireless local area network), find the second equipment newly entered; Otherwise connection failure, determines not find the second equipment newly entered in described WLAN (wireless local area network).
It should be noted that, in embodiments of the present invention, first equipment and the second equipment can be the same categories of device of the title of the good wireless access point AP of default setting, so-called same category of device refers to the title of the wireless access point AP with identical naming rule, and uses identical host-host protocol to carry out the equipment communicated.
Below, for by AP+Client(wireless client) mode finds the second equipment newly entered in described WLAN (wireless local area network), the detailed process of this kind of situation is introduced.
Suppose that the Wi-Fi hotspot of the first equipment is AP123;
Step I, the second device scan specifies Wi-Fi hotspot name to be called first equipment of AP123;
Step II, when finding that Wi-Fi hotspot name is called first equipment of AP123, the second selection of equipment first equipment, is connected with the Wi-Fi hotspot of described first equipment;
Step II I, judges whether described second equipment is same category of device, if so, then performs step IV, if not, then performs step V;
Step IV, successful connection, determines in described WLAN (wireless local area network), find the second equipment newly entered;
Step V, connection failure, determines in described WLAN (wireless local area network), do not find the second equipment newly entered.
Step 405, is sent to described second equipment by described first equipment by described active block link information;
In embodiments of the present invention, active block link information comprises wireless network and connects configuration information, and wireless network connects configuration information can comprise password corresponding to the SSID of WLAN (wireless local area network) and this SSID.When determining to find the second equipment newly entered in a wireless local area network, password corresponding for the SSID of WLAN (wireless local area network) and this SSID is sent to the second equipment by the first equipment automatically.
Step 406, described second equipment, after receiving described active block link information, disconnects the connection with described first equipment.
Disconnect and namely disconnect the connection with wireless access point AP with the connection of the first equipment, because the second equipment needs to carry out wireless connections with WLAN (wireless local area network), be well known that, in a terminal, the connection of WLAN (wireless local area network) and the connection of wireless access point AP can not exist simultaneously, therefore, first must disconnect and could carry out wireless connections with WLAN (wireless local area network) with the connection of wireless access point AP.
Step 407, described second equipment adopts described active block link information to be configured self, accesses in described WLAN (wireless local area network).
For making those skilled in the art understand step 406 of the present invention better to step 407, it is example that the Wi-Fi hotspot below by way of the first equipment finds the second equipment, further illustrates the embodiment of the present invention.
Suppose, the Wi-Fi hotspot of the first equipment is AP123, and active block link information comprises password corresponding to SSID and SSID, and SSID is the password that AP456, SSID are corresponding is 12345678.
Steps A 1, it be the password that AP456, SSID are corresponding is after the active block link information of 12345678 that the second equipment receives SSID, disconnects the connection with AP123;
Steps A 2, the second device scan SSID is the Wi-Fi hotspot of AP456;
Steps A 3, when the SSID of the second device discovery Wi-Fi hotspot is AP456, adopts the password of 12345678 to be connected with AP456;
Steps A 4, if successful connection, then accesses in described WLAN (wireless local area network).
In a kind of preferred exemplary of the present invention, can also comprise the following steps after described step 407:
Described second equipment configures described wireless access point AP of specifying after adopting the success of described active block link information interconnection network on described second equipment.
In a particular application, the Wi-Fi hotspot of the second equipment is started by AP+Client mode, be exactly can connect by Client mode the SSID got by AP+Client mode, can be started the Wi-Fi hotspot of the second equipment by AP mode, namely this second Equipments Setting can as the first equipment after completing.Follow-up the second equipment that other do not configure so just is can be used for continue in the same way to add use.
The present invention finds the second equipment by the mode of AP+Client, extend the approach finding the second equipment, guarantee that the second equipment can be searched, thus the automatic configuration of network connection information can be completed, under the prerequisite not increasing any hardware and other costs, manual operation can be reduced, improve simplification and the accuracy of WLAN (wireless local area network) access, save the turn-on time of WLAN (wireless local area network), fully make rational use of resources.
In specific implementation, some radio reception devices are also had to need just can run based on business demand information, for wireless camera, wireless camera also needs the business demand information such as user ID and password of game server, wireless camera after being connected to network, can be obtained by the Internet voluntarily.
Certainly, also there is a kind of situation not allow the second equipment connection outer net, exactly when there is fire compartment wall in family or business network environment, after the good active block link information of the second Equipments Setting, not being allowed to connecting Internet.If when now the second equipment has business demand informational needs to configure, such as, after configuring active block link information for wireless camera, the business demand informational needs such as the user ID of game server and password are also had to configure, can pass through normally to run after RIP agreement (Routing Information Protocol, routing information protocol) obtains business demand information.Second equipment can be connected by the first equipment the passage of server, wherein, can comprise the first equipment, the second equipment, server, and, transferring equipment, detailed process is as follows:
The first step, described first equipment sends the request extremely described server carrying out with described second equipment being directly connected;
Second step, when according to the feedback of described server for described request, when described first equipment directly cannot be connected with described second equipment, receives the information of one or more transferring equipment that described server returns;
3rd step, described first equipment connects described one or more transferring equipment according to the information of described one or more transferring equipment; If successful connection, then the information of one or more transferring equipment of successful connection is sent to described second equipment; Described second equipment is used for connecting described one or more transferring equipment according to the information of described one or more transferring equipment, and records the information of one or more transferring equipment of successful connection;
4th step, described first equipment receives the information of described second equipment connection successful one or more transferring equipment and record;
When described first equipment sends the packet of business demand information to the second equipment, described first equipment according to the information of the successful one or more transferring equipment of described second equipment connection by the Packet Generation of business demand information to wherein at least one transferring equipment, described transferring equipment is used for the packet of described business demand information to be forwarded to described second equipment
Relatively, when described second equipment sends the packet of business demand information to the first equipment, described second equipment according to the information of the successful one or more transferring equipment of described first equipment connection by the Packet Generation of business demand information to wherein at least one transferring equipment, described transferring equipment is used for the packet of described business demand information to be forwarded to described first equipment.
After second equipment receives business demand information, adopt described business demand information to be configured, namely can normally run afterwards.
Certainly, just exemplarily, when implementing the embodiment of the present invention, can arrange the configuration mode of other business demand information according to actual conditions, the embodiment of the present invention is not limited this configuration mode of above-mentioned business demand information.In addition, except the configuration mode of above-mentioned business demand information, those skilled in the art can also adopt the configuration mode of other business demand information according to actual needs, and the embodiment of the present invention is not also limited this.
With reference to Fig. 5, show the flow chart of steps of the embodiment of the method 5 of a kind of automatic accessing WLAN of the present invention, specifically can comprise the steps:
Step 501, judges in described WLAN (wireless local area network), whether there is the first equipment comprising effective network connection information; If so, then step 502 is performed;
Wherein, described first equipment is radio reception device.
Step 502, when by Intranet broadcast, the second equipment finds that default private IP address is unduplicated private IP address, adopts described private IP address to initiate to seek IP address broadcast agreement in described WLAN (wireless local area network);
Wherein, described second equipment is access in radio equipment, and described network connection information includes spider lines and connects configuration information;
In the present embodiment, the private IP address in described WLAN (wireless local area network) is preset with in described second equipment.
Private ip can be at the online IP of local area, and that corresponding is publicly-owned IP with it, i.e. IP on the internet, along with the development of private ip network, for saving assignable registering IP address, there is one group of IP address to be taken out and being specifically designed to private ip network, being called private IP address.These addresses can not be distributed by Internet, and they also can not be routed on internet, although they can not directly be connected with Internet, by technological means still can with Internet communication.Suitable address class can be selected as required, in internal lan, these addresses be used as public IP address.On internet, some does not need the equipment with Internet communication, as printer, ALARA Principle hub etc. also can use these addresses, to save IP address resource.
Step 503, when described first equipment according to described in seek IP address broadcast agreement receive the private IP address of described second equipment time, determine in described WLAN (wireless local area network), find the second equipment newly entered.
When have in WLAN (wireless local area network) configure active block link information and normal run the first equipment time, first equipment can according to the private IP address of seeking IP address broadcast agreement and receive the second equipment, now, just can determine to find the second equipment newly entered in a wireless local area network.
, in described WLAN (wireless local area network), find the second equipment newly entered for access in radio DeviceMode below, the step 502 of this kind of situation detailed process to step 503 is introduced.
1., the second equipment presets the private IP address in a WLAN (wireless local area network) to step, such as: 192.169.169.100; Then carry out Intranet broadcast, if find that there is repetition, then redefine a new private IP address, such as: 192.169.169.145, so repeat, until obtain the private IP address that not have repetition in WLAN (wireless local area network);
2. step, after determining private IP address, is initiated to seek IP address broadcast agreement in WLAN (wireless local area network);
3., first equipment that judges whether receives the broadcast address that the second equipment initiates to seek IP address broadcast agreement to step, i.e. 4. private IP address 192.169.169.145 if having, then performs step, if do not have, then performs step 5.;
4. step, is determined in described WLAN (wireless local area network), find the second equipment newly entered;
5. step, is determined in described WLAN (wireless local area network), do not find the second equipment newly entered.
Step 504, after described first equipment receives the broadcast address of described second equipment, the IP address according to described first equipment itself generates available IP address; Described first equipment has IP address own, mask address and gateway address; Described cable network connects configuration information and comprises available IP address, mask address and gateway address;
Connect for configuration information for cable network, IP address, mask address and gateway address are its essential informations, and the mask address of the first equipment and the second equipment and gateway address can be generally identical, and IP address is not identical.
In a kind of preferred exemplary of the present invention, the step that the described IP address according to described first equipment itself generates available IP address can comprise following sub-step:
Sub-step S41, at last superposition " 1 " of the first IP address of equipment, obtains a new IP address;
Sub-step S42, every superposition once, sends ARP(Address Resolution Protocol, address resolution protocol to described new IP address) packet, if there is feedback information described new IP address, then continue superposition; If described new IP address does not have feedback information, then determine that described new IP address is active block link information.
Superposition is repeated in IP address according to the first equipment, judge after each superposition whether the IP address after superposition can be used, namely ARP packet is sent to this IP address, judge whether feedback, until the IP address of second equipment of acquisition, namely this IP address is not fed back, then IP address can by the second equipment use.
Such as: suppose, the IP address of the first equipment is 192.168.0.101, on the first IP address of equipment basis, last position adds " 1 ", obtaining new IP address is 192.168.0.102, then to this address, namely 192.168.0.102 sends ARP packet, if not feedback, represent that the IP address of this 192.168.0.102 can be used, if there is feedback, so continue in the end one-bit digital to add " 1 " to obtain new IP address be 192.168.0.103, repeat above process, until obtain an available IP address, suppose that obtaining available IP address is 192.168.0.134, then determine that the IP address of 192.168.0.134 is active block link information.
Certainly, just exemplarily, when implementing the embodiment of the present invention, can arrange the generating mode of other the second IP address of equipment according to actual conditions, the embodiment of the present invention is not limited this generating mode of above-mentioned second IP address of equipment.In addition, except the generating mode of above-mentioned second IP address of equipment, those skilled in the art can also adopt the generating mode of other the second IP address of equipment according to actual needs, and the embodiment of the present invention is not also limited this.
Step 505, described available IP address, mask address and gateway address are broadcast to described second equipment by described first equipment.
Mask address and gateway address are that the first equipment is existing, the mask address of the second equipment can be identical with gateway address with the mask address of the first equipment with gateway address, therefore, available IP address, mask address and gateway address can be broadcast to described second equipment.
Corresponding to the citing of above-mentioned steps 504, in this step 505, be about to obtain available IP address 192.168.0.134 and the first equipment mask address and gateway address send to the second equipment by broadcast mode.
Step 506, described second equipment adopts described active block link information to be configured self, accesses in described WLAN (wireless local area network).
Second equipment adopts available IP address, mask address and gateway address to be configured self, gets final product in accessing WLAN.
The present invention adopts the mode of wired connection to be connected to network by the second equipment, first equipment automatically can generate IP address required for the second equipment, arrange mask address and gateway address, and send the second equipment to, second equipment adopts described IP address, arrange after mask address and gateway address be configured automatically, is connected to network.Therefore, extend the approach finding the second equipment, guarantee that the second equipment can be searched, thus the automatic configuration of network connection information can be completed, under the prerequisite not increasing any hardware and other costs, reduce manual operation, improve simplification and the accuracy of WLAN (wireless local area network) access, save the turn-on time of WLAN (wireless local area network), fully make rational use of resources.
The core idea of the embodiment of the present invention also can be applicable under all multi-environment, such as, when certain plant produced network equipment, need be configured this network equipment of multiple stage or upgrade simultaneously, because this network equipment does not have the operation interface of man-machine interaction, cannot be configured or upgrade, but, there is WLAN (wireless local area network) in this factory, and, there is the computer that connected this WLAN (wireless local area network), that is, the active block link information of this WLAN (wireless local area network) has been stored in this computer, therefore, can using this computer as the first equipment, can using the network equipment of production as the second equipment, after finding the second equipment in a wireless local area network, the active block link information of preservation can be sent to the second equipment by the first equipment automatically, and, second equipment can adopt this active block link information to be automatically configured, in accessing WLAN, complete configuration or the upgrading of the second equipment.
It should be noted that, for embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present invention is not by the restriction of described sequence of movement, because according to the embodiment of the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action might not be that the embodiment of the present invention is necessary.
With reference to Fig. 6, show the structured flowchart of the system embodiment of a kind of automatic accessing WLAN of the present invention, specifically can comprise as lower module:
There is judge module 601 in the first equipment, for judging in described WLAN (wireless local area network), whether there is the first equipment comprising effective network connection information;
Network connection information delivery module 602, for when existence comprises the first equipment of effective network connection information, when then finding the second equipment newly entered in described WLAN (wireless local area network), by described first equipment, described active block link information is sent to described second equipment;
Network connection information configuration module 603, adopts described active block link information to be configured self for described second equipment, accesses in described WLAN (wireless local area network).
In a kind of preferred exemplary of the present invention, described first equipment is radio reception device, and described second equipment is radio reception device or access in radio equipment.
In a kind of preferred exemplary of the present invention, when described second equipment is radio reception device, described network connection information comprises wireless network and connects configuration information;
Described first equipment is installed and is started wireless direct-connected WiFi Direct and serves; Second equipment is provided with wireless direct-connected WiFi Direct and serves;
The second equipment newly entered can be searched in described WLAN (wireless local area network) by following submodule:
Active scan submodule, for the one or more equipment of the second equipment by described wireless direct-connected WiFi Direct service scan create name; One or more equipment of described create name comprise the first equipment;
Initiatively connexon module, after the first equipment described in the second selection of equipment, is connected based on described wireless direct-connected WiFi Direct service with described first equipment;
First determines submodule, for when successful connection, then determines in described WLAN (wireless local area network), find the second equipment newly entered;
Or,
The second equipment newly entered can be searched in described WLAN (wireless local area network) by following submodule:
Drive sweep submodule, for the one or more equipment of the first equipment by described wireless direct-connected WiFi Direct service scan create name; One or more equipment of described create name comprise the second equipment;
Passive connexon module, after the second equipment described in the first selection of equipment, is connected based on described wireless direct-connected WiFi Direct service with described second equipment;
Second determines submodule, for when successful connection, then determines in described WLAN (wireless local area network), find the second equipment newly entered.
In a kind of preferred exemplary of the present invention, described system can also comprise:
WiFi Direct serves and starts module, serves for starting described wireless direct-connected WiFi Direct on described second equipment.
In a kind of preferred exemplary of the present invention, when described second equipment is radio reception device, described network connection information comprises wireless network and connects configuration information;
The second equipment newly entered can be searched in described WLAN (wireless local area network) by following submodule:
Wireless access point AP scanning submodule, for the wireless access point AP that the second device scan is specified;
Wireless connections submodule, for when scanning described wireless access point AP of specifying and being configured on the first device, described second carries out wireless connections with described first equipment;
3rd determines submodule, for when successful connection, then determines in described WLAN (wireless local area network), find the second equipment newly entered.
In a kind of preferred exemplary of the present invention, described system can also comprise:
Connect and disconnect submodule, for described second equipment after receiving described active block link information, disconnect the connection with described first equipment.
In a kind of preferred exemplary of the present invention, can also comprise in described system:
Wireless access point AP configuration submodule, after adopting the success of described active block link information interconnection network, described second equipment configures described wireless access point AP of specifying for described second equipment.
In a kind of preferred exemplary of the present invention, when described second equipment is access in radio equipment, described network connection information includes spider lines and connects configuration information; The private IP address in described WLAN (wireless local area network) is preset with in described second equipment;
The second equipment newly entered can be searched in described WLAN (wireless local area network) by following submodule:
Seek IP address broadcast agreement and initiate submodule, for when by Intranet broadcast, described second equipment finds that described private IP address is unduplicated private IP address, described private IP address is adopted to initiate to seek IP address broadcast agreement in described WLAN (wireless local area network);
4th determines submodule, for described first equipment according to described in seek IP address broadcast agreement receive the private IP address of described second equipment time, determine in described WLAN (wireless local area network), find the second equipment newly entered.
In a kind of preferred exemplary of the present invention, described first equipment has IP address own, mask address and gateway address; Described cable network connects configuration information and comprises available IP address, mask address and gateway address, and described network connection information delivery module 602 can comprise:
Available IP address generates submodule, and receive the broadcast address of described second equipment for described first equipment after, the IP address according to described first equipment itself generates available IP address;
Active block link information broadcast submodule, is broadcast to described second equipment for described first equipment by described available IP address, mask address and gateway address.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
Although described the preferred embodiment of the embodiment of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of embodiment of the present invention scope.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or terminal equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or terminal equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the terminal equipment comprising described key element and also there is other identical element.
Above to the method for a kind of automatic accessing WLAN provided by the present invention and a kind of system of automatic accessing WLAN, be described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a method for automatic accessing WLAN, is characterized in that, comprising:
Judge in described WLAN (wireless local area network), whether there is the first equipment comprising effective network connection information;
When if so, then finding the second equipment newly entered in described WLAN (wireless local area network), by described first equipment, described active block link information is sent to described second equipment;
Described second equipment adopts described active block link information to be configured self, accesses in described WLAN (wireless local area network).
2. method according to claim 1, is characterized in that, described first equipment is radio reception device, and described second equipment is radio reception device or access in radio equipment.
3. method according to claim 2, is characterized in that, when described second equipment is radio reception device, described network connection information comprises wireless network and connects configuration information;
Described first equipment is installed and is started wireless direct-connected WiFi Direct and serves; Described second equipment is provided with wireless direct-connected WiFi Direct and serves;
The second equipment newly entered is searched in the following way in described WLAN (wireless local area network):
Second equipment is by one or more equipment of described wireless direct-connected WiFi Direct service scan create name; One or more equipment of described create name comprise the first equipment;
After first equipment described in second selection of equipment, be connected based on described wireless direct-connected WiFi Direct service with described first equipment;
If successful connection, then determine in described WLAN (wireless local area network), find the second equipment newly entered;
Or,
The second equipment newly entered is searched in the following way in described WLAN (wireless local area network):
First equipment is by one or more equipment of described wireless direct-connected WiFi Direct service scan create name; One or more equipment of described create name comprise the second equipment;
After second equipment described in first selection of equipment, be connected based on described wireless direct-connected WiFi Direct service with described second equipment;
If successful connection, then determine in described WLAN (wireless local area network), find the second equipment newly entered.
4. method according to claim 3, is characterized in that, also comprises:
Described second equipment starts described wireless direct-connected WiFi Direct serve.
5. method according to claim 2, is characterized in that, when described second equipment is radio reception device, described network connection information comprises wireless network and connects configuration information;
The second equipment newly entered is searched in the following way in described WLAN (wireless local area network):
The wireless access point AP that second device scan is specified;
When scanning described wireless access point AP of specifying and being configured on the first device, described second carries out wireless connections with described first equipment;
If successful connection, then determine in described WLAN (wireless local area network), find the second equipment newly entered.
6., according to method according to claim 5, it is characterized in that, described by described first equipment described active block link information is sent to the step of described second equipment after, also comprise:
Described second equipment, after receiving described active block link information, disconnects the connection with described first equipment.
7. according to method according to claim 6, it is characterized in that, adopt described active block link information to be configured self at described second equipment, after accessing the step in described WLAN (wireless local area network), also comprise:
Described second equipment configures described wireless access point AP of specifying after adopting the success of described active block link information interconnection network on described second equipment.
8. according to method according to claim 2, it is characterized in that, when described second equipment is access in radio equipment, described network connection information includes spider lines and connects configuration information; The private IP address in described WLAN (wireless local area network) is preset with in described second equipment;
The second equipment newly entered is searched in the following way in described WLAN (wireless local area network):
When by Intranet broadcast, described second equipment finds that described private IP address is unduplicated private IP address, described private IP address is adopted to initiate to seek IP address broadcast agreement in described WLAN (wireless local area network);
When described first equipment according to described in seek IP address broadcast agreement receive the private IP address of described second equipment time, determine in described WLAN (wireless local area network), find the second equipment newly entered.
9. according to method according to claim 8, it is characterized in that, described first equipment has IP address own, mask address and gateway address; Described cable network connects configuration information and comprises available IP address, mask address and gateway address, describedly the step that described active block link information is sent to described second equipment is comprised by described first equipment:
After described first equipment receives the broadcast address of described second equipment, the IP address according to described first equipment itself generates available IP address;
Described available IP address, mask address and gateway address are broadcast to described second equipment by described first equipment.
10. a system for automatic accessing WLAN, is characterized in that, comprising:
There is judge module in the first equipment, for judging in described WLAN (wireless local area network), whether there is the first equipment comprising effective network connection information;
Network connection information delivery module, for when existence comprises the first equipment of effective network connection information, when then finding the second equipment newly entered in described WLAN (wireless local area network), by described first equipment, described active block link information is sent to described second equipment;
Network connection information configuration module, adopts described active block link information to be configured self for described second equipment, accesses in described WLAN (wireless local area network).
CN201410081872.5A 2014-03-06 2014-03-06 A method and system for automatically accessing wireless local area network Pending CN104902532A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410081872.5A CN104902532A (en) 2014-03-06 2014-03-06 A method and system for automatically accessing wireless local area network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410081872.5A CN104902532A (en) 2014-03-06 2014-03-06 A method and system for automatically accessing wireless local area network

Publications (1)

Publication Number Publication Date
CN104902532A true CN104902532A (en) 2015-09-09

Family

ID=54034865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410081872.5A Pending CN104902532A (en) 2014-03-06 2014-03-06 A method and system for automatically accessing wireless local area network

Country Status (1)

Country Link
CN (1) CN104902532A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554846A (en) * 2015-12-18 2016-05-04 联想(北京)有限公司 Method, electronic device and system for sharing network
CN105827440A (en) * 2016-03-11 2016-08-03 北京奇虎科技有限公司 Intelligent terminal and route configuration method thereof
CN105847321A (en) * 2016-03-11 2016-08-10 北京奇虎科技有限公司 Intelligent terminal and system permission-free network configuration method thereof
CN106507330A (en) * 2016-09-26 2017-03-15 海尔优家智能科技(北京)有限公司 A kind of equipment networking collocation method and device
WO2017088101A1 (en) * 2015-11-23 2017-06-01 华为技术有限公司 Network access information acquiring method, and router
CN106899995A (en) * 2017-03-13 2017-06-27 宇龙计算机通信科技(深圳)有限公司 The access method and device of data
CN107018009A (en) * 2017-02-16 2017-08-04 深圳市丰巨泰科电子有限公司 A key collocation method and system for internet of things equipment
WO2018010425A1 (en) * 2016-07-12 2018-01-18 中兴通讯股份有限公司 Method and apparatus for pushing and receiving wi-fi hotspot information, and storage medium
CN107801185A (en) * 2016-09-05 2018-03-13 中兴通讯股份有限公司 A kind of quick method and apparatus for sharing focus
CN107835509A (en) * 2017-10-18 2018-03-23 广州视睿电子科技有限公司 A kind of method, apparatus, system, equipment and the storage medium of equipment room interconnection
CN108377533A (en) * 2016-11-25 2018-08-07 上海掌门科技有限公司 It is a kind of send, the method and apparatus of collecting device identification information
US10536886B2 (en) 2015-12-18 2020-01-14 Lenovo (Beijing) Limited Network sharing method, electronic device and system
CN110856172A (en) * 2019-10-24 2020-02-28 深圳市炬力北方微电子有限公司 Wireless connection method, wireless connection system, and computer-readable storage medium
CN112261604A (en) * 2020-10-20 2021-01-22 成都觅瑞科技有限公司 Network distribution method of intelligent terminal, configuration terminal, intelligent terminal and medium
CN114826901A (en) * 2022-04-27 2022-07-29 青岛海尔科技有限公司 Equipment networking method and device, storage medium and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540763A (en) * 2009-04-13 2009-09-23 中国联合网络通信集团有限公司 Home gateway, set-top box, method for configuring initialization parameters of set-top box and system
CN102711282A (en) * 2012-05-21 2012-10-03 浙江优诺肯科技有限公司 Method for accessing zero-input wireless equipment into network and zero-input wireless equipment
CN103079257A (en) * 2012-12-11 2013-05-01 杭州联汇数字科技有限公司 Method for connecting audio device into WIFI (Wireless Fidelity) network
CN103327645A (en) * 2013-06-05 2013-09-25 华为技术有限公司 Method and device for connecting network
CN103533512A (en) * 2013-09-17 2014-01-22 英华达(上海)科技有限公司 Method, device and system for configuring and adding equipment into network group

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540763A (en) * 2009-04-13 2009-09-23 中国联合网络通信集团有限公司 Home gateway, set-top box, method for configuring initialization parameters of set-top box and system
CN102711282A (en) * 2012-05-21 2012-10-03 浙江优诺肯科技有限公司 Method for accessing zero-input wireless equipment into network and zero-input wireless equipment
CN103079257A (en) * 2012-12-11 2013-05-01 杭州联汇数字科技有限公司 Method for connecting audio device into WIFI (Wireless Fidelity) network
CN103327645A (en) * 2013-06-05 2013-09-25 华为技术有限公司 Method and device for connecting network
CN103533512A (en) * 2013-09-17 2014-01-22 英华达(上海)科技有限公司 Method, device and system for configuring and adding equipment into network group

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108307694A (en) * 2015-11-23 2018-07-20 华为技术有限公司 A kind of network connection information acquisition methods and router
CN108307694B (en) * 2015-11-23 2020-09-11 华为技术有限公司 Network connection information acquisition method and router
WO2017088101A1 (en) * 2015-11-23 2017-06-01 华为技术有限公司 Network access information acquiring method, and router
US10536886B2 (en) 2015-12-18 2020-01-14 Lenovo (Beijing) Limited Network sharing method, electronic device and system
CN105554846B (en) * 2015-12-18 2019-03-29 联想(北京)有限公司 Method, electronic equipment and the system of shared network
CN105554846A (en) * 2015-12-18 2016-05-04 联想(北京)有限公司 Method, electronic device and system for sharing network
CN105827440A (en) * 2016-03-11 2016-08-03 北京奇虎科技有限公司 Intelligent terminal and route configuration method thereof
CN105847321A (en) * 2016-03-11 2016-08-10 北京奇虎科技有限公司 Intelligent terminal and system permission-free network configuration method thereof
WO2018010425A1 (en) * 2016-07-12 2018-01-18 中兴通讯股份有限公司 Method and apparatus for pushing and receiving wi-fi hotspot information, and storage medium
CN107613471A (en) * 2016-07-12 2018-01-19 中兴通讯股份有限公司 A kind of WIFI hot spot information-pushing method, method of reseptance and device
CN107801185A (en) * 2016-09-05 2018-03-13 中兴通讯股份有限公司 A kind of quick method and apparatus for sharing focus
CN106507330A (en) * 2016-09-26 2017-03-15 海尔优家智能科技(北京)有限公司 A kind of equipment networking collocation method and device
CN108377533A (en) * 2016-11-25 2018-08-07 上海掌门科技有限公司 It is a kind of send, the method and apparatus of collecting device identification information
CN107018009A (en) * 2017-02-16 2017-08-04 深圳市丰巨泰科电子有限公司 A key collocation method and system for internet of things equipment
CN106899995A (en) * 2017-03-13 2017-06-27 宇龙计算机通信科技(深圳)有限公司 The access method and device of data
CN107835509A (en) * 2017-10-18 2018-03-23 广州视睿电子科技有限公司 A kind of method, apparatus, system, equipment and the storage medium of equipment room interconnection
CN107835509B (en) * 2017-10-18 2020-09-22 广州视睿电子科技有限公司 Method, device, system, equipment and storage medium for interconnection between equipment
CN110856172A (en) * 2019-10-24 2020-02-28 深圳市炬力北方微电子有限公司 Wireless connection method, wireless connection system, and computer-readable storage medium
CN112261604A (en) * 2020-10-20 2021-01-22 成都觅瑞科技有限公司 Network distribution method of intelligent terminal, configuration terminal, intelligent terminal and medium
CN112261604B (en) * 2020-10-20 2023-02-28 成都觅瑞科技有限公司 Network distribution method of intelligent terminal, configuration terminal, intelligent terminal and medium
CN114826901A (en) * 2022-04-27 2022-07-29 青岛海尔科技有限公司 Equipment networking method and device, storage medium and electronic device
CN114826901B (en) * 2022-04-27 2024-01-26 青岛海尔科技有限公司 Device networking method and device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN104902532A (en) A method and system for automatically accessing wireless local area network
EP2951953B1 (en) Method of managing zigbee network in the internet of things
CN102137395B (en) Method, device and system for configuring access device
US7567805B2 (en) Method and system for dynamic assignment of wireless LAN access point identity
US8213934B2 (en) Automatic selection of a home agent
US9992731B2 (en) Method, apparatus and system for information push service based on wireless LAN access point
CN101212384B (en) Method, system, and equipment for implement home network interconnection
CN113132185B (en) Equipment distribution network binding method, system, mobile terminal and storage medium
CN104040997A (en) Vendor specific base station auto - configuration framework
CN103298072A (en) Method and system for automatically connecting to WiFi (wireless fidelity) access points and mobile communication terminal
US20120120919A1 (en) Processing method supporting handover, communication apparatus, and communication system
JP6629345B2 (en) Device and method for adding M2M service
KR101555495B1 (en) Apparatus and method for connecting wireless network in consideration of radio frequency band
KR20100126494A (en) Touchless plug and play base transceiver station
US20210092067A1 (en) Virtual customer premises equipment, policy management server and service providing method
CN103634214A (en) Route information generating method and device
CN103688516A (en) Methods providing public reachability and related systems and devices
CN101867508A (en) Method, system and device for realizing home network interconnection
CN104967572A (en) Network access method, apparatus and equipment
CN104955153B (en) Method, device and equipment for discovering resources
WO2016065920A1 (en) Method and system for providing virtual network service
CN105721314A (en) Method and equipment for sending data packet
CN105827637A (en) Method and system for configuring IMS (IP Multimedia Subsystem) fixed phone number
CN104935485A (en) Appliance service calling method, appliance service calling request forwarding method and apparatus
WO2022141951A1 (en) Data model parameter configuration method and device, electronic device, and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150909

RJ01 Rejection of invention patent application after publication