CN105636161B - Access method, apparatus, communication terminal and the wireless network access point of wireless network - Google Patents
Access method, apparatus, communication terminal and the wireless network access point of wireless network Download PDFInfo
- Publication number
- CN105636161B CN105636161B CN201610048847.6A CN201610048847A CN105636161B CN 105636161 B CN105636161 B CN 105636161B CN 201610048847 A CN201610048847 A CN 201610048847A CN 105636161 B CN105636161 B CN 105636161B
- Authority
- CN
- China
- Prior art keywords
- power consumption
- low
- wireless network
- communication module
- access point
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
- H04W48/10—Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing 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
The embodiment of the invention discloses a kind of wireless network access methods, device, communication terminal and wireless network access point, communication terminal establishes bluetooth wireless connection by low-power consumption bluetooth communication module with wireless network access point, communication terminal passes through established bluetooth wireless connection from configuration information needed for wireless network access point acquisition access wireless network access point, to automatically access wireless network access point according to acquired configuration information, as long as the low-power consumption bluetooth communication module of user's open communication terminal, communication terminal can automatically access wireless network access point, the operation of user when simplifying communication terminal access wireless network access point.
Description
Technical field
The present invention relates to fields of communication technology, more specifically to a kind of method, apparatus for accessing wireless network, lead to
Believe terminal and wireless network access point.
Background technique
Currently, more and more communication terminals (such as mobile phone, tablet computer) can be by accessing wireless network access point
((Access Point, AP) accesses internet, and accesses wireless network for the first time and user is needed to be done as follows: selection is wanted to connect
The AP equipment connect, the information such as input password, click are authenticated.Obviously, it needs and uses when communication terminal access internet
Family is repeatedly interacted, so that the operation of user is comparatively laborious.Therefore, how to simplify communication terminal access wireless network access point
When user operation become urgent problem to be solved.
Summary of the invention
The object of the present invention is to provide a kind of method, apparatus for accessing wireless network, communication terminal and wireless network accesses
Point, the operation of user when simplifying communication terminal access wireless network access point.
To achieve the above object, the present invention provides the following technical scheme that
A kind of wireless network access method is applied to communication terminal, which comprises
Pass through the first low-power consumption bluetooth communication module of the communication terminal and the second low-power consumption of wireless network access point
Bluetooth communication establishes bluetooth wireless connection;
Profile information, the configuration are obtained from the wireless network access point by the bluetooth wireless connection established
It is included at least in the file information: configuration information needed for service identifiers, and the access wireless network access point;The service
Mark characterizes the profile information and accesses the wireless network access point for the communication terminal;
The wireless network access point is accessed based on the configuration information.
The above method, it is preferred that the first low-power consumption bluetooth communication module and wireless network by the communication terminal
Second low-power consumption bluetooth communication module of network access point establishes bluetooth wireless connection and includes:
The first low-power consumption bluetooth communication module interval work is in surrounding devices role and central equipment role;
When the first low-power consumption bluetooth communication module work is in central equipment role, first low-power consumption bluetooth is logical
Letter module can receive the information that the second low-power consumption bluetooth communication module in surrounding devices role is sent with broadcast mode;
When the first low-power consumption bluetooth communication module receives the wide of the second low-power consumption bluetooth communication module transmission
Broadcast information, and when the signal strength of the second low-power consumption bluetooth communication module transmitting is greater than preset threshold, Xiang Suoshu second is low
Power consumption bluetooth communication sends connection request to establish bluetooth wireless connection with the second low-power consumption bluetooth communication module.
The above method, it is preferred that the first low-power consumption bluetooth communication module and wireless network by the communication terminal
Second low-power consumption bluetooth communication module of network access point establishes bluetooth wireless connection and includes:
The first low-power consumption bluetooth communication module interval work is in surrounding devices role and central equipment role;
When the first low-power consumption bluetooth communication module work is in surrounding devices role, first low-power consumption bluetooth is logical
Believe that module sends information by broadcast mode;
When the first low-power consumption bluetooth communication module receives the company that the second low-power consumption bluetooth communication module is sent
When connecing request, bluetooth wireless connection is established with the second low-power consumption bluetooth communication module.
The above method, it is preferred that the first low-power consumption bluetooth communication module is spaced work at surrounding devices angle at times
Color and central equipment role include:
Obtain a random number;
The N of first low-power consumption bluetooth communication module work a length of random number in the first of surrounding devices role
Times;
The M of first low-power consumption bluetooth communication module work a length of random number in the second of central equipment role
Times;
N is different positive numbers from M.
The above method, it is preferred that the bluetooth wireless connection by being established is obtained from the wireless network access point
Profile information includes:
Using preset service identifiers as keyword, by the bluetooth wireless connection established from the wireless network access point
Read the profile information.
The above method, it is preferred that the bluetooth wireless connection by being established is obtained from the wireless network access point
Profile information includes:
When receiving the reading notice that the wireless network access point is sent by established bluetooth wireless connection, with
Preset service identifiers are keyword, by the bluetooth wireless connection established from the wireless network access point read described in match
Set the file information.
The above method, it is preferred that the bluetooth wireless connection by being established is obtained from the wireless network access point
Profile information includes:
Receive the profile information that the wireless network access point is sent by established bluetooth wireless connection.
A kind of wireless network access method is applied to wireless network access point, which comprises
Pass through the second low-power consumption bluetooth communication module of the wireless network access point and the first low-power consumption of communication terminal
Bluetooth communication establishes bluetooth wireless connection;
Prepare profile information, so that the communication terminal obtains the configuration by established bluetooth wireless connection
The file information includes at least in the profile information: needed for service identifiers, and the access wireless network access point
Configuration information;The service identifiers characterize the profile information and access the wireless network access for the communication terminal
Point.
The above method, it is preferred that the second low-power consumption bluetooth communication module by the wireless network access point with
First low-power consumption bluetooth communication module of communication terminal establishes bluetooth wireless connection and includes:
The second low-power consumption bluetooth communication module interval work is in surrounding devices role and central equipment role;
When the second low-power consumption bluetooth communication module work is in central equipment role, second low-power consumption bluetooth is logical
Letter module can receive the information that the first low-power consumption bluetooth communication module in surrounding devices role is sent with broadcast mode;
When the second low-power consumption bluetooth communication module receives the letter that the first low-power consumption bluetooth communication module is sent
Breath, and the first low-power consumption bluetooth communication module transmitting signal strength be greater than preset threshold when, the first low-power consumption of Xiang Suoshu
Bluetooth communication sends connection request to establish bluetooth wireless connection with the first low-power consumption bluetooth communication module.
The above method, it is preferred that the second low-power consumption bluetooth communication module by the wireless network access point with
First low-power consumption bluetooth communication module of communication terminal establishes bluetooth wireless connection and includes:
The second low-power consumption bluetooth communication module interval work is in surrounding devices role and central equipment role;
When the second low-power consumption bluetooth communication module work is in surrounding devices role, second low-power consumption bluetooth is logical
Believe that module sends information by broadcast mode;
When the second low-power consumption bluetooth communication module receives the company that the first low-power consumption bluetooth communication module is sent
When connecing request, bluetooth wireless connection is established with the first low-power consumption bluetooth communication module.
The above method, it is preferred that the second low-power consumption bluetooth communication module interval work is in surrounding devices role in
Centre device role include:
Obtain a random number;
Second low-power consumption bluetooth communication module work surrounding devices role when H times of a length of random number;
Second low-power consumption bluetooth communication module work central equipment role when K times of a length of random number;
H is different positive numbers from K.
The above method, it is preferred that after preparing profile information, further includes:
The profile information is sent to the communication terminal by the bluetooth wireless connection established.
A kind of Wireless network connection equipment, is applied to communication terminal, and described device includes:
First low-power consumption bluetooth communication module is built for the second low-power consumption bluetooth communication module with wireless network access point
Vertical bluetooth wireless connection;
Module is obtained, for obtaining configuration file from the wireless network access point by established bluetooth wireless connection
Information includes at least in the profile information: configuration needed for service identifiers, and the access wireless network access point
Information;The service identifiers characterize the profile information and access the wireless network access point for the communication terminal;
AM access module, for accessing the wireless network access point based on the configuration information.
Above-mentioned apparatus, it is preferred that the first low-power consumption bluetooth communication module includes:
First control unit, for controlling the first low-power consumption bluetooth communication module interval work in surrounding devices role
With central equipment role;When the first low-power consumption bluetooth communication module work in central equipment role, the first low function
Consumption bluetooth communication can receive the second low-power consumption bluetooth communication module in surrounding devices role and be sent with broadcast mode
Information;
First connection unit, for receiving second low-power consumption bluetooth when the first low-power consumption bluetooth communication module
The broadcast message that communication module is sent, and the signal strength of the second low-power consumption bluetooth communication module transmitting is greater than preset threshold
When, Xiang Suoshu the second low-power consumption bluetooth communication module sends connection request to establish with the second low-power consumption bluetooth communication module
Bluetooth wireless connection.
Above-mentioned apparatus, it is preferred that the first low-power consumption bluetooth communication module includes:
First control unit, for controlling the first low-power consumption bluetooth communication module interval work in surrounding devices role
With central equipment role;When the first low-power consumption bluetooth communication module work in surrounding devices role, the first low function
It consumes bluetooth communication and information is sent by broadcast mode;
Second connection unit, for receiving second low-power consumption bluetooth when the first low-power consumption bluetooth communication module
When the connection request that communication module is sent, bluetooth wireless connection is established with the second low-power consumption bluetooth communication module.
Above-mentioned apparatus, it is preferred that the first control unit includes:
First obtains subelement, for obtaining a random number;
First determines subelement, for determining the first low-power consumption bluetooth communication module work at the surrounding devices angle
Color when N times of a length of random number, the first low-power consumption bluetooth communication module work is the central equipment role's
M times of random number described in Shi Changwei;
N is different positive numbers from M.
Above-mentioned apparatus, it is preferred that the acquisition module is used for, using preset service identifiers as keyword, by being established
Bluetooth wireless connection read the profile information from the wireless network access point.
Above-mentioned apparatus, it is preferred that the acquisition module is used for, when receiving the wireless network access point by being established
Bluetooth wireless connection send reading notice when, it is wireless by the bluetooth established using preset service identifiers as keyword
Connection reads the profile information from the wireless network access point.
Above-mentioned apparatus, it is preferred that the acquisition module is used for, and is received the wireless network access point and is passed through established indigo plant
Tooth is wirelessly connected the profile information sent.
A kind of communication terminal, including Wireless network connection equipment described in any one as above.
A kind of Wireless network connection equipment, is applied to wireless network access point, and described device includes:
Second low-power consumption bluetooth communication module is established bluetooth for the first Bluetooth communication terminal with communication terminal and is wirelessly connected
It connects;
Preparation module, for preparing profile information, so that the communication module is wirelessly connected by established bluetooth
It obtains and takes the profile information, included at least in the profile information: service identifiers, and the access wireless network
Configuration information needed for network access point;The service identifiers characterize the profile information and access institute for the communication terminal
State wireless network access point.
Above-mentioned apparatus, it is preferred that the second low-power consumption bluetooth communication module includes:
Second control unit, for controlling the second low-power consumption bluetooth communication module interval work in surrounding devices role
With central equipment role;When the second low-power consumption bluetooth communication module work in central equipment role, the second low function
Consumption bluetooth communication can receive the first low-power consumption bluetooth communication module in surrounding devices role and be sent with broadcast mode
Information;
Third connection unit, for receiving first low-power consumption bluetooth when the second low-power consumption bluetooth communication module
Communication module send information, and the first low-power consumption bluetooth communication module transmitting signal strength be greater than preset threshold when,
It is blue to establish with the first low-power consumption bluetooth communication module that connection request is sent to the first low-power consumption bluetooth communication module
Tooth is wirelessly connected.
Above-mentioned apparatus, it is preferred that the second low-power consumption bluetooth communication module includes:
Second control unit, for controlling the second low-power consumption bluetooth communication module interval work in surrounding devices role
With central equipment role;When the second low-power consumption bluetooth communication module work in surrounding devices role, the second low function
It consumes bluetooth communication and information is sent by broadcast mode;
4th connection unit, for receiving first low-power consumption bluetooth when the second low-power consumption bluetooth communication module
When the connection request that communication module is sent, bluetooth wireless connection is established with the first low-power consumption bluetooth communication module.
Above-mentioned apparatus, it is preferred that second control unit includes:
Second obtains subelement, for obtaining a random number;
Second determines subelement, for determining the second low-power consumption bluetooth communication module work surrounding devices role's
H times of random number described in Shi Changwei;When a length of institute of the second low-power consumption bluetooth communication module work in central equipment role
K times for stating random number;
H is different positive numbers from K.
Above-mentioned apparatus, it is preferred that further include:
Sending module, for the profile information to be sent to the communication by established bluetooth wireless connection
Terminal.
A kind of wireless network access point, including Wireless network connection equipment as described above.
By above scheme it is found that a kind of wireless network access method provided by the present application, device, communication terminal and wireless
Network access point, communication terminal and wireless network access point establish bluetooth wireless connection by bluetooth by wireless network, communicate
Terminal passes through established bluetooth wireless connection from configuration needed for wireless network access point acquisition access wireless network access point
Information, so that wireless network access point is automatically accessed according to acquired configuration information, as long as user's open communication terminal is low
Power consumption bluetooth communication, communication terminal can automatically access wireless network access point, and it is wireless to simplify communication terminal access
The operation of user when network access point.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of implementation flow chart of wireless network access method provided in an embodiment of the present invention;
Fig. 2 is another implementation flow chart of wireless network access method provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of Wireless network connection equipment provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of the first low-power consumption bluetooth communication module provided in an embodiment of the present invention;
Fig. 5 is another structural schematic diagram of the first low-power consumption bluetooth communication module provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of first control unit provided in an embodiment of the present invention;
Fig. 7 is another structural schematic diagram of Wireless network connection equipment provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of the second low-power consumption bluetooth communication module provided in an embodiment of the present invention;
Fig. 9 is another structural schematic diagram of the second low-power consumption bluetooth communication module provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of the second control unit provided in an embodiment of the present invention.
Specification and claims and term " first " in above-mentioned attached drawing, " second ", " third " " the 4th " etc. (if
In the presence of) it is part for distinguishing similar, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so that embodiments herein described herein can be in addition to illustrating herein
Sequence in addition is implemented.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under that premise of not paying creative labor
Embodiment shall fall within the protection scope of the present invention.
The embodiment of the present invention provides the method for the access wireless network access point applied to communication terminal first.
Referring to Fig. 1, Fig. 1 is a kind of implementation flow chart of wireless network access method provided in an embodiment of the present invention, it can
To include:
Step S11: communication terminal passes through the first low-power consumption bluetooth communication module function low with the second of wireless network access point
Consumption bluetooth communication establishes bluetooth wireless connection;
In the embodiment of the present invention, communication terminal and wireless network access point all have low-power consumption bluetooth communication module.
Step S12: communication terminal obtains configuration file from wireless network access point by established bluetooth wireless connection
(Profile) information includes at least in profile information: matching needed for service identifiers, and access wireless network access point
Confidence breath;Service identifiers characterize profile information and access wireless network access point for communication terminal;
After communication terminal and wireless network access point establish bluetooth wireless connection, communication terminal obtains above-mentioned configuration file letter
The mode of breath can there are many: communication terminal can actively be read from wireless network access point by the bluetooth wireless connection established
Above-mentioned profile information is taken, communication terminal can also be notified by established bluetooth wireless connection in wireless network access point
It is read again by established bluetooth wireless connection after above-mentioned profile information can be read, alternatively, being accessed by wireless network
Profile information is sent to communication terminal by established bluetooth wireless connection by point.
Communication terminal is known that in above-mentioned profile information according to service identifiers carries access wireless network access
The configuration information of point, the configuration information needed for parsing access wireless network access point in profile information.
Different according to the security type of wireless network access point, configuration information can also be different, for example, for open nothing
Gauze network can only include the mark of wireless network access point in configuration information;And for the network of encryption, then in configuration information
It also needs to include password needed for access wireless network access point.
Step S13: communication terminal is based on the configuration information and accesses wireless network access point.
Based on the mark of the wireless network access point in configuration information, communication terminal, which can determine, needs to access which wirelessly
Network access point, communication terminal sends access request to wireless network access point according to the mark of wireless network access point, if needing
It authenticates, then the password in configuration information is also sent to wireless network access point and authenticated by communication terminal, after certification passes through
Access wireless network access point.
Wireless network access method provided in an embodiment of the present invention, communication terminal and wireless network access point pass through low-power consumption
Bluetooth communication establishes bluetooth wireless connection, and communication terminal passes through established bluetooth wireless connection from wireless network access point
Configuration information needed for obtaining access wireless network access point, to automatically access wireless network according to acquired configuration information
Access point, as long as the low-power consumption bluetooth communication module of user's open communication terminal, communication terminal can automatically access wireless network
Network access point, the operation of user when simplifying communication terminal access wireless network access point.
Optionally, pass through the first low-power consumption bluetooth communication module of communication terminal function low with the second of wireless network access point
A kind of implementation that consumption bluetooth communication establishes bluetooth wireless connection can be with are as follows:
First low-power consumption bluetooth communication module interval works in surrounding devices role (Central) and central equipment role
(Periphery);Correspondingly, the second low-power consumption bluetooth communication module is also spaced work in surrounding devices role and central equipment angle
Color.
In the embodiment of the present invention, the first low-power consumption bluetooth communication module and the second low-power consumption bluetooth communication module constantly exist
Switch between surrounding devices role and central equipment role.
Illustrate interval work in surrounding devices role and central equipment by taking the first low-power consumption bluetooth communication module as an example below
The specific implementation of role: the first bluetooth module is worked in surrounding devices role after t1 duration, switches to central equipment role,
After central equipment role works t2 duration, then surrounding devices role is switched to, after surrounding devices role works t1 duration, then
Central equipment role is switched to, after central equipment role works t2 duration, then switches to surrounding devices role, and so on.
Wherein, t1 is different from t2.
When the work of the first low-power consumption bluetooth communication module is in central equipment role, if the second low-power consumption bluetooth communication module
In surrounding devices role, the first low-power consumption bluetooth communication module can receive the second low-power consumption bluetooth communication module with broadcaster
The information (referred to as broadcast message) that formula is sent;
When the work of the first low-power consumption bluetooth communication module is in surrounding devices role, when sending information by broadcast mode, if
Second low-power consumption bluetooth communication module is in central equipment role, and the second low-power consumption bluetooth communication module can receive low to first
The information that power consumption bluetooth communication is sent with broadcast mode.
The communication of the second low-power consumption bluetooth is received when the first low-power consumption bluetooth communication module works in central equipment role
Module send broadcast message, and the second low-power consumption bluetooth communication module transmitting signal strength be greater than preset threshold when, first
Low-power consumption bluetooth communication module sends connection request to the second low-power consumption bluetooth communication module to communicate with the second low-power consumption bluetooth
Module establishes bluetooth wireless connection.
In the embodiment of the present invention, if the first low-power consumption bluetooth communication module and the second low-power consumption bluetooth communication module are for the first time
Connection, then the first low-power consumption bluetooth communication module is matched with the second low-power consumption bluetooth communication module by Just Works mode
It is attached to after.It is not necessarily to that pairing can be completed with user interaction by this kind of matching method, is further simplified user's operation.
When the first low-power consumption bluetooth communication module receive the second low-power consumption bluetooth communication module transmission broadcast message, and
When the signal strength of second low-power consumption bluetooth communication module transmitting is greater than preset threshold, illustrate that communication terminal and wireless network access
Point is within the scope of a certain distance.
When the work of the first low-power consumption bluetooth communication module is in surrounding devices role, the first low-power consumption bluetooth communication module is logical
It crosses broadcast mode and sends information;
If the work of the second low-power consumption bluetooth communication module receives the communication of the first low-power consumption bluetooth in central equipment role
Module send broadcast message, and the first low-power consumption bluetooth communication module transmitting signal intensity be greater than preset threshold, second
Low-power consumption bluetooth communication module sends connection request to the first low-power consumption bluetooth communication module;
When the second low-power consumption bluetooth communication module receive the first low-power consumption bluetooth communication module transmission broadcast message, and
When the signal strength of first low-power consumption bluetooth communication module transmitting is greater than preset threshold, illustrate that communication terminal and wireless network access
Point is within the scope of a certain distance.
When the first low-power consumption bluetooth communication module receives the connection request of the second low-power consumption bluetooth communication module transmission,
Bluetooth wireless connection is established with the second low-power consumption bluetooth communication module.
Optionally, the first low-power consumption bluetooth communication module is spaced work in surrounding devices role and central equipment angle at times
A kind of implementation of color can be with are as follows:
Obtain a random number;
A numerical value can be obtained at random within the scope of default value.For example, one can be obtained at random between 1-10
Numerical value.
The N of first low-power consumption bluetooth communication module work a length of acquired random number in the first of surrounding devices role
Times;
The M of first low-power consumption bluetooth communication module work a length of acquired random number in the second of central equipment role
Times;
N is different positive numbers from M.
That is, the first low-power consumption bluetooth communication module works at surrounding devices angle if acquired random number is R
Color first when it is N*R milliseconds a length of, the first low-power consumption bluetooth communication module work in the second of central equipment role a length of M*R
Millisecond.
Optionally, M can be 3 times of N.
Optionally, one kind of profile information is obtained from wireless network access point by the bluetooth wireless connection established
Implementation can be with are as follows:
Using preset service identifiers as keyword, read by the bluetooth wireless connection established from wireless network access point
Profile information.
If communication terminal is supported to automatically access wireless network access point by bluetooth, communication terminal can preset service mark
Know, in order to obtain profile information from wireless network access point by the service identifiers.
In the embodiment of the present invention, after communication terminal and wireless network access point establish bluetooth wireless connection, communication terminal
Actively from wireless network access point reading configuration file information.
Optionally, the another of profile information is obtained from wireless network access point by the bluetooth wireless connection established
Kind of implementation can be with are as follows:
When receiving the reading notice that wireless network access point is sent by established bluetooth wireless connection, with preset
Service identifiers be keyword, the configuration file is read from wireless network access point by the bluetooth wireless connection established and is believed
Breath.
In the embodiment of the present invention, after communication terminal and wireless network access point establish bluetooth wireless connection, communication terminal
Not instead of not actively from wireless network access point reading configuration file information, read in wireless network access point notice communication terminal
When profile information, ability reading configuration file information.
For wireless network access point, wireless network access point may be prefixed profile information, it is also possible to
Communication terminal and wireless network access point, which are established, just generates above-mentioned profile information after bluetooth wireless connection.For wireless network
Access point just generates the feelings of above-mentioned profile information after communication terminal and wireless network access point establish bluetooth wireless connection
Condition, if communication terminal is actively accessed from wireless network after communication terminal and wireless network access point establish bluetooth wireless connection
Point reading configuration file information, it is likely that wireless network access point occur and do not generate profile information also leading to communication terminal
Can not reading configuration file information, and need repeatedly read the problem of.
Optionally, the another of profile information is obtained from wireless network access point by the bluetooth wireless connection established
Kind of implementation can be with are as follows:
Receive the profile information that wireless network access point is sent by established bluetooth wireless connection.
In the embodiment of the present invention, after communication terminal and wireless network access point establish bluetooth wireless connection, by wireless network
Profile information is directly sent to communication terminal by network access point.
Optionally, after communication terminal and wireless network access point establish bluetooth wireless connection, wireless network access point can
File, which is described, with the service discovery by communication terminal side judges whether communication terminal is supported to access wireless network by bluetooth, if
Communication terminal supports that, by bluetooth access wireless network, the service identifiers of aforementioned preset can be registered to service hair by communication terminal
It now describes in file, if wireless network access point describes to find above-mentioned preset service identifiers in file in service discovery, really
Determine communication terminal to support to access wireless network by bluetooth, after finding above-mentioned preset service identifiers, wireless network access point
Profile information is sent to communication terminal.
The method that the access wireless network access point applied to wireless network access point is provided below.
Another implementation flow chart of wireless network access method provided in an embodiment of the present invention is as shown in Fig. 2, can wrap
It includes:
Step S21: low with the first of communication terminal by the second low-power consumption bluetooth communication module of wireless network access point
Power consumption bluetooth communication establishes bluetooth wireless connection;
In the embodiment of the present invention, communication terminal and wireless network access point all have low-power consumption bluetooth communication module.
Step S22: preparing profile information, so that the communication terminal is obtained by established bluetooth wireless connection
The profile information includes at least in the profile information: service identifiers, and the access wireless network access
Configuration information needed for point;It is described wireless for communication terminal access that the service identifiers characterize the profile information
Network access point.
If presetting profile information in wireless network access points, established in communication terminal and wireless network access point blue
After tooth is wirelessly connected, wireless network access point can directly wait communication terminal to read the profile information, alternatively, this is matched
It sets the file information and copies to predetermined memory space for communication terminal reading;If without storing above-mentioned configuration text in wireless network node
Part information, then after communication terminal and wireless network access point establish bluetooth wireless connection, wireless network access point is automatically generated
The profile information.
Different according to the security type of wireless network access point, configuration information can also be different, for example, for open nothing
Gauze network can only include the mark of wireless network access point in configuration information;And for the network of encryption, then in configuration information
It also needs to include password needed for access wireless network access point.
After communication terminal and wireless network access point establish bluetooth wireless connection, communication terminal obtains above-mentioned configuration file letter
The mode of breath can there are many: communication terminal actively can read above-mentioned profile information from wireless network access point, can also
To be read again after wireless network access point notice communication terminal can read above-mentioned profile information, alternatively, by wireless network
Profile information is sent to communication terminal by network access point.
Terminal is known that according to service identifiers carries access wireless network access point in above-mentioned profile information
Configuration information, the configuration information needed for parsing access wireless network access point in profile information.
Wireless network access method provided in an embodiment of the present invention, communication terminal and wireless network access point pass through low-power consumption
Bluetooth communication establishes bluetooth wireless connection, and communication terminal can be connect by the bluetooth wireless connection established from wireless network
Configuration information needed for access point obtains access wireless network access point, to be automatically accessed wirelessly according to acquired configuration information
Network access point, as long as the low-power consumption bluetooth communication module of user's open communication terminal, communication terminal can automatically access nothing
Line network access point, the operation of user when simplifying communication terminal access wireless network access point.
Optionally, pass through the second low-power consumption bluetooth communication module of wireless network access point function low with the first of communication terminal
A kind of implementation that consumption bluetooth communication establishes bluetooth wireless connection can be with are as follows:
Second low-power consumption bluetooth communication module interval works in surrounding devices role and central equipment role;Correspondingly, the
One low-power consumption bluetooth communication module is also spaced work in surrounding devices role and central equipment role.
In the embodiment of the present invention, the first low-power consumption bluetooth communication module and the second low-power consumption bluetooth communication module constantly exist
Switch between surrounding devices role and central equipment role.
Illustrate interval work in surrounding devices role and central equipment by taking the second low-power consumption bluetooth communication module as an example below
The specific implementation of role: the second bluetooth module is worked in surrounding devices role after t3 duration, switches to central equipment role,
After central equipment role works t4 duration, then surrounding devices role is switched to, after surrounding devices role works t3 duration, then
Central equipment role is switched to, after central equipment role works t4 duration, then switches to surrounding devices role, and so on.
Wherein, t3 is different from t4.
When the work of the second low-power consumption bluetooth communication module is in central equipment role, if the first low-power consumption bluetooth communication module
In surrounding devices role, the second low-power consumption bluetooth communication module can receive the first low-power consumption bluetooth communication module with broadcaster
The information (referred to as broadcast message) that formula is sent;
When the work of the second low-power consumption bluetooth communication module is in surrounding devices role, when sending information by broadcast mode, if
First low-power consumption bluetooth communication module is in central equipment role, and the first low-power consumption bluetooth communication module can receive low to second
The information that power consumption bluetooth communication is sent with broadcast mode.
The communication of the first low-power consumption bluetooth is received when the second low-power consumption bluetooth communication module works in central equipment role
Module send broadcast message, and the first low-power consumption bluetooth communication module transmitting signal strength be greater than preset threshold when, second
Low-power consumption bluetooth communication module sends connection request to the first low-power consumption bluetooth communication module to communicate with the first low-power consumption bluetooth
Module establishes bluetooth wireless connection.
When the second low-power consumption bluetooth communication module receive the first low-power consumption bluetooth communication module transmission broadcast message, and
When the signal strength of first low-power consumption bluetooth communication module transmitting is greater than preset threshold, illustrate that communication terminal and wireless network access
Point is within the scope of a certain distance.
When the work of the second low-power consumption bluetooth communication module is in surrounding devices role, the second low-power consumption bluetooth communication module is logical
It crosses broadcast mode and sends information;
If the work of the first low-power consumption bluetooth communication module receives the communication of the second low-power consumption bluetooth in central equipment role
Module send broadcast message, and the second low-power consumption bluetooth communication module transmitting signal intensity be greater than preset threshold, first
Low-power consumption bluetooth communication module sends connection request to the second low-power consumption bluetooth communication module;
When the first low-power consumption bluetooth communication module receive the second low-power consumption bluetooth communication module transmission broadcast message, and
When the signal strength of second low-power consumption bluetooth communication module transmitting is greater than preset threshold, illustrate that communication terminal and wireless network access
Point is within the scope of a certain distance.
When the second low-power consumption bluetooth communication module receives the connection request of the first low-power consumption bluetooth communication module transmission,
Bluetooth wireless connection is established with the first low-power consumption bluetooth communication module.
Optionally, the work of the second low-power consumption bluetooth communication module interval is the one of surrounding devices role and central equipment role
Kind of implementation can be with are as follows:
Obtain a random number;
A numerical value can be obtained at random within the scope of default value.For example, one can be obtained at random between 1-10
Numerical value.
The H of second low-power consumption bluetooth communication module work a length of acquired random number in the third of surrounding devices role
Times;
The K of second low-power consumption bluetooth communication module work a length of acquired random number in the 4th of central equipment role
Times;
H is different positive numbers from K.
That is, the first low-power consumption bluetooth communication module works at surrounding devices angle if acquired random number is P
Color first when it is H*P milliseconds a length of, the first low-power consumption bluetooth communication module work in the second of central equipment role a length of K*P
Millisecond.
Optionally, K can be 3 times of H.
Optionally, after preparing above-mentioned configuration, wireless network access method provided in an embodiment of the present invention can also be wrapped
It includes:
Profile information is sent to communication terminal by the bluetooth wireless connection established.
In the embodiment of the present invention, after communication terminal and wireless network access point establish bluetooth wireless connection, by wireless network
Profile information is directly sent to communication terminal by network access point.
Corresponding with embodiment of the method, the embodiment of the present invention also provides a kind of Wireless network connection equipment.With side shown in Fig. 1
Method embodiment is corresponding, and a kind of structural schematic diagram of Wireless network connection equipment provided in an embodiment of the present invention is as shown in figure 3, can
To include:
First low-power consumption bluetooth communication module 31 obtains module 32 and AM access module 33;Wherein,
First low-power consumption bluetooth communication module 31 is for the second low-power consumption bluetooth communication module with wireless network access point
Establish bluetooth wireless connection;
Module 32 is obtained to be used to obtain configuration file letter from wireless network access point by established bluetooth wireless connection
It ceases, is included at least in profile information: configuration information needed for service identifiers, and access wireless network access point;It is described
Service identifiers characterize the profile information and access the wireless network access point for the communication terminal;
AM access module 33 is used to access the wireless network access point based on the configuration information.
Wireless network connection equipment provided in an embodiment of the present invention so that communication terminal and wireless network access point pass through it is low
After power consumption bluetooth communication establishes bluetooth wireless connection, communication terminal passes through established bluetooth wireless connection from wireless network
Configuration information needed for access point obtains access wireless network access point, to automatically access nothing according to acquired configuration information
Line network access point, as long as the low-power consumption bluetooth communication module of user's open communication terminal, communication terminal can automatically access
Wireless network access point, the operation of user when simplifying communication terminal access wireless network access point.
Optionally, a kind of structural schematic diagram of the first low-power consumption bluetooth communication module 31 provided in an embodiment of the present invention is as schemed
Shown in 4, may include:
First control unit 41, for control the work of the first low-power consumption bluetooth communication module interval in surrounding devices role and
Central equipment role;When the work of the first low-power consumption bluetooth communication module is in central equipment role, the first low-power consumption bluetooth is communicated
Module can receive the information that the second low-power consumption bluetooth communication module in surrounding devices role is sent with broadcast mode;
First connection unit 42, for receiving the second low-power consumption bluetooth communication mould when the first low-power consumption bluetooth communication module
Block send broadcast message, and the second low-power consumption bluetooth communication module transmitting signal strength be greater than preset threshold when, to second
Low-power consumption bluetooth communication module sends connection request to establish bluetooth wireless connection with the second low-power consumption bluetooth communication module.
In the embodiment of the present invention, if the first low-power consumption bluetooth communication module and the second low-power consumption bluetooth communication module are for the first time
Connection, then the first low-power consumption bluetooth communication module is matched with the second low-power consumption bluetooth communication module by Just Works mode
It is attached to after.It is not necessarily to that pairing can be completed with user interaction by this kind of matching method, is further simplified user's operation.
Optionally, another structural schematic diagram of the first low-power consumption bluetooth communication module 31 provided in an embodiment of the present invention is such as
Shown in Fig. 5, may include:
First control unit 41, for control the work of the first low-power consumption bluetooth communication module interval in surrounding devices role and
Central equipment role;When the work of the first low-power consumption bluetooth communication module is in surrounding devices role, the first low-power consumption bluetooth is communicated
Module sends information by broadcast mode;
Second connection unit 51, for receiving the second low-power consumption bluetooth communication mould when the first low-power consumption bluetooth communication module
When the connection request that block is sent, bluetooth wireless connection is established with the second low-power consumption bluetooth communication module.
Certainly, in the embodiment of the present invention, first control unit 41, the first connection unit 42 and the second connection unit 51 can be with
It is integrated in the same functional module and realizes.
Optionally, a kind of structural schematic diagram of first control unit 41 provided in an embodiment of the present invention is as shown in fig. 6, can be with
Include:
First obtains subelement 61, for obtaining a random number;
First determines subelement 62, for determining the work of the first low-power consumption bluetooth communication module the of surrounding devices role
N times of acquired random number a length of for the moment, the first low-power consumption bluetooth communication module works in the second duration of central equipment role
It is M times of acquired random number;
N is different positive numbers from M.
Optionally, obtaining module 32 specifically can be used for, and using preset service identifiers as keyword, pass through the indigo plant established
Tooth is wirelessly connected from wireless network access point reading configuration file information.
Optionally, obtaining module 32 specifically can be used for, and pass through established bluetooth when receiving wireless network access point
When being wirelessly connected the reading notice sent, using preset service identifiers as keyword, by the bluetooth wireless connection established from
Wireless network access point reading configuration file information.
Optionally, obtaining module 32 specifically can be used for, and receives the wireless network access point and passes through established bluetooth
It is wirelessly connected the profile information sent.
The embodiment of the present invention also provides a kind of communication terminal, which has as preceding any one Installation practice discloses
Wireless network connection equipment.
It is corresponding with embodiment of the method shown in Fig. 2, the another kind of Wireless network connection equipment provided in an embodiment of the present invention
Structural schematic diagram is as shown in fig. 7, may include:
Second low-power consumption bluetooth communication module 71 and preparation module 72;Wherein,
Second low-power consumption bluetooth communication module 71 is used to establish with the first low-power consumption bluetooth communication module of communication terminal blue
Tooth is wirelessly connected;
Preparation module 72 is for preparing profile information, so that communication terminal is obtained by established bluetooth wireless connection
Above-mentioned profile information is taken, is included at least in the profile information: service identifiers, and the access wireless network access
Configuration information needed for point;Service identifiers characterize profile information and access wireless network access point for communication terminal.
Wireless network connection equipment provided in an embodiment of the present invention so that communication terminal and wireless network access point pass through it is low
Power consumption bluetooth communication establishes bluetooth wireless connection, and communication terminal is connect by established bluetooth wireless connection from wireless network
Configuration information needed for access point obtains access wireless network access point, to be automatically accessed wirelessly according to acquired configuration information
Network access point, as long as the low-power consumption bluetooth communication module of user's open communication terminal, communication terminal can automatically access nothing
Line network access point, the operation of user when simplifying communication terminal access wireless network access point.
Optionally, a kind of structural schematic diagram of the second low-power consumption bluetooth communication module 71 provided in an embodiment of the present invention is as schemed
Shown in 8, may include:
Second control unit 81, for control the work of the second low-power consumption bluetooth communication module interval in surrounding devices role and
Central equipment role;When the work of the second low-power consumption bluetooth communication module is in central equipment role, the second low-power consumption bluetooth is communicated
Module can receive the information that the first low-power consumption bluetooth communication module in surrounding devices role is sent with broadcast mode;
Third connection unit 82, for receiving the first low-power consumption bluetooth communication mould when the second low-power consumption bluetooth communication module
Block send information, and the first low-power consumption bluetooth communication module transmitting signal strength be greater than preset threshold when, to the first low function
It consumes bluetooth communication and sends connection request to establish bluetooth wireless connection with the first low-power consumption bluetooth communication module.
In the embodiment of the present invention, if the first low-power consumption bluetooth communication module and the second low-power consumption bluetooth communication module are for the first time
Connection, then the first low-power consumption bluetooth communication module is matched with the second low-power consumption bluetooth communication module by Just Works mode
It is attached to after.It is not necessarily to that pairing can be completed with user interaction by this kind of matching method, is further simplified user's operation.
Optionally, another structural schematic diagram of the second low-power consumption bluetooth communication module 71 provided in an embodiment of the present invention is such as
Shown in Fig. 9, may include:
Second control unit 81, for control the work of the second low-power consumption bluetooth communication module interval in surrounding devices role and
Central equipment role;When the work of the second low-power consumption bluetooth communication module is in surrounding devices role, the second low-power consumption bluetooth is communicated
Module sends information by broadcast mode;
4th connection unit 91, for receiving the first low-power consumption bluetooth communication mould when the second low-power consumption bluetooth communication module
When the connection request that block is sent, bluetooth wireless connection is established with the first low-power consumption bluetooth communication module.
Optionally, a kind of structural schematic diagram of the second control unit 81 provided in an embodiment of the present invention is as shown in Figure 10, can
To include:
Second obtains subelement 101, for obtaining a random number;
Second determines subelement 102, for determining the work of the second low-power consumption bluetooth communication module surrounding devices role's
H times of a length of acquired random number when first;Second low-power consumption bluetooth communication module works in the second of central equipment role
K times of a length of acquired random number;
H is different positive numbers from K.
Optionally, wireless network access method provided in an embodiment of the present invention can also include:
Sending module, for the profile information prepared to be sent to communication by established bluetooth wireless connection
Terminal.
The embodiment of the present invention also provides a kind of wireless network access point, which includes answering as previously described
Wireless network connection equipment for wireless network access point.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, RandomAccess Memory), magnetic or disk.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (22)
1. a kind of wireless network access method is applied to communication terminal, which is characterized in that the described method includes:
Pass through the first low-power consumption bluetooth communication module of the communication terminal and the second low-power consumption bluetooth of wireless network access point
Communication module establishes bluetooth wireless connection;
Profile information, the configuration file are obtained from the wireless network access point by the bluetooth wireless connection established
It is included at least in information: configuration information needed for service identifiers, and the access wireless network access point;The service identifiers
It characterizes the profile information and accesses the wireless network access point for the communication terminal;
The wireless network access point is accessed based on the configuration information;
Wherein, described specific from wireless network access point acquisition profile information by the bluetooth wireless connection established
Include:
After communication terminal and wireless network access point establish bluetooth wireless connection, wireless network access point passes through communication terminal side
Service discovery describe file judge communication terminal whether support by bluetooth access wireless network, if communication terminal support pass through
Bluetooth accesses wireless network, and preset service identifiers can be registered to the service discovery and described in file by communication terminal, wireless network
If network access point describes to find above-mentioned preset service identifiers in file in service discovery, it is determined that communication terminal support passes through indigo plant
Tooth accesses wireless network, and profile information is sent to communication terminal by wireless network access point;
It is described by the first low-power consumption bluetooth communication module of the communication terminal and the second low-power consumption of wireless network access point
Bluetooth communication establishes bluetooth wireless connection
The first low-power consumption bluetooth communication module interval work is in surrounding devices role and central equipment role;
When the first low-power consumption bluetooth communication module work is in central equipment role, first low-power consumption bluetooth communicates mould
Block can receive the information that the second low-power consumption bluetooth communication module in surrounding devices role is sent with broadcast mode;
When the first low-power consumption bluetooth communication module receives the broadcast letter that the second low-power consumption bluetooth communication module is sent
Breath, and the second low-power consumption bluetooth communication module transmitting signal strength be greater than preset threshold when, the second low-power consumption of Xiang Suoshu
Bluetooth communication sends connection request to establish bluetooth wireless connection with the second low-power consumption bluetooth communication module.
2. the method according to claim 1, wherein first low-power consumption bluetooth by the communication terminal
Communication module and the second low-power consumption bluetooth communication module of wireless network access point establish bluetooth wireless connection and include:
The first low-power consumption bluetooth communication module interval work is in surrounding devices role and central equipment role;
When the first low-power consumption bluetooth communication module work is in surrounding devices role, first low-power consumption bluetooth communicates mould
Block sends information by broadcast mode;
It is asked when the first low-power consumption bluetooth communication module receives the connection that the second low-power consumption bluetooth communication module is sent
When asking, bluetooth wireless connection is established with the second low-power consumption bluetooth communication module.
3. method according to claim 1 or 2, which is characterized in that the first low-power consumption bluetooth communication module is at times
Work, which is spaced, in surrounding devices role and central equipment role includes:
Obtain a random number;
First low-power consumption bluetooth communication module work is in the first of surrounding devices role N times of a length of random number;
First low-power consumption bluetooth communication module work is in the second of central equipment role M times of a length of random number;
N is different positive numbers from M.
4. method according to claim 1 or 2, which is characterized in that it is described by the bluetooth wireless connection established from institute
Stating wireless network access point acquisition profile information includes:
Using preset service identifiers as keyword, read by the bluetooth wireless connection established from the wireless network access point
The profile information.
5. method according to claim 1 or 2, which is characterized in that it is described by the bluetooth wireless connection established from institute
Stating wireless network access point acquisition profile information includes:
When receiving the reading notice that the wireless network access point is sent by established bluetooth wireless connection, with preset
Service identifiers be keyword, it is literary from the wireless network access point to read the configuration by the bluetooth wireless connection established
Part information.
6. method according to claim 1 or 2, which is characterized in that it is described by the bluetooth wireless connection established from institute
Stating wireless network access point acquisition profile information includes:
Receive the profile information that the wireless network access point is sent by established bluetooth wireless connection.
7. a kind of wireless network access method is applied to wireless network access point, which is characterized in that the described method includes:
Pass through the second low-power consumption bluetooth communication module of the wireless network access point and the first low-power consumption bluetooth of communication terminal
Communication module establishes bluetooth wireless connection;
Prepare profile information, so that the communication terminal obtains the configuration file by established bluetooth wireless connection
Information includes at least in the profile information: configuration needed for service identifiers, and the access wireless network access point
Information;The service identifiers characterize the profile information and access the wireless network access point for the communication terminal;
Wherein, described specific from wireless network access point acquisition profile information by the bluetooth wireless connection established
Include:
After communication terminal and wireless network access point establish bluetooth wireless connection, wireless network access point passes through communication terminal side
Service discovery describe file judge communication terminal whether support by bluetooth access wireless network, if communication terminal support pass through
Bluetooth accesses wireless network, and preset service identifiers can be registered to the service discovery and described in file by communication terminal, wireless network
If network access point describes to find above-mentioned preset service identifiers in file in service discovery, it is determined that communication terminal support passes through indigo plant
Tooth accesses wireless network, and profile information is sent to communication terminal by wireless network access point;
It is described by the second low-power consumption bluetooth communication module of the wireless network access point and the first low-power consumption of communication terminal
Bluetooth communication establishes bluetooth wireless connection
The second low-power consumption bluetooth communication module interval work is in surrounding devices role and central equipment role;
When the second low-power consumption bluetooth communication module work is in central equipment role, second low-power consumption bluetooth communicates mould
Block can receive the information that the first low-power consumption bluetooth communication module in surrounding devices role is sent with broadcast mode;
When the second low-power consumption bluetooth communication module receives the information that the first low-power consumption bluetooth communication module is sent, and
When the signal strength of the first low-power consumption bluetooth communication module transmitting is greater than preset threshold, the first low-power consumption bluetooth of Xiang Suoshu is logical
Believe that module sends connection request to establish bluetooth wireless connection with the first low-power consumption bluetooth communication module.
8. the method according to the description of claim 7 is characterized in that the second low function by the wireless network access point
Consumption bluetooth communication and the first low-power consumption bluetooth communication module of communication terminal establish bluetooth wireless connection and include:
The second low-power consumption bluetooth communication module interval work is in surrounding devices role and central equipment role;
When the second low-power consumption bluetooth communication module work is in surrounding devices role, second low-power consumption bluetooth communicates mould
Block sends information by broadcast mode;
It is asked when the second low-power consumption bluetooth communication module receives the connection that the first low-power consumption bluetooth communication module is sent
When asking, bluetooth wireless connection is established with the first low-power consumption bluetooth communication module.
9. method according to claim 7 or 8, which is characterized in that the second low-power consumption bluetooth communication module interval work
Make in surrounding devices role and central equipment role include:
Obtain a random number;
Second low-power consumption bluetooth communication module work surrounding devices role when H times of a length of random number;
Second low-power consumption bluetooth communication module work central equipment role when K times of a length of random number;
H is different positive numbers from K.
10. the method according to the description of claim 7 is characterized in that after preparing profile information, further includes:
The profile information is sent to the communication terminal by the bluetooth wireless connection established.
11. a kind of Wireless network connection equipment, it is applied to communication terminal, which is characterized in that described device includes:
First low-power consumption bluetooth communication module, it is blue for being established with the second low-power consumption bluetooth communication module of wireless network access point
Tooth is wirelessly connected;
Module is obtained, for obtaining configuration file letter from the wireless network access point by established bluetooth wireless connection
It ceases, is included at least in the profile information: matching confidence needed for service identifiers, and the access wireless network access point
Breath;The service identifiers characterize the profile information and access the wireless network access point for the communication terminal;
AM access module, for accessing the wireless network access point based on the configuration information;
Wherein, described specific from wireless network access point acquisition profile information by the bluetooth wireless connection established
Include:
After communication terminal and wireless network access point establish bluetooth wireless connection, wireless network access point passes through communication terminal side
Service discovery describe file judge communication terminal whether support by bluetooth access wireless network, if communication terminal support pass through
Bluetooth accesses wireless network, and preset service identifiers can be registered to the service discovery and described in file by communication terminal, wireless network
If network access point describes to find above-mentioned preset service identifiers in file in service discovery, it is determined that communication terminal support passes through indigo plant
Tooth accesses wireless network, and profile information is sent to communication terminal by wireless network access point;
The first low-power consumption bluetooth communication module includes:
First control unit works in surrounding devices role in for controlling the first low-power consumption bluetooth communication module interval
Entreat device role;When the first low-power consumption bluetooth communication module work is in central equipment role, first low-power consumption is blue
Tooth communication module can receive the letter that the second low-power consumption bluetooth communication module in surrounding devices role is sent with broadcast mode
Breath;
First connection unit, for receiving the second low-power consumption bluetooth communication when the first low-power consumption bluetooth communication module
Module send broadcast message, and the second low-power consumption bluetooth communication module transmitting signal strength be greater than preset threshold when,
It is blue to establish with the second low-power consumption bluetooth communication module that connection request is sent to the second low-power consumption bluetooth communication module
Tooth is wirelessly connected.
12. device according to claim 11, which is characterized in that the first low-power consumption bluetooth communication module includes:
First control unit works in surrounding devices role in for controlling the first low-power consumption bluetooth communication module interval
Entreat device role;When the first low-power consumption bluetooth communication module work is in surrounding devices role, first low-power consumption is blue
Tooth communication module sends information by broadcast mode;
Second connection unit, for receiving the second low-power consumption bluetooth communication when the first low-power consumption bluetooth communication module
When the connection request that module is sent, bluetooth wireless connection is established with the second low-power consumption bluetooth communication module.
13. device according to claim 11 or 12, which is characterized in that the first control unit includes:
First obtains subelement, for obtaining a random number;
First determines subelement, for determining the first low-power consumption bluetooth communication module work the surrounding devices role's
N times of random number described in Shi Changwei, duration of the first low-power consumption bluetooth communication module work in the central equipment role
It is M times of the random number;
N is different positive numbers from M.
14. device according to claim 11 or 12, which is characterized in that the acquisition module is used for, with preset service
It is identified as keyword, the configuration file is read from the wireless network access point by the bluetooth wireless connection established and is believed
Breath.
15. device according to claim 11 or 12, which is characterized in that the acquisition module is used for, described when receiving
It is key with preset service identifiers when the reading notice that wireless network access point is sent by established bluetooth wireless connection
Word reads the profile information from the wireless network access point by the bluetooth wireless connection established.
16. device according to claim 11 or 12, which is characterized in that the acquisition module is used for, and is received described wireless
The profile information that network access point is sent by established bluetooth wireless connection.
17. a kind of communication terminal, which is characterized in that including the wireless network access as described in claim 11-16 any one
Device.
18. a kind of Wireless network connection equipment, it is applied to wireless network access point, which is characterized in that described device includes:
Second low-power consumption bluetooth communication module establishes bluetooth wireless connection for the first Bluetooth communication terminal with communication terminal;
Preparation module, for preparing profile information, so that the communication module is obtained by established bluetooth wireless connection
Take the profile information, include at least in the profile information: service identifiers, and the access wireless network connect
Configuration information needed for access point;The service identifiers characterize the profile information and access the nothing for the communication terminal
Line network access point;
Wherein, described specific from wireless network access point acquisition profile information by the bluetooth wireless connection established
Include:
After communication terminal and wireless network access point establish bluetooth wireless connection, wireless network access point passes through communication terminal side
Service discovery describe file judge communication terminal whether support by bluetooth access wireless network, if communication terminal support pass through
Bluetooth accesses wireless network, and preset service identifiers can be registered to the service discovery and described in file by communication terminal, wireless network
If network access point describes to find above-mentioned preset service identifiers in file in service discovery, it is determined that communication terminal support passes through indigo plant
Tooth accesses wireless network, and profile information is sent to communication terminal by wireless network access point;
The second low-power consumption bluetooth communication module includes:
Second control unit works in surrounding devices role in for controlling the second low-power consumption bluetooth communication module interval
Entreat device role;When the second low-power consumption bluetooth communication module work is in central equipment role, second low-power consumption is blue
Tooth communication module can receive the letter that the first low-power consumption bluetooth communication module in surrounding devices role is sent with broadcast mode
Breath;
Third connection unit, for receiving the first low-power consumption bluetooth communication when the second low-power consumption bluetooth communication module
Module send information, and the first low-power consumption bluetooth communication module transmitting signal strength be greater than preset threshold when, to institute
State the first low-power consumption bluetooth communication module send connection request with the first low-power consumption bluetooth communication module establish bluetooth without
Line connection.
19. device according to claim 18, which is characterized in that the second low-power consumption bluetooth communication module includes:
Second control unit works in surrounding devices role in for controlling the second low-power consumption bluetooth communication module interval
Entreat device role;When the second low-power consumption bluetooth communication module work is in surrounding devices role, second low-power consumption is blue
Tooth communication module sends information by broadcast mode;
4th connection unit, for receiving the first low-power consumption bluetooth communication when the second low-power consumption bluetooth communication module
When the connection request that module is sent, bluetooth wireless connection is established with the first low-power consumption bluetooth communication module.
20. device described in 8 or 19 according to claim 1, which is characterized in that second control unit includes:
Second obtains subelement, for obtaining a random number;
Second determines subelement, for determining the second low-power consumption bluetooth communication module work in the duration of surrounding devices role
It is H times of the random number;Second low-power consumption bluetooth communication module work central equipment role when it is a length of it is described with
K times of machine number;
H is different positive numbers from K.
21. device according to claim 18, which is characterized in that further include:
Sending module, for the profile information to be sent to the communication eventually by established bluetooth wireless connection
End.
22. a kind of wireless network access point, which is characterized in that including the wireless network as described in claim 18-20 any one
Network access device.
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 CN105636161A (en) | 2016-06-01 |
CN105636161B true 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) |
Families Citing this family (6)
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 |
CN111586665B (en) * | 2020-07-17 | 2021-03-19 | 支付宝(杭州)信息技术有限公司 | Method and device for accessing wireless network |
CN112004217B (en) * | 2020-08-06 | 2023-02-28 | Oppo(重庆)智能科技有限公司 | Network access method, terminal and storage medium |
CN113141599B (en) * | 2021-05-31 | 2023-07-07 | 深圳市道通科技股份有限公司 | Automobile diagnosis system and WiFi connection method |
Citations (4)
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 |
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130259230A1 (en) * | 2012-03-29 | 2013-10-03 | Broadcom Corporation | Bluetooth Low Energy Privacy |
-
2016
- 2016-01-25 CN CN201610048847.6A patent/CN105636161B/en active Active
Patent Citations (4)
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 |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN105636161A (en) | 2016-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105636161B (en) | Access method, apparatus, communication terminal and the wireless network access point of wireless network | |
US11395213B2 (en) | Systems and methods for implementing multiple band service discovery | |
CN112911556B (en) | Method for establishing classical Bluetooth connection between dual mode Bluetooth devices and dual mode Bluetooth device | |
US9985938B2 (en) | User control over WIFI network access | |
KR20120072557A (en) | Mobile terminal, server and information providing method using the same | |
CN107332912B (en) | Service discovery method, device, system, storage medium and computer equipment | |
EP3169086A1 (en) | Connection method for multimedia playing device, master device, control terminal, and system | |
JP6145228B1 (en) | Wireless communication system | |
CN103281752A (en) | WIFI (wireless fidelity) network access method and device, electronic equipment and communication system | |
CN108738003A (en) | Bluetooth matching method and system based on shared bluetooth communication address | |
CN111263338B (en) | Network distribution method of Bluetooth Mesh network, related network distribution equipment and system | |
WO2023024617A1 (en) | Method and apparatus for network distribution of device, server, smart household appliance, and terminal device | |
WO2015098162A1 (en) | Onboard device and control method for onboard device | |
JP2014197830A (en) | Communication device, communication system, and program | |
WO2016179966A1 (en) | Method for realizing network access, terminal and computer storage medium | |
EP3979071B1 (en) | Method, user equipment, and application server for downloading application | |
JP6549158B2 (en) | Automatic call synchronization system and method | |
WO2022228588A1 (en) | Method, system and apparatus for binding user account, and device | |
KR102390887B1 (en) | Method and apparatus for registering wireless device in wireless communication system | |
CN113395345A (en) | Network distribution method and device of Internet of things equipment and storage medium | |
CN114125883A (en) | Network access method and device of intelligent device, electronic device and storage medium | |
CN105163399B (en) | Data sharing method and device | |
WO2017201950A1 (en) | Data transmission method and device, and computer storage medium | |
CN111263422A (en) | Method and device for discovering intelligent equipment | |
CN106231589B (en) | method and device for hiding SSID broadcast based on Android system Soft AP |
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 |
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. |
|
CP02 | Change in the address of a patent holder |