CN105472705B - A kind of wireless network processing method and mobile terminal - Google Patents
A kind of wireless network processing method and mobile terminal Download PDFInfo
- Publication number
- CN105472705B CN105472705B CN201510796388.5A CN201510796388A CN105472705B CN 105472705 B CN105472705 B CN 105472705B CN 201510796388 A CN201510796388 A CN 201510796388A CN 105472705 B CN105472705 B CN 105472705B
- Authority
- CN
- China
- Prior art keywords
- wireless network
- network
- users
- multiple wireless
- connect
- 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.)
- Expired - Fee Related
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 15
- 238000000034 method Methods 0.000 claims abstract description 17
- 238000001514 detection method Methods 0.000 claims description 13
- 238000012163 sequencing technique Methods 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 5
- 238000011897 real-time detection Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/18—Selecting a network or a communication service
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
Abstract
The embodiment of the present invention provides a kind of wireless network processing method and mobile terminal, and wherein method includes the following steps: to obtain the network information of each wireless network in the multiple wireless network when search under current environment there are in the case where multiple wireless networks;The priority between the multiple wireless network is determined according to the network information of wireless network each in the multiple wireless network;The multiple wireless network is ranked up according to the priority between the multiple wireless network, and shows the mark of the multiple wireless network after sequence.The embodiment of the present invention can be realized the sequence to wireless network, provide convenient and fast wireless network connection selection for user.The embodiment of the present invention can be realized the sequence to wireless network, provide convenient and fast wireless network connection selection for user.
Description
Technical field
The present invention relates to mobile communication technology fields, and in particular to a kind of wireless network processing method and mobile terminal.
Background technique
With the fast development of wireless network and gradually popularizing for mobile terminal, more and more users can enjoy nothing
Gauze network bring is convenient.Currently, wireless network column of the mobile terminal when connecting wireless network, first under acquisition current environment
Then table selects a wireless network to be attached according to wireless network list.But the wireless network of acquisition for mobile terminal arranges
Table is rambling, and mobile terminal can not also know whether being fully loaded with for the wireless network in wireless network list, if moving
The wireless network of dynamic terminal connection has been fully loaded with, then mobile terminal is not available the wireless network and carries out sending and receiving for data,
It brings some inconvenience to user.
Summary of the invention
The embodiment of the present invention provides a kind of wireless network processing method and mobile terminal, can be realized the row to wireless network
Sequence provides convenient and fast wireless network connection selection for user.
First aspect of the embodiment of the present invention provides a kind of wireless network processing method, comprising:
It is each in the multiple wireless network there are obtaining in the case where multiple wireless networks under current environment when searching
The network information of wireless network;
It is determined between the multiple wireless network according to the network information of wireless network each in the multiple wireless network
Priority;
The multiple wireless network is ranked up according to the priority between the multiple wireless network, and shows sequence
The mark of the multiple wireless network afterwards.
Second aspect of the embodiment of the present invention provides a kind of mobile terminal, comprising:
Acquiring unit, for obtaining the multiple when searching under current environment there are in the case where multiple wireless networks
The network information of each wireless network in wireless network;
Determination unit, it is the multiple for being determined according to the network information of wireless network each in the multiple wireless network
Priority between wireless network;
Sequencing unit, for arranging according to the priority between the multiple wireless network the multiple wireless network
Sequence, and show the mark of the multiple wireless network after sequence.
In embodiments of the present invention, by there are in the case where multiple wireless networks, being obtained under searching current environment
The network information of each wireless network in multiple wireless networks, and believed according to the network of wireless network each in multiple wireless networks
Breath determines the priority between multiple wireless networks, and according to the priority between multiple wireless networks to multiple wireless networks into
Row sequence, and show the mark of multiple wireless networks after sequence, to realize the sequence to multiple wireless networks, mentioned for user
It is selected for convenient and fast wireless network connection.
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 provides a kind of flow diagram of wireless network processing method for the embodiment of the present invention;
Fig. 2 provides the flow diagram of another wireless network processing method for the embodiment of the present invention;
Fig. 3 provides the flow diagram of another wireless network processing method for the embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another mobile terminal provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another mobile terminal provided in an embodiment of the present invention.
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, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of wireless network processing method and mobile terminal, can be applied to mobile terminal opening
The scene that wireless network connection function is connected to the network, for example, mobile terminal is when searching under current environment, there are multiple nothings
In the case where gauze network, the network information of each wireless network in the multiple wireless network is obtained;Then the mobile terminal
The priority between the multiple wireless network is determined according to the network information of wireless network each in the multiple wireless network;
Then the mobile terminal is ranked up the multiple wireless network according to the priority between the multiple wireless network, and
The scene of the mark of the multiple wireless network after display sequence.The embodiment of the present invention can be realized to multiple wireless networks
Sequence, so that the wireless network list under current environment has specific priority relationship, to provide for user easily wireless
Network connection selection, it is ensured that user selects the wireless network of connection to be capable of providing network service.
It is wearable that mobile terminal in the embodiment of the present invention can include but is not limited to mobile phone, PAD (tablet computer), intelligence
Equipment etc. has the smart machine of wireless network connection function.
It is situated between in detail below in conjunction with attached drawing 1- attached drawing 3 to wireless network processing method provided in an embodiment of the present invention
It continues.
It referring to Figure 1, is a kind of flow diagram of wireless network processing method provided in an embodiment of the present invention, this method
It may include step S101- step S103.
S101 obtains the multiple wireless network when searching under current environment there are in the case where multiple wireless networks
In each wireless network the network information.
Specifically, mobile terminal is in the case where wireless network connection function is opened, it is multiple wireless in search current environment
Network.With the fast development of radio network technique, the quantity more than one of wireless network, especially exists usually in some environment
In indoor environment, due to the arrangement layer by layer of wireless access point, so that the quantity of wireless network is more, user possesses more connections
Selection.When the multiple wireless there are obtaining in the case where multiple wireless networks under the mobile terminal to search to current environment
The network information of each wireless network in network.Wherein, the network information includes signal strength, has connected number of users, is surplus
It is remaining to connect at least one of number of users.
Optionally, the mobile terminal is detected each wireless in the multiple wireless network by signal strength detection device
The signal strength of network.
Optionally, the corresponding wireless access point of the mobile terminal each wireless network into the multiple wireless network obtains
Take having connected number of users and residue and can connecting number of users for each wireless network in the multiple wireless network.The movement
The terminal corresponding wireless access point quantity forwarded acquisition request of each wireless network into the multiple wireless network respectively, wirelessly
Access point A positions the current location of the mobile terminal when receiving the quantity acquisition request, and described in judgement
Whether the current location of mobile terminal belongs to the network coverage of wireless access point A, if so, feeding back to the mobile terminal
Wireless access point A's has connected number of users and residue and can connect number of users;If it is not, then refuse the quantity acquisition request,
Refusing the mobile terminal is connected to wireless access point A simultaneously.If wireless access point A is accessed equipped with permission, then the quantity
Acquisition request carries access pin or access identifying code, is verified to wireless access point to access pin or access identifying code
When, Xiang Suoshu mobile terminal feedback wireless access point A's has connected number of users and residue and can connect number of users.
S102 determines the multiple wireless network according to the network information of wireless network each in the multiple wireless network
Between priority.
Specifically, the mobile terminal is believed according to the network of each wireless network in the multiple wireless network got
Breath determines the priority between the multiple wireless network.
When the network information is signal strength, the mobile terminal is according in the multiple wireless network got
The sequence of the signal strength of each wireless network determines the priority between the multiple wireless network, and will be the multiple
The priority of the highest wireless network of signal strength is determined as highest priority in wireless network.
When the network information is to have connected number of users and when residue can connect number of users, the mobile terminal according to
The size order for connecting ratio of each wireless network determines between the multiple wireless network in the multiple wireless network
Priority.Wherein, wireless network i connects ratio and can connect number of users divided by institute for the residue of the wireless network i
The user's connection capacity for stating wireless network i obtains quotient, and user's connection capacity of the wireless network i is the wireless network i's
The sum of number of users can be connected by having connected number of users and residue, and the wireless network i is appointing in the multiple wireless network
It anticipates a wireless network.The priority that the maximum wireless network of ratio can be connected is determined as highest priority.
When the network information includes signal strength, has connected number of users and when residue can connect number of users, in institute
State at least two wireless networks of multiple wireless networks signal strength be in same signal strength range in the case where, it is described extremely
Priority between few two wireless networks connects ratio by each wireless network at least two wireless network
Size order determines;Same signal strength is not in the signal strength of at least two wireless networks of the multiple wireless network
In the case where range, the priority between at least two wireless network is by each wireless network in the multiple wireless network
Signal strength sequence determine.Optionally, connecting at least two wireless networks of the multiple wireless network
In the identical situation of ratio, the priority between at least two wireless network is by each at least two wireless network
The sequence of the signal strength of wireless network determines.Optionally, according to signal strength, have connected number of users and residue and can connect
It connects number of users and calculates separately the priority parameters of each wireless network in the multiple wireless network using some formula, so
The multiple wireless network is determined according to the size order of the priority parameters of wireless network each in the multiple wireless network afterwards
Priority between network.The mode of priority between the above-mentioned the multiple wireless network of determination enumerated only realizes the present invention
A part of embodiment, the specific mobile terminal determine that the mode of the priority between the multiple wireless network is not done herein
It limits.
S103 is ranked up the multiple wireless network according to the priority between the multiple wireless network, and shows
The mark of the multiple wireless network after showing sequence.
Specifically, the mobile terminal is according to the priority between the multiple wireless network to the multiple wireless network
It is ranked up, and shows the mark of the multiple wireless network after sequence.Optionally, it also shows in the multiple wireless network
The signal strength of each wireless network facilitates user to know the occurrence of the signal strength of each wireless network.Optionally, if institute
It states mobile terminal wireless network connection state to be in connection status, is then exported in the mobile terminal and recommend connection message, institute
State the mark for the wireless network for recommending connection message to carry highest priority.
In embodiments of the present invention, by there are in the case where multiple wireless networks, being obtained under searching current environment
The network information of each wireless network in multiple wireless networks, and believed according to the network of wireless network each in multiple wireless networks
Breath determines the priority between multiple wireless networks, and according to the priority between multiple wireless networks to multiple wireless networks into
Row sequence, and show the mark of multiple wireless networks after sequence, to realize the sequence to multiple wireless networks, mentioned for user
It is selected for convenient and fast wireless network connection.
Fig. 2 is referred to, for the flow diagram of another wireless network processing method provided in an embodiment of the present invention, the party
Method may include step S201- step S207.
S201 obtains the multiple wireless network when searching under current environment there are in the case where multiple wireless networks
In each wireless network the network information.
Specifically, mobile terminal is in the case where wireless network connection function is opened, it is multiple wireless in search current environment
Network.With the fast development of radio network technique, the quantity more than one of wireless network, especially exists usually in some environment
In indoor environment, due to the arrangement layer by layer of wireless access point, so that the quantity of wireless network is more, user possesses more connections
Selection.When the multiple wireless there are obtaining in the case where multiple wireless networks under the mobile terminal to search to current environment
The network information of each wireless network in network.Wherein, the network information includes signal strength, has connected number of users, is surplus
It is remaining to connect at least one of number of users.
Optionally, the mobile terminal is detected each wireless in the multiple wireless network by signal strength detection device
The signal strength of network.
Optionally, the corresponding wireless access point of the mobile terminal each wireless network into the multiple wireless network obtains
Take having connected number of users and residue and can connecting number of users for each wireless network in the multiple wireless network.The movement
The terminal corresponding wireless access point quantity forwarded acquisition request of each wireless network into the multiple wireless network respectively, wirelessly
Access point A positions the current location of the mobile terminal when receiving the quantity acquisition request, and described in judgement
Whether the current location of mobile terminal belongs to the network coverage of wireless access point A, if so, feeding back to the mobile terminal
Wireless access point A's has connected number of users and residue and can connect number of users;If it is not, then refuse the quantity acquisition request,
Refusing the mobile terminal is connected to wireless access point A simultaneously.If wireless access point A is accessed equipped with permission, then the quantity
Acquisition request carries access pin or access identifying code, is verified to wireless access point to access pin or access identifying code
When, Xiang Suoshu mobile terminal feedback wireless access point A's has connected number of users and residue and can connect number of users.
S202 determines the multiple wireless network according to the network information of wireless network each in the multiple wireless network
Between priority.
Specifically, the mobile terminal is believed according to the network of each wireless network in the multiple wireless network got
Breath determines the priority between the multiple wireless network.Wherein, the network information includes signal strength, has connected number of users
Amount and residue can connect number of users.It is in same in the signal strength of at least two wireless networks of the multiple wireless network
In the case where signal strength range, the priority between at least two wireless network is by least two wireless network
The size order for connecting ratio of each wireless network determines;In at least two wireless networks of the multiple wireless network
In the case that signal strength is not in same signal strength range, the priority between at least two wireless network is by described
The sequence of the signal strength of each wireless network determines in multiple wireless networks.
S203 is ranked up the multiple wireless network according to the priority between the multiple wireless network, and shows
The mark of the multiple wireless network after showing sequence.
Specifically, the mobile terminal is according to the priority between the multiple wireless network to the multiple wireless network
It is ranked up, and shows the mark of the multiple wireless network after sequence, so that user is according to the multiple wireless of sequence
The wireless network that network selection needs is attached, and provides better network service for user.In the prior art, described mobile whole
End is when carrying out wireless network connection, it is not clear that the signal strength of each wireless network in the multiple wireless network, if
It can connect, if network service can be provided, only connecting some upper wireless network simultaneously in use, just can know that the wireless network is
It is no available, if wireless network low and fully loaded there are multiple signal strengths in wireless network list, then user will expend greatly
The time of amount selects network service preferably wireless network, brings some inconvenience to user, reduces user experience.
S204 determines target radio network according to the link order when receiving link order.
Specifically, the mobile terminal determines Target Wireless net according to the link order when receiving link order
Network.The link order is clicking operation of the user to some wireless network in the multiple wireless network, will click on operation pair
The wireless network answered is determined as target radio network, and the link order indicates that user wants to establish the mobile terminal and the mesh
Mark the wireless connection between wireless network.Optionally, the link order carry the password for connecting the target radio network or
Identifying code.
S205 judges that the residue of the target radio network can connect whether number of users is zero.
In the prior art, the mobile terminal, just will be described when receiving the link order for connecting some wireless network
The password or identifying code that link order carries are sent to the corresponding wireless access point of the wireless network, and corresponding in the wireless network
Wireless access point it is verified after, agree to establish and the mobile terminal between wireless connection.But the movement
Terminal does not know whether the wireless network has been fully loaded with, if the wireless network has been fully loaded with, then the wireless network will be unable to as institute
It states mobile terminal and network service is provided, to influence the web experience of user.The embodiment of the present invention is received in the mobile terminal
When to the link order, the wireless connection between the target radio network is not established at once, but first described in judgement
The residue of target radio network can connect whether number of users is zero, in the multiple wireless network obtained by step S201
Residue in the network information of each wireless network can connect number of users and judge that the residue of the target radio network can connect
Whether number of users is zero.When the judgment result is no, step S206 is executed;When the result judged is is, step is executed
S207。
S206 establishes the wireless connection between the target radio network when the judgment result is no.
Specifically, when the judgment result is no, i.e., at present the target radio network access device quantity also not
Reach maximum accessible quantity, the mobile terminal can access the target radio network, therefore the mobile terminal will be described
Password or identifying code in link order are sent to the corresponding wireless access point of the target radio network, and the wireless access point
When the password or identifying code send to the mobile terminal is verified, the mobile terminal and the target radio network are established
Between wireless connection.
S207 searches priority higher than the target radio network and residue can connect use when the result judged is is
Amount amount is the wireless network of non-zero, and output can connect prompting message when finding.
Specifically, when the result judged is is, i.e., the quantity of target radio network access device has reached at present
To the accessible quantity of maximum, the mobile terminal, which accesses the target radio network, possibly can not enjoy network service, therefore institute
State that mobile terminal searches priority higher than the target radio network in the multiple wireless network after sequence and residue can
Connect the wireless network that number of users is non-zero.If finding more than one priority higher than the target radio network and residue
The wireless network that number of users is non-zero can be connected, then according to the priority relationship between these wireless networks to these wireless networks
Network is ranked up, and output can connect prompting message, and the prompting message that connects includes the corresponding mark of these wireless networks,
And the corresponding mark of these wireless networks is shown according to collating sequence, so that user connects prompting message selection one according to described
A wireless network is attached.If finding a priority higher than the target radio network and residue can connect number of users
For the wireless network of non-zero, then export carry the wireless network identification connect prompting message, so that user is wireless according to this
The mobile terminal is connected to the wireless network by the mark of network.If not finding priority higher than the target radio network
And the remaining number of users that can connect then searches the remaining wireless network that can connect number of users as non-zero for the wireless network of non-zero
Network, and the mark that output carries the wireless network found when finding can connect prompting message.
In embodiments of the present invention, by there are in the case where multiple wireless networks, being obtained under searching current environment
The network information of each wireless network in multiple wireless networks, and believed according to the network of wireless network each in multiple wireless networks
Breath determines the priority between multiple wireless networks, and according to the priority between multiple wireless networks to multiple wireless networks into
Row sequence, and show the mark of multiple wireless networks after sequence, to realize the sequence to multiple wireless networks, mentioned for user
It is selected for convenient and fast wireless network connection.Simultaneously when receiving link order, the corresponding Target Wireless net of link order is judged
The residue of network can connect whether number of users is zero, it is ensured that the wireless network of mobile terminal connection can provide net for mobile terminal
Network service reduces the multiple selection operation of user, promotes user experience.
Fig. 3 is referred to, is the flow diagram of another wireless network processing method provided in an embodiment of the present invention, the party
Method may include step S301- step S305.
S301 obtains the multiple wireless network when searching under current environment there are in the case where multiple wireless networks
In each wireless network the network information.
S302 determines the multiple wireless network according to the network information of wireless network each in the multiple wireless network
Between priority.
S303 is ranked up the multiple wireless network according to the priority between the multiple wireless network, and shows
The mark of the multiple wireless network after showing sequence.
The specific implementation process of step S301- step S303 in the embodiment of the present invention can be found in embodiment illustrated in fig. 2
Step S201- step S203 specific descriptions, this will not be repeated here.
S304, when wireless network connection state is in connection status, and each wireless network in the multiple wireless network
When the residue of network can connect number of users and be zero, periodically detecting in the multiple wireless network can connect with the presence or absence of residue
Connect the wireless network that number of users is non-zero.
Specifically, the wireless network connection state when the mobile terminal is in connection status, and the wireless network
When the residue of each wireless network can connect number of users and be zero in network, i.e., each wireless network in the multiple wireless network
It is fully loaded, and any one not connected wireless network of the mobile terminal, it can not can connect for mobile terminal recommendation at this time
The wireless network connect, therefore can be connected in the multiple wireless network of detection of the mobile terminal period with the presence or absence of residue
Number of users is the wireless network of non-zero, i.e., whether there is attachable wireless network in the multiple wireless network of real-time detection
Network.When the result of detection, which is, is, step S305 is executed;When the result of detection is no, step S304 is continued to execute.
There is the remaining wireless network that can connect number of users as non-zero when detecting in the multiple wireless network in S305
When, output can connect prompting message.
Specifically, when the mobile terminal detects that can connect number of users there are residue in the multiple wireless network is
When the wireless network of non-zero, that is, detect that the movement is eventually there are when attachable wireless network in the multiple wireless network
End output can connect prompting message, the mark for connecting prompting message and carrying the wireless network detected.
In embodiments of the present invention, by there are in the case where multiple wireless networks, being obtained under searching current environment
The network information of each wireless network in multiple wireless networks, and believed according to the network of wireless network each in multiple wireless networks
Breath determines the priority between multiple wireless networks, and according to the priority between multiple wireless networks to multiple wireless networks into
Row sequence, and show the mark of multiple wireless networks after sequence, to realize the sequence to multiple wireless networks, mentioned for user
It is selected for convenient and fast wireless network connection.And the wireless network connection state of mobile terminal is in and deposits to connection status, and not
In attachable wireless network, the attachable wireless network of real-time detection simultaneously recommends user when detecting, so as to user
Network service is enjoyed in time.
It should be noted that the step of step S204- step S207 and embodiment illustrated in fig. 3 of embodiment illustrated in fig. 2
S304 and step S305 can be performed simultaneously, and embodiment illustrated in fig. 2 or embodiment illustrated in fig. 3 also can be performed, can also execute step
Step S304 and step S305 is executed after rapid S204- step S207, or after executing the step S304 and step S305
Step S204- step S207 is executed, it is not limited here.
Below in conjunction with attached drawing 4- attached drawing 6, the mobile terminal provided by the embodiment of the invention is described in detail.It needs
It is bright, the attached mobile terminal shown in fig. 6 of attached drawing 4-, the method for executing Fig. 1-embodiment illustrated in fig. 3 of the present invention, in order to just
In explanation, only parts related to embodiments of the present invention are shown, disclosed by specific technical details, please refers to Fig. 1-of the present invention
Embodiment shown in Fig. 3.
Fig. 4 is referred to, is a kind of structural schematic diagram of mobile terminal provided by the invention;The mobile terminal 10 can include:
Acquiring unit 101, determination unit 102 and sequencing unit 103.
Acquiring unit 101, for obtaining described more when searching under current environment there are in the case where multiple wireless networks
The network information of each wireless network in a wireless network.
In the specific implementation, mobile terminal 10 in the case where wireless network connection function is opened, is searched for more in current environment
A wireless network.With the fast development of radio network technique, the quantity more than one of wireless network usually in some environment,
Especially indoors in environment, due to the arrangement layer by layer of wireless access point, so that the quantity of wireless network is more, user possesses more
Connection selection.When the mobile terminal 10 searches under current environment the acquisition there are in the case where multiple wireless networks
Unit 101 obtains the network information of each wireless network in the multiple wireless network.Wherein, the network information includes signal
Intensity has connected number of users, residue and can connect at least one of number of users.
Optionally, the acquiring unit 101 is detected each in the multiple wireless network by signal strength detection device
The signal strength of wireless network.
Optionally, each wireless network into the multiple wireless network of shifting acquiring unit 101 is corresponding wirelessly connects
Access point obtains having connected number of users and residue and can connecting number of users for each wireless network in the multiple wireless network.Institute
Stating acquiring unit 101, the corresponding wireless access point quantity forwarded of each wireless network into the multiple wireless network obtains respectively
Request, wireless access point A determine the current location of the mobile terminal 10 when receiving the quantity acquisition request
Position, and judge whether the current location of the mobile terminal 10 belongs to the network coverage of wireless access point A, if so, to
The mobile terminal 10 feeds back having connected number of users and residue and can connecting number of users for wireless access point A;If it is not, then refusing
The quantity acquisition request, while refusing the mobile terminal and being connected to wireless access point A.If wireless access point A is equipped with permission
Access, then the quantity acquisition request carries access pin or access identifying code, to wireless access point to access pin or
Access identifying code is when being verified, Xiang Suoshu mobile terminal 10 feed back wireless access point A have connected number of users and residue can
Connect number of users.
Determination unit 102, for according to the determination of the network information of wireless network each in the multiple wireless network
Priority between multiple wireless networks.
In the specific implementation, the determination unit 102 is according to each wireless network in the multiple wireless network got
The network information determine the priority between the multiple wireless network.
When the network information is signal strength, the determination unit 102 is according to the multiple wireless network got
The sequence of the signal strength of each wireless network determines the priority between the multiple wireless network in network, and will be described
The priority of the highest wireless network of signal strength is determined as highest priority in multiple wireless networks.
When the network information is to have connected number of users and when residue can connect number of users, the determination unit 102
The multiple wireless network is determined according to the size order for connecting ratio of wireless network each in the multiple wireless network
Between priority.Wherein, wireless network i connects the residue that ratio is the wireless network i and can connect number of users and remove
Quotient is obtained with user's connection capacity of the wireless network i, user's connection capacity of the wireless network i is the wireless network
I have connected number of users and residue can connect the sum of number of users, the wireless network i is in the multiple wireless network
Any one wireless network.The priority that the maximum wireless network of ratio can be connected is determined as highest priority.
When the network information includes signal strength, has connected number of users and when residue can connect number of users, in institute
State at least two wireless networks of multiple wireless networks signal strength be in same signal strength range in the case where, it is described extremely
Priority between few two wireless networks connects ratio by each wireless network at least two wireless network
Size order determines;Same signal strength is not in the signal strength of at least two wireless networks of the multiple wireless network
In the case where range, the priority between at least two wireless network is by each wireless network in the multiple wireless network
Signal strength sequence determine.Optionally, connecting at least two wireless networks of the multiple wireless network
In the identical situation of ratio, the priority between at least two wireless network is by each at least two wireless network
The sequence of the signal strength of wireless network determines.Optionally, according to signal strength, have connected number of users and residue and can connect
It connects number of users and calculates separately the priority parameters of each wireless network in the multiple wireless network using some formula, so
Determination unit 102 is according to the determination of the size order of the priority parameters of wireless network each in the multiple wireless network afterwards
Priority between multiple wireless networks.The mode of priority between the above-mentioned the multiple wireless network of determination enumerated is
Realize a part of the embodiment of the present invention, the specific mobile terminal determines the side of the priority between the multiple wireless network
Formula is it is not limited here.
Sequencing unit 103, for according to the priority between the multiple wireless network to the multiple wireless network into
Row sequence, and show the mark of the multiple wireless network after sequence.
In the specific implementation, the sequencing unit 103 is according to the priority between the multiple wireless network to the multiple
Wireless network is ranked up, and shows the mark of the multiple wireless network after sequence.Optionally, the multiple nothing is also shown
The signal strength of each wireless network in gauze network, facilitates user to know the occurrence of the signal strength of each wireless network.It can
Choosing, if 10 wireless network connection state of the mobile terminal is in connection status, pushed away in the mobile terminal 10 output
Recommend connection message, the mark of the wireless network for recommending connection message to carry highest priority.
In embodiments of the present invention, by there are in the case where multiple wireless networks, being obtained under searching current environment
The network information of each wireless network in multiple wireless networks, and believed according to the network of wireless network each in multiple wireless networks
Breath determines the priority between multiple wireless networks, and according to the priority between multiple wireless networks to multiple wireless networks into
Row sequence, and show the mark of multiple wireless networks after sequence, to realize the sequence to multiple wireless networks, mentioned for user
It is selected for convenient and fast wireless network connection.
Fig. 5 is referred to, for the structural schematic diagram of another mobile terminal provided by the invention;The mobile terminal 20 is in Fig. 4
Judging unit 201, connection unit 202, searching unit 203 and output unit 204 are increased on the basis of shown mobile terminal.
The determination unit 102, is also used to when receiving link order, determines Target Wireless according to the link order
Network.
In the specific implementation, the determination unit 102 is according to the company when the mobile terminal 20 receives link order
It connects instruction and determines target radio network.The link order is point of the user to some wireless network in the multiple wireless network
Operation is hit, the corresponding wireless network of operation is will click on and is determined as target radio network, the link order indicates that user wants to establish
Wireless connection between the mobile terminal 20 and the target radio network.Optionally, the link order carries connection institute
State the password or identifying code of target radio network.
Judging unit 201, for judging that the residue of the target radio network can connect whether number of users is zero.
In the specific implementation, in the prior art, the mobile terminal 20 refers to receiving the connection for connecting some wireless network
When enabling, password or identifying code that the link order carries just are sent to the corresponding wireless access point of the wireless network, and
After the corresponding wireless access point of the wireless network is verified it, agree to establish wirelessly connecting between the mobile terminal 20
It connects.But the mobile terminal 20 does not know whether the wireless network has been fully loaded with, if the wireless network has been fully loaded with, then should
Wireless network will be unable to provide network service for the mobile terminal, to influence the web experience of user.The embodiment of the present invention
When the mobile terminal 20 receives the link order, do not establish at once wireless between the target radio network
Connection, but the judging unit 201 judges the residue of the target radio network and can connect whether number of users is zero, it is described
Judging unit 201 passes through in the multiple wireless network that acquiring unit 101 obtains in the network information of each wireless network
Residue can connect number of users and judge that the residue of the target radio network can connect whether number of users is zero.
Connection unit 202 when the result for judging when the judging unit is no, is established and the target radio network
Between wireless connection.
In the specific implementation, that is, current target radio network is when the result that the judging unit 201 judges is no
The also not up to maximum accessible quantity of the quantity of access device, the mobile terminal 20 can access the target radio network, because
This described mobile terminal 20 by the link order password or identifying code be sent to the corresponding nothing of the target radio network
Line access point, and when the password that sends to the mobile terminal of the wireless access point or identifying code are verified, the connection is single
Member 202 establishes the wireless connection between the mobile terminal 20 and the target radio network.
Searching unit 203 when result for judging when the judging unit is is, searches priority and is higher than the target
Wireless network and residue can connect the wireless network that number of users is non-zero.
In the specific implementation, that is, current target radio network is when the result that the judging unit 201 judges is is
The quantity of access device has reached maximum accessible quantity, and the mobile terminal accesses the target radio network and possibly can not enjoy
It is serviced by network, therefore the searching unit 203 searches priority higher than described in the multiple wireless network after sequence
Target radio network and residue can connect the wireless network that number of users is non-zero.
Output unit 204, for finding the priority higher than the target radio network and residue can connect use
When amount amount is the wireless network of non-zero, output can connect prompting message, and the prompting message that connects carries the nothing found
The mark of gauze network.
In the specific implementation, if the searching unit 203 finds more than one priority higher than the target radio network
And the remaining number of users that can connect is the wireless network of non-zero, then the output unit 204 is according between these wireless networks
Priority relationship is ranked up these wireless networks, and output can connect prompting message, and the prompting message that connects includes
The corresponding mark of these wireless networks, and show the corresponding mark of these wireless networks according to collating sequence, so as to user according to
The prompting message that connects selects a wireless network to be attached.If the searching unit 203 finds a priority
Higher than the target radio network and the remaining number of users that can connect is the wireless network of non-zero, then the output unit 204 is defeated
Carry the wireless network identification out connects prompting message, so that user will be described mobile whole according to the mark of the wireless network
End is connected to the wireless network.If the searching unit 203 does not find priority higher than the target radio network and residue
The wireless network that number of users is non-zero can be connected, then search it is remaining can connect the wireless network that number of users is non-zero, and
The mark that the output of output unit 204 carries the wireless network found when finding can connect prompting message.
In embodiments of the present invention, by there are in the case where multiple wireless networks, being obtained under searching current environment
The network information of each wireless network in multiple wireless networks, and believed according to the network of wireless network each in multiple wireless networks
Breath determines the priority between multiple wireless networks, and according to the priority between multiple wireless networks to multiple wireless networks into
Row sequence, and show the mark of multiple wireless networks after sequence, to realize the sequence to multiple wireless networks, mentioned for user
It is selected for convenient and fast wireless network connection.Simultaneously when receiving link order, the corresponding Target Wireless net of link order is judged
The residue of network can connect whether number of users is zero, it is ensured that the wireless network of mobile terminal connection can provide net for mobile terminal
Network service reduces the multiple selection operation of user, promotes user experience.
Fig. 6 is referred to, is the structural schematic diagram of another mobile terminal provided by the invention;The mobile terminal 30 is in Fig. 4
Detection unit 301 and output unit 302 are increased on the basis of shown mobile terminal.
Detection unit 301, for being in when wireless network connection state to connection status, and in the multiple wireless network
When the residue of each wireless network can connect number of users and be zero, periodically detects in the multiple wireless network and whether deposit
The wireless network that number of users is non-zero can be connected in residue.
In the specific implementation, the wireless network connection state when the mobile terminal 30 is in connection status, and described
When the residue of each wireless network can connect number of users and be zero in wireless network, i.e., each nothing in the multiple wireless network
Gauze network is fully loaded, and any one not connected wireless network of the mobile terminal, can not push away at this time for the mobile terminal
Attachable wireless network is recommended, therefore the detection unit 301 periodically detects and whether there is in the multiple wireless network
Residue can connect the wireless network that number of users is non-zero, i.e., whether there is in the multiple wireless network of real-time detection can connect
Wireless network.
Output unit 302, for detecting that there are residues to connect in the multiple wireless network when the detection unit
When number of users is the wireless network of non-zero, output can connect prompting message.
In the specific implementation, when the detection unit 301 detects that there are residues can connect use in the multiple wireless network
When amount amount is the wireless network of non-zero, that is, detect in the multiple wireless network there are when attachable wireless network, institute
Prompting message, the mark for connecting prompting message and carrying the wireless network detected can be connected by stating the output of output unit 302.
In embodiments of the present invention, by there are in the case where multiple wireless networks, being obtained under searching current environment
The network information of each wireless network in multiple wireless networks, and believed according to the network of wireless network each in multiple wireless networks
Breath determines the priority between multiple wireless networks, and according to the priority between multiple wireless networks to multiple wireless networks into
Row sequence, and show the mark of multiple wireless networks after sequence, to realize the sequence to multiple wireless networks, mentioned for user
It is selected for convenient and fast wireless network connection.And the wireless network connection state of mobile terminal is in and deposits to connection status, and not
In attachable wireless network, the attachable wireless network of real-time detection simultaneously recommends user when detecting, so as to user
Network service is enjoyed in time.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.
Claims (6)
1. a kind of wireless network processing method characterized by comprising
It is each wireless in the multiple wireless network there are obtaining in the case where multiple wireless networks under current environment when searching
The network information of network;The network information includes signal strength, has connected number of users and residue and can connect number of users;
It is determined according to the network information of wireless network each in the multiple wireless network excellent between the multiple wireless network
First grade;
The multiple wireless network is ranked up according to the priority between the multiple wireless network, and show sequence after
The mark of the multiple wireless network;
When receiving link order, target radio network is determined according to the link order;Wherein, the link order is to use
Family will click on the corresponding wireless network of operation and be determined as mesh to the clicking operation of any wireless network in the multiple wireless network
Mark wireless network;
Judging the residue of the target radio network can connect whether number of users is zero;
When the judgment result is no, the wireless connection between the target radio network is established;
When the result judged is is, it is non-for searching priority to be higher than the target radio network and residue to connect number of users
Zero wireless network, and output can connect prompting message when finding, the prompting message that connects carries the nothing found
The mark of gauze network;If not finding priority higher than the target radio network and the remaining number of users that can connect being non-zero
Wireless network then searches the remaining wireless network that can connect number of users as non-zero, and output carrying is found when finding
The mark of wireless network can connect prompting message.
2. the method according to claim 1, wherein described according to wireless network each in the multiple wireless network
The network information of network determines the priority between the multiple wireless network, comprising:
When the signal strength of at least two wireless networks of the multiple wireless network is in same signal strength range the case where
Under, priority between at least two wireless network is connected by each wireless network at least two wireless network
The size order for connecing ratio determines;
When the signal strength of at least two wireless networks of the multiple wireless network is not in the feelings of same signal strength range
Under condition, the priority between at least two wireless network is strong by the signal of each wireless network in the multiple wireless network
The sequence of degree determines;
Wherein, wireless network i connects the residue that ratio is the wireless network i and can connect number of users divided by described wireless
User's connection capacity of network i obtains quotient, and user's connection capacity of the wireless network i is having connected for the wireless network i
Number of users and residue can connect the sum of number of users, and the wireless network i is any one in the multiple wireless network
Wireless network.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
When wireless network connection state is in, to connection status, and in the multiple wireless network, the residue of each wireless network can
When connection number of users is zero, number of users can be connected with the presence or absence of residue by periodically detecting in the multiple wireless network
For the wireless network of non-zero;
When detecting that there is residue in the multiple wireless network can connect the wireless network that number of users is non-zero, output can
Connect prompting message, the mark for connecting prompting message and carrying the wireless network detected.
4. a kind of mobile terminal characterized by comprising
Acquiring unit, for the multiple wireless there are obtaining in the case where multiple wireless networks under current environment when searching
The network information of each wireless network in network;The network information includes signal strength, have connected number of users and residue can
Connect number of users;
Determination unit, it is the multiple wireless for being determined according to the network information of wireless network each in the multiple wireless network
Priority between network;
Sequencing unit, for being ranked up according to the priority between the multiple wireless network to the multiple wireless network,
And show the mark of the multiple wireless network after sequence;
The determination unit is also used to when receiving link order, determines target radio network according to the link order;Its
In, the link order is clicking operation of the user to any wireless network in the multiple wireless network, will click on operation pair
The wireless network answered is determined as target radio network;
The mobile terminal further include:
Judging unit, for judging that the residue of the target radio network can connect whether number of users is zero;
Connection unit when the result for judging when the judging unit is no, is established between the target radio network
It is wirelessly connected;
Searching unit when result for judging when the judging unit is is, searches priority and is higher than the Target Wireless net
Network and residue can connect the wireless network that number of users is non-zero;
Output unit, for finding the priority higher than the target radio network and residue can connect number of users and be
When the wireless network of non-zero, output can connect prompting message, and the prompting message that connects carries the wireless network found
Mark;If not finding priority higher than the target radio network and the remaining wireless network that can connect number of users as non-zero
Network, then search it is remaining can connect the wireless network that number of users is non-zero, and when finding output carry find it is wireless
The mark of network can connect prompting message.
5. mobile terminal according to claim 4, which is characterized in that
The determination unit is used to be in same letter when the signal strength of at least two wireless networks of the multiple wireless network
In the case where number strength range, the priority between at least two wireless network is by every at least two wireless network
The size order for connecting ratio of a wireless network determines;
The determination unit is also used to be not in together when the signal strength of at least two wireless networks of the multiple wireless network
In the case where one signal strength range, the priority between at least two wireless network is by every in the multiple wireless network
The sequence of the signal strength of a wireless network determines;
Wherein, wireless network i connects the residue that ratio is the wireless network i and can connect number of users divided by described wireless
User's connection capacity of network i obtains quotient, and user's connection capacity of the wireless network i is having connected for the wireless network i
Number of users and residue can connect the sum of number of users, and the wireless network i is any one in the multiple wireless network
Wireless network.
6. mobile terminal according to claim 5, which is characterized in that the mobile terminal further include:
Detection unit, for being in when wireless network connection state to connection status, and each nothing in the multiple wireless network
When the residue of gauze network can connect number of users and be zero, periodically detect in the multiple wireless network with the presence or absence of residue
The wireless network that number of users is non-zero can be connected;
Output unit, for detecting that there are residues can connect number of users in the multiple wireless network when the detection unit
For non-zero wireless network when, output can connect prompting message, and the prompting message that connects carries the wireless network detected
Mark.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510796388.5A CN105472705B (en) | 2015-11-17 | 2015-11-17 | A kind of wireless network processing method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510796388.5A CN105472705B (en) | 2015-11-17 | 2015-11-17 | A kind of wireless network processing method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105472705A CN105472705A (en) | 2016-04-06 |
CN105472705B true CN105472705B (en) | 2019-07-12 |
Family
ID=55609863
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510796388.5A Expired - Fee Related CN105472705B (en) | 2015-11-17 | 2015-11-17 | A kind of wireless network processing method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105472705B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109104753A (en) * | 2017-06-21 | 2018-12-28 | 中兴通讯股份有限公司 | wireless local area network access method, device, equipment and storage medium |
CN109030762A (en) * | 2018-08-03 | 2018-12-18 | 成都清渟科技有限公司 | For the debugging system of water purification monitoring and warning system, method and mobile detection terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102938923A (en) * | 2012-11-05 | 2013-02-20 | Tcl通讯(宁波)有限公司 | Wireless access point sequencing method based on mobile terminal and mobile terminal |
CN103379480A (en) * | 2012-04-17 | 2013-10-30 | 腾讯科技(深圳)有限公司 | Wireless network connection method and wireless network connection apparatus |
CN103686941A (en) * | 2013-11-29 | 2014-03-26 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for displaying WIFI (wireless fidelity) names |
CN104754761A (en) * | 2013-12-27 | 2015-07-01 | 中兴通讯股份有限公司 | Wireless local area network connection processing method and wireless local area network connection processing device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102685750A (en) * | 2012-06-12 | 2012-09-19 | 刘梦阳 | Method for accessing wireless network, equipment and wireless network system |
-
2015
- 2015-11-17 CN CN201510796388.5A patent/CN105472705B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103379480A (en) * | 2012-04-17 | 2013-10-30 | 腾讯科技(深圳)有限公司 | Wireless network connection method and wireless network connection apparatus |
CN102938923A (en) * | 2012-11-05 | 2013-02-20 | Tcl通讯(宁波)有限公司 | Wireless access point sequencing method based on mobile terminal and mobile terminal |
CN103686941A (en) * | 2013-11-29 | 2014-03-26 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for displaying WIFI (wireless fidelity) names |
CN104754761A (en) * | 2013-12-27 | 2015-07-01 | 中兴通讯股份有限公司 | Wireless local area network connection processing method and wireless local area network connection processing device |
Also Published As
Publication number | Publication date |
---|---|
CN105472705A (en) | 2016-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105472148B (en) | Method and apparatus for terminal binding home equipment | |
CN104205948B (en) | Equipment is provided for changing the method and strategy connected between heterogeneous network and supports its terminal installation | |
CN103945494B (en) | Control the user terminal and method of intelligent appliance equipment access wireless router | |
CN104936134B (en) | The method and system of terminal device pairing connection | |
CN104936240B (en) | A kind of method for switching network and terminal | |
CN106358199B (en) | A kind of method and mobile terminal of mobile terminal identification pseudo-base station | |
CN104967970B (en) | The method and system of terminal device pairing connection | |
CN105722249B (en) | A kind of method, apparatus and terminal of switching connection | |
CN105872437A (en) | Video call control method, video call control device and terminal | |
CN109040213A (en) | Document down loading method and Related product | |
CN104852937B (en) | Method for network access and device for mobile application | |
CN103200300B (en) | Terminal and resource sharing method | |
EP2371153A1 (en) | Method and system for providing wireless communication between user equipments | |
CN111615123A (en) | Method, device and storage medium for intelligent device network distribution | |
CN105981445A (en) | Traffic steering between wlan and cellular networks | |
CN108848567A (en) | A kind of method and device that content is shared | |
CN106489274A (en) | One kind is in RRC Idle state terminal control method for movement, terminal and base station | |
CN107404740B (en) | Method for switching network, device and the terminal device of safety | |
TW201032634A (en) | Method for performing PLMN list generation or PLMN search on user equipment having two radio frequency transceivers and user equipment | |
CN106100949A (en) | A kind of control system for intelligent home device | |
CN106411627A (en) | Network connection detection method and apparatus | |
CN105472705B (en) | A kind of wireless network processing method and mobile terminal | |
CN106095266A (en) | A kind of control exposure method and apparatus | |
CN112312518A (en) | Method and device for connecting household appliance with dual-frequency router | |
CN103188368B (en) | Data transmission method and communication terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190712 |