CN107396434A - A kind of connection method of wireless network and mobile terminal - Google Patents
A kind of connection method of wireless network and mobile terminal Download PDFInfo
- Publication number
- CN107396434A CN107396434A CN201710677392.9A CN201710677392A CN107396434A CN 107396434 A CN107396434 A CN 107396434A CN 201710677392 A CN201710677392 A CN 201710677392A CN 107396434 A CN107396434 A CN 107396434A
- Authority
- CN
- China
- Prior art keywords
- wireless network
- address
- mobile terminal
- beacon
- rns
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0225—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
-
- 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
Abstract
The embodiment of the invention discloses a kind of connection method of wireless network and mobile terminal, methods described includes:When mobile terminal is not connected with wireless network, control the terminal main system and the RNS to enter resting state, and control the wireless network chip to monitor beacon;When the beacon that the wireless network chip listens to matches with destination address, the terminal main system and the RNS are waken up, and wireless network corresponding with the destination address connects.According to embodiments of the present invention, while the automatic connection of wireless network is realized, the electricity of mobile terminal consumption is saved.
Description
Technical field
The present embodiments relate to connection method and the mobile terminal of the communications field, more particularly to a kind of wireless network.
Background technology
With the development of the communication technology, increasing user passes through the mobile terminal network visitings such as mobile phone, tablet personal computer.
Generally, mobile terminal by built-in WiFi connections system connect nearby available WiFi (Wireless-Fidelity, wirelessly
Network), after some upper WiFi of connection, user then can access network by the WiFi.In actual use, due to mobile terminal
Leave WiFi coverages, WiFi current demand signals are interfered etc., and factor, mobile terminal may disconnect with WiFi.Work as shifting
After dynamic terminal disconnects the connection with WiFi, WiFi connections system can be periodically scanned for attached on each channel by WiFi chip
Near WiFi, then it is attached when scanning is to available WiFi, so as to realize WiFi automatic connection.
However, it is necessary to periodic wakeup WiFi connection systems during connection WiFi automatically, due to WiFi connection systems
The usually system of high power consumption, it is therefore desirable to consume the substantial amounts of electricity of mobile terminal.Therefore, wireless network of the prior art connects
Connect the problem of method is there is mobile terminal electricity is expended.
The content of the invention
The invention provides a kind of connection method of wireless network and a kind of mobile terminal, to solve to deposit in background technology
Wireless network connecting method of the prior art expend mobile terminal electricity the problem of.
First aspect, there is provided a kind of connection method of wireless network, applied to mobile terminal, the mobile terminal includes
Terminal main system, RNS and wireless network chip, methods described include:
When mobile terminal is not connected with wireless network, the terminal main system and the RNS is controlled to enter
Resting state, and control the wireless network chip to monitor beacon;
When the beacon that the wireless network chip listens to matches with destination address, the terminal main system and institute are waken up
RNS is stated, and wireless network corresponding with the destination address connects.
Second aspect, there is provided a kind of mobile terminal, including:
Control module is monitored, for when mobile terminal is not connected with wireless network, controlling the terminal main system and described
RNS enters resting state, and controls the wireless network chip to monitor beacon;
Network connecting module, when the beacon for being listened to when the wireless network chip matches with destination address, wake up
The terminal main system and the RNS, and wireless network corresponding with the destination address connects.
The third aspect, there is provided a kind of mobile terminal, including processor and memory, be stored on the memory and can
The processing routine of the wireless network connection run on the processor, the processing routine of the wireless network connection is by the place
When managing device and performing, the step of realizing the connection method of described wireless network.
Fourth aspect, there is provided a kind of computer-readable recording medium, be stored with the computer-readable recording medium
The processing routine of wireless network connection, it is wireless described in realization when the processing routine of the wireless network connection is executed by processor
The step of connection method of network.
Compared to prior art is played, the present invention has advantages below:
According to embodiments of the present invention, when mobile terminal is not connected with wireless network, control high power consumption terminal main system and
RNS enters resting state, and control low-power consumption wireless network chip monitor beacon, monitoring beacon with
Destination address wakes up terminal main system and RNS again when matching, and passes through the terminal main system and wireless network being waken up
Network Subsystem accesses wireless network, so as to monitor beacon without periodic wakeup terminal main system and RNS, in reality
While the automatic connection of existing wireless network, the electricity of mobile terminal consumption is saved.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention
Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is a kind of step flow chart of the connection method of wireless network of the embodiment of the present invention one;
Fig. 2 is a kind of step flow chart of the connection method of wireless network of the embodiment of the present invention two;
Fig. 3 is a kind of schematic diagram one of WiFi connections flow of the embodiment of the present invention;
Fig. 4 is a kind of step flow chart of the connection method of wireless network of the embodiment of the present invention three;
Fig. 5 is a kind of schematic diagram two of WiFi connections flow of the embodiment of the present invention;
Fig. 6 is a kind of step flow chart of the connection method of wireless network of the embodiment of the present invention four;
Fig. 7 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention five;
Fig. 8 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention six;
Fig. 9 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention seven;
Figure 10 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention eight;
Figure 11 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention nine;
Figure 12 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention ten.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
Embodiment one
Fig. 1 is a kind of step flow chart of the connection method of wireless network of the embodiment of the present invention one, methods described application
In mobile terminal, the mobile terminal includes terminal main system, RNS and wireless network chip, methods described bag
Include:
Step 101, when mobile terminal is not connected with wireless network, the terminal main system and the radio network are controlled
System enters resting state, and controls the wireless network chip to monitor beacon.
It should be noted that the mobile terminal of the embodiment of the present invention can be built-in with terminal main system, radio network subsystem
System and wireless network chip.Mobile terminal can include the terminals such as mobile phone, tablet personal computer.
Terminal main system and RNS can have resting state and wake-up states, and mobile terminal can pass through
Terminal main system and RNS access wireless network, mobile terminal under wake-up states can also pass through wireless network
Chip monitors beacon.
In the specific implementation, when detecting that mobile terminal is not connected with any wireless network, mobile terminal can control end
End main system and RNS enter dormancy, to save the electricity of mobile terminal.Meanwhile control wireless network chip prison
Beacon is listened, to judge whether the beacon listened to matches with destination address.
Step 102, when the beacon that the wireless network chip listens to matches with destination address, the terminal master is waken up
System and the RNS, and wireless network corresponding with the destination address connects.
In the specific implementation, the wireless network chip of mobile terminal can monitor beacon, in the beacon and destination address of monitoring
Terminal main system and RNS are then waken up during matching.Wherein, wireless network chip monitors a kind of specific real of beacon
Apply in mode, wireless network chip can receive beacon on the channel of one or more, extract ground from the beacon received
Location, the address of extraction is matched with the default destination address of one or more, if the address of extraction and any one mesh
Mark matches between address, then can be determined that the beacon that wireless network chip listens to, matched with destination address.Wherein, beacon
Address can provide the physical address MAC of equipment to send the wireless network of the beacon.
When it is determined that the beacon currently listened to matches with destination address, then terminal main system and wireless network can be waken up
Subsystem, by terminal main system and RNS, connect wireless network corresponding with destination address.
In practical application, the wireless network chip of mobile terminal, relative to terminal main system and RNS, tool
There is the characteristics of low-power consumption, beacon is monitored by the wireless network chip of low-power consumption, mobile terminal is reduced and passes through terminal main system
The electricity consumed with RNS monitoring beacon.
According to embodiments of the present invention, when mobile terminal is not connected with wireless network, control high power consumption terminal main system and
RNS enters resting state, and control low-power consumption wireless network chip monitor beacon, monitoring beacon with
Destination address wakes up terminal main system and RNS again when matching, and passes through the terminal main system and wireless network being waken up
Network Subsystem accesses wireless network, so as to monitor beacon without periodic wakeup terminal main system and RNS, in reality
While the automatic connection of existing wireless network, the electricity of mobile terminal consumption is saved.
Embodiment two
Fig. 2 is a kind of step flow chart of the connection method of wireless network of the embodiment of the present invention two, methods described application
In mobile terminal, the mobile terminal includes terminal main system, RNS and wireless network chip, methods described bag
Include:
Step 201, when mobile terminal is not connected with wireless network, the terminal main system and the radio network are controlled
System enters resting state, and controls the wireless network chip to monitor beacon.
Alternatively, control the terminal main system and the RNS to enter resting state the step of it
Before, methods described also includes:
The RNS is controlled to specify destination channel and the destination address.
In the specific implementation, RNS can realize mesh by way of in register cache channel and address
Mark specifying for channel and destination address.More specifically, the wireless network that the terminal main system of mobile terminal can connect history
The channel of network and address, notify RNS.RNS can by the channel of the wireless network and address,
Caching is in a register.Wireless network chip in a register, can get channel and the address of the wireless network, as work as
Preceding destination channel and destination address.
Alternatively, before the step of control wireless network chip monitors beacon, in addition to:
Timer is set, and controls the wireless network chip to enter resting state after timer is set;
After the timer expiry, the wireless network chip is waken up.
In the specific implementation, mobile terminal can control wireless network chip to set the timing time of timer, setting up
Timer starts timing after finishing, and controls wireless network chip to enter resting state.After the timing time time-out of timer, call out
Awake wireless network chip, to control wireless network chip to begin listening for beacon.
Alternatively, the step of control wireless network chip monitors beacon includes:
Control the wireless network chip to receive beacon in the destination channel, and extract ground from the beacon of reception
Location.
Wireless network chip is monitored in the detailed process of beacon, can be in the destination channel that RNS is specified
Beacon is received, and address is extracted from beacon.The address can provide equipment physically to send the wireless network of the beacon
Location MAC.
Step 202, when the address of extraction is identical with the destination address, the letter that the wireless network chip listens to is judged
Mark matches with the destination address.
In the specific implementation, when the address that wireless network chip extracts from beacon is identical with destination address, it is possible to determine that prison
The beacon heard matches with destination address.
Step 203, when the beacon that the wireless network chip listens to matches with destination address, the terminal master is waken up
System and the RNS, and wireless network corresponding with the destination address connects.
Step 204, when the beacon that the wireless network chip listens to mismatches with destination address, timer is set,
And the wireless network chip is controlled to enter resting state after timer is set.
Step 205, after the timer expiry, the wireless network chip is waken up, and controls the wireless network core
Piece monitors beacon.
In the specific implementation, if the beacon listened to matches with destination address, terminal main system and wireless can be waken up
Network subsystem, and connected by terminal main system and RNS wireless network corresponding with destination address.
If the beacon listened to mismatches with destination address, wireless network chip can reset the timing of timer
Time, after timer starts timing after setting completed, and wireless chip is controlled to be again introduced into resting state.In the meter of timer
When time time-out after, wake on wireless network chip, to control wireless network chip to begin listening for beacon.In other words, monitoring
Beacon and destination address when mismatching, be back to above-mentioned setting timer, control wireless network chip enters resting state
The step of.Thus, wireless chip circulates between the two in resting state and listening state, until listen to can connect it is wireless
Network.
Deeply understand the embodiment of the present invention for the ease of those skilled in the art, enter below with reference to Fig. 3 specific example
Row explanation.
Fig. 3 is a kind of schematic diagram one of WiFi connections flow of the embodiment of the present invention.It can be seen that the terminal master of mobile phone
The WiFi once connected some MAC Address and network channel can be notified RNS by system.When detecting
When mobile terminal is currently without connection WiFi, terminal main system enters resting state.RNS can specify the MAC
Address and network channel are the MAC Address and network channel currently monitored, and are cached to register.Then, radio network subsystem
System enters resting state.Wireless network chip enters resting state after setting the timing time of timer, in the timing of timer
Time then after, wireless network chip is waken up and enters listening state.In specific snoop procedure, wireless network chip is from posting
In storage, MAC Address and network channel that RNS is specified are obtained, beacon is received on the network channel, is judged
Whether the new mark received matches with specified MAC Address;If mismatching, enter dormancy after returning to the timing time that timer is set
The step of;If matching, then terminal main system and RNS are waken up, carries out WiFi connections.
Embodiment three
Fig. 4 is a kind of step flow chart of the connection method of wireless network of the embodiment of the present invention three, methods described application
In mobile terminal, the mobile terminal includes terminal main system, RNS and wireless network chip, methods described bag
Include:
Step 301, when mobile terminal is not connected with wireless network, the terminal main system and the radio network are controlled
System enters resting state, and controls the wireless network chip to monitor beacon.
Alternatively, control the terminal main system and the RNS to enter resting state the step of it
Before, methods described also includes:
The RNS is controlled to specify destination channel and the destination address.
Alternatively, the step of control RNS specifies destination channel and the destination address is wrapped
Include:
The RNS is controlled from multiple preset channels and multiple preset address, is selected at least one default
Channel and at least one preset address, as currently assigned destination channel and destination address.
Alternatively, methods described also includes:
Record the wireless network that the mobile terminal is successfully connected;
By the channel of the wireless network and address, respectively as the preset channel and the preset address.
In the application scenarios of reality, in the environment residing for mobile terminal, there may be the substantial amounts of wireless network for being available for connection
Network.In other words, wireless network chip may need on a number of distinct channels, to monitor multiple different beacons.However, move
The wireless network chip of dynamic terminal is limited to hardware capability, can only monitor the beacon of limited quantity at the same time.
Therefore, in embodiments of the present invention, the wireless network that mobile terminal was once successfully connected can be recorded, will be recorded
Wireless network channel and address, as preset channel and preset address.Target letter is specified in control RNS
When road and destination address, it can be controlled in multiple preset channels and multiple preset address, select the channel of one or more
And preset address, as currently assigned destination channel and destination address, believe for target of the wireless network chip in limited quantity
Beacon is monitored on road, and by the beacon listened to compared with the destination address of limited quantity, to judge the beacon listened to
Whether matched with any one destination address.Generally, can control RNS specify every time destination channel and
One destination address.
Alternatively, the control RNS is from multiple preset channels and multiple preset address, selection
At least one preset channel and at least one preset address, can the step of as currently assigned destination channel and destination address
To specifically include:
The RNS is controlled from multiple preset channels and multiple preset address, to be followed according to preset order
Ring selects at least one preset channel and at least one preset address, as currently assigned destination channel and destination address.
In the specific implementation, multiple preset channels and multiple preset address can be directed to, the order of selection is pre-set, such as
According to initial sequence or signal intensity sequence.When controlling RNS to specify destination channel and destination address, press
According to the preset order, one or more preset channels and preset address are selected successively, as destination channel and destination address.When
All preset channels and preset address are selected, and are back to the preset channel and preset address of initial selected, and realization follows
Ring selects.
Alternatively, the step of control wireless network chip monitors beacon includes:
Control the wireless network chip to receive beacon in the destination channel, and extract ground from the beacon of reception
Location.
Step 302, when the address of extraction is identical with the destination address, the letter that the wireless network chip listens to is judged
Mark matches with the destination address.
In the specific implementation, when the address that wireless network chip extracts from beacon, with a currently assigned destination address
It is identical, or, it is identical with any one destination address in currently assigned multiple destination addresses, then it can be determined that what is listened to
Beacon matches with destination address.
Step 303, when the beacon that the wireless network chip listens to matches with destination address, the terminal master is waken up
System and the RNS, and wireless network corresponding with the destination address connects.
Step 304, when the beacon that the wireless network chip listens to mismatches with destination address, wake up described wireless
Network subsystem, and the control RNS is returned from multiple preset channels and multiple preset address, choosing
At least one preset channel and at least one preset address are selected, the step of as currently assigned destination channel and destination address.
In the specific implementation, if the beacon listened to matches with destination address, terminal main system and wireless can be waken up
Network subsystem, and connected by terminal main system and RNS wireless network corresponding with destination address.
, can be with wake on wireless network subsystem if the beacon listened to mismatches with destination address, and control nothing
Gauze Network Subsystem reassigns destination channel and destination address.In practical application, RNS can be from multiple pre-
If in channel and multiple preset address, select it is at least one, from last time specified by preset channel and different its of preset address
His channel and address, as currently assigned destination channel and destination address, so that wireless network chip enters the letter of next round
Mark is monitored.
Deeply understand the embodiment of the present invention for the ease of those skilled in the art, enter below with reference to Fig. 5 specific example
Row explanation.
Fig. 5 is a kind of schematic diagram two of WiFi connections flow of the embodiment of the present invention.It can be seen that the terminal master of mobile phone
The WiFi once connected MAC Address and network channel can be notified RNS by system.When detecting movement
When terminal is currently without connection WiFi, terminal main system enters resting state.RNS can connect from once
Multiple WiFi MAC Address and network channel among, a MAC Address and network channel are selected, as currently assigned MAC
Address and network channel, and it is cached to register.Then, RNS enters resting state.Wireless network chip is set
Enter resting state after putting the timing time of timer, timer timing time then after, wireless network chip is waken up
And enter listening state.In specific snoop procedure, WiFi chip obtains what is specified when RNS from register
After MAC Address and network channel, beacon is received on the network channel, judge receive new mark whether with specified MAC Address
Matching;If mismatching, wake on wireless network subsystem, return to RNS and specify MAC Address and network channel
Step;If matching, waking up terminal main system and RNS, WiFi connections are carried out.
Example IV
Fig. 6 is a kind of step flow chart of the connection method of wireless network of the embodiment of the present invention four, methods described application
In mobile terminal, the mobile terminal includes terminal main system, RNS and wireless network chip, methods described bag
Include:
Step 401, the Web vector graphic time range that user uses wireless network is recorded.
Step 402, the listening period scope is set using the Web vector graphic time range.
In the specific implementation, can be when user uses wireless network, from recording user using the time of wireless network
Initial point, as Web vector graphic time range.It can use Web vector graphic time range that listening period scope is set, to monitor
Monitoring of the time range internal trigger to wireless network.For example, user is 8am-9am using the time range of wireless network 01, can
To set listening period scope as 8am-9am, it is 7am-10am that can also set listening period scope.
Generally, user may be different using the time range of different wireless networks, therefore can record different nothings respectively
The usage time scope of gauze network, and the listening period scope that relative set is different.For example, user using wireless network 01 when
Between scope be 8am-9am, the time range using wireless network 02 is 2pm-4pm, therefore, can be set for wireless network 01
Listening period scope 8am-9am, wireless network 02 can be directed to listening period scope 2pm-4pm is set.
In practical application, it can also be accustomed to setting listening period scope according to other users.Those skilled in the art can
It is actually needed and is configured with basis.For example, record user carries out the time of network connection operation, set and monitored according to the time
Time range.
Step 403, when mobile terminal is not connected with wireless network, the terminal main system and the radio network are controlled
System enters resting state, and controls the wireless network chip to monitor beacon.
In practical application, whether mobile terminal can also be detected in the screen shape that goes out before terminal main system dormancy is controlled
State, when detecting that mobile terminal is currently at screen state of going out, the terminal main system of the mobile terminal is controlled to enter dormancy.Need
Illustrate, it is necessary to which RNS and terminal main system are in and wake up shape simultaneously when mobile terminal accesses wireless network
State, to be attached processing.When mobile terminal does not have attachable wireless network, user may extinguish the screen of mobile terminal
Curtain, produce screen state of going out.Therefore, detect go out screen state when, show current mobile terminal be not available for connection wireless network
Network, and user need not perform operation by terminal main system, can now control terminal main system to enter dormancy.
Alternatively, before the step of control wireless network chip monitors beacon, methods described also includes:
Read current time.
If current time in the range of preset listening period, controls the wireless network chip to monitor beacon.
In the specific implementation, after the terminal main system and RNS of mobile terminal enter dormancy, can sentence
Whether disconnected current time is in the range of preset listening period, if then controlling the wireless network chip to monitor beacon.Work as pin
When different networks are preset with different listening period scopes, if current time in the range of some listening period,
Currently monitor wireless network corresponding to the listening period scope.For example, for the preset listening period scope of wireless network 01
8am-9am, current time 8am, then trigger monitoring wireless network 01.
Step 404, when the beacon that the wireless network chip listens to matches with destination address, the terminal master is waken up
System and the RNS, and wireless network corresponding with the destination address connects.
According to embodiments of the present invention, listening period scope is set according to the Web vector graphic time range of user, when monitoring
Between in the range of monitor beacon, avoid being monitored when user need not use wireless network, further save mobile terminal disappear
The electricity of consumption.
Embodiment five
Fig. 7 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention five, and the mobile terminal 500 described in Fig. 7 includes
Terminal main system, RNS and wireless network chip, the mobile terminal 500 include:
Control module 501 is monitored, for when mobile terminal is not connected with wireless network, controlling the terminal main system and institute
State RNS and enter resting state, and control the wireless network chip to monitor beacon;
Network connecting module 502, when the beacon for being listened to when the wireless network chip matches with destination address, call out
The terminal main system of waking up and the RNS, and wireless network corresponding with the destination address connects.
According to embodiments of the present invention, when mobile terminal is not connected with wireless network, control high power consumption terminal main system and
RNS enters resting state, and control low-power consumption wireless network chip monitor beacon, monitoring beacon with
Destination address wakes up terminal main system and RNS again when matching, and passes through the terminal main system and wireless network being waken up
Network Subsystem accesses wireless network, so as to monitor beacon without periodic wakeup terminal main system and RNS, in reality
While the automatic connection of existing wireless network, the electricity of mobile terminal consumption is saved.
Embodiment six
Fig. 8 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention six, and the mobile terminal 600 described in Fig. 8 includes
Terminal main system, RNS and wireless network chip, the mobile terminal 600 include:
Control module 601 is monitored, for when mobile terminal is not connected with wireless network, controlling the terminal main system and institute
State RNS and enter resting state, and control the wireless network chip to monitor beacon.
Alternatively, the mobile terminal 600 also includes:
Channel and address control module are specified, for controlling the RNS to specify destination channel and the mesh
Mark address.
Alternatively, the mobile terminal 600 also includes:
Timer setup module, for setting timer, and the wireless network chip is controlled to set timer laggard
Enter resting state.
Wake module, for when the timer expiry after, waking up the wireless network chip.
The monitoring control module 601 includes:
Wireless network chip extracts address submodule, for controlling the wireless network chip to be connect in the destination channel
Collect mail and mark, and address is extracted from the beacon of reception.
Determination module 602 is matched, the address for working as extraction is identical with the destination address, judges the wireless network core
The beacon that piece listens to matches with the destination address.
Network connecting module 603, when the beacon for being listened to when the wireless network chip matches with destination address, call out
The terminal main system of waking up and the RNS, and wireless network corresponding with the destination address connects.
First calling module 604, when the beacon for being listened to when the wireless network chip mismatches with destination address,
Call the timer setup module and the wake module.
According to embodiments of the present invention, when mobile terminal is not connected with wireless network, control high power consumption terminal main system and
RNS enters resting state, and control low-power consumption wireless network chip monitor beacon, monitoring beacon with
Destination address wakes up terminal main system and RNS again when matching, and passes through the terminal main system and wireless network being waken up
Network Subsystem accesses wireless network, so as to monitor beacon without periodic wakeup terminal main system and RNS, in reality
While the automatic connection of existing wireless network, the electricity of mobile terminal consumption is saved.
Embodiment seven
Fig. 9 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention seven, and the mobile terminal 700 described in Fig. 9 includes
Terminal main system, RNS and wireless network chip, the mobile terminal 700 include:
Control module 701 is monitored, for when mobile terminal is not connected with wireless network, controlling the terminal main system and institute
State RNS and enter resting state, and control the wireless network chip to monitor beacon.
Alternatively, the mobile terminal 700 also includes:
Channel and address control module are specified, for controlling the RNS to specify destination channel and the mesh
Mark address.
Alternatively, channel and address control module is specified to include:
Specified control submodule, for controlling the RNS from multiple preset channels and multiple preset address
In, at least one preset channel and at least one preset address are selected, as currently assigned destination channel and destination address.
Alternatively, the specified control submodule is specifically used for:
The RNS is controlled from multiple preset channels and multiple preset address, to be followed according to preset order
Ring selects at least one preset channel and at least one preset address, as currently assigned destination channel and destination address.
Alternatively, the mobile terminal 700 also includes:
History connects network determining module, the wireless network being successfully connected for recording the mobile terminal.
Preset channel and address determination module, for by the channel of the wireless network and address, respectively as described pre-
If channel and the preset address.
The monitoring control module 701 includes:
Wireless network chip extracts address submodule, for controlling the wireless network chip to be connect in the destination channel
Collect mail and mark, and address is extracted from the beacon of reception.
Determination module 702 is matched, the address for working as extraction is identical with the destination address, judges the wireless network core
The beacon that piece listens to matches with the destination address.
Network connecting module 703, when the beacon for being listened to when the wireless network chip matches with destination address, call out
The terminal main system of waking up and the RNS, and wireless network corresponding with the destination address connects.
Second calling module 704, when the beacon for being listened to when the wireless network chip mismatches with destination address,
The RNS wake module is called, and, call the specified channel and address control module;The wireless network
Network Subsystem wake module, for waking up the RNS.
According to embodiments of the present invention, when mobile terminal is not connected with wireless network, control high power consumption terminal main system and
RNS enters resting state, and control low-power consumption wireless network chip monitor beacon, monitoring beacon with
Destination address wakes up terminal main system and RNS again when matching, and passes through the terminal main system and wireless network being waken up
Network Subsystem accesses wireless network, so as to monitor beacon without periodic wakeup terminal main system and RNS, in reality
While the automatic connection of existing wireless network, the electricity of mobile terminal consumption is saved.
Embodiment eight
Figure 10 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention eight, and the mobile terminal 800 described in Figure 10 wraps
Terminal main system, RNS and wireless network chip are included, the mobile terminal 800 includes:
Web vector graphic time recording module 801, the Web vector graphic time range of wireless network is used for recording user.
Listening period setup module 802, for setting the listening period scope using the Web vector graphic time range.
Control module 803 is monitored, for when mobile terminal is not connected with wireless network, controlling the terminal main system and institute
State RNS and enter resting state, and control the wireless network chip to monitor beacon.
Alternatively, the mobile terminal 800 also includes:
Current time read module, for reading current time.
Condition criterion module is monitored, if for current time in the range of preset listening period, is controlled described wireless
Network chip monitors beacon.
Network connecting module 804, when the beacon for being listened to when the wireless network chip matches with destination address, call out
The terminal main system of waking up and the RNS, and wireless network corresponding with the destination address connects.
According to embodiments of the present invention, listening period scope is set according to the Web vector graphic time range of user, when monitoring
Between in the range of monitor beacon, avoid being monitored when user need not use wireless network, further save mobile terminal disappear
The electricity of consumption.
Embodiment nine
Figure 11 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention nine.Mobile terminal 900 shown in Figure 11 wraps
Include:At least one processor 901, memory 902, at least one network interface 904 and other users interface 903.Mobile terminal
Each component in 900 is coupled by bus system 905.It is understood that bus system 905 be used for realize these components it
Between connection communication.Bus system 905 is in addition to including data/address bus, in addition to power bus, controlling bus and status signal
Bus.But for the sake of clear explanation, various buses are all designated as bus system 905 in fig.9.
Wherein, user interface 903 can include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 902 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Or it may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synch Link DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The embodiment of the present invention description system and method memory 902 be intended to including but not limited to these
With the memory of any other suitable type.Memory 902 can store predetermined registration operation rule, including the number in prerequisite
According to such as default sliding trace, default pressure threshold, default operating time interval, the embodiment of the present invention is to memory
Specific content is not restricted.
In some embodiments, memory 902 stores following element, can perform module or data structure, or
Their subset of person, or their superset:Operating system 9021 and application program 9022.
Wherein, operating system 9021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., it is used for
Realize various basic businesses and the hardware based task of processing.Application program 9022, include various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 9022.
In embodiments of the present invention, mobile terminal 900 also includes:It is stored on memory 902 and can be on processor 901
The processing routine of the wireless network connection of operation, can be the processing of the wireless network connection in application program 9022 specifically
Program, when the processing routine of wireless network connection is performed by processor 901, realize following steps:
When mobile terminal is not connected with wireless network, the terminal main system and the RNS is controlled to enter
Resting state, and control the wireless network chip to monitor beacon;The beacon and target listened to when the wireless network chip
When address matches, the terminal main system and the RNS are waken up, and it is corresponding with the destination address wireless
Network connection.
The method that the embodiments of the present invention disclose can apply in processor 901, or be realized by processor 901.
Processor 901 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 901 or the instruction of software form.Above-mentioned processing
Device 901 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic,
Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor
And software module combination performs completion.Software module can be located at random access memory, flash memory, read-only storage, may be programmed read-only
In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at
Memory 902, processor 901 read the information in memory 902, with reference to the step of its hardware completion above method.
It is understood that the embodiment of the present invention description these embodiments can use hardware, software, firmware, middleware,
Microcode or its combination are realized.Realized for hardware, processing unit can be realized in one or more application specific integrated circuits
(Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal
Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable
Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general place
Manage in device, controller, microcontroller, microprocessor, other electronic units for performing function of the present invention or its combination.
For software realize, can by perform the module (such as process, function etc.) of function described in the embodiment of the present invention come
Realize the technology described in the embodiment of the present invention.Software code is storable in memory and passes through computing device.Memory can
To realize within a processor or outside processor.
Alternatively, when the processing routine of wireless network connection is performed by processor 901, following steps can also be realized:
The RNS is controlled to specify destination channel and the destination address;
The step of control wireless network chip monitors beacon includes:
Control the wireless network chip to receive beacon in the destination channel, and extract ground from the beacon of reception
Location;
Before the step of wake-up terminal main system and the RNS, methods described is also wrapped
Include:
When the address of extraction is identical with the destination address, judge beacon that the wireless network chip listens to it is described
Destination address matches.
Alternatively, when the processing routine of wireless network connection is performed by processor 901, following steps can also be realized:
Timer is set, and controls the wireless network chip to enter resting state after timer is set;
After the timer expiry, the wireless network chip is waken up.
Alternatively, when the processing routine of wireless network connection is performed by processor 901, following steps can also be realized:
When the beacon that the wireless network chip listens to mismatches with destination address, timer is set, and controls institute
State wireless network chip and enter resting state after timer is set;
After the timer expiry, the wireless network chip is waken up, and controls the wireless network chip to monitor letter
Mark.
Alternatively, when the processing routine of wireless network connection is performed by processor 901, following steps can also be realized:
The RNS is controlled from multiple preset channels and multiple preset address, is selected at least one default
Channel and at least one preset address, as currently assigned destination channel and destination address.
Alternatively, when the processing routine of wireless network connection is performed by processor 901, following steps can also be realized:
When the beacon that the wireless network chip listens to mismatches with destination address, the radio network subsystem is waken up
System, and the control RNS is returned from multiple preset channels and multiple preset address, select at least one
Individual preset channel and at least one preset address, the step of as currently assigned destination channel and destination address.
Alternatively, when the processing routine of wireless network connection is performed by processor 901, following steps can also be realized:
The RNS is controlled from multiple preset channels and multiple preset address, to be followed according to preset order
Ring selects at least one preset channel and at least one preset address, as currently assigned destination channel and destination address.
Alternatively, when the processing routine of wireless network connection is performed by processor 901, following steps can also be realized:
Read current time;
If current time in the range of preset listening period, controls the wireless network chip to monitor beacon;
Alternatively, when the processing routine of wireless network connection is performed by processor 901, following steps can also be realized:
Record the Web vector graphic time range that user uses wireless network;
The listening period scope is set using the Web vector graphic time range.
Alternatively, when the processing routine of wireless network connection is performed by processor 901, following steps can also be realized:
Record the wireless network that the mobile terminal is successfully connected;
By the channel of the wireless network and address, respectively as the preset channel and the preset address.
Mobile terminal 900 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
Repeat no more.
According to embodiments of the present invention, when mobile terminal is not connected with wireless network, control high power consumption terminal main system and
RNS enters resting state, and control low-power consumption wireless network chip monitor beacon, monitoring beacon with
Destination address wakes up terminal main system and RNS again when matching, and passes through the terminal main system and wireless network being waken up
Network Subsystem accesses wireless network, so as to monitor beacon without periodic wakeup terminal main system and RNS, in reality
While the automatic connection of existing wireless network, the electricity of mobile terminal consumption is saved.
Embodiment ten
Figure 12 is the structured flowchart of the mobile terminal of the embodiment of the present invention ten.Specifically, the mobile terminal 1000 in Figure 12
Can be mobile phone, tablet personal computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer
Deng.
Mobile terminal 1000 in Figure 12 include radio frequency (Radio Frequency, RF) circuit 1010, memory 1020,
Input block 1030, display unit 1040, processor 1060, voicefrequency circuit 1070, Wi-Fi (Wireless Fidelity) mould
Block 1080 and power supply 1090.
Wherein, input block 1030 is available for the numeral or character information for receiving user's input, and generation and movement are eventually
The signal input that the user at end 1000 is set and function control is relevant.Specifically, in the embodiment of the present invention, the input block
1030 can include contact panel 1031.Contact panel 1031, also referred to as touch-screen, collect user's touching on or near it
Operation (for example user uses the operations of any suitable object or annex on contact panel 1031 such as finger, stylus) is touched, and
Corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 1031 may include touch detecting apparatus and
Two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect the letter that touch operation is brought
Number, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into
Contact coordinate, then give the processor 1060, and the order sent of reception processing device 1060 and can be performed.Furthermore, it is possible to
Contact panel 1031 is realized using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1031, input block 1030 can also include other input equipments 1032, and other input equipments 1032 can include but is not limited to
One kind or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Kind.
Wherein, display unit 1040 can be used for display by the information of user's input or be supplied to information and the movement of user
The various menu interfaces of terminal 1000.Display unit 1040 may include display panel 1041, optionally, can use LCD or have
The forms such as machine light emitting diode (Organic Light-Emitting Diode, OLED) configure display panel 1041.
It should be noted that contact panel 1031 can cover display panel 1041, touch display screen is formed, when the touch display screen
After detecting the touch operation on or near it, processor 1060 is sent to determine the type of touch event, is followed by subsequent processing
Device 1060 provides corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area
And arrangement mode of the conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area
It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example,
Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 1060 is the control centre of mobile terminal 1000, utilizes various interfaces and connection whole mobile phone
Various pieces, by running or performing the software program and/or module that are stored in first memory 1021, and call and deposit
The data in second memory 1022 are stored up, perform the various functions and processing data of mobile terminal 1000, so as to mobile whole
End 1000 carries out integral monitoring.Optionally, processor 1090 may include one or more processing units.
In embodiments of the present invention, mobile terminal 1000 also includes:Be stored in first memory 1021 and/or this second
The processing routine of wireless network connection in memory 1022, the processing routine of wireless network connection are performed by processor 1060
When, realize following steps:
When mobile terminal is not connected with wireless network, the terminal main system and the RNS is controlled to enter
Resting state, and control the wireless network chip to monitor beacon;The beacon and target listened to when the wireless network chip
When address matches, the terminal main system and the RNS are waken up, and it is corresponding with the destination address wireless
Network connection.
Alternatively, when the processing routine of wireless network connection is performed by processor 1060, following steps are realized:
The RNS is controlled to specify destination channel and the destination address;
The step of control wireless network chip monitors beacon includes:
Control the wireless network chip to receive beacon in the destination channel, and extract ground from the beacon of reception
Location;
Before the step of wake-up terminal main system and the RNS, methods described is also wrapped
Include:
When the address of extraction is identical with the destination address, judge beacon that the wireless network chip listens to it is described
Destination address matches.
Alternatively, when the processing routine of wireless network connection is performed by processor 1060, following steps are realized:
Timer is set, and controls the wireless network chip to enter resting state after timer is set;
After the timer expiry, the wireless network chip is waken up.
Alternatively, when the processing routine of wireless network connection is performed by processor 1060, following steps are realized:
When the beacon that the wireless network chip listens to mismatches with destination address, timer is set, and controls institute
State wireless network chip and enter resting state after timer is set;
After the timer expiry, the wireless network chip is waken up, and controls the wireless network chip to monitor letter
Mark.
Alternatively, when the processing routine of wireless network connection is performed by processor 1060, following steps are realized:
The RNS is controlled from multiple preset channels and multiple preset address, is selected at least one default
Channel and at least one preset address, as currently assigned destination channel and destination address.
Alternatively, when the processing routine of wireless network connection is performed by processor 1060, following steps are realized:
When the beacon that the wireless network chip listens to mismatches with destination address, the radio network subsystem is waken up
System, and the control RNS is returned from multiple preset channels and multiple preset address, select at least one
Individual preset channel and at least one preset address, the step of as currently assigned destination channel and destination address.
Alternatively, when the processing routine of wireless network connection is performed by processor 1060, following steps are realized:
The RNS is controlled from multiple preset channels and multiple preset address, to be followed according to preset order
Ring selects at least one preset channel and at least one preset address, as currently assigned destination channel and destination address.
Alternatively, when the processing routine of wireless network connection is performed by processor 1060, following steps are realized:
Read current time;
If current time in the range of preset listening period, controls the wireless network chip to monitor beacon.
Alternatively, when the processing routine of wireless network connection is performed by processor 1060, following steps are realized:
Record the Web vector graphic time range that user uses wireless network;
The listening period scope is set using the Web vector graphic time range.
Alternatively, when the processing routine of wireless network connection is performed by processor 1060, following steps are realized:
Record the wireless network that the mobile terminal is successfully connected;
By the channel of the wireless network and address, respectively as the preset channel and the preset address.
It can be seen that according to embodiments of the present invention, when mobile terminal is not connected with wireless network, control the terminal principal series of high power consumption
System and RNS enter resting state, and control the wireless network chip of low-power consumption to monitor beacon, in the letter of monitoring
Mark wakes up terminal main system and RNS again when being matched with destination address, passes through the terminal main system and nothing being waken up
Gauze Network Subsystem accesses wireless network, so as to monitor beacon without periodic wakeup terminal main system and RNS,
While the automatic connection of wireless network is realized, the electricity of mobile terminal consumption is saved.
Those of ordinary skill in the art it is to be appreciated that with reference to disclosed in the embodiment of the present invention embodiment description it is each
The unit and algorithm steps of example, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These
Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specialty
Technical staff can realize described function using distinct methods to each specific application, but this realization should not
Think beyond the scope of this 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, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through
Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only
A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or
Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit
Connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes
Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (22)
1. a kind of connection method of wireless network, applied to mobile terminal, the mobile terminal includes terminal main system, wireless network
Network Subsystem and wireless network chip, it is characterised in that methods described includes:
When mobile terminal is not connected with wireless network, the terminal main system and the RNS is controlled to enter dormancy
State, and control the wireless network chip to monitor beacon;
When the beacon that the wireless network chip listens to matches with destination address, the terminal main system and the nothing are waken up
Gauze Network Subsystem, and wireless network corresponding with the destination address connects.
2. according to the method for claim 1, it is characterised in that in the control terminal main system and the wireless network
Network Subsystem entered before the step of resting state, in addition to:
The RNS is controlled to specify destination channel and the destination address;
The step of control wireless network chip monitors beacon includes:
Control the wireless network chip to receive beacon in the destination channel, and address is extracted from the beacon of reception;
Before the step of wake-up terminal main system and the RNS, methods described also includes:
When the address of extraction is identical with the destination address, beacon and the target that the wireless network chip listens to are judged
Address matches.
3. according to the method for claim 1, it is characterised in that monitor beacon in the control wireless network chip
Before step, in addition to:
Timer is set, and controls the wireless network chip to enter resting state after timer is set;
After the timer expiry, the wireless network chip is waken up.
4. according to the method for claim 3, it is characterised in that monitor beacon in the control wireless network chip
After step, in addition to:
When the beacon that the wireless network chip listens to mismatches with destination address, timer is set, and controls the nothing
Line network chip enters resting state after timer is set;
After the timer expiry, the wireless network chip is waken up, and controls the wireless network chip to monitor beacon.
5. according to the method for claim 2, it is characterised in that the control RNS specifies target letter
The step of road and the destination address, includes:
The RNS is controlled to select at least one preset channel from multiple preset channels and multiple preset address
With at least one preset address, as currently assigned destination channel and destination address.
6. according to the method for claim 5, it is characterised in that monitor beacon in the control wireless network chip
After step, in addition to:
When the beacon that the wireless network chip listens to mismatches with destination address, the RNS is waken up,
And the control RNS is returned from multiple preset channels and multiple preset address, select at least one pre-
If channel and at least one preset address, the step of as currently assigned destination channel and destination address.
7. according to the method for claim 5, it is characterised in that the control RNS is preset from multiple
In channel and multiple preset address, at least one preset channel and at least one preset address are selected, as currently assigned mesh
Channel and destination address are marked, including:
The RNS is controlled according to preset order, from multiple preset channels and multiple preset address, circulation choosing
At least one preset channel and at least one preset address are selected, as currently assigned destination channel and destination address.
8. according to the method for claim 1, it is characterised in that monitor beacon in the control wireless network chip
Before step, methods described also includes:
Read current time;
If current time in the range of preset listening period, controls the wireless network chip to monitor beacon.
9. according to the method for claim 8, it is characterised in that methods described also includes:
Record the Web vector graphic time range that user uses wireless network;
The listening period scope is set using the Web vector graphic time range.
10. according to the method for claim 5, it is characterised in that methods described also includes:
The wireless network that the mobile terminal is successfully connected is recorded, by the channel of the wireless network and address, respectively as institute
State preset channel and the preset address.
11. a kind of mobile terminal, including terminal main system, RNS and wireless network chip, it is characterised in that institute
Stating mobile terminal includes:
Control module is monitored, for when mobile terminal is not connected with wireless network, controlling the terminal main system and described wireless
Network subsystem enters resting state, and controls the wireless network chip to monitor beacon;
Network connecting module, when the beacon for being listened to when the wireless network chip matches with destination address, described in wake-up
Terminal main system and the RNS, and wireless network corresponding with the destination address connects.
12. mobile terminal according to claim 11, it is characterised in that the mobile terminal also includes:
Channel and address control module are specified, for controlling the RNS with specifying destination channel and the target
Location;
The monitoring control module includes:
Wireless network chip extracts address submodule, for controlling the wireless network chip to receive letter in the destination channel
Mark, and extract address from the beacon of reception;
The mobile terminal also includes:
Determination module is matched, the address for working as extraction is identical with the destination address, judges that the wireless network chip is monitored
The beacon arrived matches with the destination address.
13. mobile terminal according to claim 11, it is characterised in that the mobile terminal also includes:
Timer setup module, for setting timer, and control the wireless network chip to enter after timer is set and stop
Dormancy state;
Wake module, for when the timer expiry after, waking up the wireless network chip.
14. mobile terminal according to claim 13, it is characterised in that the mobile terminal also includes:
First calling module, when the beacon for being listened to when the wireless network chip mismatches with destination address, call institute
State timer setup module and the wake module.
15. mobile terminal according to claim 12, it is characterised in that the specified channel and address control module bag
Include:
Specified control submodule, for controlling the RNS from multiple preset channels and multiple preset address,
At least one preset channel and at least one preset address are selected, as currently assigned destination channel and destination address.
16. mobile terminal according to claim 15, it is characterised in that the mobile terminal also includes:
RNS wake module, for waking up the RNS;
Second calling module, when the beacon for being listened to when the wireless network chip mismatches with destination address, call institute
RNS wake module is stated, and, call the specified channel and address control module.
17. mobile terminal according to claim 15, it is characterised in that the specified control submodule is specifically used for:
The RNS is controlled according to preset order, from multiple preset channels and multiple preset address, circulation choosing
At least one preset channel and at least one preset address are selected, as currently assigned destination channel and destination address.
18. mobile terminal according to claim 11, it is characterised in that the mobile terminal also includes:
Current time read module, for reading current time;
Condition criterion module is monitored, if for current time in the range of preset listening period, controls the wireless network
Chip monitors beacon.
19. mobile terminal according to claim 18, it is characterised in that the mobile terminal also includes:
Web vector graphic time recording module, the Web vector graphic time range of wireless network is used for recording user;
Listening period setup module, for setting the listening period scope using the Web vector graphic time range.
20. mobile terminal according to claim 15, it is characterised in that the mobile terminal also includes:
Wireless network logging modle, the wireless network being successfully connected for recording the mobile terminal;
Preset channel and address determination module, for by the channel of the wireless network and address, respectively as the default letter
Road and the preset address.
21. a kind of mobile terminal, it is characterised in that including processor and memory, be stored on the memory and can be in institute
The processing routine of the wireless network connection run on processor is stated, the processing routine of the wireless network connection is by the processor
During execution, the step of realizing the connection method of wireless network as any one of claim 1-10.
22. a kind of computer-readable recording medium, it is characterised in that be stored with wireless network on the computer-readable recording medium
The processing routine of network connection, the processing routine of the wireless network connection are realized as in claim 1-10 when being executed by processor
The step of connection method of wireless network described in any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710677392.9A CN107396434B (en) | 2017-08-09 | 2017-08-09 | Wireless network connection method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710677392.9A CN107396434B (en) | 2017-08-09 | 2017-08-09 | Wireless network connection method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107396434A true CN107396434A (en) | 2017-11-24 |
CN107396434B CN107396434B (en) | 2020-03-10 |
Family
ID=60354375
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710677392.9A Active CN107396434B (en) | 2017-08-09 | 2017-08-09 | Wireless network connection method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107396434B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114173339A (en) * | 2020-09-10 | 2022-03-11 | 合肥君正科技有限公司 | Method and device for quickly connecting WiFi network, storage medium and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102316564A (en) * | 2010-06-11 | 2012-01-11 | 任天堂株式会社 | Portable data assistance, portable information system, portable information system control method |
CN102316555A (en) * | 2011-09-19 | 2012-01-11 | 华为终端有限公司 | Method for scanning wireless fidelity (WiFi) network by mobile terminal and mobile terminal adopting method |
CN105744604A (en) * | 2014-12-09 | 2016-07-06 | 航天信息股份有限公司 | WIFI module power consumption control device and method based on android system |
CN106793039A (en) * | 2016-12-30 | 2017-05-31 | 深圳天珑无线科技有限公司 | Terminal control method and device |
-
2017
- 2017-08-09 CN CN201710677392.9A patent/CN107396434B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102316564A (en) * | 2010-06-11 | 2012-01-11 | 任天堂株式会社 | Portable data assistance, portable information system, portable information system control method |
CN102316555A (en) * | 2011-09-19 | 2012-01-11 | 华为终端有限公司 | Method for scanning wireless fidelity (WiFi) network by mobile terminal and mobile terminal adopting method |
CN105744604A (en) * | 2014-12-09 | 2016-07-06 | 航天信息股份有限公司 | WIFI module power consumption control device and method based on android system |
CN106793039A (en) * | 2016-12-30 | 2017-05-31 | 深圳天珑无线科技有限公司 | Terminal control method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114173339A (en) * | 2020-09-10 | 2022-03-11 | 合肥君正科技有限公司 | Method and device for quickly connecting WiFi network, storage medium and electronic equipment |
CN114173339B (en) * | 2020-09-10 | 2023-05-05 | 合肥君正科技有限公司 | Method and device for quickly connecting WiFi network, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107396434B (en) | 2020-03-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106855782B (en) | A kind of method, apparatus and terminal for preventing from accidentally touching | |
CN106469011B (en) | A kind of information display method and mobile terminal | |
CN105898705B (en) | A kind of method and mobile terminal of the scan frequency controlling WLAN | |
CN106886766B (en) | A kind of fingerprint identification method, fingerprint recognition circuit and mobile terminal | |
CN107466077A (en) | A kind of method for switching network and mobile terminal | |
CN106453511B (en) | A kind of data back up method and equipment | |
CN108616897B (en) | Configuration method, terminal and network equipment for Discontinuous Reception (DRX) parameters | |
CN107528619A (en) | The switching method and mobile terminal of a kind of antenna mode | |
CN108235336A (en) | A kind of measuring configuration method, the network equipment and terminal device | |
CN104598476A (en) | Message aggregation display method and information display method and relevant device | |
CN107222642A (en) | A kind of call processing method, antenna structure and mobile terminal | |
CN102866916A (en) | Terminal and method for dynamically loading application program interface | |
CN107566624A (en) | A kind of power consumption of terminal and the display methods of temperature and terminal | |
CN106453925A (en) | Information transmission method and mobile terminals | |
CN107819922A (en) | Relaying method of adjustment, wireless headset and the mobile terminal of a kind of wireless headset | |
CN105430632A (en) | Data flow statistical method and mobile terminal | |
CN106095266A (en) | A kind of control exposure method and apparatus | |
CN108377537A (en) | The configuration method of discontinuous reception, the method for discontinuous reception, base station and terminal | |
CN104363590A (en) | Access point connection method and device | |
CN107454664A (en) | A kind of data transmission method and mobile terminal | |
CN105208276B (en) | The photographic method and device of mobile terminal | |
CN107734589A (en) | A kind of data transmission method and mobile terminal based on wireless headset | |
US11147038B2 (en) | Notification message processing method and terminal | |
CN107396434A (en) | A kind of connection method of wireless network and mobile terminal | |
CN107708093A (en) | A kind of method and mobile terminal that relaying data network is established using wireless headset |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |