CN111277984A - Wireless local area network access method and device - Google Patents

Wireless local area network access method and device Download PDF

Info

Publication number
CN111277984A
CN111277984A CN202010054284.8A CN202010054284A CN111277984A CN 111277984 A CN111277984 A CN 111277984A CN 202010054284 A CN202010054284 A CN 202010054284A CN 111277984 A CN111277984 A CN 111277984A
Authority
CN
China
Prior art keywords
local area
area network
wireless local
equipment
network access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010054284.8A
Other languages
Chinese (zh)
Inventor
杨华
胡进强
樊光民
张宇
鲍袁松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Chunmi Electronics Technology Co Ltd
Original Assignee
Shanghai Chunmi Electronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Chunmi Electronics Technology Co Ltd filed Critical Shanghai Chunmi Electronics Technology Co Ltd
Priority to CN202010054284.8A priority Critical patent/CN111277984A/en
Publication of CN111277984A publication Critical patent/CN111277984A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • H04W12/068Authentication using credential vaults, e.g. password manager applications or one time password [OTP] applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0264Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by selectively disabling software applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/34Selective release of ongoing connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The disclosure relates to a wireless local area network access method and device. The wireless local area network access method comprises the following steps: when detecting that the first equipment is successfully connected to the wireless local area network and the Bluetooth function of the first equipment is started, acquiring target wireless local area network access verification information corresponding to the wireless local area network accessed by the first equipment; and broadcasting the target wireless local area network access verification information through the Bluetooth technology so that the second equipment receiving the target wireless local area network access verification information is connected to the wireless local area network accessed by the first equipment. According to the method, the first equipment which is successfully connected to the wireless local area network automatically transmits the distribution network information stored by the first equipment to the second equipment which is not networked, so that the second equipment can be connected to the wireless local area network, the operation is simple, the problem that the operation of the distribution network of the equipment is complex and time-consuming in the related art due to the fact that the mode of associating the intelligent equipment with the APP on the mobile phone is completed can be avoided, and the user experience is improved.

Description

Wireless local area network access method and device
Technical Field
The present disclosure relates to the field of intelligent device technologies, and in particular, to a wireless local area network access method and apparatus.
Background
After a user purchases an intelligent device, in order to connect the intelligent device to a network, data such as a WIFI network name and a password to be connected need to be sent to the intelligent device, so that the intelligent device is connected to a corresponding WIFI network, and this process is called as a device distribution network.
In the related technology, the equipment distribution network is completed by operating the intelligent equipment associated Application (APP) on the mobile phone, so that the operation process is complicated and time-consuming, and the user experience is influenced.
Disclosure of Invention
In order to overcome the problems in the related art, the embodiments of the present disclosure provide a wlan access method and apparatus. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a wireless local area network access method, applied to a first device, including:
when detecting that the first equipment is successfully connected to a wireless local area network and the Bluetooth function of the first equipment is started, acquiring target wireless local area network access verification information corresponding to the wireless local area network accessed by the first equipment;
and broadcasting the target wireless local area network access verification information through a Bluetooth technology so as to enable a second device receiving the target wireless local area network access verification information to be connected to the wireless local area network accessed by the first device.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: according to the technical scheme, the first equipment which is successfully connected to the wireless local area network is used for broadcasting the target wireless local area network access verification information by using the Bluetooth technology, so that the second equipment which receives the target wireless local area network access verification information is connected to the wireless local area network which is accessed by the first equipment, the first equipment which is successfully connected to the wireless local area network automatically transmits the distribution network information stored by the first equipment to the second equipment which is not connected to the network, the second equipment can be connected to the wireless local area network, the operation is simple, the problems that the operation of equipment distribution network is complicated and time-consuming in the related technology in a mode of operating the intelligent equipment on the mobile phone to associate the APP can be avoided, and the user experience is improved.
In one embodiment, the broadcasting the target wlan access authentication information through bluetooth technology includes:
broadcasting a first Bluetooth connection signal;
when receiving a Bluetooth connection response sent by the second equipment, establishing Bluetooth connection with the second equipment;
and when receiving a request message which is sent by the second equipment and used for acquiring the wireless local area network access verification information, sending a response message carrying the target wireless local area network access verification information to the second equipment through the Bluetooth connection.
In one embodiment, after the sending the response message carrying the target wlan access authentication information to the second device through the bluetooth connection, the method further includes:
and when a first feedback message which is sent by the second equipment and used for representing that the second equipment receives the response message is received, the Bluetooth function of the first equipment is closed.
In one embodiment, the broadcasting the target wlan access authentication information through bluetooth technology includes:
broadcasting a second Bluetooth connection signal; the second Bluetooth connection signal comprises the target wireless local area network access verification information.
In one embodiment, after said broadcasting the second bluetooth connection signal, the method further comprises:
and when a second feedback message which is sent by the second equipment and used for representing that the second equipment has received the second Bluetooth connection signal is received, the Bluetooth function of the first equipment is closed.
In one embodiment, after the broadcasting the target wireless local area network access authentication information by bluetooth technology, the method further comprises:
starting a timer;
and when the timer reaches a preset time length, the Bluetooth function of the first equipment is closed.
In one embodiment, the obtaining target wlan access authentication information corresponding to a wlan accessed by the first device when it is detected that the first device has successfully connected to the wlan and a bluetooth function of the first device is turned on includes:
when detecting that the first device is successfully connected to the wireless local area network, starting a Bluetooth function of the first device, and acquiring target wireless local area network access verification information corresponding to the wireless local area network accessed by the first device.
According to a second aspect of the embodiments of the present disclosure, there is provided a wireless local area network access method, applied to a second device, including:
starting the Bluetooth function of the second equipment;
receiving target wireless local area network access verification information sent by first equipment through a Bluetooth technology;
and connecting to the wireless local area network corresponding to the target wireless local area network access verification information.
In one embodiment, the receiving the target wireless local area network access authentication information sent by the first device through bluetooth technology includes:
receiving a first Bluetooth connection signal broadcasted by the first device;
sending a Bluetooth connection response to the first equipment, and establishing Bluetooth connection with the first equipment;
sending a request message for acquiring wireless local area network access authentication information to the first device;
and receiving a response message which is sent by the first equipment and carries the target wireless local area network access verification information.
In one embodiment, after the receiving the response message carrying the target wlan access authentication information sent by the first device, the method further includes:
and sending a first feedback message for representing that the second device has received the response message to the first device.
In one embodiment, the receiving the target wireless local area network access authentication information sent by the first device through bluetooth technology includes:
receiving a second Bluetooth connection signal broadcast by the first device; the second Bluetooth connection signal comprises the target wireless local area network access verification information;
and analyzing the second Bluetooth connection signal to acquire the target wireless local area network access verification information.
In one embodiment, after said receiving the second bluetooth connection signal broadcast by the first device, the method further comprises:
sending a second feedback message to the first device for indicating that the second device has received the second Bluetooth connection signal.
In one embodiment, after the connection to the wireless local area network corresponding to the target wireless local area network access authentication information, the method further includes: and closing the Bluetooth function of the second equipment.
In one embodiment, the turning on the bluetooth function of the second device includes:
and when the second equipment is detected to be failed to connect the wireless local area network or the wireless local area network access verification information is not stored in the second equipment, starting the Bluetooth function of the second equipment.
According to a third aspect of the embodiments of the present disclosure, there is provided a wireless local area network access apparatus, including:
the acquisition module is used for acquiring target wireless local area network access verification information corresponding to a wireless local area network accessed by the first equipment when the first equipment is detected to be successfully connected to the wireless local area network and the Bluetooth function of the first equipment is started;
the first sending module is used for broadcasting the target wireless local area network access verification information through a Bluetooth technology so that a second device receiving the target wireless local area network access verification information is connected to a wireless local area network accessed by the first device.
In one embodiment, the first transmitting module broadcasts a first bluetooth connection signal; when receiving a Bluetooth connection response sent by the second equipment, establishing Bluetooth connection with the second equipment; and when receiving a request message which is sent by the second equipment and used for acquiring the wireless local area network access verification information, sending a response message carrying the target wireless local area network access verification information to the second equipment through the Bluetooth connection.
In one embodiment, the apparatus further comprises:
and the first closing module is used for closing the Bluetooth function of the first equipment when receiving a first feedback message which is sent by the second equipment and used for representing that the second equipment receives the response message.
In one embodiment, the first transmitting module broadcasts a second bluetooth connection signal; the second Bluetooth connection signal comprises the target wireless local area network access verification information.
In one embodiment, the apparatus further comprises:
and the second closing module is used for closing the Bluetooth function of the first equipment when receiving a second feedback message which is sent by the second equipment and used for representing that the second equipment has received the second Bluetooth connection signal.
In one embodiment, the apparatus further comprises:
the third closing module is used for starting the timer; and when the timer reaches a preset time length, the Bluetooth function of the first equipment is closed.
In an embodiment, the obtaining module starts a bluetooth function of the first device when detecting that the first device has successfully connected to a wireless local area network, and obtains target wireless local area network access authentication information corresponding to the wireless local area network accessed by the first device.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a wireless local area network access apparatus, including:
the starting module is used for starting the Bluetooth function of the second equipment;
the receiving module is used for receiving target wireless local area network access verification information sent by the first equipment through a Bluetooth technology;
and the connecting module is used for connecting to the wireless local area network corresponding to the target wireless local area network access verification information.
In one embodiment, the receiving module receives a first bluetooth connection signal broadcast by the first device; sending a Bluetooth connection response to the first equipment, and establishing Bluetooth connection with the first equipment; sending a request message for acquiring wireless local area network access authentication information to the first device; and receiving a response message which is sent by the first equipment and carries the target wireless local area network access verification information.
In one embodiment, the apparatus further comprises:
a second sending module, configured to send, to the first device, a first feedback message used to indicate that the second device has received the response message.
In one embodiment, the receiving module receives a second bluetooth connection signal broadcast by the first device; the second Bluetooth connection signal comprises the target wireless local area network access verification information; and analyzing the second Bluetooth connection signal to acquire the target wireless local area network access verification information.
In one embodiment, the apparatus further comprises:
a third sending module, configured to send, to the first device, a second feedback message used to indicate that the second device has received the second bluetooth connection signal.
In one embodiment, the apparatus further comprises:
and the fourth closing module is used for closing the Bluetooth function of the second equipment.
In an embodiment, the starting module starts the bluetooth function of the second device when detecting that the second device fails to connect to the wireless local area network or that the wireless local area network access authentication information is not stored in the second device.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a wireless local area network access apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when detecting that the first equipment is successfully connected to a wireless local area network and the Bluetooth function of the first equipment is started, acquiring target wireless local area network access verification information corresponding to the wireless local area network accessed by the first equipment;
and broadcasting the target wireless local area network access verification information through a Bluetooth technology so as to enable a second device receiving the target wireless local area network access verification information to be connected to the wireless local area network accessed by the first device.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a wireless local area network access apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
starting the Bluetooth function of the second equipment;
receiving target wireless local area network access verification information sent by first equipment through a Bluetooth technology;
and connecting to the wireless local area network corresponding to the target wireless local area network access verification information.
According to a seventh aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of any one of the method embodiments of the first aspect described above.
According to an eighth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of any of the method embodiments of the second aspect described above.
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 present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating a wireless local area network access method according to an example embodiment.
Fig. 2 is a flow chart illustrating a wireless local area network access method according to an example embodiment.
Fig. 3 is a flow chart illustrating a wireless local area network access method according to an example embodiment.
Fig. 4 is a flow chart illustrating a wireless local area network access method according to an example embodiment.
Fig. 5 is a block diagram illustrating a wireless local area network access device in accordance with an example embodiment.
Fig. 6 is a block diagram illustrating a wireless local area network access device in accordance with an example embodiment.
Fig. 7 is a block diagram illustrating a wireless local area network access device in accordance with an example embodiment.
Fig. 8 is a block diagram illustrating a wireless local area network access device in accordance with an example embodiment.
Fig. 9 is a block diagram illustrating a wireless local area network access device in accordance with an example embodiment.
Fig. 10 is a block diagram illustrating a wireless local area network access device in accordance with an example embodiment.
Fig. 11 is a block diagram illustrating a wireless local area network access device in accordance with an example embodiment.
Fig. 12 is a block diagram illustrating a wireless local area network access device in accordance with an example embodiment.
Fig. 13 is a block diagram illustrating a wireless local area network access device in accordance with an example embodiment.
Fig. 14 is a block diagram illustrating a wireless local area network access device in accordance with an example embodiment.
Fig. 15 is a block diagram illustrating a wireless local area network access device in accordance with an example embodiment.
Fig. 16 is a block diagram illustrating a wireless local area network access device in accordance with 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 implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In order to solve the above problem, an embodiment of the present disclosure provides a wireless local area network access method, which is applied to a first device, and includes: when detecting that the first equipment is successfully connected to the wireless local area network and the Bluetooth function of the first equipment is started, acquiring target wireless local area network access verification information corresponding to the wireless local area network accessed by the first equipment; and broadcasting the target wireless local area network access verification information through the Bluetooth technology so that the second equipment receiving the target wireless local area network access verification information is connected to the wireless local area network accessed by the first equipment. According to the technical scheme provided by the embodiment of the disclosure, through the first device which is successfully connected to the wireless local area network, the Bluetooth technology is used for broadcasting the target wireless local area network access verification information, so that the second device which receives the target wireless local area network access verification information is connected to the wireless local area network which is accessed by the first device, the first device which is successfully connected to the wireless local area network automatically transmits the distribution network information stored by the first device to the second device which is not connected to the network, the second device can be connected to the wireless local area network, the operation is simple, the problem that the operation of the distribution network of the device is complicated and time-consuming in the related technology in a mode of operating the intelligent device associated APP on the mobile phone can be solved, and the user experience is improved.
The first device according to the present disclosure may include an electronic device such as a smartphone or a rice cooker, which stores a network name and a password of a wireless local area network. The second device to which the present disclosure relates may include an induction cooker, a pressure cooker, a microwave oven, an oven, or other smart devices. Because the Bluetooth signal can be sent to a plurality of intelligent devices simultaneously by using Bluetooth broadcast, the technical scheme provided by the embodiment of the disclosure can realize that one first device sends target wireless local area network access verification information to a plurality of intelligent devices.
Based on the above analysis, the following specific examples are proposed.
Fig. 1 is a flow chart illustrating a wireless local area network access method according to an exemplary embodiment, an execution subject of the method may be a first device; as shown in fig. 1, the method comprises the following steps 101-102:
in step 101, when it is detected that the first device has successfully connected to the wireless lan and the bluetooth function of the first device is turned on, target wlan access authentication information corresponding to the wlan to which the first device has access is acquired.
For example, the target wireless lan access authentication information may include a network name and a password of the target wireless lan, and may further include other authentication data besides the network name and the password, which is required for the first device to connect to the target wireless lan.
For example, when detecting that the first device has successfully connected to the target wireless lan, the first device starts a bluetooth function of the first device, and obtains target wireless lan access verification information corresponding to the target wireless lan.
In step 102, the target wlan access authentication information is broadcasted through bluetooth technology, so that the second device receiving the target wlan access authentication information is connected to the wlan to which the first device has access.
Illustratively, the first device broadcasts the target wireless local area network access authentication information via bluetooth technology; the second device starts the Bluetooth function of the second device, receives the target wireless local area network access verification information sent by the first device through the Bluetooth technology, and then is connected to the wireless local area network corresponding to the target wireless local area network access verification information.
Illustratively, the first device starts a timer after broadcasting the target wireless local area network access authentication information through bluetooth technology; when the timer reaches the preset time length, the Bluetooth function of the first device is automatically closed, so that the electric quantity can be saved.
Illustratively, a first device broadcasts a first bluetooth connection signal. And after receiving the first Bluetooth connection signal broadcast by the first equipment, the second equipment sends a Bluetooth connection response to the first equipment and establishes Bluetooth connection with the first equipment. And the first equipment establishes Bluetooth connection with the second equipment when receiving the Bluetooth connection response sent by the second equipment. The second device sends a request message for acquiring the wireless local area network access authentication information to the first device. When receiving a request message which is sent by second equipment and used for obtaining the wireless local area network access verification information, the first equipment sends a response message carrying the target wireless local area network access verification information to the second equipment through Bluetooth connection. And after receiving the response message carrying the target wireless local area network access verification information sent by the first equipment, the second equipment is connected to the wireless local area network corresponding to the target wireless local area network access verification information.
Illustratively, the first device broadcasts a second bluetooth connection signal, and the second bluetooth connection signal includes the target wireless lan access authentication information. And after receiving the second Bluetooth connection signal broadcast by the first equipment, the second equipment analyzes the second Bluetooth connection signal, acquires target wireless local area network access verification information and then is connected to the wireless local area network corresponding to the target wireless local area network access verification information.
According to the technical scheme, the first equipment which is successfully connected to the wireless local area network is used for broadcasting the target wireless local area network access verification information, so that the second equipment which receives the target wireless local area network access verification information is connected to the wireless local area network which is accessed by the first equipment, the first equipment which is successfully connected to the wireless local area network automatically transmits the distribution network information stored by the first equipment to the second equipment which is not connected to the network, the second equipment can be connected to the wireless local area network, the operation is simple, the problem that the operation of equipment distribution network operation is complicated and time-consuming in the related technology in a mode of operating the intelligent equipment associated APP on the mobile phone can be solved, and the user experience is improved.
Fig. 2 is a flow chart illustrating a wireless local area network access method according to an example embodiment, an execution subject of the method may be a second device; as shown in fig. 2, the method comprises the following steps 201-203:
in step 201, the bluetooth function of the second device is turned on.
Illustratively, the second device starts the wlan function, and detects whether the second device can connect to the wlan: and when detecting that the second equipment is not connected to the wireless local area network, starting the Bluetooth function of the second equipment. The detection manner for detecting whether the second device can be connected to the wireless local area network may include: whether the second equipment is successfully connected to the wireless local area network or not is detected, or whether wireless local area network access verification information is stored in the second equipment is detected. For example, when it is detected that the second device fails to connect to the wireless local area network or the wireless local area network access authentication information is not stored in the second device, it is determined that the second device fails to connect to the wireless local area network, and at this time, the bluetooth function of the second device is turned on.
In step 202, target wireless local area network access authentication information sent by the first device through bluetooth technology is received.
Illustratively, the first device broadcasts the target wireless local area network access authentication information via bluetooth technology; and after the Bluetooth function is started, the second equipment receives the target wireless local area network access verification information sent by the first equipment through the Bluetooth technology.
In step 203, the wireless lan corresponding to the target wireless lan access authentication information is connected.
For example, after receiving the target wireless local area network access verification information sent by the first device, the second device connects to the wireless local area network corresponding to the target wireless local area network access verification information.
For example, after the second device connects to the wireless lan corresponding to the target wireless lan access authentication information, the bluetooth function of the second device is turned off, so that power can be saved.
According to the technical scheme, the first equipment which is successfully connected to the wireless local area network is used for broadcasting the target wireless local area network access verification information, so that the second equipment which receives the target wireless local area network access verification information is connected to the wireless local area network which is accessed by the first equipment, the first equipment which is successfully connected to the wireless local area network automatically transmits the distribution network information stored by the first equipment to the second equipment which is not connected to the network, the second equipment can be connected to the wireless local area network, the operation is simple, the problem that the operation of equipment distribution network operation is complicated and time-consuming in the related technology in a mode of operating the intelligent equipment associated APP on the mobile phone can be solved, and the user experience is improved.
Fig. 3 is a flow chart illustrating a method of wireless local area network access in accordance with an example embodiment; as shown in fig. 3, on the basis of the above embodiment, the wlan access method according to the present disclosure includes the following steps 301-308:
in step 301, when detecting that the first device has successfully connected to the wireless lan and the bluetooth function of the first device is turned on, the first device obtains target wlan access authentication information corresponding to the wlan to which the first device has access.
In step 302, the second device turns on the wireless lan function and the bluetooth function.
For example, when the second device detects that the second device fails to connect to the wireless local area network or the second device does not store the wireless local area network access authentication information, it determines that the second device fails to connect to the wireless local area network, and at this time, starts a bluetooth function of the second device, and receives a bluetooth broadcast of another device.
In step 303, the first device broadcasts a first bluetooth connection signal.
In step 304, after the second device starts the wireless lan function and the bluetooth function, receiving a first bluetooth connection signal broadcast by the first device; and the second equipment sends a Bluetooth connection response to the first equipment and establishes Bluetooth connection with the first equipment.
In step 305, the first device receives the bluetooth connection response sent by the second device, and establishes a bluetooth connection with the second device.
In step 306, the second device sends a request message for acquiring the wlan access authentication information to the first device.
In step 307, the first device receives a request message for acquiring the wlan access authentication information sent by the second device, and sends a response message carrying the target wlan access authentication information to the second device through the bluetooth connection.
In step 308, the second device receives a response message carrying the target wlan access authentication information sent by the first device, and connects to the wlan corresponding to the target wlan access authentication information.
For example, after receiving a response message carrying target wlan access authentication information sent by a first device, a second device sends a first feedback message to the first device, where the first feedback message is used to indicate that the second device has received the response message. When the first device receives the first feedback message which is sent by the second device and used for representing that the second device has received the response message, the Bluetooth function of the first device is closed, and the electric quantity can be saved.
For example, after the second device connects to the wireless lan corresponding to the target wireless lan access authentication information, the bluetooth function of the second device is turned off to save power.
According to the technical scheme, the distribution network information stored by the first equipment connected to the wireless local area network is automatically transmitted to the second equipment which is not connected to the network based on Bluetooth connection, so that the second equipment can be connected to the wireless local area network, the operation is simple, the problems that the operation of the distribution network of the equipment is complicated and time-consuming in the related technology by means of operating the intelligent equipment associated application on the mobile phone can be solved, and the user experience is improved.
Fig. 4 is a flow chart illustrating a method of wireless local area network access in accordance with an example embodiment; as shown in fig. 4, on the basis of the above embodiments, the wlan access method according to the present disclosure includes the following steps 401:
in step 401, when detecting that the first device has successfully connected to the wireless lan and the bluetooth function of the first device is turned on, the first device obtains target wlan access authentication information corresponding to the wlan to which the first device has access.
In step 402, the second device turns on the wireless local area network function and the bluetooth function.
For example, when the second device detects that the second device fails to connect to the wireless local area network or the second device does not store the wireless local area network access authentication information, it determines that the second device fails to connect to the wireless local area network, and at this time, starts a bluetooth function of the second device, and receives a bluetooth broadcast of another device.
In step 403, the first device broadcasts a second bluetooth connection signal, where the second bluetooth connection signal includes the target wlan access authentication information.
Illustratively, the first device starts a timer after broadcasting the target wireless local area network access authentication information through bluetooth technology; and when the timer reaches the preset time length, automatically closing the Bluetooth function of the first device.
In step 404, after the second device starts the wlan function and the bluetooth function, the second device receives the second bluetooth connection signal broadcast by the first device, analyzes the second bluetooth connection signal, and obtains the target wlan access authentication information.
For example, after the second device connects to the second bluetooth connection signal carrying the target wlan access authentication information, the bluetooth function of the second device is turned off to save power.
In step 405, the second device connects to the wireless lan corresponding to the target wireless lan access authentication information.
For example, the second device, after receiving the second bluetooth connection signal broadcast by the first device, sends a second feedback message to the first device characterizing that the second device has received the second bluetooth connection signal. And the first equipment closes the Bluetooth function of the first equipment when receiving a second feedback message which is sent by the second equipment and used for representing that the second equipment has received the second Bluetooth connection signal.
Optionally, the first device may start the preset timer when receiving a second feedback message sent by the second device and used for indicating that the second device has received the second bluetooth connection signal, and close the bluetooth function of the first device when the preset timer reaches a specified duration, so as to avoid power consumption caused by frequent start and close of the bluetooth function.
According to the technical scheme provided by the embodiment of the disclosure, the target wireless local area network access verification information is carried in the Bluetooth connection signal, so that the distribution network information stored by the first equipment connected to the wireless local area network is transmitted to the second equipment which is not connected to the network under the condition that the Bluetooth connection is not required to be established, the second equipment can be connected to the wireless local area network, and the operation is simple.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 5 is a block diagram illustrating a wireless local area network access device in accordance with an exemplary embodiment; the apparatus may be implemented in various ways, for example with all components of the apparatus being implemented in a first device, or with components of the apparatus being implemented in a coupled manner on the first device side; the apparatus may implement the method related to the present disclosure through software, hardware, or a combination of the two, as shown in fig. 5, the wireless local area network access apparatus includes: an obtaining module 501 and a first sending module 502, wherein:
the obtaining module 501 is configured to obtain target wlan access verification information corresponding to a wlan to which a first device is accessed when detecting that the first device has successfully connected to the wlan and a bluetooth function of the first device is turned on;
the first sending module 502 is configured to broadcast the target wireless lan access authentication information through bluetooth technology so that the second device receiving the target wireless lan access authentication information is connected to the wireless lan to which the first device has access.
The device provided by the embodiment of the disclosure can be used for executing the technical scheme of the embodiment shown in fig. 1, and the execution mode and the beneficial effect are similar, and are not described again here.
In one possible embodiment, the first transmitting module 502 broadcasts a first bluetooth connection signal; when receiving a Bluetooth connection response sent by the second equipment, establishing Bluetooth connection with the second equipment; and when receiving a request message which is sent by the second equipment and used for acquiring the wireless local area network access verification information, sending a response message carrying the target wireless local area network access verification information to the second equipment through the Bluetooth connection.
In one possible implementation, as shown in fig. 6, the wireless lan access apparatus shown in fig. 5 may further include: a first shutdown module 601;
the first shutdown module 601 is configured to shut down the bluetooth function of the first device upon receiving a first feedback message sent by the second device to indicate that the second device has received the response message.
In one possible embodiment, the first transmitting module 502 broadcasts a second bluetooth connection signal; the second Bluetooth connection signal comprises target wireless local area network access verification information.
In one possible implementation, as shown in fig. 7, the wireless lan access apparatus shown in fig. 5 may further include: a second shutdown module 701;
the second shutdown module 701 is configured to shutdown the bluetooth function of the first device upon receiving a second feedback message sent by the second device to indicate that the second device has received the second bluetooth connection signal.
In one possible implementation, as shown in fig. 8, the wireless lan access apparatus shown in fig. 5 may further include: a third closing module 801;
the third closing module 801 is configured to start a timer; and when the timer reaches the preset time length, the Bluetooth function of the first device is closed.
In a possible implementation manner, the obtaining module 501, when detecting that the first device has successfully connected to the wireless lan, starts a bluetooth function of the first device, and obtains target wireless lan access verification information corresponding to the wireless lan accessed by the first device.
Fig. 9 is a block diagram illustrating a wireless local area network access device in accordance with an exemplary embodiment; the apparatus may be implemented in various ways, for example with all components of the apparatus being implemented in the second device, or with components of the apparatus being implemented in a coupled manner on the second device side; the apparatus may implement the method related to the present disclosure through software, hardware, or a combination of the two, as shown in fig. 9, the wireless local area network access apparatus includes: an opening module 901, a receiving module 902 and a connecting module 903, wherein:
the starting module 901 is configured to start a bluetooth function of the second device;
the receiving module 902 is configured to receive target wireless local area network access authentication information sent by the first device through bluetooth technology;
the connection module 903 is configured to connect to the wireless lan corresponding to the target wireless lan access authentication information.
The device provided by the embodiment of the present disclosure can be used for executing the technical scheme of the embodiment shown in fig. 2, and the execution mode and the beneficial effect are similar, which are not described herein again.
In one possible implementation, the receiving module 903 receives a first bluetooth connection signal broadcast by a first device; sending a Bluetooth connection response to the first equipment, and establishing Bluetooth connection with the first equipment; sending a request message for acquiring wireless local area network access authentication information to first equipment; and receiving a response message which is sent by the first equipment and carries the target wireless local area network access verification information.
In a possible implementation, as shown in fig. 10, the wireless lan access apparatus shown in fig. 9 may further include: a second sending module 1001;
the second sending module 1001 is configured to send a first feedback message to the first device for characterizing that the second device has received the response message.
In one possible implementation, the receiving module 903 receives a second bluetooth connection signal broadcast by the first device; the second Bluetooth connection signal comprises target wireless local area network access verification information; and analyzing the second Bluetooth connection signal to acquire target wireless local area network access verification information.
In a possible implementation, as shown in fig. 11, the wireless lan access apparatus shown in fig. 9 may further include: a third transmitting module 1101;
the third sending module 1101 is configured to send a second feedback message to the first device for indicating that the second device has received the second bluetooth connection signal.
In one possible implementation, as shown in fig. 12, the wireless lan access apparatus shown in fig. 9 may further include: a fourth shutdown module 1201;
the fourth shutdown module 1201 is configured to shut down the bluetooth function of the second device.
In a possible implementation manner, the starting module 901 starts the bluetooth function of the second device when it is detected that the second device fails to connect to the wireless lan or the wireless lan access authentication information is not stored in the second device.
Fig. 13 is a block diagram illustrating a wireless local area network access apparatus according to an example embodiment, which may be implemented in various manners, such as implementing all components of the apparatus in a first device or implementing components of the apparatus in a coupled manner on the first device side; referring to fig. 13, a wlan access apparatus 1300 includes:
a processor 1301;
a memory 1302 for storing processor-executable instructions;
wherein processor 1301 is configured to:
when detecting that the first equipment is successfully connected to the wireless local area network and the Bluetooth function of the first equipment is started, acquiring target wireless local area network access verification information corresponding to the wireless local area network accessed by the first equipment;
and broadcasting the target wireless local area network access verification information through the Bluetooth technology so that the second equipment receiving the target wireless local area network access verification information is connected to the wireless local area network accessed by the first equipment.
In one embodiment, the processor 1301 may be further configured to:
broadcasting a first Bluetooth connection signal;
when receiving a Bluetooth connection response sent by the second equipment, establishing Bluetooth connection with the second equipment;
and when receiving a request message which is sent by the second equipment and used for acquiring the wireless local area network access verification information, sending a response message carrying the target wireless local area network access verification information to the second equipment through the Bluetooth connection.
In one embodiment, the processor 1301 may be further configured to:
and when receiving a first feedback message which is sent by the second equipment and used for representing that the second equipment has received the response message, closing the Bluetooth function of the first equipment.
In one embodiment, the processor 1301 may be further configured to:
broadcasting a second Bluetooth connection signal; the second Bluetooth connection signal comprises target wireless local area network access verification information.
In one embodiment, the processor 1301 may be further configured to:
and when a second feedback message which is sent by the second equipment and used for representing that the second equipment has received the second Bluetooth connection signal is received, the Bluetooth function of the first equipment is closed.
In one embodiment, the processor 1301 may be further configured to:
starting a timer;
and when the timer reaches the preset time length, the Bluetooth function of the first device is closed.
In one embodiment, the processor 1301 may be further configured to:
and when detecting that the first equipment is successfully connected to the wireless local area network, starting the Bluetooth function of the first equipment, and acquiring target wireless local area network access verification information corresponding to the wireless local area network accessed by the first equipment.
Fig. 14 is a block diagram illustrating a wireless local area network access apparatus according to an example embodiment, which may be implemented in various ways, such as implementing all components of the apparatus in a second device, or implementing components of the apparatus in a coupled manner on the second device side; referring to fig. 14, the wlan access apparatus 1400 includes:
a processor 1401;
a memory 1402 for storing processor-executable instructions;
wherein the processor 1401 is configured to:
starting the Bluetooth function of the second device;
receiving target wireless local area network access verification information sent by first equipment through a Bluetooth technology;
and connecting to the wireless local area network corresponding to the target wireless local area network access verification information.
In one embodiment, the processor 1401 described above may be further configured to:
receiving a first Bluetooth connection signal broadcasted by a first device;
sending a Bluetooth connection response to the first equipment, and establishing Bluetooth connection with the first equipment;
sending a request message for acquiring wireless local area network access authentication information to first equipment;
and receiving a response message which is sent by the first equipment and carries the target wireless local area network access verification information.
In one embodiment, the processor 1401 described above may be further configured to:
and sending a first feedback message for representing that the second equipment has received the response message to the first equipment.
In one embodiment, the processor 1401 described above may be further configured to:
receiving a second Bluetooth connection signal broadcast by the first equipment; the second Bluetooth connection signal comprises target wireless local area network access verification information;
and analyzing the second Bluetooth connection signal to acquire target wireless local area network access verification information.
In one embodiment, the processor 1401 described above may be further configured to:
and sending a second feedback message to the first device for indicating that the second device has received the second Bluetooth connection signal.
In one embodiment, the processor 1401 described above may be further configured to:
the bluetooth function of the second device is turned off.
In one embodiment, the processor 1401 described above may be further configured to:
and when the second equipment is detected to be failed to connect the wireless local area network or the wireless local area network access verification information is not stored in the second equipment, starting the Bluetooth function of the second equipment.
With regard to the apparatus 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. 15 is a block diagram illustrating a wireless local area network access device in accordance with an example embodiment. For example, the apparatus 1500 may be a first device, such as an electronic device, such as a smart phone or a rice cooker, storing a network name and a password of a wireless local area network.
Referring to fig. 15, apparatus 1500 may include one or more of the following components: processing components 1502, memory 1504, power components 1506, multimedia components 1508, audio components 1515, input/output (I/O) interfaces 1512, sensor components 1514, and communication components 1516.
The processing component 1502 generally controls overall operation of the device 1500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1502 may include one or more processors 1520 executing instructions to perform all or a portion of the steps of the methods described above. Further, processing component 1502 may include one or more modules that facilitate interaction between processing component 1502 and other components. For example, processing component 1502 may include a multimedia module to facilitate interaction between multimedia component 1508 and processing component 1502.
The memory 1504 is configured to store various types of data to support operations at the apparatus 1500. Examples of such data include instructions for any application or method operating on the device 1500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1504 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 supply component 1506 provides power to the various components of the device 1500. The power components 1506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 1500.
The multimedia component 1508 includes a screen that provides an output interface between the device 1500 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, multimedia component 1508 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 1500 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1510 is configured to output and/or input audio signals. For example, the audio component 1510 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 1500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1504 or transmitted via the communication component 1516. In some embodiments, audio component 1510 also includes a speaker for outputting audio signals.
The I/O interface 1512 provides an interface between the processing component 1502 and peripheral interface modules, which can 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 assembly 1514 includes one or more sensors for providing status assessment of various aspects of the apparatus 1500. For example, the sensor assembly 1514 can detect an open/closed state of the device 1500, the relative positioning of components, such as a display and keypad of the device 1500, the sensor assembly 1514 can also detect a change in position of the device 1500 or a component of the device 1500, the presence or absence of user contact with the device 1500, orientation or acceleration/deceleration of the device 1500, and a change in temperature of the device 1500. The sensor assembly 1514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1516 is configured to facilitate wired or wireless communication between the apparatus 1500 and other devices. The apparatus 1500 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 1516 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1516 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 apparatus 1500 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 comprising instructions, such as the memory 1504 comprising instructions, executable by the processor 1520 of the apparatus 1500 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.
Fig. 16 is a block diagram illustrating a wireless local area network access device in accordance with an example embodiment. For example, the apparatus 1600 may be provided as a server. The apparatus 1600 includes a processing component 1602, which further includes one or more processors, and memory resources, represented by memory 1603, for storing instructions, e.g., applications, executable by the processing component 1602. The application programs stored in memory 1603 may include one or more modules each corresponding to a set of instructions. Further, the processing component 1602 is configured to execute instructions to perform the above-described methods.
The device 1600 may also include a power supply component 1606 configured to perform power management for the wlan access device 1600, a wired or wireless network interface 1605 configured to connect the wlan access device 1600 to a network, and an input/output (I/O) interface 1608. The apparatus 1600 may operate based on an operating system stored in the memory 1603, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
A non-transitory computer readable storage medium having instructions therein, which when executed by a processor of apparatus 1500 or apparatus 1600, enable apparatus 1500 or apparatus 1600 to perform a wireless local area network access method comprising:
when detecting that the first equipment is successfully connected to the wireless local area network and the Bluetooth function of the first equipment is started, acquiring target wireless local area network access verification information corresponding to the wireless local area network accessed by the first equipment;
and broadcasting the target wireless local area network access verification information through the Bluetooth technology so that the second equipment receiving the target wireless local area network access verification information is connected to the wireless local area network accessed by the first equipment.
In one embodiment, broadcasting the target wlan access authentication information via bluetooth technology includes:
broadcasting a first Bluetooth connection signal;
when receiving a Bluetooth connection response sent by the second equipment, establishing Bluetooth connection with the second equipment;
and when receiving a request message which is sent by the second equipment and used for acquiring the wireless local area network access verification information, sending a response message carrying the target wireless local area network access verification information to the second equipment through the Bluetooth connection.
In one embodiment, after sending the response message carrying the target wlan access authentication information to the second device over the bluetooth connection, the method further comprises:
and when receiving a first feedback message which is sent by the second equipment and used for representing that the second equipment has received the response message, closing the Bluetooth function of the first equipment.
In one embodiment, broadcasting the target wlan access authentication information via bluetooth technology includes:
broadcasting a second Bluetooth connection signal; the second Bluetooth connection signal comprises target wireless local area network access verification information.
In one embodiment, after broadcasting the second bluetooth connection signal, the method further comprises:
and when a second feedback message which is sent by the second equipment and used for representing that the second equipment has received the second Bluetooth connection signal is received, the Bluetooth function of the first equipment is closed.
In one embodiment, after broadcasting the target wireless local area network access authentication information via bluetooth technology, the method further comprises:
starting a timer;
and when the timer reaches the preset time length, the Bluetooth function of the first device is closed.
In one embodiment, when it is detected that the first device has successfully connected to the wireless lan and the bluetooth function of the first device is turned on, acquiring target wlan access authentication information corresponding to the wlan to which the first device has access, includes:
and when detecting that the first equipment is successfully connected to the wireless local area network, starting the Bluetooth function of the first equipment, and acquiring target wireless local area network access verification information corresponding to the wireless local area network accessed by the first equipment.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure 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 present disclosure is limited only by the appended claims.

Claims (32)

1. A wireless local area network access method is applied to a first device and comprises the following steps:
when detecting that the first equipment is successfully connected to a wireless local area network and the Bluetooth function of the first equipment is started, acquiring target wireless local area network access verification information corresponding to the wireless local area network accessed by the first equipment;
and broadcasting the target wireless local area network access verification information through a Bluetooth technology so as to enable a second device receiving the target wireless local area network access verification information to be connected to the wireless local area network accessed by the first device.
2. The method of claim 1, wherein the broadcasting the target wlan access authentication information via bluetooth comprises:
broadcasting a first Bluetooth connection signal;
when receiving a Bluetooth connection response sent by the second equipment, establishing Bluetooth connection with the second equipment;
and when receiving a request message which is sent by the second equipment and used for acquiring the wireless local area network access verification information, sending a response message carrying the target wireless local area network access verification information to the second equipment through the Bluetooth connection.
3. The method of claim 2, wherein after the sending the response message carrying the target wireless local area network access authentication information to the second device over the bluetooth connection, the method further comprises:
and when a first feedback message which is sent by the second equipment and used for representing that the second equipment receives the response message is received, the Bluetooth function of the first equipment is closed.
4. The method of claim 1, wherein the broadcasting the target wlan access authentication information via bluetooth comprises:
broadcasting a second Bluetooth connection signal; the second Bluetooth connection signal comprises the target wireless local area network access verification information.
5. The method of claim 4, wherein after said broadcasting the second Bluetooth connection signal, the method further comprises:
and when a second feedback message which is sent by the second equipment and used for representing that the second equipment has received the second Bluetooth connection signal is received, the Bluetooth function of the first equipment is closed.
6. The method of claim 1, wherein after said broadcasting said target wlan access authentication information via bluetooth technology, said method further comprises:
starting a timer;
and when the timer reaches a preset time length, the Bluetooth function of the first equipment is closed.
7. The method of claim 1, wherein the obtaining target wlan access authentication information corresponding to a wlan accessed by the first device when detecting that the first device has successfully connected to the wlan and a bluetooth function of the first device is turned on comprises:
when detecting that the first device is successfully connected to the wireless local area network, starting a Bluetooth function of the first device, and acquiring target wireless local area network access verification information corresponding to the wireless local area network accessed by the first device.
8. A wireless local area network access method is applied to a second device and comprises the following steps:
starting the Bluetooth function of the second equipment;
receiving target wireless local area network access verification information sent by first equipment through a Bluetooth technology;
and connecting to the wireless local area network corresponding to the target wireless local area network access verification information.
9. The method of claim 8, wherein the receiving the target wlan access authentication information sent by the first device through bluetooth comprises:
receiving a first Bluetooth connection signal broadcasted by the first device;
sending a Bluetooth connection response to the first equipment, and establishing Bluetooth connection with the first equipment;
sending a request message for acquiring wireless local area network access authentication information to the first device;
and receiving a response message which is sent by the first equipment and carries the target wireless local area network access verification information.
10. The method of claim 9, wherein after the receiving the response message carrying the target wlan access authentication information sent by the first device, the method further comprises:
and sending a first feedback message for representing that the second device has received the response message to the first device.
11. The method of claim 8, wherein the receiving the target wlan access authentication information sent by the first device through bluetooth comprises:
receiving a second Bluetooth connection signal broadcast by the first device; the second Bluetooth connection signal comprises the target wireless local area network access verification information;
and analyzing the second Bluetooth connection signal to acquire the target wireless local area network access verification information.
12. The method of claim 11, wherein after said receiving the second bluetooth connection signal broadcast by the first device, the method further comprises:
sending a second feedback message to the first device for indicating that the second device has received the second Bluetooth connection signal.
13. The method of claim 8, wherein after the connecting to the wireless local area network corresponding to the target wireless local area network access authentication information, the method further comprises: and closing the Bluetooth function of the second equipment.
14. The method of claim 8, wherein the turning on the bluetooth function of the second device comprises:
and when the second equipment is detected to be failed to connect the wireless local area network or the wireless local area network access verification information is not stored in the second equipment, starting the Bluetooth function of the second equipment.
15. A wireless local area network access device, comprising:
the acquisition module is used for acquiring target wireless local area network access verification information corresponding to a wireless local area network accessed by the first equipment when the first equipment is detected to be successfully connected to the wireless local area network and the Bluetooth function of the first equipment is started;
the first sending module is used for broadcasting the target wireless local area network access verification information through a Bluetooth technology so that a second device receiving the target wireless local area network access verification information is connected to a wireless local area network accessed by the first device.
16. The apparatus of claim 15, wherein the first transmitting module broadcasts a first bluetooth connection signal; when receiving a Bluetooth connection response sent by the second equipment, establishing Bluetooth connection with the second equipment; and when receiving a request message which is sent by the second equipment and used for acquiring the wireless local area network access verification information, sending a response message carrying the target wireless local area network access verification information to the second equipment through the Bluetooth connection.
17. The apparatus of claim 16, further comprising:
and the first closing module is used for closing the Bluetooth function of the first equipment when receiving a first feedback message which is sent by the second equipment and used for representing that the second equipment receives the response message.
18. The apparatus of claim 15, wherein the first transmitting module broadcasts a second bluetooth connection signal; the second Bluetooth connection signal comprises the target wireless local area network access verification information.
19. The apparatus of claim 18, further comprising:
and the second closing module is used for closing the Bluetooth function of the first equipment when receiving a second feedback message which is sent by the second equipment and used for representing that the second equipment has received the second Bluetooth connection signal.
20. The apparatus of claim 15, further comprising:
the third closing module is used for starting the timer; and when the timer reaches a preset time length, the Bluetooth function of the first equipment is closed.
21. The apparatus of claim 15, wherein the obtaining module starts a bluetooth function of the first device and obtains target wlan access authentication information corresponding to a wlan accessed by the first device when detecting that the first device has successfully connected to the wlan.
22. A wireless local area network access device, comprising:
the starting module is used for starting the Bluetooth function of the second equipment;
the receiving module is used for receiving target wireless local area network access verification information sent by the first equipment through a Bluetooth technology;
and the connecting module is used for connecting to the wireless local area network corresponding to the target wireless local area network access verification information.
23. The apparatus of claim 22, wherein the receiving module receives a first bluetooth connection signal broadcast by the first device; sending a Bluetooth connection response to the first equipment, and establishing Bluetooth connection with the first equipment; sending a request message for acquiring wireless local area network access authentication information to the first device; and receiving a response message which is sent by the first equipment and carries the target wireless local area network access verification information.
24. The apparatus of claim 23, further comprising:
a second sending module, configured to send, to the first device, a first feedback message used to indicate that the second device has received the response message.
25. The apparatus of claim 22, wherein the receiving module receives a second bluetooth connection signal broadcast by the first device; the second Bluetooth connection signal comprises the target wireless local area network access verification information; and analyzing the second Bluetooth connection signal to acquire the target wireless local area network access verification information.
26. The apparatus of claim 25, further comprising:
a third sending module, configured to send, to the first device, a second feedback message used to indicate that the second device has received the second bluetooth connection signal.
27. The apparatus of claim 22, further comprising:
and the fourth closing module is used for closing the Bluetooth function of the second equipment.
28. The apparatus of claim 22, wherein the starting module starts the bluetooth function of the second device when it is detected that the second device fails to connect to the wireless local area network or no wireless local area network access authentication information is stored in the second device.
29. A wireless local area network access device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when detecting that the first equipment is successfully connected to a wireless local area network and the Bluetooth function of the first equipment is started, acquiring target wireless local area network access verification information corresponding to the wireless local area network accessed by the first equipment;
and broadcasting the target wireless local area network access verification information through a Bluetooth technology so as to enable a second device receiving the target wireless local area network access verification information to be connected to the wireless local area network accessed by the first device.
30. A wireless local area network access device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
starting the Bluetooth function of the second equipment;
receiving target wireless local area network access verification information sent by first equipment through a Bluetooth technology;
and connecting to the wireless local area network corresponding to the target wireless local area network access verification information.
31. A computer-readable storage medium having stored thereon computer instructions, which, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 7.
32. A computer-readable storage medium having stored thereon computer instructions, which, when executed by a processor, carry out the steps of the method according to any one of claims 8 to 14.
CN202010054284.8A 2020-01-17 2020-01-17 Wireless local area network access method and device Pending CN111277984A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010054284.8A CN111277984A (en) 2020-01-17 2020-01-17 Wireless local area network access method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010054284.8A CN111277984A (en) 2020-01-17 2020-01-17 Wireless local area network access method and device

Publications (1)

Publication Number Publication Date
CN111277984A true CN111277984A (en) 2020-06-12

Family

ID=70998810

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010054284.8A Pending CN111277984A (en) 2020-01-17 2020-01-17 Wireless local area network access method and device

Country Status (1)

Country Link
CN (1) CN111277984A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112770308A (en) * 2021-01-04 2021-05-07 珠海格力电器股份有限公司 Network distribution method and device of intelligent device, electronic device and computer readable medium
CN114143818A (en) * 2021-11-29 2022-03-04 四川虹美智能科技有限公司 Batch testing method of intelligent equipment
CN114666868A (en) * 2022-03-16 2022-06-24 京东科技信息技术有限公司 Method for network distribution without secret sharing, Internet of things equipment, router and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105682071A (en) * 2015-12-23 2016-06-15 小米科技有限责任公司 Wireless local area network information configuring method, device and system
CN106028268A (en) * 2016-06-27 2016-10-12 广东欧珀移动通信有限公司 Method and apparatus for lowering device power consumption
CN106507505A (en) * 2016-10-27 2017-03-15 北京小米移动软件有限公司 The disconnection method and device of low-power consumption bluetooth connection
CN108024239A (en) * 2017-11-29 2018-05-11 深圳创维数字技术有限公司 Remote terminal and its control method, computer-readable recording medium
CN109905923A (en) * 2019-03-11 2019-06-18 深圳市炬力北方微电子有限公司 Automatically access method, relevant device and the system of WLAN
CN110035416A (en) * 2018-01-12 2019-07-19 广东神马搜索科技有限公司 Data transmission method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105682071A (en) * 2015-12-23 2016-06-15 小米科技有限责任公司 Wireless local area network information configuring method, device and system
CN106028268A (en) * 2016-06-27 2016-10-12 广东欧珀移动通信有限公司 Method and apparatus for lowering device power consumption
CN106507505A (en) * 2016-10-27 2017-03-15 北京小米移动软件有限公司 The disconnection method and device of low-power consumption bluetooth connection
CN108024239A (en) * 2017-11-29 2018-05-11 深圳创维数字技术有限公司 Remote terminal and its control method, computer-readable recording medium
CN110035416A (en) * 2018-01-12 2019-07-19 广东神马搜索科技有限公司 Data transmission method and device
CN109905923A (en) * 2019-03-11 2019-06-18 深圳市炬力北方微电子有限公司 Automatically access method, relevant device and the system of WLAN

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112770308A (en) * 2021-01-04 2021-05-07 珠海格力电器股份有限公司 Network distribution method and device of intelligent device, electronic device and computer readable medium
CN114143818A (en) * 2021-11-29 2022-03-04 四川虹美智能科技有限公司 Batch testing method of intelligent equipment
CN114143818B (en) * 2021-11-29 2024-03-12 四川虹美智能科技有限公司 Batch test method for intelligent equipment
CN114666868A (en) * 2022-03-16 2022-06-24 京东科技信息技术有限公司 Method for network distribution without secret sharing, Internet of things equipment, router and storage medium

Similar Documents

Publication Publication Date Title
EP3136793B1 (en) Method and apparatus for awakening electronic device
US9769667B2 (en) Methods for controlling smart device
EP3301856B1 (en) Router management method, router and mobile terminal
EP3076716A1 (en) Method and apparatus for network access
US20170123781A1 (en) Method, device and system for application updating
US10764934B2 (en) Method, apparatus for terminal device to access wireless network
US11329974B2 (en) Device network configuration method and apparatus, and storage medium
EP3068154A1 (en) Method and apparatus for setting smart device management account
US20170055150A1 (en) Method and device for acquiring using authority
EP3229423B1 (en) Method and device for displaying setting interface of router
CN108811179B (en) Wireless network connection method, device and storage medium
EP3016443A1 (en) Communication method and terminal
WO2017071074A1 (en) Method and apparatus for establishing connection
US20170013456A1 (en) Method and device for testing a terminal
WO2016155304A1 (en) Wireless access point control method and device
CN112114765A (en) Screen projection method and device and storage medium
CN104184668A (en) Networking method, networking device, router and third-party device of Internet of things
CN111277984A (en) Wireless local area network access method and device
EP3119037B1 (en) Method and apparatus for downloading a control program
US20220256497A1 (en) Methods and apparatuses for receiving paging signaling, and methods and apparatuses for transmitting paging signaling
CN106507282B (en) Wireless connection control method and device
CN108810866B (en) Method and device for connecting intelligent equipment and storage medium
CN106292316B (en) Working mode switching method and device
CN105657690A (en) Method and device for processing mobile terminal setting information
CN111010721A (en) Wireless network distribution method, wireless network distribution device and computer readable storage medium

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 01-04, 1st floor, No.2 Lane 60, Naxian Road, Pudong New Area pilot Free Trade Zone, Shanghai 201203

Applicant after: Chunmi Technology (Shanghai) Co.,Ltd.

Address before: Room 01-04, 1st floor, Lane 60, Naxian Road, Pudong New Area, Shanghai, 201203

Applicant before: SHANGHAI CHUNMI ELECTRONICS TECHNOLOGY Co.,Ltd.