CN106550383B - Network connection method and intelligent device - Google Patents

Network connection method and intelligent device Download PDF

Info

Publication number
CN106550383B
CN106550383B CN201611055344.8A CN201611055344A CN106550383B CN 106550383 B CN106550383 B CN 106550383B CN 201611055344 A CN201611055344 A CN 201611055344A CN 106550383 B CN106550383 B CN 106550383B
Authority
CN
China
Prior art keywords
access point
access
identifier
wireless communication
short
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611055344.8A
Other languages
Chinese (zh)
Other versions
CN106550383A (en
Inventor
陈宏�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201611055344.8A priority Critical patent/CN106550383B/en
Publication of CN106550383A publication Critical patent/CN106550383A/en
Application granted granted Critical
Publication of CN106550383B publication Critical patent/CN106550383B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Abstract

The disclosure relates to a network connection method and intelligent equipment, and relates to the field of Internet of things, wherein the method comprises the following steps: detecting whether the access point is accessed through a first access point identifier provided by the access point, wherein the first access point identifier is a password-free access point identifier, the first access point identifier is different from a second access point identifier, and the second access point identifier is an access point identifier which is configured by the access point and has a password; when the access point is detected to be accessed through the first access point identifier, acquiring a second access point identifier and an access point password corresponding to the second access point identifier from the access point; and performing network connection according to the second access point identifier and the access point password corresponding to the second access point identifier. According to the method and the device, after the connection with the access point is established, the network connection is carried out according to the second access point identification and the corresponding access point password acquired from the access point, and therefore the problem that the intelligent device without an operation interface cannot carry out the network connection is solved.

Description

Network connection method and intelligent device
Technical Field
The disclosure relates to the field of internet of things, and in particular relates to a network connection method and intelligent equipment.
Background
With the development of science and technology, the technology of the internet of things is more and more mature, and more intelligent devices based on the internet of things, such as smart televisions, smart air conditioners, smart cameras and the like, are appeared, and in order to be able to exert the functions of the intelligent devices to the maximum extent, the intelligent devices need to be connected to a network.
Currently, when a smart device connects to a network, a user is usually required to manually input an access point identifier and an access point password of an access point into the smart device. The smart device may access the access point for network connectivity based on the access point identification and the access point password.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a network connection method and an intelligent device.
According to a first aspect of the embodiments of the present disclosure, there is provided a network connection method applied in an intelligent device, the method including:
detecting whether the access point is accessed through a first access point identifier provided by the access point, wherein the first access point identifier is a password-free access point identifier, and the first access point identifier is different from a second access point identifier which is an access point identifier with a password configured by the access point;
when the access point is detected to be accessed through the first access point identifier, acquiring a second access point identifier and an access point password corresponding to the second access point identifier from the access point;
and performing network connection according to the second access point identifier and the access point password corresponding to the second access point identifier.
Optionally, before the detecting whether the access point is already accessed through the first access point identifier provided by the access point, the method further includes:
sending an access request to the access point according to the first access point identifier, wherein the access request carries the equipment information of the intelligent equipment, and the access request is used for indicating the access point to judge whether the intelligent equipment is allowed to be accessed according to the equipment information;
and when receiving the access permission notice sent by the access point, accessing the access point through the first access point identification.
Optionally, before sending the access request to the access point according to the first access point identifier, the method further includes:
acquiring access authorization permission information of the access point in a near field communication mode, wherein the access authorization permission information is used for indicating that the access point can be accessed through the first access point identifier;
and according to the access authorization permission information, executing the operation of sending an access request to the access point according to the first access point identifier.
Optionally, the obtaining access authorization permission information of the access point in a short-range wireless communication manner includes:
judging whether a short-distance wireless communication signal of the access point is detected or not;
when the short-range wireless communication signal of the access point is detected, establishing short-range wireless communication connection with the access point;
and acquiring the access authorization permission information from the access point through the short-range wireless communication connection.
According to a second aspect of the embodiments of the present disclosure, there is provided a smart device, including:
the device comprises a detection module, a password module and a password module, wherein the detection module is used for detecting whether the access point is accessed by a first access point identifier provided by the access point, the first access point identifier is a password-free access point identifier, the first access point identifier is different from a second access point identifier, and the second access point identifier is an access point identifier which is configured by the access point and has a password;
a first obtaining module, configured to obtain, from the access point, the second access point identifier and an access point password corresponding to the second access point identifier when it is detected that the access point is accessed through the first access point identifier;
and the connection module is used for performing network connection according to the second access point identifier and the access point password corresponding to the second access point identifier.
Optionally, the smart device further comprises:
a sending module, configured to send an access request to the access point according to the first access point identifier, where the access request carries device information of the smart device, and the access request is used to instruct the access point to determine whether to allow the smart device to access according to the device information;
and the access module is used for accessing the access point through the first access point identification when receiving the access permission notice sent by the access point.
Optionally, the smart device further comprises:
a second obtaining module, configured to obtain, in a short-range wireless communication manner, access authorization permission information of the access point, where the access authorization permission information is used to indicate that the access point can be accessed through the first access point identifier;
and the triggering module is used for triggering the sending module to send an access request to the access point according to the first access point identifier according to the access authorization permission information.
Optionally, the second obtaining module includes:
the judgment submodule is used for judging whether the short-distance wireless communication signal of the access point is detected or not;
the establishing sub-module is used for establishing short-range wireless communication connection with the access point when the short-range wireless communication signal of the access point is detected;
and the acquisition submodule is used for acquiring the access authorization permission information from the access point through the short-range wireless communication connection.
According to a third aspect of the embodiments of the present disclosure, there is provided a smart device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
detecting whether the access point is accessed through a first access point identifier provided by the access point, wherein the first access point identifier is a password-free access point and is different from a second access point identifier, and the second access point identifier is an access point identifier which is configured by the access point and has a password;
when the access point is detected to be accessed through the first access point identifier, acquiring a second access point identifier and an access point password corresponding to the second access point identifier from the access point;
and performing network connection according to the second access point identifier and the access point password corresponding to the second access point identifier.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: whether the access point is accessed through the first access point identification provided by the access point is detected, and when the access point is accessed through the first access point identification is detected, the second access point identification and the corresponding access point password can be obtained from the access point, so that the intelligent equipment without the operation interface can perform network connection according to the second access point identification and the corresponding access point password, and the problem that the intelligent equipment without the operation interface cannot perform network connection is solved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flow chart illustrating a first network connection method according to an example embodiment.
Fig. 2 is a flow chart illustrating a second method of network connection according to an example embodiment.
Fig. 3 is a flow chart illustrating a third method of network connection according to an example embodiment.
Fig. 4 is a flowchart illustrating a fourth method of network connection according to an example embodiment.
Fig. 5A is a block diagram illustrating a first type of smart device, according to an example embodiment.
FIG. 5B is a block diagram illustrating a second type of smart device, according to an example embodiment.
FIG. 5C is a block diagram illustrating a third type of smart device, according to an example embodiment.
FIG. 5D is a block diagram illustrating a second acquisition module, according to an example embodiment.
Fig. 6 is a block diagram illustrating a fourth type of smart device in accordance with an example embodiment.
Fig. 7 is a block diagram illustrating a fifth type of smart device, according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Before explaining the embodiments of the present disclosure in detail, an application scenario of the embodiments of the present disclosure will be described. At present, due to the rapid development of the internet of things, more and more intelligent devices can be connected to a network, such as an intelligent camera, an intelligent sound box and the like. The intelligent equipment user with the operation interface manually inputs the access point identification and the access point password of the access point into the intelligent equipment, and then the intelligent equipment can be connected with the network. However, for the smart device without the operation interface, the user cannot input the access point identifier and the access point password of the access point to the smart device, and the smart device without the operation interface cannot perform network connection. Therefore, the embodiment of the present disclosure provides a network connection method, so that an intelligent device without an operation interface can perform network connection.
Fig. 1 is a flow chart illustrating a network connection method, as shown in fig. 1, for use in a smart device, according to an example embodiment, including the following steps.
In step 101, it is detected whether the access point has been accessed by a first access point identifier provided by the access point, where the first access point identifier is a password-free access point identifier and the first access point identifier is different from a second access point identifier, and the second access point identifier is an access point identifier configured by the access point and having a password.
In step 102, when it is detected that the access point is accessed through the first access point identifier, an access point password corresponding to the second access point identifier and the second access point identifier is obtained from the access point.
In step 103, network connection is performed according to the second access point identifier and the access point password corresponding to the second access point identifier.
In the embodiment of the disclosure, the smart device may detect whether to access the access point through a first access point identifier provided by the access point, and when it is detected that the access point is accessed through the first access point identifier, may obtain a second access point identifier and a corresponding access point password from the access point, so that the smart device without an operation interface may perform network connection according to the second access point identifier and the corresponding access point password, and a problem that the smart device without an operation interface cannot perform network connection is solved.
Optionally, before detecting whether the access point is already accessed through the first access point identifier provided by the access point, the method further includes:
sending an access request to the access point according to the first access point identifier, wherein the access request carries the equipment information of the intelligent equipment, and the access request is used for indicating the access point to judge whether the intelligent equipment is allowed to access or not according to the equipment information;
and when receiving the access permission notice sent by the access point, identifying the access point through the first access point.
Optionally, before sending the access request to the access point according to the first access point identifier, the method further includes:
acquiring access authorization permission information of the access point in a near field communication mode, wherein the access authorization permission information is used for indicating that the access point can be accessed through the first access point identifier;
and according to the access authorization permission information, executing the operation of sending an access request to the access point according to the first access point identifier.
Optionally, the obtaining access authorization permission information of the access point in a short-range wireless communication manner includes:
judging whether a short-distance wireless communication signal of the access point is detected or not;
when the short-distance wireless communication signal of the access point is detected, establishing short-distance wireless communication connection with the access point;
and acquiring the access authorization permission information from the access point through the short-range wireless communication connection.
All the above optional technical solutions can be combined arbitrarily to form an optional embodiment of the disclosure, which is not described in detail in the embodiments of the present invention.
Fig. 2 is a flowchart of a network connection method according to an exemplary embodiment, and referring to fig. 2, the method is applied to an intelligent device, and includes the following steps.
In step 201, it is detected whether an access point has been accessed by the short-range wireless communication method.
In step 202, when it is detected that the access point is accessed through the short-range wireless communication mode, the access point identification and the access point password of the access point are acquired from the access point.
In step 203, a network connection is made according to the access point identifier and the access point password.
In the embodiment of the disclosure, the intelligent device may detect whether to access the access point through the short-range wireless communication mode, and when it is detected that to access the access point through the short-range wireless communication mode, the access point identifier and the corresponding access point password may be obtained from the access point, so that the intelligent device without the operation interface may perform network connection according to the access point identifier and the corresponding access point password, and the problem that the intelligent device without the operation interface cannot perform network connection is solved.
Fig. 3 is a flowchart of a network connection method provided according to an exemplary embodiment, and referring to fig. 3, the method includes the following steps.
In step 301, the smart device sends an access request to an access point according to a first access point identifier, where the access request carries device information of the smart device, and the access request is used to instruct the access point to determine whether to allow the smart device to access according to the device information.
It should be noted that the first access point identifier is a non-password access point identifier provided by the access point, and the first access point identifier may be set in the access point in advance. In addition, the device information may include a manufacturer name, a factory serial number, a Media Access Control (MAC) address, and the like of the smart device.
Further, before sending an access request to the access point according to the first access point identifier, the smart device may also obtain access authorization permission information of the access point in a short-range wireless communication manner, where the access authorization permission information is used to indicate that the access point can be accessed through the first access point identifier; and according to the access authorization permission information, executing the operation of sending an access request to the access point according to the first access point identifier.
The operation of acquiring the access authorization permission information of the access point by the intelligent terminal through the short-distance wireless communication mode may include the following two modes.
In the first mode, the smart device may determine whether a short-range wireless communication signal of the access point is detected; when the short-distance wireless communication signal of the access point is detected, establishing short-distance wireless communication connection with the access point, and acquiring access authorization permission information from the access point through the short-distance wireless communication connection; when the smart device does not detect the short-range wireless communication signal of the access point, the smart device may not perform any operation, or remind the user that the smart device does not detect the short-range wireless communication signal of the access point through ringing, vibration, and the like.
It should be noted that the smart device may determine whether to detect the short-range wireless communication signal of the access point in real time, or may determine whether to detect the short-range wireless communication signal of the access point at specified time intervals. The specified time interval may be set in advance, for example, the specified time interval may be 10 seconds, 20 seconds, 30 seconds, and the like.
The near field Communication method may be bluetooth, NFC (near field Communication), or the like.
It should be further noted that the access authorization permission information may be a specific encoding manner, and may also include an identifier for indicating that the smart device is accessible.
In a second mode, the access point can judge whether a short-range wireless communication signal of the intelligent device is detected, and when the short-range wireless communication signal of the intelligent device is detected, the access point can establish short-range wireless communication connection with the intelligent device; the access point may send access authorization permission information to the smart device via the short-range wireless communication connection.
In addition, since the access point may be influenced by the smart device accessing the access point when the wireless communication signal between the smart device and the access point is weak, before the access point establishes the short-range wireless communication connection with the smart device, the access point may further determine the signal strength of the short-range wireless communication signal, compare the signal strength with a strength threshold, and establish the short-range wireless communication connection with the smart device when the signal strength is greater than or equal to the strength threshold; when the signal strength is less than the strength threshold, the access point may do nothing.
It should be noted that the strength threshold is used to measure whether the short-range wireless communication connection can be established with the smart device, and the strength threshold can be set in advance, for example, the strength threshold can be 60dbm, 70dbm, 80dbm, and so on.
In a possible implementation manner, when the smart device acquires the access authorization permission information and the access authorization permission information includes an encoding manner, the operation of the smart device sending the access request to the access point according to the access authorization permission information and the first access point identifier may be: and according to the first access point identification, coding the equipment information of the intelligent equipment according to the access authorization permission information including a coding mode, adding the coded equipment information into the access request, and then sending the access request to the access point.
In another possible implementation manner, when the smart device acquires the access authorization permission information and the access authorization permission information includes an identifier indicating that the smart device is accessible, the operation of the smart device sending the access request to the access point according to the access authorization permission information and the first access point identifier may be: and after the identification indicating the intelligent equipment to be accessed and the equipment information of the intelligent equipment are added into the access request, the access request is sent to the access point.
In step 302, when the access point receives the access request, it determines whether to allow the access of the smart device according to the device information, and when the access of the smart device is allowed, returns an access allowance notification to the smart device.
The access point can judge whether the device information of the intelligent device exists in a stored device information list, the device information list is used for describing the device information of the intelligent device which can be accessed to the access point, when the device information of the intelligent device exists in the device information list, the intelligent device is determined to be allowed to be accessed through a first access point identifier, and an access allowing notice is sent to the intelligent device; when the access permission notification does not exist, the intelligent device is determined not to be allowed to access through the first access point identification, and an access permission notification is sent to the intelligent device.
Further, since the access request may be sent by the smart device according to the access authorization permission information, the access point may perform access authorization verification through the access authorization permission information when receiving the access request.
In a possible implementation manner, when the access request includes the encoded device information, the access point may decode the smart device information first, when the access point may decode the device information, determine to allow the smart device to access through the first access point identifier, and when the access point may not decode the device information, determine to disallow the smart device to access through the first access point identifier.
In another possible implementation manner, when the access request includes an identifier indicating that the smart device is accessible, the access point may directly determine to allow the smart device to access through the first access point identifier, and when the access request includes an identifier indicating that the smart device is accessible, determine not to allow the smart device to access through the first access point identifier.
It should be noted that, when the access point does not allow the smart device to access through the first access point identifier, no processing may be performed.
In step 303, when the smart device receives the access permission notification sent by the access point, the access point is accessed through the first access point identifier.
When the intelligent device accesses the access point through the first access point identification according to the access authorization permission information, the intelligent device acquires the access authorization permission information in a short-distance wireless communication mode, and the short-distance wireless communication mode is limited in distance, so that the intelligent device far away from the access point cannot acquire the access authorization permission information, the intelligent device far away from the access point is prevented from accessing the access point, and the safety of the access point is ensured.
In addition, when the intelligent device does not receive the access permission notification sent by the access point, no processing is needed.
Further, after the smart device accesses the access point through the first access point identifier according to the above steps 301 and 303, the smart device may perform network connection through the access point through the following steps. At this time, when the smart device cannot determine whether the access point is accessed, the smart device may also detect whether the access point is accessed through the first access point identifier provided by the access point.
The smart device may determine whether an access permission notification sent by an access point has been received currently, so as to detect whether the access point has been accessed through a first access point identifier provided by the access point.
In addition, when the intelligent device detects that the access point is not accessed through the first access point identifier, the user can be reminded through ringing, vibrating and other modes.
In step 304, when the smart device accesses the access point through the first access point identifier, an access point password corresponding to the second access point identifier and the second access point identifier is obtained from the access point.
When the access point receives the identification information acquisition request, the access point can send the second access point identification and the access point password corresponding to the second access point identification to the intelligent device, and the intelligent device can receive the second access point identification and the access point password corresponding to the second access point identification.
It should be noted that the second access point identifier is different from the first access point identifier, and the second access point identifier is an access point identifier configured by the access point and having a password.
In addition, when the second access point identifier and the access point password are acquired from the access point, the access point may not send the identifier information acquisition request, but after the access point sends the access permission notification to the smart device, the access point actively sends the second access point identifier and the access point password corresponding to the second access point identifier to the smart device.
In step 305, the smart device performs network connection according to the second access point identifier and the access point password corresponding to the second access point identifier.
It should be noted that, for the operation of performing network connection by the intelligent device according to the second access point identifier and the access point password, reference may be made to related technologies, which is not described in detail in this disclosure.
In the embodiment of the disclosure, the smart device may acquire the access authorization permission information from the access point through a short-range wireless communication manner, and after acquiring the access authorization permission information, access the access point through the first access point identifier provided by the access point, so that a communication connection with the access point may be established. And then, the intelligent equipment can acquire the second access point identification and the corresponding access point password from the access point through the communication connection, so that the intelligent equipment without the operation interface can perform network connection according to the second access point identification and the corresponding access point password, and the problem that the intelligent equipment without the operation interface cannot perform network connection is solved.
Fig. 4 is a flow chart illustrating a method of network connectivity according to an example embodiment. Referring to fig. 4, the method includes the following steps.
In step 401, the smart device detects whether it has accessed an access point via short-range wireless communication.
The intelligent device can judge whether the access permission notice sent by the access point is received or not at present so as to detect whether the access point is accessed in a short-distance wireless communication mode or not. The short-range wireless system may be bluetooth, NFC, or the like.
Further, before the intelligent device detects whether the access point is accessed through the short-range wireless communication mode, the intelligent device can also be accessed to the access point through the short-range wireless communication mode.
The operation of accessing the access point by the intelligent terminal through the short-distance wireless communication mode can include the following two modes.
In the first mode, the intelligent device judges whether to detect the short-distance wireless communication signal of the access point; when the short-distance wireless communication signal of the access point is detected, accessing the access point in a short-distance wireless communication mode; when the smart device does not detect the short-range wireless communication signal of the access point, the smart device may not perform any operation, or remind the user that the smart device does not detect the short-range wireless communication signal of the access point through ringing, vibration, and the like.
It should be noted that the smart device may determine whether to detect the short-range wireless communication signal of the access point in real time, or may determine whether to detect the short-range wireless communication signal of the access point at specified time intervals.
The specified time interval may be set in advance, for example, the specified time interval may be 10 seconds, 20 seconds, 30 seconds, and the like.
In a second mode, the access point detects a short-range wireless communication signal of the intelligent device, and when the access point detects the short-range wireless communication signal of the intelligent device, the access point can establish a short-range wireless communication connection with the intelligent device.
In addition, since the access of the smart device to the access point may be affected when the wireless communication signal between the smart device and the access point is weak, before the access point establishes the short-range wireless communication connection with the smart device, the signal strength of the short-range wireless communication signal may be determined, the signal strength may be compared with a strength threshold, and when the signal strength is greater than or equal to the strength threshold, the short-range wireless communication connection may be established with the smart device; when the signal strength is less than the strength threshold, the access point may do nothing.
It should be noted that the strength threshold is used to measure whether the short-range wireless communication connection can be established with the smart device, and the strength threshold can be set in advance, for example, the strength threshold can be 60dbm, 70dbm, 80dbm, and so on.
In step 402, when the smart device detects that the access point is accessed through the short-range wireless communication mode, the access point identification and the access point password of the access point are acquired from the access point.
When the intelligent device detects that the access point is accessed in the close-range wireless mode, the intelligent device can send an identification information acquisition request to the access point, when the access point receives the identification information acquisition request, the access point identification and the access point password corresponding to the access point identification can be sent to the intelligent device, and the intelligent device can receive the access point identification and the access point password corresponding to the access point identification.
It should be noted that, when the intelligent device acquires the access point identifier and the access point password corresponding to the access point identifier, the access point identifier and the access point password are acquired in a short-distance wireless communication mode, and the short-distance wireless communication mode is limited by distance, so that the intelligent device farther from the access point cannot acquire the access point identifier and the access point password corresponding to the access point identifier, thereby preventing the intelligent device farther from the access point from accessing the access point, and ensuring the security of the access point.
In addition, when the intelligent device acquires the access point identifier and the access point password from the access point, the access point actively transmits the access point identifier and the access point password corresponding to the access point identifier to the intelligent device without transmitting the identifier information acquisition request after the intelligent device accesses the access point in a short-distance wireless communication mode.
Moreover, when the intelligent device detects that the access point is not accessed in a short-distance wireless communication mode, the user can be reminded in a ringing mode, a vibrating mode and the like.
In step 403, the smart device performs network connection according to the access point identifier and the access point password.
It should be noted that, for the operation of performing network connection by the intelligent device according to the access point identifier and the access point password, reference may be made to related technologies, which is not described in detail in this disclosure.
In the embodiment of the disclosure, the intelligent device may detect whether to access the access point through the short-range wireless communication mode, and when it is detected that to access the access point through the short-range wireless communication mode, the access point identifier and the corresponding access point password may be obtained from the access point, so that the intelligent device without the operation interface may perform network connection according to the access point identifier and the corresponding access point password, and the problem that the intelligent device without the operation interface cannot perform network connection is solved. In addition, because the short-distance wireless communication mode is limited by distance, the intelligent device far away from the access point cannot acquire the access point identifier and the access point password corresponding to the access point identifier, so that the intelligent device far away from the access point is prevented from accessing the access point, and the safety of the access point is ensured.
FIG. 5A is a block diagram illustrating a smart device according to an example embodiment. Referring to fig. 5A, the smart device includes a detection module 501, a first obtaining module 502 and a connection module 503.
A detecting module 501, configured to detect whether the access point has been accessed by a first access point identifier provided by the access point, where the first access point identifier is a password-free access point and is different from a second access point identifier, and the second access point identifier is an access point identifier configured by the access point and having a password;
a first obtaining module 502, configured to obtain, from the access point, the second access point identifier and an access point password corresponding to the second access point identifier when it is detected that the access point is accessed through the first access point identifier;
a connection module 503, configured to perform network connection according to the second access point identifier and the access point password corresponding to the second access point identifier.
Optionally, referring to fig. 5B, the smart device further includes:
a sending module 504, configured to send an access request to the access point according to the first access point identifier, where the access request carries device information of the intelligent device, and the access request is used to instruct the access point to determine whether to allow the intelligent device to access according to the device information;
an accessing module 505, configured to access the access point through the first access point identifier when receiving the access permission notification sent by the access point.
Optionally, referring to fig. 5C, the smart device further includes:
a second obtaining module 506, configured to obtain, in a short-range wireless communication manner, access authorization information of the access point, where the access authorization information is used to indicate that the access point can be accessed through the first access point identifier;
the triggering module 507 is configured to trigger the sending module to send an access request to the access point according to the first access point identifier according to the access authorization permission information.
Optionally, referring to fig. 5D, the second obtaining module 506 includes:
a determining sub-module 5061, configured to determine whether a short-range wireless communication signal of the access point is detected;
an establishing sub-module 5062, configured to establish a short-range wireless communication connection with the access point when the short-range wireless communication signal of the access point is detected;
an obtaining sub-module 5063, configured to obtain the access authorization information from the access point through the short-range wireless communication connection.
In the embodiment of the disclosure, the smart device may acquire the access authorization permission information from the access point through a short-range wireless communication manner, and after acquiring the access authorization permission information, access the access point through the first access point identifier provided by the access point, so that a communication connection with the access point may be established. And then, the intelligent equipment can acquire the second access point identification and the corresponding access point password from the access point through the communication connection, so that the intelligent equipment without the operation interface can perform network connection according to the second access point identification and the corresponding access point password, and the problem that the intelligent equipment without the operation interface cannot perform network connection is solved.
FIG. 6 is a block diagram illustrating a smart device in accordance with an exemplary embodiment. Referring to fig. 6, the smart device includes a detection module 601, an acquisition module 602, and a connection module 603.
A detection module 601, configured to detect whether an access point has been accessed through a short-range wireless communication manner;
an obtaining module 602, configured to obtain an access point identifier and an access point password of the access point from the access point when it is detected that the access point is accessed in the short-range wireless communication manner;
the modulus connecting module 603 is configured to perform network connection according to the access point identifier and the access point password.
In the embodiment of the disclosure, the intelligent device may detect whether to access the access point through the short-range wireless communication mode, and when it is detected that to access the access point through the short-range wireless communication mode, the access point identifier and the corresponding access point password may be obtained from the access point, so that the intelligent device without the operation interface may perform network connection according to the access point identifier and the corresponding access point password, and the problem that the intelligent device without the operation interface cannot perform network connection is solved. In addition, because the short-distance wireless communication mode is limited by distance, the intelligent device far away from the access point cannot acquire the access point identifier and the access point password corresponding to the access point identifier, so that the intelligent device far away from the access point is prevented from accessing the access point, and the safety of the access point is ensured.
With regard to the intelligent device in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 7 is a block diagram illustrating a smart device 700 for network connectivity in accordance with an example embodiment. For example, the smart device 700 may be a digital broadcast terminal, a messaging device, a game console, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, the smart device 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operations of the smart device 700, such as operations associated with telephone calls, data communications, and logging operations. The processing components 702 may include one or more processors 720 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the smart device 700. Examples of such data include instructions for any application or method operating on the smart device 700, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 706 provides power to the various components of the smart device 700. The power components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power supplies for the smart device 700.
The audio component 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a Microphone (MIC) configured to receive external audio signals when the smart device 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 714 includes one or more sensors for providing status assessment of various aspects of the smart device 700. For example, the sensor component 714 may detect an open/closed state of the smart device 700, the relative positioning of the components, the sensor component 714 may also detect a change in the position of the smart device 700 or a component of the smart device 700, the presence or absence of user contact with the smart device 700, orientation or acceleration/deceleration of the smart device 700, and a change in the temperature of the smart device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the smart device 700 and other devices. The smart device 700 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the smart device 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium including instructions, such as the memory 704 including instructions, executable by the processor 720 of the smart device 700 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, wherein instructions, when executed by a processor of a smart device, enable the smart device to perform the method as described above with reference to any one of fig. 1-4.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (5)

1. A network connection method is applied to intelligent equipment, and the method comprises the following steps:
judging whether a short-distance wireless communication signal of an access point is detected or not;
when the short-range wireless communication signal of the access point is detected, establishing short-range wireless communication connection with the access point;
acquiring the access authorization permission information from the access point through the short-distance wireless communication connection, wherein the access authorization permission information is used for indicating that the access point can be accessed through a first access point identifier, the access authorization permission information comprises a coding mode, the coding mode is used for coding equipment information of the intelligent equipment and adding the coded equipment information into an access request, and the access request is used for sending the access request to the access point so as to indicate the access point to judge whether to allow the intelligent equipment to access according to the equipment information;
detecting whether the access point is accessed through the first access point identification provided by the access point, wherein the first access point identification is a password-free access point identification, and the first access point identification is different from a second access point identification which is an access point identification with a password configured by the access point;
when the access point is detected to be accessed through the first access point identifier, acquiring a second access point identifier and an access point password corresponding to the second access point identifier from the access point;
and performing network connection through the access point according to the second access point identifier and the access point password corresponding to the second access point identifier.
2. The method of claim 1, wherein prior to said detecting whether the access point has been accessed by a first access point identity provided by the access point, the method further comprises:
according to the access authorization permission information, executing to send the access request to the access point according to the first access point identifier;
and when receiving the access permission notice sent by the access point, accessing the access point through the first access point identification.
3. A smart device, the smart device comprising:
the second acquisition module is used for judging whether the short-distance wireless communication signal of the access point is detected or not; when the short-range wireless communication signal of the access point is detected, establishing short-range wireless communication connection with the access point; acquiring the access authorization permission information from the access point through the short-distance wireless communication connection, wherein the access authorization permission information is used for indicating that the access point can be accessed through a first access point identifier, the access authorization permission information comprises a coding mode, the coding mode is used for coding equipment information of the intelligent equipment and adding the coded equipment information into an access request, and the access request is used for sending the access request to the access point so as to indicate the access point to judge whether to allow the intelligent equipment to access according to the equipment information;
a detection module, configured to detect whether the access point has been accessed through the first access point identifier provided by the access point, where the first access point identifier is a password-free access point identifier and is different from a second access point identifier, and the second access point identifier is an access point identifier configured by the access point and having a password, and detect whether a short-range wireless communication connection has been established with the access point before the detection whether the access point has been accessed through the first access point identifier provided by the access point;
a first obtaining module, configured to obtain, from the access point, the second access point identifier and an access point password corresponding to the second access point identifier when it is detected that the access point is accessed through the first access point identifier;
and the connection module is used for performing network connection through the access point according to the second access point identifier and the access point password corresponding to the second access point identifier.
4. The smart device of claim 3, further comprising:
a sending module, configured to execute sending the access request to the access point according to the first access point identifier according to the access authorization permission information;
and the access module is used for accessing the access point through the first access point identification when receiving the access permission notice sent by the access point.
5. A smart device, the smart device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
judging whether a short-distance wireless communication signal of an access point is detected or not;
when the short-range wireless communication signal of the access point is detected, establishing short-range wireless communication connection with the access point;
acquiring the access authorization permission information from the access point through the short-distance wireless communication connection, wherein the access authorization permission information is used for indicating that the access point can be accessed through a first access point identifier, the access authorization permission information comprises a coding mode, the coding mode is used for coding equipment information of the intelligent equipment and adding the coded equipment information into an access request, and the access request is used for sending the access request to the access point so as to indicate the access point to judge whether to allow the intelligent equipment to access according to the equipment information;
detecting whether the access point is accessed through the first access point identification provided by the access point, wherein the first access point identification is a password-free access point identification, and the first access point identification is different from a second access point identification which is an access point identification with a password configured by the access point;
when the access point is detected to be accessed through the first access point identifier, acquiring a second access point identifier and an access point password corresponding to the second access point identifier from the access point;
and performing network connection through the access point according to the second access point identifier and the access point password corresponding to the second access point identifier.
CN201611055344.8A 2016-11-25 2016-11-25 Network connection method and intelligent device Active CN106550383B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611055344.8A CN106550383B (en) 2016-11-25 2016-11-25 Network connection method and intelligent device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611055344.8A CN106550383B (en) 2016-11-25 2016-11-25 Network connection method and intelligent device

Publications (2)

Publication Number Publication Date
CN106550383A CN106550383A (en) 2017-03-29
CN106550383B true CN106550383B (en) 2020-06-19

Family

ID=58395355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611055344.8A Active CN106550383B (en) 2016-11-25 2016-11-25 Network connection method and intelligent device

Country Status (1)

Country Link
CN (1) CN106550383B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3740025A4 (en) * 2018-02-07 2021-02-17 Huawei Technologies Co., Ltd. Network access method, device, and system
CN108616882A (en) * 2018-04-10 2018-10-02 青岛海尔科技有限公司 Household appliance matches network method, method of network entry, device, storage medium and equipment
CN108683715B (en) * 2018-04-26 2022-05-10 京东方科技集团股份有限公司 Intermediate device, Internet of things terminal and method for accessing Internet of things platform
CN111328125B (en) * 2020-02-25 2022-05-31 联想(北京)有限公司 Wireless access and equipment access method, device, system and readable storage medium
CN114422995A (en) * 2022-01-04 2022-04-29 太仓市同维电子有限公司 Method for household automatic networking without awareness

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103108380A (en) * 2011-11-10 2013-05-15 北京千橡网景科技发展有限公司 Method and device for providing network connection
US8631471B2 (en) * 2011-06-13 2014-01-14 Cisco Technology, Inc. Automated seamless reconnection of client devices to a wireless network
EP2955949A1 (en) * 2014-06-13 2015-12-16 HAGAN, Chris Wireless access point allocation and transfer
CN105357740A (en) * 2015-09-23 2016-02-24 惠州Tcl移动通信有限公司 Wireless network access method and wireless access node
CN105722078A (en) * 2016-01-29 2016-06-29 北京小米移动软件有限公司 Wifi access method and device
CN105933899A (en) * 2016-04-14 2016-09-07 北京小米移动软件有限公司 Access method and device of wireless access point
CN106535191A (en) * 2016-11-24 2017-03-22 北京小米移动软件有限公司 Network connection establishing method and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686730B (en) * 2013-12-27 2016-11-09 北京奇虎科技有限公司 A kind of active RFID mobile terminal and the method carrying out network authentication thereof
WO2015131187A1 (en) * 2014-02-28 2015-09-03 Interactive Location Media Network communication system and method for delivering content to mobile devices using long-range wi-fi/bluetooth communication devices
CN104144463B (en) * 2014-08-19 2017-08-11 天津三星通信技术研究有限公司 Wi Fi method for network access and system
CN104301891A (en) * 2014-09-18 2015-01-21 深圳市螺光科技有限公司 Method and system for interconnecting intelligent device and WiFi router
CN104936179A (en) * 2015-06-08 2015-09-23 广东美的暖通设备有限公司 Method and system for controlling electric appliance to access router
CN105245539A (en) * 2015-10-27 2016-01-13 上海斐讯数据通信技术有限公司 Router visitor verification method and system and router
CN105959950A (en) * 2015-12-02 2016-09-21 珠海网博信息科技股份有限公司 Wireless access system and connection method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8631471B2 (en) * 2011-06-13 2014-01-14 Cisco Technology, Inc. Automated seamless reconnection of client devices to a wireless network
CN103108380A (en) * 2011-11-10 2013-05-15 北京千橡网景科技发展有限公司 Method and device for providing network connection
EP2955949A1 (en) * 2014-06-13 2015-12-16 HAGAN, Chris Wireless access point allocation and transfer
CN105357740A (en) * 2015-09-23 2016-02-24 惠州Tcl移动通信有限公司 Wireless network access method and wireless access node
CN105722078A (en) * 2016-01-29 2016-06-29 北京小米移动软件有限公司 Wifi access method and device
CN105933899A (en) * 2016-04-14 2016-09-07 北京小米移动软件有限公司 Access method and device of wireless access point
CN106535191A (en) * 2016-11-24 2017-03-22 北京小米移动软件有限公司 Network connection establishing method and device

Also Published As

Publication number Publication date
CN106550383A (en) 2017-03-29

Similar Documents

Publication Publication Date Title
CN106550383B (en) Network connection method and intelligent device
CN106714081B (en) Network connection method and intelligent device
US9820215B2 (en) Method and device to prohibit communications which require active participation by the driver of a vehicle
EP3177077A1 (en) Method and device for network access
US20160295625A1 (en) Method and apparatus for network access
CN109145560B (en) Method and device for accessing monitoring equipment
CN104091376B (en) Intelligent lock control method and apparatus thereof
CN105656948A (en) Account login method and device
CN112995948B (en) Vehicle function control method, vehicle function control device, and storage medium
CN108811179B (en) Wireless network connection method, device and storage medium
CN105847243B (en) Method and device for accessing intelligent camera
CN104637131A (en) Authorization method and authorization device for access control system and access control system
CN106097494A (en) The method for unlocking of smart lock and device
CN105873106A (en) Processing method and device for wireless network connection and equipment
CN105306204A (en) Security verification method, device and system
CN104507034A (en) Equipment connecting method, device and terminal equipment
KR101642019B1 (en) Method, apparatus, program, and recording medium of verifying terminal
CN105072079A (en) Account logon method, account logon device and terminal device
CN104158665A (en) Method and device of verification
CN105471890A (en) Unlocking method based on wearable device, apparatus and system
KR20200031275A (en) Electronic device for performing authorization using accessory and method for the same
CN105392141A (en) Device control method and device
CN106101105A (en) Data processing method, Apparatus and system
CN105809440A (en) Online payment method and device
CN105491518A (en) Method and device for social reminding based on wearable devices

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant