CN105636161A - Wireless network access method and device, communication terminal and wireless network access point - Google Patents

Wireless network access method and device, communication terminal and wireless network access point Download PDF

Info

Publication number
CN105636161A
CN105636161A CN201610048847.6A CN201610048847A CN105636161A CN 105636161 A CN105636161 A CN 105636161A CN 201610048847 A CN201610048847 A CN 201610048847A CN 105636161 A CN105636161 A CN 105636161A
Authority
CN
China
Prior art keywords
communication module
bluetooth
low energy
network access
wireless network
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.)
Granted
Application number
CN201610048847.6A
Other languages
Chinese (zh)
Other versions
CN105636161B (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.)
ThunderSoft Co Ltd
Original Assignee
ThunderSoft 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 ThunderSoft Co Ltd filed Critical ThunderSoft Co Ltd
Priority to CN201610048847.6A priority Critical patent/CN105636161B/en
Publication of CN105636161A publication Critical patent/CN105636161A/en
Application granted granted Critical
Publication of CN105636161B publication Critical patent/CN105636161B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • 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
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • 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

Landscapes

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

Abstract

Embodiments of the invention disclose a wireless network access method and device, a communication terminal and a wireless network access point. Bluetooth wireless connection is established between the communication terminal and the wireless network access point through a low-power-consumption Bluetooth communication module; the communication terminal obtains configuration information for accessing the wireless network access point from the wireless network access point through the established Bluetooth wireless connection, and then automatically accesses the wireless network access point according to the obtained configuration information. According to the wireless network access method and device, the communication terminal and the wireless network access point, a user only needs to enable the low-power-consumption Bluetooth communication module of the communication terminal, and the communication terminal can automatically access the wireless network access point, thereby simplifying operations of the user when the communication terminal accesses the wireless network access point.

Description

Method and device for accessing wireless network, communication terminal and wireless network access point
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for accessing a wireless network, a communication terminal, and a wireless network access point.
Background
At present, more and more communication terminals (such as mobile phones, tablet computers, and the like) can access the internet through accessing a wireless network access point ((access point, AP)), and accessing the wireless network for the first time requires a user to perform operations of selecting an AP device to be connected, inputting a password and other information, and clicking confirmation to authenticate.
Disclosure of Invention
The invention aims to provide a method and a device for accessing a wireless network, a communication terminal and a wireless network access point, so as to simplify the operation of a user when the communication terminal accesses the wireless network access point.
In order to achieve the purpose, the invention provides the following technical scheme:
a wireless network access method is applied to a communication terminal, and comprises the following steps:
establishing Bluetooth wireless connection with a second low-power Bluetooth communication module of a wireless network access point through a first low-power Bluetooth communication module of the communication terminal;
obtaining profile information from the wireless network access point via the established bluetooth wireless connection, the profile information at least comprising: a service identifier and configuration information required for accessing the wireless network access point; the service identification represents the configuration file information used for the communication terminal to access the wireless network access point;
accessing the wireless network access point based on the configuration information.
In the above method, preferably, the establishing a bluetooth wireless connection between a first bluetooth low energy communication module of the communication terminal and a second bluetooth low energy communication module of the wireless network access point includes:
the first low-power Bluetooth communication module works in a peripheral device role and a central device role at intervals;
when the first bluetooth low energy communication module works in a central device role, the first bluetooth low energy communication module can receive information sent by a second bluetooth low energy communication module in a peripheral device role in a broadcasting mode;
when the first Bluetooth low energy communication module receives the broadcast information sent by the second Bluetooth low energy communication module and the signal intensity sent by the second Bluetooth low energy communication module is greater than a preset threshold value, a connection request is sent to the second Bluetooth low energy communication module to establish Bluetooth wireless connection with the second Bluetooth low energy communication module.
In the above method, preferably, the establishing a bluetooth wireless connection between a first bluetooth low energy communication module of the communication terminal and a second bluetooth low energy communication module of the wireless network access point includes:
the first low-power Bluetooth communication module works in a peripheral device role and a central device role at intervals;
when the first Bluetooth low energy communication module works in the role of peripheral equipment, the first Bluetooth low energy communication module sends information in a broadcasting mode;
and when the first Bluetooth low energy communication module receives a connection request sent by the second Bluetooth low energy communication module, establishing Bluetooth wireless connection with the second Bluetooth low energy communication module.
In the method, preferably, the operating the first bluetooth low energy communication module in the peripheral device role and the central device role at the interval of time includes:
acquiring a random number;
the first duration of the first low-power Bluetooth communication module working in the role of the peripheral equipment is N times of the random number;
the second time when the first Bluetooth communication module works in the role of the central equipment is M times of the random number;
n and M are different positive numbers.
In the above method, preferably, the obtaining of the profile information from the wireless network access point through the established bluetooth wireless connection includes:
and reading the configuration file information from the wireless network access point through the established Bluetooth wireless connection by taking a preset service identifier as a keyword.
In the above method, preferably, the obtaining of the profile information from the wireless network access point through the established bluetooth wireless connection includes:
and when a reading notice sent by the wireless network access point through the established Bluetooth wireless connection is received, reading the configuration file information from the wireless network access point through the established Bluetooth wireless connection by taking a preset service identifier as a keyword.
In the above method, preferably, the obtaining of the profile information from the wireless network access point through the established bluetooth wireless connection includes:
and receiving the configuration file information sent by the wireless network access point through the established Bluetooth wireless connection.
A wireless network access method is applied to a wireless network access point, and comprises the following steps:
establishing Bluetooth wireless connection with a first low-power Bluetooth communication module of a communication terminal through a second low-power Bluetooth communication module of the wireless network access point;
preparing configuration file information to enable the communication terminal to acquire the configuration file information through the established Bluetooth wireless connection, wherein the configuration file information at least comprises: a service identifier and configuration information required for accessing the wireless network access point; the service identification represents the configuration file information used for the communication terminal to access the wireless network access point.
In the above method, preferably, the establishing a bluetooth wireless connection with the first bluetooth low energy communication module of the communication terminal through the second bluetooth low energy communication module of the wireless network access point includes:
the second Bluetooth low energy communication module works in the roles of peripheral equipment and central equipment at intervals;
when the second bluetooth low energy communication module works in the role of the central device, the second bluetooth low energy communication module can receive information sent by the first bluetooth low energy communication module in the role of the peripheral device in a broadcasting mode;
when the second Bluetooth low energy communication module receives the information sent by the first Bluetooth low energy communication module and the signal intensity sent by the first Bluetooth low energy communication module is greater than a preset threshold value, a connection request is sent to the first Bluetooth low energy communication module to establish Bluetooth wireless connection with the first Bluetooth low energy communication module.
In the above method, preferably, the establishing a bluetooth wireless connection with the first bluetooth low energy communication module of the communication terminal through the second bluetooth low energy communication module of the wireless network access point includes:
the second Bluetooth low energy communication module works in the roles of peripheral equipment and central equipment at intervals;
when the second Bluetooth low energy communication module works in the role of peripheral equipment, the second Bluetooth low energy communication module sends information in a broadcasting mode;
and when the second Bluetooth low energy communication module receives the connection request sent by the first Bluetooth low energy communication module, establishing Bluetooth wireless connection with the first Bluetooth low energy communication module.
In the above method, preferably, the second bluetooth low energy communication module operating in the peripheral device role and the central device role at intervals includes:
acquiring a random number;
the time of the second low-power Bluetooth communication module working in the role of the peripheral equipment is H times of the random number;
the time of the second low-power-consumption Bluetooth communication module working in the role of the central equipment is K times of the random number;
h and K are different positive numbers.
Preferably, after the configuration file information is prepared, the method further includes:
and sending the configuration file information to the communication terminal through the established Bluetooth wireless connection.
A wireless network access device is applied to a communication terminal, and the device comprises:
the first low-power Bluetooth communication module is used for establishing Bluetooth wireless connection with a second low-power Bluetooth communication module of the wireless network access point;
an obtaining module, configured to obtain configuration file information from the wireless network access point through the established bluetooth wireless connection, where the configuration file information at least includes: a service identifier and configuration information required for accessing the wireless network access point; the service identification represents the configuration file information used for the communication terminal to access the wireless network access point;
and the access module is used for accessing the wireless network access point based on the configuration information.
Preferably, the above apparatus, the first bluetooth low energy communication module includes:
the first control unit is used for controlling the first Bluetooth low energy communication module to work in a peripheral device role and a central device role at intervals; when the first bluetooth low energy communication module works in a central device role, the first bluetooth low energy communication module can receive information sent by a second bluetooth low energy communication module in a peripheral device role in a broadcasting mode;
and the first connecting unit is used for sending a connection request to the second Bluetooth low energy communication module to establish Bluetooth wireless connection with the second Bluetooth low energy communication module when the first Bluetooth low energy communication module receives the broadcast information sent by the second Bluetooth low energy communication module and the signal intensity sent by the second Bluetooth low energy communication module is greater than a preset threshold value.
Preferably, the above apparatus, the first bluetooth low energy communication module includes:
the first control unit is used for controlling the first Bluetooth low energy communication module to work in a peripheral device role and a central device role at intervals; when the first Bluetooth low energy communication module works in the role of peripheral equipment, the first Bluetooth low energy communication module sends information in a broadcasting mode;
and the second connecting unit is used for establishing Bluetooth wireless connection with the second Bluetooth low energy communication module when the first Bluetooth low energy communication module receives the connection request sent by the second Bluetooth low energy communication module.
In the above apparatus, preferably, the first control unit includes:
the first acquisition subunit is used for acquiring a random number;
the first determining subunit is configured to determine that the duration of the first bluetooth low energy communication module working in the peripheral device role is N times of the random number, and the duration of the first bluetooth low energy communication module working in the central device role is M times of the random number;
n and M are different positive numbers.
Preferably, in the above apparatus, the obtaining module is configured to read the configuration file information from the wireless network access point through the established bluetooth wireless connection by using a preset service identifier as a keyword.
Preferably, in the above apparatus, the obtaining module is configured to, when receiving a read notification sent by the wireless network access point through the established bluetooth wireless connection, read the configuration file information from the wireless network access point through the established bluetooth wireless connection by using a preset service identifier as a keyword.
Preferably, in the above apparatus, the obtaining module is configured to receive the configuration file information sent by the wireless network access point through the established bluetooth wireless connection.
A communication terminal comprising a wireless network access device as described in any above.
A wireless network access device is applied to a wireless network access point, and the device comprises:
the second low-power-consumption Bluetooth communication module is used for establishing Bluetooth wireless connection with a first Bluetooth communication terminal of the communication terminals;
a preparation module, configured to prepare profile information, so that the communication module obtains the profile information through the established bluetooth wireless connection, where the profile information at least includes: a service identifier and configuration information required for accessing the wireless network access point; the service identification represents the configuration file information used for the communication terminal to access the wireless network access point.
Preferably, the above apparatus, the second bluetooth low energy communication module includes:
the second control unit is used for controlling the second Bluetooth low energy communication module to work in a peripheral device role and a central device role at intervals; when the second bluetooth low energy communication module works in the role of the central device, the second bluetooth low energy communication module can receive information sent by the first bluetooth low energy communication module in the role of the peripheral device in a broadcasting mode;
and the third connecting unit is used for sending a connection request to the first Bluetooth low energy communication module to establish Bluetooth wireless connection with the first Bluetooth low energy communication module when the second Bluetooth low energy communication module receives the information sent by the first Bluetooth low energy communication module and the signal intensity sent by the first Bluetooth low energy communication module is greater than a preset threshold value.
Preferably, the above apparatus, the second bluetooth low energy communication module includes:
the second control unit is used for controlling the second Bluetooth low energy communication module to work in a peripheral device role and a central device role at intervals; when the second Bluetooth low energy communication module works in the role of peripheral equipment, the second Bluetooth low energy communication module sends information in a broadcasting mode;
and the fourth connecting unit is used for establishing Bluetooth wireless connection with the first Bluetooth low energy communication module when the second Bluetooth low energy communication module receives the connection request sent by the first Bluetooth low energy communication module.
In the above apparatus, preferably, the second control unit includes:
the second acquisition subunit is used for acquiring a random number;
the second determining subunit is configured to determine that the duration of the second bluetooth low energy communication module working in the role of the peripheral device is H times of the random number; the time of the second low-power-consumption Bluetooth communication module working in the role of the central equipment is K times of the random number;
h and K are different positive numbers.
The above apparatus, preferably, further comprises:
and the sending module is used for sending the configuration file information to the communication terminal through the established Bluetooth wireless connection.
A wireless network access point comprising a wireless network access device as described above.
According to the scheme, the communication terminal and the wireless network access point establish Bluetooth wireless connection through the wireless network through Bluetooth, the communication terminal acquires configuration information required for accessing the wireless network access point from the wireless network access point through the established Bluetooth wireless connection, and accordingly the communication terminal can automatically access the wireless network access point according to the acquired configuration information, as long as a user starts a low-power-consumption Bluetooth communication module of the communication terminal, the communication terminal can automatically access the wireless network access point, and operation of the user when the communication terminal accesses the wireless network access point is simplified.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of an implementation of a wireless network access method according to an embodiment of the present invention;
fig. 2 is a flowchart of another implementation of a wireless network access method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a wireless network access device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a first bluetooth low energy communication module according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a first bluetooth low energy communication module according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a first control unit according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a wireless network access device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a second bluetooth low energy communication module according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a second bluetooth low energy communication module according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a second control unit according to an embodiment of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be practiced otherwise than as specifically illustrated.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive effort based on the embodiments of the present invention, are within the scope of the present invention.
The embodiment of the invention firstly provides a method for accessing a wireless network access point applied to a communication terminal.
Referring to fig. 1, fig. 1 is a flowchart of an implementation of a wireless network access method according to an embodiment of the present invention, which may include:
step S11: the communication terminal establishes Bluetooth wireless connection with a second low-power Bluetooth communication module of the wireless network access point through the first low-power Bluetooth communication module;
in the embodiment of the invention, the communication terminal and the wireless network access point are both provided with the low-power-consumption Bluetooth communication module.
Step S12: the communication terminal acquires configuration file (Profile) information from a wireless network access point through the established Bluetooth wireless connection, wherein the configuration file information at least comprises: service identification and configuration information required for accessing a wireless network access point; the service identification representation configuration file information is used for the communication terminal to access the wireless network access point;
after the communication terminal establishes the bluetooth wireless connection with the wireless network access point, the manner of the communication terminal acquiring the configuration file information may be various: the communication terminal can actively read the configuration file information from the wireless network access point through the established Bluetooth wireless connection, or the wireless network access point can inform the communication terminal that the configuration file information can be read through the established Bluetooth wireless connection and then read through the established Bluetooth wireless connection, or the wireless network access point sends the configuration file information to the communication terminal through the established Bluetooth wireless connection.
The communication terminal can know that the configuration file information carries the configuration information of the access wireless network access point according to the service identifier, and the configuration information required by the access wireless network access point is analyzed from the configuration file information.
The configuration information may also be different according to different security types of the wireless network access point, for example, for an open wireless network, the configuration information may only include an identifier of the wireless network access point; for encrypted networks, the configuration information also needs to include the password required to access the wireless network access point.
Step S13: and the communication terminal accesses the wireless network access point based on the configuration information.
Based on the identification of the wireless network access point in the configuration information, the communication terminal can determine which wireless network access point needs to be accessed, the communication terminal sends an access request to the wireless network access point according to the identification of the wireless network access point, if authentication is needed, the communication terminal also sends the password in the configuration information to the wireless network access point for authentication, and the password is accessed to the wireless network access point after the authentication is passed.
According to the wireless network access method provided by the embodiment of the invention, the communication terminal and the wireless network access point establish the Bluetooth wireless connection through the low-power-consumption Bluetooth communication module, the communication terminal acquires the configuration information required for accessing the wireless network access point from the wireless network access point through the established Bluetooth wireless connection, so that the wireless network access point is automatically accessed according to the acquired configuration information, the communication terminal can automatically access the wireless network access point as long as a user starts the low-power-consumption Bluetooth communication module of the communication terminal, and the operation of the user when the communication terminal accesses the wireless network access point is simplified.
Optionally, one implementation manner of establishing the bluetooth wireless connection between the first bluetooth low energy communication module of the communication terminal and the second bluetooth low energy communication module of the wireless network access point may be:
the first Bluetooth low energy communication module is operated in a peripheral device role (Central) and a Central device role (peripheral) at intervals; accordingly, the second bluetooth low energy communication module also operates in the peripheral device role and the central device role at intervals.
In the embodiment of the invention, the first low-power-consumption Bluetooth communication module and the second low-power-consumption Bluetooth communication module are switched between the roles of peripheral equipment and central equipment continuously.
The following takes the first bluetooth low energy communication module as an example to describe a specific implementation manner of working at the peripheral device role and the central device role at intervals: the first Bluetooth module switches to the central device role after the peripheral device role works for a time period of t1, switches to the peripheral device role after the central device role works for a time period of t2, switches to the central device role after the peripheral device role works for a time period of t1, switches to the peripheral device role after the central device role works for a time period of t2, and so on. Wherein t1 is different from t 2.
When the first bluetooth low energy communication module works in a central device role, if the second bluetooth low energy communication module is in a peripheral device role, the first bluetooth low energy communication module can receive information (broadcast information for short) sent by the second bluetooth low energy communication module in a broadcast mode;
when the first bluetooth low energy communication module works in a peripheral device role and sends information in a broadcast mode, if the second bluetooth low energy communication module is in a central device role, the second bluetooth low energy communication module can receive the information sent by the first bluetooth low energy communication module in the broadcast mode.
When the first Bluetooth low energy communication module works in a central device role, the first Bluetooth low energy communication module receives broadcast information sent by the second Bluetooth low energy communication module, and the signal intensity sent by the second Bluetooth low energy communication module is greater than a preset threshold value, the first Bluetooth low energy communication module sends a connection request to the second Bluetooth low energy communication module so as to establish Bluetooth wireless connection with the second Bluetooth low energy communication module.
In the embodiment of the invention, if the first low-power-consumption Bluetooth communication module is connected with the second low-power-consumption Bluetooth communication module for the first time, the first low-power-consumption Bluetooth communication module is connected with the second low-power-consumption Bluetooth communication module after being paired in a just works mode. The pairing can be completed in the pairing mode without interaction with the user, and the user operation is further simplified.
When the first Bluetooth low energy communication module receives the broadcast information sent by the second Bluetooth low energy communication module and the signal intensity sent by the second Bluetooth low energy communication module is greater than a preset threshold value, the communication terminal and the wireless network access point are within a certain distance range.
When the first low-power-consumption Bluetooth communication module works in the role of peripheral equipment, the first low-power-consumption Bluetooth communication module sends information in a broadcasting mode;
if the second Bluetooth low energy communication module receives broadcast information sent by the first Bluetooth low energy communication module when working in a central device role, and the strength of a transmitting signal of the first Bluetooth low energy communication module is greater than a preset threshold value, the second Bluetooth low energy communication module sends a connection request to the first Bluetooth low energy communication module;
when the second Bluetooth low energy communication module receives the broadcast information sent by the first Bluetooth low energy communication module and the signal intensity sent by the first Bluetooth low energy communication module is greater than a preset threshold value, the communication terminal and the wireless network access point are within a certain distance range.
When the first Bluetooth low energy communication module receives a connection request sent by the second Bluetooth low energy communication module, Bluetooth wireless connection is established with the second Bluetooth low energy communication module.
Optionally, one implementation manner that the first bluetooth low energy communication module operates in the peripheral device role and the central device role at time intervals may be:
acquiring a random number;
a value can be randomly acquired within a preset range of values. For example, a value may be randomly obtained between 1-10.
The first duration of the first low-power-consumption Bluetooth communication module working in the role of the peripheral equipment is N times of the acquired random number;
the second time when the first low-power-consumption Bluetooth communication module works in the role of the central equipment is M times of the acquired random number;
n and M are different positive numbers.
That is, if the acquired random number is R, a first duration of the first bluetooth low energy communication module operating in the peripheral device role is N × R milliseconds, and a second duration of the first bluetooth low energy communication module operating in the central device role is M × R milliseconds.
Alternatively, M may be 3 times N.
Optionally, one implementation manner of obtaining the profile information from the wireless network access point through the established bluetooth wireless connection may be:
and reading the configuration file information from the wireless network access point through the established Bluetooth wireless connection by taking the preset service identification as a keyword.
If the communication terminal supports automatic access to the wireless network access point through Bluetooth, the communication terminal presets a service identifier so as to obtain the configuration file information from the wireless network access point through the service identifier.
In the embodiment of the invention, after the communication terminal establishes the Bluetooth wireless connection with the wireless network access point, the communication terminal actively reads the configuration file information from the wireless network access point.
Optionally, another implementation manner of obtaining the profile information from the wireless network access point through the established bluetooth wireless connection may be:
and when a reading notice sent by the wireless network access point through the established Bluetooth wireless connection is received, reading the configuration file information from the wireless network access point through the established Bluetooth wireless connection by taking a preset service identifier as a key word.
In the embodiment of the invention, after the communication terminal and the wireless network access point establish the Bluetooth wireless connection, the communication terminal does not actively read the configuration file information from the wireless network access point, but only reads the configuration file information when the wireless network access point informs the communication terminal to read the configuration file information.
For the wireless network access point, the wireless network access point may preset the configuration file information, or may generate the configuration file information after the communication terminal establishes the bluetooth wireless connection with the wireless network access point. For the situation that the wireless network access point generates the configuration file information after the communication terminal and the wireless network access point establish the bluetooth wireless connection, if the communication terminal actively reads the configuration file information from the wireless network access point after the communication terminal and the wireless network access point establish the bluetooth wireless connection, the problem that the configuration file information cannot be read by the communication terminal and needs to be read for many times because the wireless network access point does not generate the configuration file information may occur.
Optionally, another implementation manner of acquiring the profile information from the wireless network access point through the established bluetooth wireless connection may be as follows:
and receiving the configuration file information sent by the wireless network access point through the established Bluetooth wireless connection.
In the embodiment of the invention, after the communication terminal and the wireless network access point establish the Bluetooth wireless connection, the wireless network access point directly sends the configuration file information to the communication terminal.
Optionally, after the communication terminal and the wireless network access point establish a bluetooth wireless connection, the wireless network access point may determine, through a service discovery description file at the communication terminal side, whether the communication terminal supports accessing the wireless network through bluetooth, if the communication terminal supports accessing the wireless network through bluetooth, the communication terminal may register the preset service identifier in the service discovery description file, if the wireless network access point finds the preset service identifier in the service discovery description file, it is determined that the communication terminal supports accessing the wireless network through bluetooth, and after finding the preset service identifier, the wireless network access point sends configuration file information to the communication terminal.
The following provides a method of accessing a wireless network access point, which is applied to the wireless network access point.
Another implementation flowchart of the wireless network access method provided in the embodiment of the present invention is shown in fig. 2, and may include:
step S21: establishing Bluetooth wireless connection with a first low-power Bluetooth communication module of a communication terminal through a second low-power Bluetooth communication module of a wireless network access point;
in the embodiment of the invention, the communication terminal and the wireless network access point are both provided with the low-power-consumption Bluetooth communication module.
Step S22: preparing configuration file information to enable the communication terminal to acquire the configuration file information through the established Bluetooth wireless connection, wherein the configuration file information at least comprises: a service identifier and configuration information required for accessing the wireless network access point; the service identification represents the configuration file information used for the communication terminal to access the wireless network access point.
If the configuration file information is preset in the wireless network access point, after the communication terminal establishes Bluetooth wireless connection with the wireless network access point, the wireless network access point can directly wait for the communication terminal to read the configuration file information, or copy the configuration file information to a preset storage space for the communication terminal to read; if the wireless network node does not store the configuration file information, the wireless network access point automatically generates the configuration file information after the communication terminal establishes Bluetooth wireless connection with the wireless network access point.
The configuration information may also be different according to different security types of the wireless network access point, for example, for an open wireless network, the configuration information may only include an identifier of the wireless network access point; for encrypted networks, the configuration information also needs to include the password required to access the wireless network access point.
After the communication terminal establishes the bluetooth wireless connection with the wireless network access point, the manner of the communication terminal acquiring the configuration file information may be various: the communication terminal can actively read the configuration file information from the wireless network access point, or the configuration file information can be read after the wireless network access point informs the communication terminal that the configuration file information can be read, or the configuration file information is sent to the communication terminal by the wireless network access point.
The terminal can know that the configuration file information carries the configuration information of the access wireless network access point according to the service identifier, and the configuration information required by the access wireless network access point is analyzed from the configuration file information.
According to the wireless network access method provided by the embodiment of the invention, the communication terminal and the wireless network access point establish the Bluetooth wireless connection through the low-power-consumption Bluetooth communication module, the communication terminal can acquire the configuration information required for accessing the wireless network access point from the wireless network access point through the established Bluetooth wireless connection, so that the wireless network access point is automatically accessed according to the acquired configuration information, the communication terminal can automatically access the wireless network access point as long as a user starts the low-power-consumption Bluetooth communication module of the communication terminal, and the operation of the user when the communication terminal accesses the wireless network access point is simplified.
Optionally, one implementation manner of establishing the bluetooth wireless connection between the second bluetooth low energy communication module of the wireless network access point and the first bluetooth low energy communication module of the communication terminal may be:
the second low-power Bluetooth communication module works in the roles of peripheral equipment and central equipment at intervals; accordingly, the first bluetooth low energy communication module also operates in the peripheral device role and the central device role at intervals.
In the embodiment of the invention, the first low-power-consumption Bluetooth communication module and the second low-power-consumption Bluetooth communication module are switched between the roles of peripheral equipment and central equipment continuously.
The following takes the second bluetooth low energy communication module as an example to describe a specific implementation manner of working at the peripheral device role and the central device role at intervals: the second Bluetooth module switches to the central device role after the peripheral device role works for a time period of t3, switches to the peripheral device role after the central device role works for a time period of t4, switches to the central device role after the peripheral device role works for a time period of t3, switches to the peripheral device role after the central device role works for a time period of t4, and so on. Wherein t3 is different from t 4.
When the second bluetooth low energy communication module works in the role of the central device, if the first bluetooth low energy communication module is in the role of the peripheral device, the second bluetooth low energy communication module can receive the information (broadcast information for short) sent by the first bluetooth low energy communication module in a broadcast mode;
when the second bluetooth low energy communication module works in a peripheral device role and sends information in a broadcast mode, if the first bluetooth low energy communication module is in a central device role, the first bluetooth low energy communication module can receive the information sent by the second bluetooth low energy communication module in the broadcast mode.
When the second Bluetooth low energy communication module works in a central device role, the second Bluetooth low energy communication module receives broadcast information sent by the first Bluetooth low energy communication module, and when the signal intensity sent by the first Bluetooth low energy communication module is greater than a preset threshold value, the second Bluetooth low energy communication module sends a connection request to the first Bluetooth low energy communication module so as to establish Bluetooth wireless connection with the first Bluetooth low energy communication module.
When the second Bluetooth low energy communication module receives the broadcast information sent by the first Bluetooth low energy communication module and the signal intensity sent by the first Bluetooth low energy communication module is greater than a preset threshold value, the communication terminal and the wireless network access point are within a certain distance range.
When the second low-power-consumption Bluetooth communication module works in the role of peripheral equipment, the second low-power-consumption Bluetooth communication module sends information in a broadcasting mode;
if the first Bluetooth low energy communication module receives broadcast information sent by the second Bluetooth low energy communication module when working in a central device role, and the strength of a transmitting signal of the second Bluetooth low energy communication module is greater than a preset threshold value, the first Bluetooth low energy communication module sends a connection request to the second Bluetooth low energy communication module;
when the first Bluetooth low energy communication module receives the broadcast information sent by the second Bluetooth low energy communication module and the signal intensity sent by the second Bluetooth low energy communication module is greater than a preset threshold value, the communication terminal and the wireless network access point are within a certain distance range.
When the second Bluetooth low energy communication module receives the connection request sent by the first Bluetooth low energy communication module, the second Bluetooth low energy communication module establishes Bluetooth wireless connection with the first Bluetooth low energy communication module.
Optionally, one implementation manner that the second bluetooth low energy communication module operates in the peripheral device role and the central device role at intervals may be:
acquiring a random number;
a value can be randomly acquired within a preset range of values. For example, a value may be randomly obtained between 1-10.
The third time when the second low-power-consumption Bluetooth communication module works in the role of the peripheral equipment is H times of the acquired random number;
the fourth time when the second low-power-consumption Bluetooth communication module works in the role of the central equipment is K times of the acquired random number;
h and K are different positive numbers.
That is, if the acquired random number is P, a first duration of the first bluetooth low energy communication module working in the peripheral device role is H × P milliseconds, and a second duration of the first bluetooth low energy communication module working in the central device role is K × P milliseconds.
Alternatively, K may be 3 times H.
Optionally, after the configuration is prepared, the wireless network access method provided in the embodiment of the present invention may further include:
and sending the configuration file information to the communication terminal through the established Bluetooth wireless connection.
In the embodiment of the invention, after the communication terminal and the wireless network access point establish the Bluetooth wireless connection, the wireless network access point directly sends the configuration file information to the communication terminal.
Corresponding to the method embodiment, the embodiment of the invention also provides a wireless network access device. Corresponding to the method embodiment shown in fig. 1, a schematic structural diagram of a wireless network access apparatus provided in the embodiment of the present invention is shown in fig. 3, and may include:
a first bluetooth low energy communication module 31, an acquisition module 32 and an access module 33; wherein,
the first bluetooth low energy communication module 31 is used for establishing bluetooth wireless connection with a second bluetooth low energy communication module of the wireless network access point;
the obtaining module 32 is configured to obtain configuration file information from the wireless network access point through the established bluetooth wireless connection, where the configuration file information at least includes: service identification and configuration information required for accessing a wireless network access point; the service identification represents the configuration file information used for the communication terminal to access the wireless network access point;
the access module 33 is configured to access the wireless network access point based on the configuration information.
According to the wireless network access device provided by the embodiment of the invention, after the communication terminal and the wireless network access point establish the Bluetooth wireless connection through the low-power-consumption Bluetooth communication module, the communication terminal acquires the configuration information required for accessing the wireless network access point from the wireless network access point through the established Bluetooth wireless connection, so that the wireless network access point is automatically accessed according to the acquired configuration information, and the communication terminal can automatically access the wireless network access point as long as a user starts the low-power-consumption Bluetooth communication module of the communication terminal, so that the operation of the user when the communication terminal accesses the wireless network access point is simplified.
Optionally, a schematic structural diagram of the first bluetooth low energy communication module 31 provided in the embodiment of the present invention is shown in fig. 4, and may include:
a first control unit 41, configured to control the first bluetooth low energy communication module to work in a peripheral device role and a central device role at intervals; when the first Bluetooth low energy communication module works in the role of the central device, the first Bluetooth low energy communication module can receive information sent by a second Bluetooth low energy communication module in the role of the peripheral device in a broadcasting mode;
and the first connection unit 42 is configured to send a connection request to the second bluetooth low energy communication module to establish a bluetooth wireless connection with the second bluetooth low energy communication module when the first bluetooth low energy communication module receives the broadcast information sent by the second bluetooth low energy communication module and the signal intensity sent by the second bluetooth low energy communication module is greater than a preset threshold.
In the embodiment of the invention, if the first low-power-consumption Bluetooth communication module is connected with the second low-power-consumption Bluetooth communication module for the first time, the first low-power-consumption Bluetooth communication module is connected with the second low-power-consumption Bluetooth communication module after being paired in a just works mode. The pairing can be completed in the pairing mode without interaction with the user, and the user operation is further simplified.
Optionally, another schematic structural diagram of the first bluetooth low energy communication module 31 provided in the embodiment of the present invention is shown in fig. 5, and may include:
a first control unit 41, configured to control the first bluetooth low energy communication module to work in a peripheral device role and a central device role at intervals; when the first low-power-consumption Bluetooth communication module works in the role of peripheral equipment, the first low-power-consumption Bluetooth communication module sends information in a broadcasting mode;
and a second connection unit 51, configured to establish a bluetooth wireless connection with the second bluetooth low energy communication module when the first bluetooth low energy communication module receives the connection request sent by the second bluetooth low energy communication module.
Of course, in the embodiment of the present invention, the first control unit 41, the first connection unit 42, and the second connection unit 51 may be integrated into a same functional module.
Optionally, a schematic structural diagram of the first control unit 41 provided in the embodiment of the present invention is shown in fig. 6, and may include:
a first obtaining subunit 61, configured to obtain a random number;
a first determining subunit 62, configured to determine that a first duration of the first bluetooth low energy communication module operating in the role of the peripheral device is N times of the acquired random number, and a second duration of the first bluetooth low energy communication module operating in the role of the central device is M times of the acquired random number;
n and M are different positive numbers.
Optionally, the obtaining module 32 may be specifically configured to read the configuration file information from the wireless network access point through the established bluetooth wireless connection with the preset service identifier as a keyword.
Optionally, the obtaining module 32 may be specifically configured to, when receiving a reading notification sent by the wireless network access point through the established bluetooth wireless connection, read the configuration file information from the wireless network access point through the established bluetooth wireless connection by using the preset service identifier as a keyword.
Optionally, the obtaining module 32 may be specifically configured to receive the configuration file information sent by the wireless network access point through the established bluetooth wireless connection.
The embodiment of the invention also provides a communication terminal which is provided with the wireless network access device disclosed by any one of the device embodiments.
Corresponding to the method embodiment shown in fig. 2, another schematic structural diagram of a wireless network access apparatus provided in the embodiment of the present invention is shown in fig. 7, and may include:
a second bluetooth low energy communication module 71 and a preparation module 72; wherein,
the second bluetooth low energy communication module 71 is configured to establish a bluetooth wireless connection with the first bluetooth low energy communication module of the communication terminal;
the preparation module 72 is configured to prepare profile information, so that the communication terminal obtains the profile information through the established bluetooth wireless connection, where the profile information at least includes: a service identifier and configuration information required for accessing the wireless network access point; and the service identification representation configuration file information is used for the communication terminal to access the wireless network access point.
According to the wireless network access device provided by the embodiment of the invention, the communication terminal and the wireless network access point establish the Bluetooth wireless connection through the low-power-consumption Bluetooth communication module, and the communication terminal acquires the configuration information required for accessing the wireless network access point from the wireless network access point through the established Bluetooth wireless connection, so that the wireless network access point is automatically accessed according to the acquired configuration information.
Optionally, a schematic structural diagram of the second bluetooth low energy communication module 71 according to the embodiment of the present invention is shown in fig. 8, and may include:
the second control unit 81 is configured to control the second bluetooth low energy communication module to work in the peripheral device role and the central device role at intervals; when the second Bluetooth low energy communication module works in the role of the central device, the second Bluetooth low energy communication module can receive information sent by the first Bluetooth low energy communication module in the role of the peripheral device in a broadcasting mode;
and the third connecting unit 82 is configured to send a connection request to the first bluetooth low energy communication module to establish a bluetooth wireless connection with the first bluetooth low energy communication module when the second bluetooth low energy communication module receives the information sent by the first bluetooth low energy communication module and the strength of the signal sent by the first bluetooth low energy communication module is greater than a preset threshold value.
In the embodiment of the invention, if the first low-power-consumption Bluetooth communication module is connected with the second low-power-consumption Bluetooth communication module for the first time, the first low-power-consumption Bluetooth communication module is connected with the second low-power-consumption Bluetooth communication module after being paired in a just works mode. The pairing can be completed in the pairing mode without interaction with the user, and the user operation is further simplified.
Optionally, another schematic structural diagram of the second bluetooth low energy communication module 71 provided in the embodiment of the present invention is shown in fig. 9, and may include:
the second control unit 81 is configured to control the second bluetooth low energy communication module to work in the peripheral device role and the central device role at intervals; when the second low-power-consumption Bluetooth communication module works in the role of peripheral equipment, the second low-power-consumption Bluetooth communication module sends information in a broadcasting mode;
and a fourth connection unit 91, configured to establish a bluetooth wireless connection with the first bluetooth low energy communication module when the second bluetooth low energy communication module receives the connection request sent by the first bluetooth low energy communication module.
Optionally, a schematic structural diagram of the second control unit 81 provided in the embodiment of the present invention is shown in fig. 10, and may include:
a second obtaining subunit 101, configured to obtain a random number;
a second determining subunit 102, configured to determine that a first duration of a second bluetooth low energy communication module working in a role of a peripheral device is H times of the acquired random number; the second time when the second low-power-consumption Bluetooth communication module works in the role of the central equipment is K times of the acquired random number;
h and K are different positive numbers.
Optionally, the wireless network access method provided in the embodiment of the present invention may further include:
and the sending module is used for sending the prepared configuration file information to the communication terminal through the established Bluetooth wireless connection.
The embodiment of the invention also provides a wireless network access point, which comprises the wireless network access device applied to the wireless network access point.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (26)

1. A wireless network access method is applied to a communication terminal, and is characterized in that the method comprises the following steps:
establishing Bluetooth wireless connection with a second low-power Bluetooth communication module of a wireless network access point through a first low-power Bluetooth communication module of the communication terminal;
obtaining profile information from the wireless network access point via the established bluetooth wireless connection, the profile information at least comprising: a service identifier and configuration information required for accessing the wireless network access point; the service identification represents the configuration file information used for the communication terminal to access the wireless network access point;
accessing the wireless network access point based on the configuration information.
2. The method of claim 1, wherein the establishing a bluetooth wireless connection with a second bluetooth low energy communication module of a wireless network access point through a first bluetooth low energy communication module of the communication terminal comprises:
the first low-power Bluetooth communication module works in a peripheral device role and a central device role at intervals;
when the first bluetooth low energy communication module works in a central device role, the first bluetooth low energy communication module can receive information sent by a second bluetooth low energy communication module in a peripheral device role in a broadcasting mode;
when the first Bluetooth low energy communication module receives the broadcast information sent by the second Bluetooth low energy communication module and the signal intensity sent by the second Bluetooth low energy communication module is greater than a preset threshold value, a connection request is sent to the second Bluetooth low energy communication module to establish Bluetooth wireless connection with the second Bluetooth low energy communication module.
3. The method of claim 1, wherein the establishing a bluetooth wireless connection with a second bluetooth low energy communication module of a wireless network access point through a first bluetooth low energy communication module of the communication terminal comprises:
the first low-power Bluetooth communication module works in a peripheral device role and a central device role at intervals;
when the first Bluetooth low energy communication module works in the role of peripheral equipment, the first Bluetooth low energy communication module sends information in a broadcasting mode;
and when the first Bluetooth low energy communication module receives a connection request sent by the second Bluetooth low energy communication module, establishing Bluetooth wireless connection with the second Bluetooth low energy communication module.
4. The method of claim 2 or 3, wherein the first Bluetooth low energy communication module operating in the peripheral device role and the central device role at the interval of time comprises:
acquiring a random number;
the first duration of the first low-power Bluetooth communication module working in the role of the peripheral equipment is N times of the random number;
the second time when the first Bluetooth communication module works in the role of the central equipment is M times of the random number;
n and M are different positive numbers.
5. The method of any of claims 1-3, wherein obtaining profile information from the wireless network access point over the established Bluetooth wireless connection comprises:
and reading the configuration file information from the wireless network access point through the established Bluetooth wireless connection by taking a preset service identifier as a keyword.
6. The method of any of claims 1-3, wherein obtaining profile information from the wireless network access point over the established Bluetooth wireless connection comprises:
and when a reading notice sent by the wireless network access point through the established Bluetooth wireless connection is received, reading the configuration file information from the wireless network access point through the established Bluetooth wireless connection by taking a preset service identifier as a keyword.
7. The method of any of claims 1-3, wherein obtaining profile information from the wireless network access point over the established Bluetooth wireless connection comprises:
and receiving the configuration file information sent by the wireless network access point through the established Bluetooth wireless connection.
8. A wireless network access method is applied to a wireless network access point, and is characterized by comprising the following steps:
establishing Bluetooth wireless connection with a first low-power Bluetooth communication module of a communication terminal through a second low-power Bluetooth communication module of the wireless network access point;
preparing configuration file information to enable the communication terminal to acquire the configuration file information through the established Bluetooth wireless connection, wherein the configuration file information at least comprises: a service identifier and configuration information required for accessing the wireless network access point; the service identification represents the configuration file information used for the communication terminal to access the wireless network access point.
9. The method of claim 8, wherein the establishing a bluetooth wireless connection with a first bluetooth low energy communication module of a communication terminal through a second bluetooth low energy communication module of the wireless network access point comprises:
the second Bluetooth low energy communication module works in the roles of peripheral equipment and central equipment at intervals;
when the second bluetooth low energy communication module works in the role of the central device, the second bluetooth low energy communication module can receive information sent by the first bluetooth low energy communication module in the role of the peripheral device in a broadcasting mode;
when the second Bluetooth low energy communication module receives the information sent by the first Bluetooth low energy communication module and the signal intensity sent by the first Bluetooth low energy communication module is greater than a preset threshold value, a connection request is sent to the first Bluetooth low energy communication module to establish Bluetooth wireless connection with the first Bluetooth low energy communication module.
10. The method of claim 8, wherein the establishing a bluetooth wireless connection with a first bluetooth low energy communication module of a communication terminal through a second bluetooth low energy communication module of the wireless network access point comprises:
the second Bluetooth low energy communication module works in the roles of peripheral equipment and central equipment at intervals;
when the second Bluetooth low energy communication module works in the role of peripheral equipment, the second Bluetooth low energy communication module sends information in a broadcasting mode;
and when the second Bluetooth low energy communication module receives the connection request sent by the first Bluetooth low energy communication module, establishing Bluetooth wireless connection with the first Bluetooth low energy communication module.
11. The method of claim 9 or 10, wherein the second bluetooth low energy communication module operating in a peripheral device role and a central device role at intervals comprises:
acquiring a random number;
the time of the second low-power Bluetooth communication module working in the role of the peripheral equipment is H times of the random number;
the time of the second low-power-consumption Bluetooth communication module working in the role of the central equipment is K times of the random number;
h and K are different positive numbers.
12. The method of claim 8, after preparing the profile information, further comprising:
and sending the configuration file information to the communication terminal through the established Bluetooth wireless connection.
13. A wireless network access device applied to a communication terminal is characterized in that the device comprises:
the first low-power Bluetooth communication module is used for establishing Bluetooth wireless connection with a second low-power Bluetooth communication module of the wireless network access point;
an obtaining module, configured to obtain configuration file information from the wireless network access point through the established bluetooth wireless connection, where the configuration file information at least includes: a service identifier and configuration information required for accessing the wireless network access point; the service identification represents the configuration file information used for the communication terminal to access the wireless network access point;
and the access module is used for accessing the wireless network access point based on the configuration information.
14. The apparatus of claim 13, wherein the first bluetooth low energy communication module comprises:
the first control unit is used for controlling the first Bluetooth low energy communication module to work in a peripheral device role and a central device role at intervals; when the first bluetooth low energy communication module works in a central device role, the first bluetooth low energy communication module can receive information sent by a second bluetooth low energy communication module in a peripheral device role in a broadcasting mode;
and the first connecting unit is used for sending a connection request to the second Bluetooth low energy communication module to establish Bluetooth wireless connection with the second Bluetooth low energy communication module when the first Bluetooth low energy communication module receives the broadcast information sent by the second Bluetooth low energy communication module and the signal intensity sent by the second Bluetooth low energy communication module is greater than a preset threshold value.
15. The apparatus of claim 13, wherein the first bluetooth low energy communication module comprises:
the first control unit is used for controlling the first Bluetooth low energy communication module to work in a peripheral device role and a central device role at intervals; when the first Bluetooth low energy communication module works in the role of peripheral equipment, the first Bluetooth low energy communication module sends information in a broadcasting mode;
and the second connecting unit is used for establishing Bluetooth wireless connection with the second Bluetooth low energy communication module when the first Bluetooth low energy communication module receives the connection request sent by the second Bluetooth low energy communication module.
16. The apparatus according to claim 14 or 15, wherein the first control unit comprises:
the first acquisition subunit is used for acquiring a random number;
the first determining subunit is configured to determine that the duration of the first bluetooth low energy communication module working in the peripheral device role is N times of the random number, and the duration of the first bluetooth low energy communication module working in the central device role is M times of the random number;
n and M are different positive numbers.
17. The apparatus according to any of claims 13-15, wherein the obtaining module is configured to read the profile information from the wireless network access point through the established bluetooth wireless connection using a preset service identifier as a key.
18. The apparatus according to any of claims 13-15, wherein the obtaining module is configured to, when receiving a read notification sent by the wireless network access point through the established bluetooth wireless connection, read the profile information from the wireless network access point through the established bluetooth wireless connection by using a preset service identifier as a key.
19. The apparatus according to any of claims 13-15, wherein the obtaining module is configured to receive the profile information sent by the wireless network access point through the established bluetooth wireless connection.
20. A communication terminal, characterized in that it comprises a wireless network access device according to any of claims 13-19.
21. A wireless network access device applied to a wireless network access point is characterized in that the device comprises:
the second low-power-consumption Bluetooth communication module is used for establishing Bluetooth wireless connection with a first Bluetooth communication terminal of the communication terminals;
a preparation module, configured to prepare profile information, so that the communication module obtains the profile information through the established bluetooth wireless connection, where the profile information at least includes: a service identifier and configuration information required for accessing the wireless network access point; the service identification represents the configuration file information used for the communication terminal to access the wireless network access point.
22. The apparatus of claim 21, wherein the second bluetooth low energy communication module comprises:
the second control unit is used for controlling the second Bluetooth low energy communication module to work in a peripheral device role and a central device role at intervals; when the second bluetooth low energy communication module works in the role of the central device, the second bluetooth low energy communication module can receive information sent by the first bluetooth low energy communication module in the role of the peripheral device in a broadcasting mode;
and the third connecting unit is used for sending a connection request to the first Bluetooth low energy communication module to establish Bluetooth wireless connection with the first Bluetooth low energy communication module when the second Bluetooth low energy communication module receives the information sent by the first Bluetooth low energy communication module and the signal intensity sent by the first Bluetooth low energy communication module is greater than a preset threshold value.
23. The apparatus of claim 21, wherein the second bluetooth low energy communication module comprises:
the second control unit is used for controlling the second Bluetooth low energy communication module to work in a peripheral device role and a central device role at intervals; when the second Bluetooth low energy communication module works in the role of peripheral equipment, the second Bluetooth low energy communication module sends information in a broadcasting mode;
and the fourth connecting unit is used for establishing Bluetooth wireless connection with the first Bluetooth low energy communication module when the second Bluetooth low energy communication module receives the connection request sent by the first Bluetooth low energy communication module.
24. The apparatus according to claim 22 or 23, wherein the second control unit comprises:
the second acquisition subunit is used for acquiring a random number;
the second determining subunit is configured to determine that the duration of the second bluetooth low energy communication module working in the role of the peripheral device is H times of the random number; the time of the second low-power-consumption Bluetooth communication module working in the role of the central equipment is K times of the random number;
h and K are different positive numbers.
25. The apparatus of claim 21, further comprising:
and the sending module is used for sending the configuration file information to the communication terminal through the established Bluetooth wireless connection.
26. A wireless network access point, comprising the wireless network access device of any one of claims 21-25.
CN201610048847.6A 2016-01-25 2016-01-25 Access method, apparatus, communication terminal and the wireless network access point of wireless network Active CN105636161B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610048847.6A CN105636161B (en) 2016-01-25 2016-01-25 Access method, apparatus, communication terminal and the wireless network access point of wireless network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610048847.6A CN105636161B (en) 2016-01-25 2016-01-25 Access method, apparatus, communication terminal and the wireless network access point of wireless network

Publications (2)

Publication Number Publication Date
CN105636161A true CN105636161A (en) 2016-06-01
CN105636161B CN105636161B (en) 2019-10-22

Family

ID=56050519

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610048847.6A Active CN105636161B (en) 2016-01-25 2016-01-25 Access method, apparatus, communication terminal and the wireless network access point of wireless network

Country Status (1)

Country Link
CN (1) CN105636161B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792494A (en) * 2017-03-28 2017-05-31 深圳广世创科技有限公司 Wireless connection method and wireless system
CN106912085A (en) * 2017-04-25 2017-06-30 努比亚技术有限公司 A kind of client and WI FI connection methods
CN108260110A (en) * 2016-12-28 2018-07-06 中科创达软件股份有限公司 Wireless network access method, device, communication terminal and wireless access points
CN111586665A (en) * 2020-07-17 2020-08-25 支付宝(杭州)信息技术有限公司 Method and device for accessing wireless network
CN112004217A (en) * 2020-08-06 2020-11-27 Oppo(重庆)智能科技有限公司 Network access method, terminal and storage medium
WO2022252835A1 (en) * 2021-05-31 2022-12-08 深圳市道通科技股份有限公司 Vehicle diagnosis system and wifi connection method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281752A (en) * 2013-05-28 2013-09-04 北京推博信息技术有限公司 WIFI (wireless fidelity) network access method and device, electronic equipment and communication system
US20130259230A1 (en) * 2012-03-29 2013-10-03 Broadcom Corporation Bluetooth Low Energy Privacy
CN104469980A (en) * 2014-11-21 2015-03-25 广东欧珀移动通信有限公司 Bluetooth connecting method and Bluetooth equipment
CN104936134A (en) * 2015-06-02 2015-09-23 深圳市文鼎创数据科技有限公司 Method and system for pairing connection of terminal equipment
CN105022276A (en) * 2015-06-03 2015-11-04 泰凌微电子(上海)有限公司 Smart home system and data interaction method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130259230A1 (en) * 2012-03-29 2013-10-03 Broadcom Corporation Bluetooth Low Energy Privacy
CN103281752A (en) * 2013-05-28 2013-09-04 北京推博信息技术有限公司 WIFI (wireless fidelity) network access method and device, electronic equipment and communication system
CN104469980A (en) * 2014-11-21 2015-03-25 广东欧珀移动通信有限公司 Bluetooth connecting method and Bluetooth equipment
CN104936134A (en) * 2015-06-02 2015-09-23 深圳市文鼎创数据科技有限公司 Method and system for pairing connection of terminal equipment
CN105022276A (en) * 2015-06-03 2015-11-04 泰凌微电子(上海)有限公司 Smart home system and data interaction method thereof

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108260110A (en) * 2016-12-28 2018-07-06 中科创达软件股份有限公司 Wireless network access method, device, communication terminal and wireless access points
CN106792494A (en) * 2017-03-28 2017-05-31 深圳广世创科技有限公司 Wireless connection method and wireless system
CN106912085A (en) * 2017-04-25 2017-06-30 努比亚技术有限公司 A kind of client and WI FI connection methods
CN111586665A (en) * 2020-07-17 2020-08-25 支付宝(杭州)信息技术有限公司 Method and device for accessing wireless network
CN112004217A (en) * 2020-08-06 2020-11-27 Oppo(重庆)智能科技有限公司 Network access method, terminal and storage medium
CN112004217B (en) * 2020-08-06 2023-02-28 Oppo(重庆)智能科技有限公司 Network access method, terminal and storage medium
WO2022252835A1 (en) * 2021-05-31 2022-12-08 深圳市道通科技股份有限公司 Vehicle diagnosis system and wifi connection method

Also Published As

Publication number Publication date
CN105636161B (en) 2019-10-22

Similar Documents

Publication Publication Date Title
CN105636161B (en) Access method, apparatus, communication terminal and the wireless network access point of wireless network
US11979274B2 (en) Network management method and apparatus
EP3484196B1 (en) Method and apparatus for registering wireless device in wireless communication system
US10154526B2 (en) Network setup for limited user interface devices
CN111130957A (en) Network distribution method and device for household electrical appliance equipment
KR101328779B1 (en) Mobile terminal, server and information providing method using the same
JP6254747B2 (en) Information providing method, apparatus, program, and recording medium
CN105682093A (en) Wireless network access method and access device, and client
CN104349319B (en) A kind of method, apparatus and system for configuring more equipment
US9949116B2 (en) Method and apparatus for establishing SSID-based connection between terminal device and gateway device
TW201132213A (en) Method for automatic pairing to a wireless network
CN111263338B (en) Network distribution method of Bluetooth Mesh network, related network distribution equipment and system
US10750369B2 (en) Method, apparatus, and platform for sharing wireless local area network
WO2015098162A1 (en) Onboard device and control method for onboard device
US20120324553A1 (en) Method for the discovery and secure access to mobile devices in proximity by means of the use of a visual channel
EP3340669B1 (en) Methods and apparatuses for activating a mobile subscription
KR102214940B1 (en) Method and apparatus for registering wireless device in wireless communication system
CN106658488B (en) Intelligent household appliance and method and device for safely accessing intelligent household appliance
CN113395345A (en) Network distribution method and device of Internet of things equipment and storage medium
CN105704705A (en) Method for switching terminals with shared eSIM information, terminal and server
KR102390887B1 (en) Method and apparatus for registering wireless device in wireless communication system
WO2019011328A1 (en) Wireless access method and device
KR102045944B1 (en) Method and apparatus for wi-fi connecting using wi-fi protected setup in a portable terminal
CN105939516A (en) User authentication method and device
JP2017169158A (en) Communication apparatus, radio terminal, and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: Room 101-105, floor 1, Chuangda building, No. 9, Qinghua East Road, Haidian District, Beijing 100083 (Dongsheng District)

Patentee after: Thunder Software Technology Co., Ltd.

Address before: 100191 Beijing Haidian District Lung Cheung Road No. 1 Tai Xiang business building 4 layer 401-409

Patentee before: Thunder Software Technology Co., Ltd.