CN104735813B - Internetwork connection establishing method and device - Google Patents
Internetwork connection establishing method and device Download PDFInfo
- Publication number
- CN104735813B CN104735813B CN201510104526.9A CN201510104526A CN104735813B CN 104735813 B CN104735813 B CN 104735813B CN 201510104526 A CN201510104526 A CN 201510104526A CN 104735813 B CN104735813 B CN 104735813B
- Authority
- CN
- China
- Prior art keywords
- access device
- access
- wireless network
- authentication information
- gateway
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The disclosure is directed to a kind of internetwork connection establishing method and devices, belong to Internet technical field.The described method includes: the first access device and gateway establish the first wireless network connection;Obtain the access authentication information for the gateway that the second access device is broadcasted outward;Second wireless network is established with the second access device according to access authentication information to connect;Wherein, the first wireless network connection and second wireless network connection are used for transmission data when communicating between the second access device and gateway.In the case that the disclosure solves the longer communication distance that the relevant technologies have been more than the two at a distance from access device is between gateway, the problem of wireless network connection can not be established between the two;It realizes apart from the farther away access device of gateway, for relaying, to establish wireless network connection between gateway indirectly apart from the closer access device of gateway, has achieved the effect that the wireless network coverage for extending gateway.
Description
Technical field
This disclosure relates to Internet technical field, in particular to a kind of internetwork connection establishing method and device.
Background technique
Router is mobile phone, tablet computer, intelligent appliance equipment etc. as a kind of gateway being widely used
Access device provides wireless network access services.
In the related art, access device can broadcast router outward access authentication information, the access authentication information is logical
It is often the SSID (Service Set Identifier, service set) and password of router.Correspondingly, router is obtaining
To after above-mentioned access authentication information, which is verified, and in the case where verification result is correct with connect
Enter equipment and establishes wireless network connection.
During realizing the embodiment of the present disclosure, inventor has found above-mentioned technology the prior art has at least the following problems: in order to true
It protects access device and router is successfully established wireless network connection, exist to the distance between access device and router and have to
It asks, when the distance between access device and router have been more than the longer communication distance of the two, between access device and router just
Wireless network connection can not be established.
Summary of the invention
The embodiment of the present disclosure provides a kind of internetwork connection establishing method and device.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of internetwork connection establishing method is provided, which comprises
First access device and gateway establish the first wireless network connection;
First access device obtains the access authentication information for the gateway that the second access device is broadcasted outward;
First access device establishes the second wireless network according to the access authentication information and second access device
Network connection;
Wherein, first wireless network connection connected with the second wireless network be used for transmission it is described second access set
The standby data between the gateway when communication.
Optionally, first access device and gateway establish the first wireless network connection, comprising:
First access device broadcasts the facility information of first access device outward;
First access device receives the access authentication information for the gateway that controlling terminal is sent, the access
Authentication information is that the controlling terminal is sent to first access device after getting the facility information;
First access device broadcasts the access authentication information outward;
First access device and the gateway establish first wireless network connection, first wireless network
Network connection is that the gateway is established after getting the access authentication information with first access device.
Optionally, the data are using the corresponding encrypted data of data encryption key of second access device.
Optionally, the method also includes:
First access device receives the information that controlling terminal is sent and provides instruction, and it is described that the information, which provides instruction,
What controlling terminal was sent after the facility information for getting second access device that second access device is broadcasted outward;
First access device provides instruction according to the information, and the second access device of Xiang Suoshu, which sends the access, to be recognized
Demonstrate,prove information.
According to the second aspect of an embodiment of the present disclosure, a kind of internetwork connection establishing method is provided, which comprises
The access authentication information of second access device acquisition gateway;
Second access device broadcasts the access authentication information outward;
Second access device and the first access device for getting the access authentication information establish the second wireless network
Network connection, establishing between first access device and the gateway has the first wireless network connection;
Wherein, first wireless network connection connected with the second wireless network be used for transmission it is described second access set
The standby data between the gateway when communication.
Optionally, second access device obtains the access authentication information of gateway, comprising:
Second access device broadcasts the facility information of second access device outward;
Second access device receives the access authentication information for the gateway that controlling terminal is sent, the access
Authentication information is that the controlling terminal is sent to second access device after getting the facility information.
Optionally, second access device obtains the access authentication information of gateway, comprising:
Second access device broadcasts the facility information of second access device outward;
Second access device receives the access authentication information for the gateway that first access device is sent,
The access authentication information is that controlling terminal indicates that first access device is sent to institute after getting the facility information
State the second access device.
Optionally, the data are using the corresponding encrypted data of data encryption key of second access device.
Optionally, second access device establishes second with the first access device for getting the access authentication information
Wireless network connection, comprising:
When second access device is received from the access response of first access device, described second is connect
Enter equipment and establish the second wireless network with first access device to connect;
When second access device is received from the access response of at least two first access devices, described
Two access devices select one first access to set according to each access response from least two first access device
It is standby, and establish the second wireless network with first access device selected and connect, first access selected
Equipment is highest first access device of radio signal quality between second access device;
Wherein, the access response is that first access device is sent after getting the access authentication information.
Optionally, the method also includes:
Second access device obtains the access authentication information that third access device is broadcasted outward;
Second access device establishes third wireless network according to the access authentication information and the third access device
Network connection;
Wherein, first wireless network connection, second wireless network connection and the third wireless network connection
It is used for transmission data when communicating between the third access device and the gateway.
According to the third aspect of an embodiment of the present disclosure, it provides a kind of be connected to the network and establishes device, set for the first access
Standby, described device includes:
First connection establishment module is configured as establishing the first wireless network connection with gateway;
Data obtaining module is configured as obtaining the access authentication for the gateway that the second access device is broadcasted outward
Information;
Second connection establishment module is configured as establishing the according to the access authentication information and second access device
Two wireless network connections;
Wherein, first wireless network connection connected with the second wireless network be used for transmission it is described second access set
The standby data between the gateway when communication.
Optionally, first connection establishment module, comprising: facility information broadcasts submodule, authentication information receives submodule
Block, authentication information broadcast submodule and the first connection setting up submodule;
The facility information broadcasts submodule, is configured as broadcasting the facility information of first access device outward;
The authentication information receiving submodule, the access for being configured as receiving the gateway that controlling terminal is sent are recognized
Information is demonstrate,proved, the access authentication information is that the controlling terminal is sent to first access after getting the facility information
Equipment;
The authentication information broadcasts submodule, is configured as broadcasting the access authentication information outward;
The first connection setting up submodule is configured as establishing the first wireless network company with the gateway
It connects, first wireless network connection is that the gateway accesses after getting the access authentication information with described first
What equipment was established.
Optionally, the data are using the corresponding encrypted data of data encryption key of second access device.
Optionally, described device further include:
It indicates receiving module, is configured as receiving the information offer instruction that controlling terminal is sent, the information provides instruction
It is the controlling terminal after the facility information for getting second access device that second access device is broadcasted outward
It sends;
Information sending module is configured as providing instruction according to the information, described in the transmission of the second access device of Xiang Suoshu
Access authentication information.
According to a fourth aspect of embodiments of the present disclosure, it provides a kind of be connected to the network and establishes device, set for the second access
Standby, described device includes:
Authentication information obtains module, is configured as obtaining the access authentication information of gateway;
Authentication information broadcast module is configured as broadcasting the access authentication information outward;
Module is established in network connection, and the first access device for being configured as and getting the access authentication information establishes the
Two wireless network connections, establishing between first access device and the gateway has the first wireless network connection;
Wherein, first wireless network connection connected with the second wireless network be used for transmission it is described second access set
The standby data between the gateway when communication.
Optionally, the authentication information obtains module, comprising: information broadcasts submodule and the first receiving submodule;
The information broadcasts submodule, is configured as broadcasting the facility information of second access device outward;
First receiving submodule is configured as receiving the access authentication letter for the gateway that controlling terminal is sent
Breath, the access authentication information is that the controlling terminal is sent to second access device after getting the facility information
's.
Optionally, the authentication information obtains module, comprising: information broadcasts submodule and the second receiving submodule;
The information broadcasts submodule, is configured as broadcasting the facility information of second access device outward;
Second receiving submodule is configured as receiving connecing for the gateway of the first access device transmission
Enter authentication information, the access authentication information is that controlling terminal indicates that first access is set after getting the facility information
Preparation gives second access device.
Optionally, the data are using the corresponding encrypted data of data encryption key of second access device.
Optionally, module is established in the network connection, comprising: the first setting up submodule and the second setting up submodule;
First setting up submodule is configured as accessing when second access device is received from one first
When the access response of equipment, the second wireless network is established with first access device and is connect;
Second setting up submodule is configured as receiving when second access device from least two first
When the access response of access device, one is selected from least two first access device according to each access response
First access device, and establish the second wireless network with first access device selected and connect, the institute selected
Stating the first access device is highest first access device of radio signal quality between second access device;
Wherein, the access response is that first access device is sent after getting the access authentication information.
Optionally, described device further include:
Broadcast obtains module, is configured as obtaining the access authentication information that third access device is broadcasted outward;
Third connection establishment module is configured as establishing the according to the access authentication information and the third access device
Three wireless network connections;
Wherein, first wireless network connection, second wireless network connection and the third wireless network connection
It is used for transmission data when communicating between the third access device and the gateway.
According to a fifth aspect of the embodiments of the present disclosure, it provides a kind of be connected to the network and establishes device, set for the first access
It is standby, comprising:
Processor;
For storing the memory of the executable instruction of the processor;
Wherein, the processor is configured to:
The first wireless network connection is established with gateway;
Obtain the access authentication information for the gateway that the second access device is broadcasted outward;
Second wireless network is established with second access device according to the access authentication information to connect;
Wherein, first wireless network connection connected with the second wireless network be used for transmission it is described second access set
The standby data between the gateway when communication.
According to a sixth aspect of an embodiment of the present disclosure, it provides a kind of be connected to the network and establishes device, set for the second access
It is standby, comprising:
Processor;
For storing the memory of the executable instruction of the processor;
Wherein, the processor is configured to:
Obtain the access authentication information of gateway;
The access authentication information is broadcasted outward;
It establishes second wireless network with the first access device for getting the access authentication information to connect, described first connects
Enter to establish between equipment and the gateway and has the first wireless network connection;
Wherein, first wireless network connection connected with the second wireless network be used for transmission it is described second access set
The standby data between the gateway when communication.
The technical solution that the embodiment of the present disclosure provides can include the following benefits:
Establish the first wireless network connection and with gateway and the second access device respectively by the first access device
Two wireless network connections, so that the second access device passes through first wireless network connection and second wireless network connection and gateway
It is communicated between equipment;Solving the relevant technologies has been more than leading to for the two at a distance from access device is between gateway
In the case where communication distance, the problem of wireless network connection can not be established between the two;It realizes and connects apart from gateway is farther away
Enter equipment to relay apart from the closer access device of gateway, establish wireless network connection between gateway indirectly,
The wireless network coverage for extending gateway is achieved the effect that.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of schematic diagram of implementation environment involved in each embodiment of the disclosure;
Fig. 2 is a kind of flow chart of internetwork connection establishing method shown according to an exemplary embodiment;
Fig. 3 is a kind of flow chart of the internetwork connection establishing method shown according to another exemplary embodiment;
Fig. 4 A is a kind of flow chart of the internetwork connection establishing method shown according to another exemplary embodiment;
Fig. 4 B is the flow chart of step 401 in a kind of internetwork connection establishing method shown in another exemplary embodiment;
Fig. 4 C is the flow chart of step 402 in a kind of internetwork connection establishing method shown in another exemplary embodiment;
Fig. 4 D is the flow chart of step 402 in a kind of internetwork connection establishing method shown in another exemplary embodiment;
Fig. 5 is the block diagram that device is established in a kind of network connection shown according to an exemplary embodiment;
Fig. 6 is that the block diagram of device is established in a kind of network connection shown according to another exemplary embodiment;
Fig. 7 is that the block diagram of device is established in a kind of network connection shown according to another exemplary embodiment;
Fig. 8 is that the block diagram of device is established in a kind of network connection shown according to another exemplary embodiment;
Fig. 9 is a kind of block diagram of device shown according to an exemplary embodiment;
Figure 10 is a kind of block diagram for being connected to the network system of establishing shown according to an exemplary embodiment.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings
It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments
Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is that a kind of schematic diagram of implementation environment, the implementation environment involved in each embodiment of the disclosure include: gateway
Equipment 120, the first access device 140 and the second access device 160.Wherein:
Gateway 120 is used to provide the computer system or equipment of Data Conversion Service between referring to multiple networks.Gateway
Equipment 120 can be router, interchanger, firewall or the host for opening routing function.In the embodiments of the present disclosure, with net
Equipment 120 is closed to be illustrated for router.
Establishing between first access device 140 and gateway 120 has the first wireless network connection.For example, this
One wireless network connection is Wi-Fi (Wireless Fidelity, Wireless Fidelity) connection.In the embodiments of the present disclosure, by
Increase the function of transistroute in first access device 140, (station stands in STA so that the first access device 140 can work
Point) under mode and AP (Access Point, access point) mode.Under STA mode, the first access device 140 can be by above-mentioned
First wireless network connection is directly communicated between gateway 120.Under ap mode, the first access device 140 is the
Two access devices 160 provide wireless network access services, so that the second access device 160 is between gateway 120
Distance farther out (as be more than both longer communication distance) in the case where, set indirectly with gateway by the first access device 140
It is communicated between standby 120, achievees the effect that the wireless network coverage for extending gateway 120.Second access device 160
Second wireless network can be established between the first access device 140 to connect, second wireless network connection is also possible to Wi-Fi
Connection.Above-mentioned first wireless network connection and second wireless network connection are used for transmission the second access device 160 and set with gateway
Data when being communicated between standby 120.
Similarly, the second access device 160 can also work in STA mode and ap mode.Under ap mode, the second access is set
Standby 160 provide wireless network access services for other access devices, continue the wireless network covering model for extending gateway 120
It encloses.As shown in Figure 1, the implementation environment may also include third access device 180.Third access device 180 can be with the second access
Third wireless network connection is established between equipment 160.Certainly, third access device 180 can also have above-mentioned first access such as and set
Standby 140 and second access device 160 function, further expand the wireless network coverage of gateway 120.
In addition, any of the above-described access device may each be the electronic equipment that can be worked in STA mode and ap mode.Example
Such as, the mobile terminal that access device can be such as mobile phone, tablet computer, E-book reader, personal digital assistant etc is set
It is standby, it is also possible to the intelligent appliance equipment of such as intelligent socket, intelligent video camera head, smart television, intelligent air condition etc, either
The wearable device, etc. of such as Intelligent bracelet, smartwatch, intelligent helmet etc.
Fig. 2 is a kind of flow chart of internetwork connection establishing method shown according to an exemplary embodiment, the present embodiment with
It is illustrated in the first access device 140 that the internetwork connection establishing method is applied in implementation environment shown in Fig. 1.The net
It may include the following steps that network, which connects method for building up:
In step 202, the first access device and gateway establish the first wireless network connection.
In step 204, the first access device obtains the access authentication for the gateway that the second access device is broadcasted outward
Information.
In step 206, the first access device establishes the second wireless network according to access authentication information and the second access device
Network connection;Wherein, the first wireless network connection and second wireless network connection are used for transmission the second access device and gateway
Between communicate when data.
Optionally, the first access device and gateway establish the first wireless network connection, comprising:
First access device broadcasts the facility information of the first access device outward;
First access device receives the access authentication information for the gateway that controlling terminal is sent, which is
Controlling terminal is sent to the first access device after getting above equipment information;
First access device broadcasts access authentication information outward;
First access device and gateway establish the first wireless network connection, which is that gateway is set
For what is established after getting above-mentioned access authentication information with the first access device.
Optionally, above-mentioned data are using the encrypted data of the corresponding data encryption key of the second access device.
Optionally, this method further include:
First access device receives the information that controlling terminal is sent and provides instruction, and it is that controlling terminal exists which, which provides instruction,
It gets and sends after the facility information for the second access device that the second access device is broadcasted outward;
First access device provides instruction according to above- mentioned information, sends access authentication information to the second access device.
In conclusion internetwork connection establishing method provided in this embodiment, is set with gateway respectively by the first access device
It is standby to establish the first wireless network connection with the second access device and connected with second wireless network, so that the second access device was by should
First wireless network connection and second wireless network are connected and are communicated between gateway;It solves the relevant technologies accessing
In the case that the distance between equipment and gateway have been more than the longer communication distance of the two, wireless network can not be established between the two
The problem of network connects;It realizes apart from the farther away access device of gateway in be apart from the closer access device of gateway
After wireless network connection is established between gateway indirectly, has reached the wireless network coverage of extension gateway
Effect.
Fig. 3 is a kind of flow chart of the internetwork connection establishing method shown according to another exemplary embodiment, the present embodiment
It is illustrated in the second access device 160 being applied in implementation environment shown in Fig. 1 with the internetwork connection establishing method.It should
Internetwork connection establishing method may include the following steps:
In step 302, the second access device obtains the access authentication information of gateway.
In step 304, the second access device broadcasts access authentication information outward.
Within step 306, the second access device establishes the second nothing with the first access device for getting access authentication information
Line network connection, establishing between first access device and gateway has the first wireless network connection;Wherein, the first wireless network
Connection and second wireless network connection are used for transmission data when communicating between the second access device and gateway.
Optionally, the second access device obtains the access authentication information of gateway, comprising:
Second access device broadcasts the facility information of the second access device outward;
Second access device receives the access authentication information for the gateway that controlling terminal is sent, which is
Controlling terminal is sent to the second access device after getting above equipment information.
Optionally, the second access device obtains the access authentication information of gateway, comprising:
Second access device broadcasts the facility information of the second access device outward;
Second access device receives the access authentication information for the gateway that the first access device is sent, access authentication letter
Breath is that controlling terminal indicates that the first access device is sent to the second access device after getting above equipment information.
Optionally, above-mentioned data are using the encrypted data of the corresponding data encryption key of the second access device.
Optionally, the second access device establishes second wireless network with the first access device for getting access authentication information
Connection, comprising:
When the second access device is received from the access response of first access device, the second access device with
First access device establishes second wireless network connection;
When the second access device is received from the access response of at least two first access devices, the second access is set
It is standby that first access device is selected from above-mentioned at least two first access device according to each access response, and with selected
The first access device establish second wireless network connection, which is the nothing between the second access device
Highest first access device of line signal quality;
Wherein, access response is that the first access device is sent after getting access authentication information.
Optionally, this method further include:
Second access device obtains the access authentication information that third access device is broadcasted outward;
Second access device establishes third wireless network connection according to access authentication information and third access device;
Wherein, the first wireless network connection, second wireless network connection and third wireless network connection are used for transmission third
Data when being communicated between access device and gateway.
In conclusion internetwork connection establishing method provided in this embodiment, is set by the second access device and the first access
It is standby to establish second wireless network connection, there is the first wireless network connection due to establishing between first access device and gateway,
So that the second access device by first wireless network connection and second wireless network connection gateway between into
Row communication;Solve the feelings that the relevant technologies have been more than the longer communication distance of the two at a distance from access device is between gateway
Under condition, the problem of wireless network connection can not be established between the two;Realize apart from the farther away access device of gateway with away from
It is relaying from the closer access device of gateway, establishes wireless network connection between gateway indirectly, reached extension
The effect of the wireless network coverage of gateway.
Fig. 4 A is a kind of flow chart of the internetwork connection establishing method shown according to another exemplary embodiment, the present embodiment
It is applied to be illustrated in implementation environment shown in Fig. 1 with the internetwork connection establishing method.The internetwork connection establishing method can
To comprise the following steps:
In step 401, the first access device and gateway establish the first wireless network connection.
The distance between first access device and gateway can be within communication ranges the two, and the first access device can
The first wireless network connection is directly established with gateway.Wherein, the first wireless network connection is Wi-Fi connection.
In the case where the access authentication information of gateway has not been obtained in the first access device, as shown in Figure 4 B, in one kind
In possible embodiment, the first access device can establish the first wireless network by following several sub-steps and gateway and connect
It connects:
In step 401a, the first access device broadcasts the facility information of the first access device outward.
Facility information may include the MAC (Media Access Control, medium access control) of the first access device
Location.In a kind of possible embodiment, the first access device can broadcast setting for itself outward in the form of beacons message
Standby information.
In step 401b, the first access device receives the access authentication information for the gateway that controlling terminal is sent, should
Access authentication information is that controlling terminal is sent to the first access device after getting above equipment information.
Controlling terminal can be such as mobile phone, tablet computer, multimedia player etc have display screen and input connect
The electronic equipment of mouth.After controlling terminal scanning obtains the broadcasting packet that the access device in peripheral region is sent out, according to wide
The facility information carried in casting text, display access inquiry message.Access inquiry message is for asking the user whether agreement
State the first access device access wireless network.In the case where user selects to agree to, the outside broadcast gateway equipment of controlling terminal
Access authentication information.Wherein, access authentication information includes SSID and password.The access authentication information can be user's input,
It is pre-stored to be also possible to controlling terminal.Correspondingly, the first access device obtains the gateway that controlling terminal is broadcasted outward
Access authentication information.
In step 401c, the first access device broadcasts access authentication information outward.
After first access device gets the access authentication information of gateway, foundation is initiated the connection to gateway and is asked
It asks.Optionally, the first access device broadcasts connection outward and establishes request, which establishes in request and carry connecing for gateway
Enter authentication information.
In step 401d, the first access device and gateway establish the first wireless network connection, first wireless network
Network connection is that gateway is established after getting above-mentioned access authentication information with the first access device.
After request is established in the connection that gateway gets the transmission of the first access device, the access authentication information of carrying is verified
It is whether correct, and the first wireless network connection is established between the first access device in the case where verifying correct situation.
In addition, in the case where access authentication information of first access device to obtain gateway, the first access device
Can directly through the above steps 401c and step 401d and gateway establish the first wireless network connection.
It should be noted is that: do not have the access devices for showing screen and input interface usually for some,
Such as intelligent socket, intelligent air condition, this kind of intelligent appliance equipment of intelligent video camera head, 401a to step 401d can be real through the above steps
Existing wireless network rapid access.And for such as mobile phone, tablet computer, multimedia player is this kind of usually has display screen
The access device of curtain and input interface can scan and obtain attachable gateway list in peripheral region, and by the list
It is shown, after an intended gateway equipment is therefrom chosen by user and inputs corresponding password, with the target network selected
It closes equipment and establishes the first wireless network connection.
In step 402, the second access device obtains the access authentication information of gateway.
Second access device also needs the access authentication information for obtaining gateway before accessing wireless network.
As shown in Figure 4 C, in the first possible embodiment, this step may include following several sub-steps:
In step 402a, the second access device broadcasts the facility information of the second access device outward.
In step 402b, the second access device receives the access authentication information for the gateway that controlling terminal is sent, should
Access authentication information is that controlling terminal is sent to the second access device after getting above equipment information.
Above-mentioned steps 402a and step 402b is same or like with step 401a and step 401b, reference can be made to step 401a and
The first access device obtains the introduction and explanation of the access authentication information of gateway in step 401b, herein without repeating.
As shown in Figure 4 D, in second of possible embodiment, this step may include following several sub-steps:
In step 402c, the second access device broadcasts the facility information of the second access device outward.
In step 402d, the second access device receives the access authentication letter for the gateway that the first access device is sent
Breath, which is that controlling terminal indicates that the first access device is sent to second and connects after getting above equipment information
Enter equipment.
Unlike the first above-mentioned possible embodiment: in second of possible embodiment, being selected in user
It selects in the case where agreeing to the second access device access wireless network, controlling terminal sends information offer to the first access device and refers to
Show, which provides instruction and be used to indicate access authentication letter of first access device to the second access device offer gateway
Breath.
Correspondingly, the information that the first access device receives that controlling terminal is sent provides instruction;First access device is according to letter
Breath provides instruction, sends access authentication information to the second access device.For example, the first access device is receiving controlling terminal hair
After the information sent provides instruction, the access authentication information of outside broadcast gateway equipment.Accordingly, the second access device obtains first
The access authentication information for the gateway that access device is broadcasted outward.
In practical applications, the second access device can be by any possible in above two possible embodiment
The access authentication information of embodiment acquisition gateway.Optionally, controlling terminal and the first access device can also be jointly to
Two access devices provide gateway access authentication information, thus improve the second access device obtain access authentication information at
Power.
In step 403, the second access device broadcasts access authentication information outward.
After second access device gets the access authentication information of gateway, foundation is initiated the connection to gateway and is asked
It asks.Optionally, the second access device broadcasts connection outward and establishes request, which establishes in request and carry connecing for gateway
Enter authentication information.
In the present embodiment, when the distance between the second access device and gateway in the two can be except communication range
When, the second access device can establish wireless network connection with gateway indirectly by the first access device.For example, working as gateway
The second access device of equipment distance too far, causes gateway that can not get the connection that the second access device is broadcasted outward and establishes
When request, the second access device can be by establishing wireless network with gateway indirectly apart from itself closer first access device
Network connection.
In step 404, the first access device obtains the access authentication for the gateway that the second access device is broadcasted outward
Information.
By the agency of above, by increasing transistroute function in the first access device, so that the first access device
It can work in ap mode, be accessed for the second access device.Under ap mode, it is outside that the first access device obtains the second access device
Request is established in the connection of broadcast, and reads the access authentication information that the gateway carried in request is established in the connection.
In step 405, the first access device establishes the second wireless network according to access authentication information and the second access device
Network connection.
Whether the verifying of the first access device is correct from the received access authentication information of the second access device.That is, first connects
Enter the access authentication information for the gateway that device authentication is connect from the received access authentication information of the second access device with itself
It is whether identical.First access device is established second wireless network with the second access device and is connected in the identical situation of both verifyings
It connects, second wireless network connection is also Wi-Fi connection.
In addition, the first wireless network connection and second wireless network connection are used for transmission the second access device and gateway
Between communicate when data.For example, the second access device, which is connected by second wireless network to the first access device, sends uplink
Data, the upstream data are that the second access device is sent to gateway;First access device is connected by the first wireless network
It connects to gateway and forwards the upstream data.For another example gateway passes through the first wireless network connection to the first access device
Downlink data is sent, which is that gateway is sent to the second access device;First access device passes through the second nothing
Line is connected to the network to the second access device and forwards the downlink data.
In the present embodiment, when the distance between the second access device and gateway in the two can be except communication range
When, by the expansion relays routing function in the first access device so that the first access device can the access of transparent forwarding second set
The standby data between gateway when communication, to extend the wireless network coverage of gateway.
In the following, to the first access device and the second access device establish the process that second wireless network is connect be introduced and
Illustrate:
First access device verifies access authentication letter after the access authentication information for receiving the transmission of the second access device
Whether breath is correct, and sends access response to the first access device in the case where verification result is correct.Correspondingly, it second connects
Enter equipment after the reception access response of the first access device, establishes second wireless network with the first access device and connect.
In addition, when the second access device is received from the access response of first access device, the second access
Equipment is established second wireless network with first access device and is connect.
Alternatively, when the second access device is received from the access response of at least two first access devices, second
Access device selects first access device according to each access response from above-mentioned at least two first access device, and with
First access device selected establishes second wireless network connection, which is and the second access
Highest first access device of equipment room radio signal quality.
It can carry in access response for reflecting radio signal quality between the first access device and the second access device
Information is indicated, such as RSSI (Received Signal Strength Indication, received signal strength indicator).Work as presence
When multiple attachable first access devices, the second access device is connect according to above-mentioned instruction information from multiple attachable first
Enter selection highest first access device of one radio signal quality in equipment, and the first access device selected with this is established
Second wireless network connection, so that it is guaranteed that communication quality between the two.
In an alternate embodiment of the invention, in order to ensure the Information Security between the second access device and gateway, second
Data when communicating between access device and gateway can be to be added using the corresponding data encryption key of the second access device
Data after close.It can in advance be each access device configuring cipher key two dimensional code, the key in a kind of possible embodiment
Two dimensional code can be attached on access device.User scans the key two dimensional code of the second access device using controlling terminal, and identification should
Two dimensional code obtains the data encryption key of the second access device, and the data encryption key is sent to gateway.Due to
Data when communicating between two access devices and gateway are, and data encryptions encrypted using the data encryption key
Key is not known to the first access device, so the first access device can not successfully obtain the second access device and gateway
Between communicate when data, it is ensured that the Information Security between the second access device and gateway.
Since the second access device has got the access authentication information of gateway in above-mentioned steps 402,
In the case where not resetting the access authentication information, when the distance between the second access device and gateway in the two can
When within communication range, the second access device directly can establish wireless network connection with gateway, and the process is dry without user
In advance, user's operation is reduced, user experience is improved.
Optionally, internetwork connection establishing method provided in this embodiment may also include the steps of:
In a step 406, the second access device obtains the access authentication information that third access device is broadcasted outward.
In step 407, the second access device establishes third wireless network according to access authentication information and third access device
Network connection.
Wherein, the first wireless network connection, second wireless network connection and third wireless network connection are used for transmission third
Data when being communicated between access device and gateway.
It is similar with the first access device, by increasing transistroute function in the second access device, so that the second access
Equipment can work in ap mode, access for third access device, realize the wireless network covering model for further expanding gateway
It encloses.
In conclusion internetwork connection establishing method provided in this embodiment, is set with gateway respectively by the first access device
It is standby to establish the first wireless network connection with the second access device and connected with second wireless network, so that the second access device was by should
First wireless network connection and second wireless network are connected and are communicated between gateway;It solves the relevant technologies accessing
In the case that the distance between equipment and gateway have been more than the longer communication distance of the two, wireless network can not be established between the two
The problem of network connects;It realizes apart from the farther away access device of gateway in be apart from the closer access device of gateway
After wireless network connection is established between gateway indirectly, has reached the wireless network coverage of extension gateway
Effect.
In addition, internetwork connection establishing method provided in this embodiment, access device passes through the equipment letter for broadcasting itself outward
Breath, and by the assistance of controlling terminal, so that access device obtains the access authentication information of gateway from controlling terminal, solution
Determined it is some do not have display screen and input interface access device be not easy to connection gateway the problem of, simplify access
Equipment connects the process of gateway, improves joint efficiency, and reduce user's operation, improves user experience.
In addition, the internetwork connection establishing method that the present embodiment improves, when there are multiple attachable first access devices,
Both second access device is attached by therefrom choosing highest first access device of radio signal quality, ensure that
Between communication quality.
In one example, using gateway as router, the first access device be intelligent socket, the second access device is
For intelligent air condition.Assuming that the distance between intelligent socket and router in the two can be within communication range, and intelligent air condition
The distance between router can be except communication range the two.By increasing transistroute function in intelligent socket, make
Obtaining intelligent socket can work in STA mode and ap mode.Under ap mode, intelligent socket provides wireless network for intelligent air condition and connects
Enter service, wireless network connection is established with intelligent air condition, so that intelligent air condition is forwarded by the intelligent socket and router
Between communicate when data.
Optionally, when the distance between subsequent intelligent air condition and router both be adjusted to can be within communication range
When, intelligent air condition directly can quickly connect router, which is not necessarily to user intervention.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.It is real for disclosure device
Undisclosed details in example is applied, embodiments of the present disclosure is please referred to.
Fig. 5 is the block diagram that device is established in a kind of network connection shown according to an exemplary embodiment, which builds
Vertical device being implemented in combination with as some or all of of the first access device by software, hardware or both.The net
It may include: the first connection establishment module 510, data obtaining module 520 and the second connection establishment module that device is established in network connection
530。
First connection establishment module 510 is configured as establishing the first wireless network connection with gateway.
Data obtaining module 520 is configured as obtaining the access for the gateway that the second access device is broadcasted outward
Authentication information.
Second connection establishment module 530 is configured as being built according to the access authentication information and second access device
Vertical second wireless network connection.
Wherein, first wireless network connection connected with the second wireless network be used for transmission it is described second access set
The standby data between the gateway when communication.
In conclusion device is established in network connection provided in this embodiment, set respectively with gateway by the first access device
It is standby to establish the first wireless network connection with the second access device and connected with second wireless network, so that the second access device was by should
First wireless network connection and second wireless network are connected and are communicated between gateway;It solves the relevant technologies accessing
In the case that the distance between equipment and gateway have been more than the longer communication distance of the two, wireless network can not be established between the two
The problem of network connects;It realizes apart from the farther away access device of gateway in be apart from the closer access device of gateway
After wireless network connection is established between gateway indirectly, has reached the wireless network coverage of extension gateway
Effect.
Fig. 6 is that the block diagram of device is established in a kind of network connection shown according to another exemplary embodiment, the network connection
Establishing device being implemented in combination with as some or all of of the first access device by software, hardware or both.It should
It may include: that mould is established in the first connection establishment module 510, data obtaining module 520 and the second connection that device is established in network connection
Block 530.
First connection establishment module 510 is configured as establishing the first wireless network connection with gateway.
Data obtaining module 520 is configured as obtaining the access for the gateway that the second access device is broadcasted outward
Authentication information.
Second connection establishment module 530 is configured as being built according to the access authentication information and second access device
Vertical second wireless network connection.
Wherein, first wireless network connection connected with the second wireless network be used for transmission it is described second access set
The standby data between the gateway when communication.
Optionally, first connection establishment module 510, comprising: facility information broadcast submodule 510a, authentication information connect
Receive submodule 510b, the authentication information connection of broadcast submodule 510c and first setting up submodule 510d.
The facility information broadcasts submodule 510a, is configured as broadcasting the equipment letter of first access device outward
Breath.
The authentication information receiving submodule 510b is configured as receiving connecing for the gateway of controlling terminal transmission
Enter authentication information, the access authentication information is that the controlling terminal is sent to described first after getting the facility information
Access device.
The authentication information broadcasts submodule 510c, is configured as broadcasting the access authentication information outward.
The first connection setting up submodule 510d, is configured as establishing first wireless network with the gateway
Connection, first wireless network connection is that the gateway connects after getting the access authentication information with described first
Enter equipment foundation.
Optionally, the data are using the corresponding encrypted data of data encryption key of second access device.
Optionally, described device further include: instruction receiving module 540 and information sending module 550.
It indicates receiving module 540, is configured as receiving the information offer instruction that controlling terminal is sent, the information offer refers to
Show to be the controlling terminal in the facility information for getting second access device that second access device is broadcasted outward
It sends afterwards.
Information sending module 550 is configured as providing instruction according to the information, and the second access device of Xiang Suoshu sends institute
State access authentication information.
In conclusion device is established in network connection provided in this embodiment, set respectively with gateway by the first access device
It is standby to establish the first wireless network connection with the second access device and connected with second wireless network, so that the second access device was by should
First wireless network connection and second wireless network are connected and are communicated between gateway;It solves the relevant technologies accessing
In the case that the distance between equipment and gateway have been more than the longer communication distance of the two, wireless network can not be established between the two
The problem of network connects;It realizes apart from the farther away access device of gateway in be apart from the closer access device of gateway
After wireless network connection is established between gateway indirectly, has reached the wireless network coverage of extension gateway
Effect.
In addition, device is established in network connection provided in this embodiment, the first access device by broadcasting setting for itself outward
Standby information, and by the assistance of controlling terminal, so that the access that the first access device obtains gateway from controlling terminal is recognized
Demonstrate,prove information, solve the problems, such as it is some do not have display screen and input interface access device be not easy to connection gateway,
The process for simplifying access device connection gateway improves joint efficiency, and reduces user's operation, improves user experience.
Fig. 7 is that the block diagram of device is established in a kind of network connection shown according to another exemplary embodiment, the network connection
Establishing device being implemented in combination with as some or all of of the second access device by software, hardware or both.It should
It may include: that authentication information acquisition module 710, authentication information broadcast module 720 and network connection are built that device is established in network connection
Formwork erection block 730.
Authentication information obtains module 710, is configured as obtaining the access authentication information of gateway.
Authentication information broadcast module 720 is configured as broadcasting the access authentication information outward.
Module 730 is established in network connection, and the first access device for being configured as and getting the access authentication information is built
Vertical second wireless network connection, establishing between first access device and the gateway has the first wireless network connection.
Wherein, first wireless network connection connected with the second wireless network be used for transmission it is described second access set
The standby data between the gateway when communication.
In conclusion device is established in network connection provided in this embodiment, set by the second access device and the first access
It is standby to establish second wireless network connection, there is the first wireless network connection due to establishing between first access device and gateway,
So that the second access device by first wireless network connection and second wireless network connection gateway between into
Row communication;Solve the feelings that the relevant technologies have been more than the longer communication distance of the two at a distance from access device is between gateway
Under condition, the problem of wireless network connection can not be established between the two;Realize apart from the farther away access device of gateway with away from
It is relaying from the closer access device of gateway, establishes wireless network connection between gateway indirectly, reached extension
The effect of the wireless network coverage of gateway.
Fig. 8 is that the block diagram of device is established in a kind of network connection shown according to another exemplary embodiment, the network connection
Establishing device being implemented in combination with as some or all of of the second access device by software, hardware or both.It should
It may include: that authentication information acquisition module 710, authentication information broadcast module 720 and network connection are built that device is established in network connection
Formwork erection block 730.
Authentication information obtains module 710, is configured as obtaining the access authentication information of gateway.
Authentication information broadcast module 720 is configured as broadcasting the access authentication information outward.
Module 730 is established in network connection, and the first access device for being configured as and getting the access authentication information is built
Vertical second wireless network connection, establishing between first access device and the gateway has the first wireless network connection.
Wherein, first wireless network connection connected with the second wireless network be used for transmission it is described second access set
The standby data between the gateway when communication.
In a kind of possible embodiment, the authentication information obtains module 710, comprising: information broadcasts submodule
710a and the first receiving submodule 710b.
The information broadcasts submodule 710a, is configured as broadcasting the facility information of second access device outward.
The first receiving submodule 710b, the access for being configured as receiving the gateway that controlling terminal is sent are recognized
Information is demonstrate,proved, the access authentication information is that the controlling terminal is sent to second access after getting the facility information
Equipment.
In alternatively possible embodiment, the authentication information obtains module 710, comprising: information broadcasts submodule
710a and the second receiving submodule 710c.
The information broadcasts submodule 710a, is configured as broadcasting the facility information of second access device outward.
The second receiving submodule 710c is configured as receiving the gateway that first access device is sent
Access authentication information, the access authentication information is that controlling terminal indicates that described first connects after getting the facility information
Enter equipment and is sent to second access device.
Optionally, the data are using the corresponding encrypted data of data encryption key of second access device.
Optionally, module 730 is established in the network connection, comprising: the first setting up submodule 730a and second establishes submodule
Block 730b.
The first setting up submodule 730a is configured as receiving when second access device from one first
When the access response of access device, the second wireless network is established with first access device and is connect.
The second setting up submodule 730b is configured as receiving when second access device from least two
When the access response of the first access device, selected from least two first access device according to each access response
One the first access device, and establish the second wireless network with first access device selected and connect, it is selected
First access device be highest first access device of radio signal quality between second access device.
Wherein, the access response is that first access device is sent after getting the access authentication information.
Optionally, described device further include: broadcast obtains module 740 and third connection establishment module 750.
Broadcast obtains module 740, is configured as obtaining the access authentication information that third access device is broadcasted outward.
Third connection establishment module 750 is configured as being built according to the access authentication information and the third access device
Vertical third wireless network connection.
Wherein, first wireless network connection, second wireless network connection and the third wireless network connection
It is used for transmission data when communicating between the third access device and the gateway.
In conclusion device is established in network connection provided in this embodiment, set by the second access device and the first access
It is standby to establish second wireless network connection, there is the first wireless network connection due to establishing between first access device and gateway,
So that the second access device by first wireless network connection and second wireless network connection gateway between into
Row communication;Solve the feelings that the relevant technologies have been more than the longer communication distance of the two at a distance from access device is between gateway
Under condition, the problem of wireless network connection can not be established between the two;Realize apart from the farther away access device of gateway with away from
It is relaying from the closer access device of gateway, establishes wireless network connection between gateway indirectly, reached extension
The effect of the wireless network coverage of gateway.
In addition, device is established in network connection provided in this embodiment, the second access device by broadcasting setting for itself outward
Standby information, and by the assistance of controlling terminal, so that the access that the second access device obtains gateway from controlling terminal is recognized
Demonstrate,prove information, solve the problems, such as it is some do not have display screen and input interface access device be not easy to connection gateway,
The process for simplifying access device connection gateway improves joint efficiency, and reduces user's operation, improves user experience.
In addition, device is established in the network connection that the present embodiment improves, when there are multiple attachable first access devices,
Both second access device is attached by therefrom choosing highest first access device of radio signal quality, ensure that
Between communication quality.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 9 is a kind of block diagram of device 900 shown according to an exemplary embodiment.The device 900 can be used for first and connect
Enter in equipment or the second access device.For example, device 900 can be mobile phone, computer, digital broadcast terminal, message receipts
Hair equipment, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant, intelligent appliance equipment are wearable
Equipment etc..
Referring to Fig. 9, device 900 may include following one or more components: processing component 902, memory 904, power supply
Component 906, multimedia component 908, audio component 910, the interface 912 of input/output (I/O), sensor module 914, and
Communication component 916.
The integrated operation of the usual control device 900 of processing component 902, such as with display, telephone call, data communication, phase
Machine operation and record operate associated operation.Processing component 902 may include that one or more processors 920 refer to execute
It enables, to perform all or part of the steps of the methods described above.In addition, processing component 902 may include one or more modules, just
Interaction between processing component 902 and other assemblies.For example, processing component 902 may include multi-media module, it is more to facilitate
Interaction between media component 908 and processing component 902.
Memory 904 is configured as storing various types of data to support the operation in device 900.These data are shown
Example includes the instruction of any application or method for operating on device 900, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 904 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 906 provides electric power for the various assemblies of device 900.Power supply module 906 may include power management system
System, one or more power supplys and other with for device 900 generate, manage, and distribute the associated component of electric power.
Multimedia component 908 includes the screen of one output interface of offer between described device 900 and user.One
In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings
Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action
Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers
Body component 908 includes a front camera and/or rear camera.When device 900 is in operation mode, such as screening-mode or
When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 910 is configured as output and/or input audio signal.For example, audio component 910 includes a Mike
Wind (MIC), when device 900 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched
It is set to reception external audio signal.The received audio signal can be further stored in memory 904 or via communication set
Part 916 is sent.In some embodiments, audio component 910 further includes a loudspeaker, is used for output audio signal.
I/O interface 912 provides interface between processing component 902 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock
Determine button.
Sensor module 914 includes one or more sensors, and the state for providing various aspects for device 900 is commented
Estimate.For example, sensor module 914 can detecte the state that opens/closes of device 900, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 900, and sensor module 914 can be with 900 1 components of detection device 900 or device
Position change, the existence or non-existence that user contacts with device 900,900 orientation of device or acceleration/deceleration and device 900
Temperature change.Sensor module 914 may include proximity sensor, be configured to detect without any physical contact
Presence of nearby objects.Sensor module 914 can also include optical sensor, such as CMOS or ccd image sensor, at
As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 916 is configured to facilitate the communication of wired or wireless way between device 900 and other equipment.Device
900 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation
In example, communication component 916 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 916 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 900 can be believed by one or more application specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 904 of instruction, above-metioned instruction can be executed by the processor 920 of device 900 to complete the above method.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 900
Device executes, and when the device 900 is used for the first access device so that device 900 be able to carry out as shown in above-mentioned Fig. 2 or Fig. 4 A it is real
Apply the internetwork connection establishing method of the first access device side in example.
Alternatively, a kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by device 900
Processor execute, and the device 900 be used for the second access device when so that device 900 is able to carry out such as above-mentioned Fig. 3 or Fig. 4 A institute
Show the internetwork connection establishing method of the second access device side in embodiment.
Figure 10 is a kind of block diagram for being connected to the network system of establishing shown according to an exemplary embodiment.The network connection is built
Erection system may include: gateway 1020, the first access device 1040 and the second access device 1060.Wherein:
First access device 1040 may include that device is established in the network connection of embodiment offer as shown in Figure 5 or Figure 6;
Second access device 1060 may include that device is established in the network connection of Fig. 7 or embodiment illustrated in fig. 8 offer such as.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (10)
1. a kind of internetwork connection establishing method, which is characterized in that the described method includes:
First access device and gateway establish the first wireless network connection;
First access device obtains the access authentication information for the gateway that the second access device is broadcasted outward, described
After access authentication information is the facility information that second access device broadcasts second access device outward, controlling terminal exists
It is sent to second access device after getting the facility information, and/or, the controlling terminal is getting described set
Information is sent to first access device after standby information, instruction is provided, provided by first access device according to the information
Instruction is sent to second access device;
First access device is established second wireless network according to the access authentication information and second access device and is connected
It connects, the second wireless network connection is that first access device is verified from the received access authentication of the second access device
What information was established when identical as the access authentication information of the gateway that itself is connected;
First access device is established second wireless network according to the access authentication information and second access device and is connected
It connects, comprising:
First access device sends access response to second access device according to the access authentication information, described to connect
Enter the instruction carried in response for reflecting radio signal quality between first access device and second access device
Information;
Second access device is used for when receiving from the access response of first access device, with described first
Access device establishes the second wireless network connection, alternatively, receiving connecing from least two first access devices
When entering response, one first access is selected to set from least two first access device according to each access response
It is standby, and establish the second wireless network with first access device of selection and connect, first access device of selection
It is that highest first access of radio signal quality is set between second access device at least two first access device
It is standby;
Wherein, first wireless network connection and the second wireless network connection be used for transmission second access device with
Data when communicating between the gateway, the data are using the corresponding data encryption key of second access device
Encrypted data, the data encryption key are not known to first access device.
2. the method according to claim 1, wherein first access device and gateway establish the first nothing
Line network connection, comprising:
First access device broadcasts the facility information of first access device outward;
First access device receives the access authentication information for the gateway that controlling terminal is sent, the access authentication
Information is that the controlling terminal is sent to first access device after getting the facility information;
First access device broadcasts the access authentication information outward;
First access device and the gateway establish first wireless network connection, and first wireless network connects
Connect is that the gateway is established after getting the access authentication information with first access device.
3. a kind of internetwork connection establishing method, which is characterized in that the described method includes:
The access authentication information of second access device acquisition gateway;
Second access device broadcasts the access authentication information outward;
Second access device and the first access device for getting the access authentication information establish second wireless network company
It connects, establishing between first access device and the gateway has the first wireless network connection, and the second wireless network connects
Connect is described in the first access device verifying is connect from the received access authentication information of second access device with itself
What the access authentication information of gateway was established when identical;
Wherein, first wireless network connection and the second wireless network connection be used for transmission second access device with
Data when communicating between the gateway, the data are using the corresponding data encryption key of second access device
Encrypted data, the data encryption key are not known to first access device;
Second access device obtains the access authentication information of gateway, includes at least one of the following:
Second access device broadcasts the facility information of second access device outward;Second access device receives control
The access authentication information for the gateway that terminal processed is sent, the access authentication information is that the controlling terminal is being got
Second access device is sent to after the facility information;
Second access device broadcasts the facility information of second access device outward;Second access device receives institute
The access authentication information of the gateway of the first access device transmission is stated, the access authentication information is that controlling terminal is obtaining
Indicate that first access device is sent to second access device after getting the facility information;
Second access device and the first access device for getting the access authentication information establish second wireless network company
It connects, comprising:
When second access device is received from the access response of first access device, second access is set
Standby to establish the second wireless network with first access device and connect, the access response is that first access device exists
It gets and sends after the access authentication information;
When second access device is received from the access response of at least two first access devices, described second is connect
Enter equipment and one the first access device is selected from least two first access device according to each access response, and
It establishes the second wireless network with first access device selected to connect, first access device selected is
Highest first access device of radio signal quality between second access device.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
Second access device obtains the access authentication information that third access device is broadcasted outward;
Second access device is established third wireless network according to the access authentication information and the third access device and is connected
It connects;
Wherein, first wireless network connection, second wireless network connection and the third wireless network connection are used for
Transmit data when communicating between the third access device and the gateway.
5. device is established in a kind of network connection, which is characterized in that be used for the first access device, described device includes:
First connection establishment module is configured as establishing the first wireless network connection with gateway;
Data obtaining module is configured as obtaining the access authentication letter for the gateway that the second access device is broadcasted outward
Breath, the access authentication information are controls after the facility information that second access device broadcasts second access device outward
Terminal processed is sent to second access device after getting the facility information, and/or, the controlling terminal is obtaining
Information is sent to first access device after to the facility information, instruction is provided, as first access device according to
Information provides instruction and is sent to second access device;
Second connection establishment module is configured as establishing the second nothing according to the access authentication information and second access device
Line network connection, the second wireless network connection are that the first access device verifying is received from second access device
What access authentication information was established when identical as the access authentication information of the gateway that itself is connected;
Second connection establishment module is configured as being connect according to the access authentication information to second access device transmission
Enter response, carries in the access response for reflecting wireless communication between first access device and second access device
The instruction information of number quality;
Second access device is used for when receiving from the access response of first access device, with described first
Access device establishes the second wireless network connection, alternatively, receiving connecing from least two first access devices
When entering response, one first access is selected to set from least two first access device according to each access response
It is standby, and establish the second wireless network with first access device of selection and connect, first access device of selection
It is that highest first access of radio signal quality is set between second access device at least two first access device
It is standby;
Wherein, first wireless network connection and the second wireless network connection be used for transmission second access device with
Data when communicating between the gateway, the data are using the corresponding data encryption key of second access device
Encrypted data, the data encryption key are not known to first access device.
6. device according to claim 5, which is characterized in that first connection establishment module, comprising: facility information is wide
Broadcast submodule, authentication information receiving submodule, authentication information broadcast submodule and the first connection setting up submodule;
The facility information broadcasts submodule, is configured as broadcasting the facility information of first access device outward;
The authentication information receiving submodule is configured as receiving the access authentication letter for the gateway that controlling terminal is sent
Breath, the access authentication information is that the controlling terminal is sent to first access device after getting the facility information
's;
The authentication information broadcasts submodule, is configured as broadcasting the access authentication information outward;
The first connection setting up submodule, is configured as establishing first wireless network connection, institute with the gateway
State the first wireless network connection be the gateway after getting the access authentication information with first access device
It establishes.
7. device is established in a kind of network connection, which is characterized in that be used for the second access device, described device includes:
Authentication information obtains module, is configured as obtaining the access authentication information of gateway;
Authentication information broadcast module is configured as broadcasting the access authentication information outward;
Module is established in network connection, and the first access device for being configured as and getting the access authentication information establishes the second nothing
Line network connection, establishing between first access device and the gateway has the first wireless network connection, second nothing
Line network connection is the first access device verifying from the received access authentication information of second access device and itself connects
What the access authentication information of the gateway connect was established when identical;
Wherein, first wireless network connection and the second wireless network connection be used for transmission second access device with
Data when communicating between the gateway, the data are using the corresponding data encryption key of second access device
Encrypted data, the data encryption key are not known to first access device;
The authentication information obtains module, comprising: and information broadcasts submodule and the first receiving submodule, and/or, information broadcast
Module and the second receiving submodule;
The information broadcasts submodule, is configured as broadcasting the facility information of second access device outward;
First receiving submodule is configured as receiving the access authentication information for the gateway that controlling terminal is sent,
The access authentication information is that the controlling terminal is sent to second access device after getting the facility information;
The information broadcasts submodule, is configured as broadcasting the facility information of second access device outward;
Second receiving submodule, the access for being configured as receiving the gateway that first access device is sent are recognized
Information is demonstrate,proved, the access authentication information is that controlling terminal indicates the first access device hair after getting the facility information
Give second access device;
Module is established in the network connection, comprising: the first setting up submodule and the second setting up submodule;
First setting up submodule is configured as receiving when second access device from first access device
Access response when, establish the second wireless network with first access device and connect, the access response is described
What one access device was sent after getting the access authentication information;
Second setting up submodule is configured as receiving when second access device from least two first accesses
When the access response of equipment, one first is selected from least two first access device according to each access response
Access device, and establish the second wireless network with first access device selected and connect, described selected
One access device is highest first access device of radio signal quality between second access device.
8. device according to claim 7, which is characterized in that described device further include:
Broadcast obtains module, is configured as obtaining the access authentication information that third access device is broadcasted outward;
Third connection establishment module, be configured as being established according to the access authentication information and the third access device third without
Line network connection;
Wherein, first wireless network connection, second wireless network connection and the third wireless network connection are used for
Transmit data when communicating between the third access device and the gateway.
9. device is established in a kind of network connection, which is characterized in that be used for the first access device, comprising:
Processor;
For storing the memory of the executable instruction of the processor;
Wherein, the processor is configured to:
The first wireless network connection is established with gateway;
The access authentication information for the gateway that the second access device is broadcasted outward is obtained, the access authentication information is institute
After stating the facility information that the second access device broadcasts second access device outward, controlling terminal is getting the equipment letter
Second access device is sent to after breath, and/or, the controlling terminal is after getting the facility information to described
One access device sends information and provides instruction, provides instruction according to the information by first access device and is sent to described the
Two access devices;
It establishes second wireless network with second access device according to the access authentication information to connect, second wireless network
Network connection is that the first access device verifying is connect from the received access authentication information of second access device with itself
What the access authentication information of the gateway was established when identical;
First access device is established second wireless network according to the access authentication information and second access device and is connected
It connects, second access device and the first access device for getting the access authentication information establish second wireless network company
It connects, comprising:
First access device sends access response to second access device according to the access authentication information, described to connect
Enter the instruction carried in response for reflecting radio signal quality between first access device and second access device
Information;
Second access device is used for when receiving from the access response of first access device, with described first
Access device establishes the second wireless network connection, alternatively, receiving connecing from least two first access devices
When entering response, one first access is selected to set from least two first access device according to each access response
It is standby, and establish the second wireless network with first access device of selection and connect, first access device of selection
It is that highest first access of radio signal quality is set between second access device at least two first access device
It is standby;
Wherein, first wireless network connection and the second wireless network connection be used for transmission second access device with
Data when communicating between the gateway, the data are using the corresponding data encryption key of second access device
Encrypted data, the data encryption key are not known to first access device.
10. device is established in a kind of network connection, which is characterized in that be used for the second access device, comprising:
Processor;
For storing the memory of the executable instruction of the processor;
Wherein, the processor is configured to:
Obtain the access authentication information of gateway;
The access authentication information is broadcasted outward;
It establishes second wireless network with the first access device for getting the access authentication information to connect, first access is set
Standby establish between the gateway has the first wireless network connection, and the second wireless network connection is that first access is set
The access authentication for the gateway that standby verifying is connect from the received access authentication information of second access device with itself
It is established when information is identical;
Wherein, first wireless network connection and the second wireless network connection be used for transmission second access device with
Data when communicating between the gateway, the data are using the corresponding data encryption key of second access device
Encrypted data, the data encryption key are not known to first access device;
Second access device obtains the access authentication information of gateway, includes at least one of the following:
Second access device broadcasts the facility information of second access device outward;Second access device receives control
The access authentication information for the gateway that terminal processed is sent, the access authentication information is that the controlling terminal is being got
Second access device is sent to after the facility information;
Second access device broadcasts the facility information of second access device outward;Second access device receives institute
The access authentication information of the gateway of the first access device transmission is stated, the access authentication information is that controlling terminal is obtaining
Indicate that first access device is sent to second access device after getting the facility information;
Second access device and the first access device for getting the access authentication information establish second wireless network company
It connects, comprising:
When second access device is received from the access response of first access device, second access is set
Standby to establish the second wireless network with first access device and connect, the access response is that first access device exists
It gets and sends after the access authentication information;
When second access device is received from the access response of at least two first access devices, described second is connect
Enter equipment and one the first access device is selected from least two first access device according to each access response, and
It establishes the second wireless network with first access device selected to connect, first access device selected is
Highest first access device of radio signal quality between second access device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510104526.9A CN104735813B (en) | 2015-03-10 | 2015-03-10 | Internetwork connection establishing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510104526.9A CN104735813B (en) | 2015-03-10 | 2015-03-10 | Internetwork connection establishing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104735813A CN104735813A (en) | 2015-06-24 |
CN104735813B true CN104735813B (en) | 2019-05-21 |
Family
ID=53459132
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510104526.9A Active CN104735813B (en) | 2015-03-10 | 2015-03-10 | Internetwork connection establishing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104735813B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105101206B (en) * | 2015-06-26 | 2018-06-19 | 中国联合网络通信集团有限公司 | A kind of WIFI of equipment automatically accesses method and system |
CN105068433B (en) * | 2015-07-07 | 2018-01-05 | 江苏惠通集团有限责任公司 | The method for connecting network and device of smart jack, intelligent socket system |
CN105050055B (en) * | 2015-08-14 | 2019-02-01 | 杭州德澜科技有限公司 | Collecting method based on WIFI access point name coding |
CN106612527B (en) * | 2015-10-21 | 2020-09-29 | 南京中兴软件有限责任公司 | Method and device for prolonging transmission distance |
CN105188024B (en) * | 2015-10-29 | 2019-06-14 | 小米科技有限责任公司 | Access the method, apparatus and system of network |
CN105427564A (en) * | 2015-12-01 | 2016-03-23 | 深圳市福云明网络科技有限公司 | Outdoor shooting system and method based on WIFI (Wireless Fidelity) clone mode |
CN105578568A (en) * | 2015-12-16 | 2016-05-11 | 上海飞乐音响股份有限公司 | WIFI communication apparatus and WIFI network establishing method |
CN106332217A (en) * | 2016-08-22 | 2017-01-11 | 维沃移动通信有限公司 | A wireless routing method and mobile terminal |
CN106376057A (en) * | 2016-11-28 | 2017-02-01 | 北京小米移动软件有限公司 | Wireless network access method and device |
CN109168188B (en) * | 2018-11-09 | 2021-06-22 | 四川欧莱德精密电子有限公司 | Wireless gateway allocation method, wireless gateway, wireless access module and Internet of things equipment |
CN113132989B (en) * | 2021-04-20 | 2023-09-15 | 宁波奥克斯电气股份有限公司 | Network distribution methods and smart home systems |
WO2023173365A1 (en) * | 2022-03-17 | 2023-09-21 | Oppo广东移动通信有限公司 | Device discovery method and apparatus, device, storage medium, and program product |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011144174A1 (en) * | 2010-09-09 | 2011-11-24 | 华为技术有限公司 | Method, device and system for configuring access device |
US8131209B1 (en) * | 2004-10-08 | 2012-03-06 | Marvell International Ltd. | Repeater configuration and management |
CN102368851A (en) * | 2011-12-02 | 2012-03-07 | 深圳市共进电子股份有限公司 | Method for simply configuring wireless relay |
CN103298072A (en) * | 2013-07-02 | 2013-09-11 | 张洁昕 | Method, system and mobile communication terminal for automatically connecting to WiFi access point |
CN103581901A (en) * | 2012-08-09 | 2014-02-12 | 展讯通信(上海)有限公司 | Method and device for processing Wi-Fi wireless network access configuration information |
CN104219289A (en) * | 2014-08-15 | 2014-12-17 | 合肥美菱股份有限公司 | Wireless network parameter setting method of Internet of Things refrigerator |
CN104244455A (en) * | 2014-09-01 | 2014-12-24 | 小米科技有限责任公司 | Wireless local area network access information sharing method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7689166B2 (en) * | 2006-11-30 | 2010-03-30 | Embarq Holdings Company, Llc | System and method for extension of wireless footprint |
-
2015
- 2015-03-10 CN CN201510104526.9A patent/CN104735813B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8131209B1 (en) * | 2004-10-08 | 2012-03-06 | Marvell International Ltd. | Repeater configuration and management |
WO2011144174A1 (en) * | 2010-09-09 | 2011-11-24 | 华为技术有限公司 | Method, device and system for configuring access device |
CN102368851A (en) * | 2011-12-02 | 2012-03-07 | 深圳市共进电子股份有限公司 | Method for simply configuring wireless relay |
CN103581901A (en) * | 2012-08-09 | 2014-02-12 | 展讯通信(上海)有限公司 | Method and device for processing Wi-Fi wireless network access configuration information |
CN103298072A (en) * | 2013-07-02 | 2013-09-11 | 张洁昕 | Method, system and mobile communication terminal for automatically connecting to WiFi access point |
CN104219289A (en) * | 2014-08-15 | 2014-12-17 | 合肥美菱股份有限公司 | Wireless network parameter setting method of Internet of Things refrigerator |
CN104244455A (en) * | 2014-09-01 | 2014-12-24 | 小米科技有限责任公司 | Wireless local area network access information sharing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN104735813A (en) | 2015-06-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104735813B (en) | Internetwork connection establishing method and device | |
US11418388B2 (en) | Method for network configuration, and electronic device | |
US10038772B2 (en) | Communication systems and methods | |
KR101755589B1 (en) | Method and apparatus, program and recording medium for network access | |
RU2549521C2 (en) | Indirect communication between devices | |
EP3200421B1 (en) | Method, apparatus and system for accessing wireless local area network | |
CN110784908B (en) | Wireless network distribution method, wireless router and wireless network distribution system | |
CN105517103A (en) | Network access method and device based on intelligent terminal device | |
CN110855677B (en) | Distribution network method and device, electronic equipment and storage medium | |
EP3018922A1 (en) | Methods and systems for selectively routing group communications amongst multiple networks | |
CN105282158A (en) | Intelligent equipment networking method, routing equipment, intelligent equipment and system | |
WO2017028426A1 (en) | Method and device for acquiring access authority | |
JP2007274359A (en) | System, apparatus, method and program for setting function, and computer-readable recording medium | |
CN110399112A (en) | A kind of throwing screen method and device | |
CN110891299A (en) | Network distribution method and device, electronic equipment and storage medium | |
CN105554755A (en) | Wireless network access method and device | |
CN114096868A (en) | Position determination method, position determination device, communication equipment and storage medium | |
CN107846685A (en) | The transmission method of configuration information, apparatus and system, storage medium | |
US20220279603A1 (en) | Information processing device and information processing system | |
US20140146192A1 (en) | Acoustic configuration of a wireless camera | |
CN108702288A (en) | Data transmission method, equipment and system | |
CN107968994A (en) | Method for building up, the apparatus and system of LAN | |
CN103974377B (en) | Wireless network connecting method and device | |
WO2021184368A1 (en) | Method and apparatus for transmitting data, communication device and storage medium | |
EP4425983A1 (en) | Information transmission method and apparatus, and communication 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |