CN104994547B - A kind of Network Access Method and user terminal - Google Patents

A kind of Network Access Method and user terminal Download PDF

Info

Publication number
CN104994547B
CN104994547B CN201510263415.2A CN201510263415A CN104994547B CN 104994547 B CN104994547 B CN 104994547B CN 201510263415 A CN201510263415 A CN 201510263415A CN 104994547 B CN104994547 B CN 104994547B
Authority
CN
China
Prior art keywords
wlan
function
access
network
user terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510263415.2A
Other languages
Chinese (zh)
Other versions
CN104994547A (en
Inventor
曾元清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510263415.2A priority Critical patent/CN104994547B/en
Publication of CN104994547A publication Critical patent/CN104994547A/en
Application granted granted Critical
Publication of CN104994547B publication Critical patent/CN104994547B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0066Transmission or use of information for re-establishing the radio link of control information between different types of networks in order to establish a new radio link in the target network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Abstract

The embodiment of the invention discloses a kind of Network Access Method and user terminal, this method can include: whether detection user terminal currently needs using network;If detect that the user terminal is currently needed using network, currently whether there is available WLAN using Wireless LAN WLAN searching functions, if searched available WLAN, WLAN can be used using described in WLAN function access, if and current data network function is opened, and the data network function is closed;If do not search available WLAN, the WLAN function is closed, and access data network using the data network function.The embodiment of the present invention can reduce the loss of network flow.

Description

A kind of Network Access Method and user terminal
Technical field
The present invention relates to field of communication technology more particularly to a kind of Network Access Methods and user terminal.
Background technique
User carries out network access frequently by user terminal at present, such as: browsing webpage plays game or chat etc.. Wherein, there are mainly two types of the modes of network access for terminal at present, and one is use data network to carry out network access, the data network The network flow that network uses is to need to carry out charging to the telephone number of user terminal;Another kind is using WLAN Network (Wireless Local Area Networks, WLAN) carries out network access, and the network flow which uses is to be not required to Charging is carried out to the telephone number of user terminal, such as: WiFi network.User terminal is all often silent in practical applications Recognize turn-on data network function and WLAN function, data network function can access data network when opening, and same WLAN function is opened WLAN can be accessed by opening, and certainly, can be only one network of connection in the same time;In addition, user will not often go to close manually Close data network function and WLAN function.However, user terminal is can to access without network, and use in most data The data network function or WLAN function of family terminal may be always to open, and will lead to network flow generation in this way need not The loss wanted.
Summary of the invention
The embodiment of the invention provides a kind of Network Access Method and user terminals, it is possible to reduce the loss of network flow.
In a first aspect, the embodiment of the present invention provides a kind of Network Access Method, comprising:
Whether detection user terminal currently needs using network;
If detect that the user terminal is currently needed using network, worked as using Wireless LAN WLAN searching functions It is preceding whether to have available WLAN, if searched available WLAN, using WLAN can be used described in WLAN function access, and if working as Preceding data network function is opened, then closes the data network function;
If do not search available WLAN, the WLAN function is closed, and access number using the data network function According to network.
Second aspect, the embodiment of the present invention provide a kind of user terminal, comprising: detection unit, the first access unit and Two access units, in which:
Whether the detection unit currently needs using network for detecting the user terminal;
First access unit, if detecting that the user terminal is currently needed using network for the detection unit When, currently whether there is available WLAN using WLAN searching functions, if searched available WLAN, is connect using the WLAN function Enter it is described can use WLAN, and if current data network function open, close the data network function;
Second access unit, if do not search available WLAN for first access unit, described in closing WLAN function, and data network is accessed using the data network function.
In above-mentioned technical proposal, whether detection user terminal currently needs using network;If detecting the user terminal When currently needing using network, currently whether there is available WLAN, if searched available WLAN, make using WLAN searching functions With the WLAN function access described in can with WLAN, and if current data network function open, close the data network function Energy;If do not search available WLAN, the WLAN function is closed, and access data network using the data network function Network.When may be implemented only to detect that user terminal is currently needed using network in this way, available WLAN is just searched for, and accessing It is described use WLAN, and if current data network function open, close the data network function.To the embodiment of the present invention The loss of network flow can be reduced.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of Network Access Method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another Network Access Method provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of user terminal provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of another user terminal provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another user terminal provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another user terminal provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another user 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.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of Network Access Method provided in an embodiment of the present invention, such as Fig. 1 institute Show, comprising the following steps:
Whether S101, detection user terminal currently need using network.
In the present embodiment, it is current whether above-mentioned detection user terminal currently needs to can be detection user terminal using network Whether the application program for running or being currently up needs using network.Such as: user terminal is currently up browser application journey When sequence or Internet chat application program, and browser application and Internet chat application program are needed using network, It thus can be confirmed that user terminal is currently needed using network.
In addition, whether above-mentioned detection user terminal currently needs to can also be user terminal using network in the present embodiment System whether need using network.Such as: when detecting that user terminal current system needs to update, then user's end can be confirmed End is currently needed using network.
If S102, when detecting that the user terminal is currently needed using network, using WLAN searching functions currently whether There is available WLAN, if searched available WLAN, using WLAN can be used described in WLAN function access, and if current data Network function is opened, then closes the data network function.
In the present embodiment, if when executing step S102, when WLAN function is not turned on, then, if being examined in step S102 When measuring the user terminal and currently needing using network, WLAN function is opened, and currently whether have using WLAN searching functions WLAN can be used.In addition, if when WLAN function has been switched on before executing step S102, then, step S102 can be direct Currently whether there is available WLAN using WLAN searching functions.
In addition, when executing step S102, data network function can be unlatching in the present embodiment, and such as: it is executing Data network function has been switched on before step S102, then, data can be closed when step S102 access can be with WLAN Network function.In addition, when executing S102, what data network function was closed, such as: user terminal is detecting that currently needs make When with network, preferential WLAN function of opening does not need turn-on data network function then when accessing WLAN.
If S103, when not searching available WLAN, closing the WLAN function, and connect using the data network function Enter data network.
In the present embodiment, when executing step S103, user terminal is not turned on data network function, in step S103 It can be to close the WLAN function, and turn-on data network function, and use when not searching available WLAN in if The data network function accesses data network.
In the present embodiment, above-mentioned WLAN may include WiFi, and above-mentioned data network may include mobile data network, example Such as: the mobile data network of cell-phone number connection.
In the present embodiment, the above method can be applied to any user's end for having WLAN function and data network function End, such as: tablet computer, mobile phone, electronic reader, remote controler, laptop, mobile unit, wearable device etc. have The user terminal of WLAN function and data network function.
In the present embodiment, whether detection user terminal currently needs using network;If detecting, the user terminal is current When needing using network, currently whether there is available WLAN using WLAN searching functions, if searched available WLAN, uses institute State described in the access of WLAN function can with WLAN, and if current data network function open, close the data network function;If When not searching available WLAN, the WLAN function is closed, and access data network using the data network function.In this way When may be implemented only to detect that user terminal is currently needed using network, available WLAN is just searched for, and can described in the access With WLAN, and if current data network function open, close the data network function.To which the embodiment of the present invention can subtract The loss of few network flow.
Referring to Fig. 2, Fig. 2 is the flow diagram of another Network Access Method provided in an embodiment of the present invention, such as Fig. 2 It is shown, comprising the following steps:
Whether S201, detection user terminal currently need using network.
In the present embodiment, step S201 can periodically detect whether user terminal currently needs using network, such as: Detect whether a user terminal currently needs using network every a hour or half an hour.
In addition, step S201, which can also be, detects user terminal when user terminal meets specified conditions in the present embodiment Currently whether need using network, such as: when detecting the unlocking command of unlock user terminal, detection user terminal is currently It is no to need using network, or when the start command of detection starting application program, detect the application that the start command is started Whether program needs using network.
If S202, when detecting that the user terminal is currently needed using network, using WLAN searching functions currently whether There is available WLAN, if searched available WLAN, using WLAN can be used described in WLAN function access, and if current data Network function is opened, then closes the data network function.
It is above-mentioned currently whether to there is available WLAN can be using WLAN searching functions in the present embodiment, when detecting user When terminal is currently needed using network, timely use whether WLAN searching functions currently have available WLAN, such as: when detecting use When family terminal is currently needed using network, WLAN function is opened, and currently whether have available WLAN using WLAN searching functions.
In addition, in the present embodiment, it is above-mentioned currently whether to there is available WLAN can be using WLAN searching functions, to obtain in advance Period search time taken is that time interval periodically turns on the WLAN function, and when opening the WLAN function, uses Whether the WLAN searching functions currently have the WLAN that can have.
Such as: the WLAN function is periodically turned on using 1 hour or half an hour as time interval, and opens institute When stating WLAN function, currently whether there is the WLAN that can have using the WLAN searching functions.
In addition, the above method can also include the following steps: in the embodiment
The consumption of user terminal network flow in special time period is detected, and judges whether the consumption is big In preset flow threshold value, if so, obtaining updating search time according to the consumption modification described search time cycle Period.
Wherein, above-mentioned special time period can be the unit interval pre-set or user opens WLAN function Period, and above-mentioned network flow can be the flow of WLAN or can be the flow of data network.
The embodiment may be implemented when the network flow for detecting that user terminal uses within the specific period is larger When, period search time is adjusted, such as: the preset time cycle is one hour, then, when detecting user terminal in spy When the network flow used in section of fixing time is larger, so that it may by the search time period modulation be half an hour.It is specific at this The network flow consumption that user terminal uses in period is larger, and user terminal can be more important using WLAN, because if When using data network when network flow consumption is larger, first is that network speed may be slow, second is that network charges can compare Height, and network speed can be improved using WLAN and reduce network charges.
It is above-mentioned to periodically turn on the WLAN using update period search time as time interval in the embodiment Whether function, and when opening the WLAN function, currently have the step of WLAN that can have using the WLAN searching functions, can be with Include:
The WLAN function is periodically turned on as time interval using period search time obtained in advance, and described in unlatching When WLAN function, currently whether there is the WLAN that can have using the WLAN searching functions.
If S203, when not searching available WLAN, closing the WLAN function, and connect using the data network function Enter data network.
In the present embodiment, step S201 be can also be when getting the open command of opening network function, described in response Open command opening network function, and detect whether user terminal currently needs using network;
Wherein, the network function includes the data network function and/or the WLAN function.
Such as: when receiving the order of turn-on data network function of user's input, turn-on data network function, and examine Survey whether user terminal currently needs using network.Or it when receiving the order of unlatching WLAN function of user's input, opens WLAN function is opened, and detects whether user terminal currently needs using network.Or when the turn-on data for receiving user's input When network function and WLAN function, turn-on data network function and WLAN function, and detect whether user terminal currently needs to make Use network.
In addition, in the embodiment, the above method can also include:
If do not detect that the user terminal is currently needed using network, closes and respond the open command and open The network function.
The embodiment may be implemented to open when opening WLAN function perhaps data network function or simultaneously WLAN and When data network function, whether detection user terminal currently needs using network, when detect user terminal currently need using When network, priority access WLAN accesses data network if WLAN not can be used;If detecting, user terminal is currently not required to When using network, then the WLAN of unlatching or function person's data network are closed, or simultaneously close off WLAN function and data network Network function.
In the present embodiment, it can also include the following steps:
The WLAN function access of S204, statistics can use the access parameter of WLAN, and generate institute according to the access parameter The access for stating user terminal can use the access track of WLAN.
Wherein, the access track includes the access conditions for having access to available WLAN of prediction, the access parameter packet Include turn-on time parameter and/or access geo-location parameter.The turn-on time parameter can indicate connecing for the high probability counted Enter the turn-on time of WLAN, such as: the user job time can access WLAN, i.e. step S204, which can count to obtain user, to exist 9 points to 18 points in working day can access WLAN;Or user it is a night in when can access WLAN, i.e. step S204 User, which can be counted on, can access WLAN in evening arbitrarily in a few days.Above-mentioned access geo-location parameter can indicate to count The access geographical location of high probability access WLAN out, such as: the geographical locations such as office, family or market can be accessed WLAN。
In addition, the access conditions for having access to available WLAN of above-mentioned prediction can be and predict user by statistical result Where or when terminal can access WLAN.
Whether S205, the identification user function currently meet the access conditions that the access track includes, if so, The WLAN function is then opened, and currently whether has available WLAN using the WLAN searching functions, if having searched available When WLAN, if the WLAN can be closed do not search available WLAN with WLAN using described in WLAN function access Function.
After step S204 generates above-mentioned access track, step S205 can meet access rail identifying user terminal The WLAN function is opened when access conditions in mark.Such as: it is above-mentioned access when recognizing user terminal to be currently at position When the position that the access conditions that track includes indicates, the WLAN function is opened, and be currently using the WLAN searching functions It is no to have available WLAN, if searched available WLAN, using WLAN can be used described in WLAN function access, if not searching for When to available WLAN, then the WLAN function is closed.Or when identification current time is in the access conditions of above-mentioned access track When the time of expression, the WLAN function is opened, and currently whether have available WLAN using the WLAN searching functions, if search To when having available WLAN, can be closed if do not search available WLAN with WLAN using described in WLAN function access The WLAN function.
In the embodiment, it may be implemented intelligently to control user terminal unlatching WLAN module by above-mentioned access track, To realize that intelligence rapidly accesses WLAN.
In the present embodiment, the embodiment of plurality of optional is increased on the basis of embodiment shown in Fig. 1, and is ok Realize the loss for reducing network flow.
The following is an embodiment of the apparatus of the present invention, and apparatus of the present invention embodiment is for executing embodiment of the present invention method one to two The method of realization, for ease of description, only parts related to embodiments of the present invention are shown, and particular technique details does not disclose , please refer to the embodiment of the present invention one and embodiment two.
Referring to Fig. 3, Fig. 3 is a kind of structural schematic diagram of user terminal provided in an embodiment of the present invention, as shown in figure 3, It include: detection unit 31, the first access unit 32 and the second access unit 33, in which:
Whether detection unit 31 currently needs using network for detecting the user terminal.
In the present embodiment, it is current whether above-mentioned detection user terminal currently needs to can be detection user terminal using network Whether the application program for running or being currently up needs using network.Such as: user terminal is currently up browser application journey When sequence or Internet chat application program, and browser application and Internet chat application program are needed using network, It thus can be confirmed that user terminal is currently needed using network.
In addition, whether above-mentioned detection user terminal currently needs to can also be user terminal using network in the present embodiment System whether need using network.Such as: when detecting that user terminal current system needs to update, then user's end can be confirmed End is currently needed using network.
First access unit 32, if detecting that the user terminal is currently needed using network for the detection unit 31 When, currently whether there is available WLAN using WLAN searching functions, if searched available WLAN, is connect using the WLAN function Enter it is described can use WLAN, and if current data network function open, close the data network function.
In the present embodiment, if when the first access unit 32 executes aforesaid operations, when WLAN function is not turned on, then, If detect that the user terminal is currently needed using network in the first access unit 32, WLAN function is opened, and use Whether WLAN searching functions currently have available WLAN.In addition, if the first access unit 32 execute aforesaid operations before WLAN function When can have been switched on, then, whether the first access unit 32 directly currently can have available WLAN using WLAN searching functions.
In addition, when the first access unit 32 executes aforesaid operations, data network function can be unlatching in the present embodiment , such as: data network function has been switched on before the first access unit 32 executes aforesaid operations, then, when the first access The access of unit 32 can be with can close data network function when WLAN.In addition, executing aforesaid operations in the first access unit 32 When, what data network function was closed, such as: user terminal is preferential to open WLAN function when detecting current need using network Can, when accessing WLAN, then do not need turn-on data network function.
Second access unit 33, if do not search available WLAN for first access unit 32, described in closing WLAN function, and data network is accessed using the data network function.
In the present embodiment, when the second access unit 33 executes aforesaid operations, user terminal is not turned on data network function When, if closing the WLAN function, and turn-on data when the second access unit 33 can not search available WLAN Network function, and data network is accessed using the data network function.
In the present embodiment, above-mentioned WLAN may include WiFi, and above-mentioned data network may include mobile data network, example Such as: the mobile data network of cell-phone number connection.
In the present embodiment, the above method can be applied to any user's end for having WLAN function and data network function End, such as: tablet computer, mobile phone, electronic reader, remote controler, laptop, mobile unit, wearable device etc. have The user terminal of WLAN function and data network function.
In the present embodiment, whether detection user terminal currently needs using network;If detecting, the user terminal is current When needing using network, currently whether there is available WLAN using WLAN searching functions, if searched available WLAN, uses institute State described in the access of WLAN function can with WLAN, and if current data network function open, close the data network function;If When not searching available WLAN, the WLAN function is closed, and access data network using the data network function.In this way When may be implemented only to detect that user terminal is currently needed using network, available WLAN is just searched for, and can described in the access With WLAN, and if current data network function open, close the data network function.To which the embodiment of the present invention can subtract The loss of few network flow.
Referring to Fig. 4, Fig. 4 is the structural schematic diagram of another user terminal provided in an embodiment of the present invention, such as Fig. 4 institute Show, comprising: detection unit 41, the first access unit 42 and the second access unit 43, in which:
Whether detection unit 41 currently needs using network for detecting the user terminal.
In the present embodiment, detection unit 41 can periodically detect whether user terminal currently needs using network, example Such as: detecting whether a user terminal currently needs using network every a hour or half an hour.
In addition, detection unit 41, which can also be, detects user's end when user terminal meets specified conditions in the present embodiment Whether end currently needs using network, such as: when detecting the unlocking command of unlock user terminal, detection user terminal is current Whether need using network, or when the start command of detection starting application program, that detects that the start command started answers Whether needed using network with program.
First access unit 42, if detecting that the user terminal is currently needed using network for the detection unit 41 When, currently whether there is available WLAN using WLAN searching functions, if searched available WLAN, is connect using the WLAN function Enter it is described can use WLAN, and if current data network function open, close the data network function.
It is above-mentioned currently whether to there is available WLAN can be using WLAN searching functions in the present embodiment, when detecting user When terminal is currently needed using network, timely use whether WLAN searching functions currently have available WLAN, such as: when detecting use When family terminal is currently needed using network, WLAN function is opened, and currently whether have available WLAN using WLAN searching functions.
In addition, in the present embodiment, if the first access unit 42 can be used for the detection unit and detect that the user is whole When end is currently needed using network, the WLAN function is periodically turned on as time interval using period search time obtained in advance Can, and when opening the WLAN function, currently whether there is the WLAN that can have using the WLAN searching functions.
Such as: the WLAN function is periodically turned on using 1 hour or half an hour as time interval, and opens institute When stating WLAN function, currently whether there is the WLAN that can have using the WLAN searching functions.
In addition, in the embodiment, above-mentioned user terminal can also include:
Unit 44 is modified, for detecting the consumption of user terminal network flow in special time period, and is judged Whether the consumption is greater than preset flow threshold value, if so, modifying the described search time cycle according to the consumption It obtains updating period search time;
If the first access unit 42, which can be used for the detection unit, detects that the user terminal is currently needed using net When network, the WLAN function is periodically turned on as time interval using period search time obtained in advance, and described in unlatching When WLAN function, currently whether there is the WLAN that can have using the WLAN searching functions.
Wherein, above-mentioned special time period can be the unit interval pre-set or user opens WLAN function Period, and above-mentioned network flow can be the flow of WLAN or can be the flow of data network.
The embodiment may be implemented when the network flow for detecting that user terminal uses within the specific period is larger When, period search time is adjusted, such as: the preset time cycle is one hour, then, when detecting user terminal in spy When the network flow used in section of fixing time is larger, so that it may by the search time period modulation be half an hour.It is specific at this The network flow consumption that user terminal uses in period is larger, and user terminal can be more important using WLAN, because if When using data network when network flow consumption is larger, first is that network speed may be slow, second is that network charges can compare Height, and network speed can be improved using WLAN and reduce network charges.
Second access unit 43, if do not search available WLAN for first access unit 42, described in closing WLAN function, and data network is accessed using the data network function.
In the present embodiment, detection unit 41 can be used for when getting the open command of opening network function, respond institute Open command opening network function is stated, and detects whether user terminal currently needs using network;
Wherein, the network function includes the data network function and/or the WLAN function.
Such as: when receiving the order of turn-on data network function of user's input, turn-on data network function, and examine Survey whether user terminal currently needs using network.Or it when receiving the order of unlatching WLAN function of user's input, opens WLAN function is opened, and detects whether user terminal currently needs using network.Or when the turn-on data for receiving user's input When network function and WLAN function, turn-on data network function and WLAN function, and detect whether user terminal currently needs to make Use network.
In addition, in the embodiment, as shown in figure 5, user terminal can also include:
Closing unit 45, if not detecting that the user terminal is currently needed using network for the detection unit When, close the network function for responding the open command and opening.
The embodiment may be implemented to open when opening WLAN function perhaps data network function or simultaneously WLAN and When data network function, whether detection user terminal currently needs using network, when detect user terminal currently need using When network, priority access WLAN accesses data network if WLAN not can be used;If detecting, user terminal is currently not required to When using network, then the WLAN of unlatching or function person's data network are closed, or simultaneously close off WLAN function and data network Network function.
In the present embodiment, as shown in fig. 6, user terminal can also include:
Statistic unit 46 can use the access parameter of WLAN for counting the WLAN function access, and according to the access Parameter generate the user terminal access can use WLAN access track, wherein it is described access track include prediction can Access can use the access conditions of WLAN, and the access parameter includes turn-on time parameter and/or access geo-location parameter;
Recognition unit 47, whether the user function currently meets the access that the access track includes for identification Whether condition if so, opening the WLAN function, and currently has available WLAN using the WLAN searching functions, if search To when having available WLAN, can be closed if do not search available WLAN with WLAN using described in WLAN function access The WLAN function.
Wherein, the access track includes the access conditions for having access to available WLAN of prediction, the access parameter packet Include turn-on time parameter and/or access geo-location parameter.The turn-on time parameter can indicate connecing for the high probability counted Enter the turn-on time of WLAN, such as: the user job time can access WLAN, i.e. statistic unit 47 can count to obtain user 9 points to 18 points on weekdays can access WLAN;Or user it is a night in when can access WLAN, i.e., statistics is single Member 47, which can count on user, can access WLAN in evening arbitrarily in a few days.Above-mentioned access geo-location parameter can indicate The access geographical location of high probability access WLAN is counted, such as: the geographical locations such as office, family or market can be accessed WLAN。
In addition, the access conditions for having access to available WLAN of above-mentioned prediction can be and predict user by statistical result Where or when terminal can access WLAN.
After statistic unit 47 generates above-mentioned access track, recognition unit 48 can connect identifying user terminal satisfaction The WLAN function is opened when entering the access conditions in track.Such as: it is above-mentioned when recognizing user terminal to be currently at position When the position that the access conditions that access track includes indicates, the WLAN function is opened, and work as using the WLAN searching functions It is preceding whether to have available WLAN, if searched available WLAN, using WLAN can be used described in WLAN function access, if not having When searching available WLAN, then the WLAN function is closed.Or when identification current time is in the access of above-mentioned access track When the time that condition indicates, the WLAN function is opened, and currently whether have available WLAN using the WLAN searching functions, if When having searched available WLAN, WLAN can be used using described in WLAN function access, if do not search available WLAN, Close the WLAN function.
In the embodiment, it may be implemented intelligently to control user terminal unlatching WLAN module by above-mentioned access track, To realize that intelligence rapidly accesses WLAN.
In the present embodiment, the embodiment of plurality of optional is increased on the basis of embodiment shown in Fig. 3, and is ok Realize the loss for reducing network flow.
Referring to Fig. 7, Fig. 7 is a kind of structural schematic diagram of user terminal provided in an embodiment of the present invention, for executing The Network Access Method stated.As shown in fig. 7, the terminal that is used for may include: at least one processor 100, at least one is defeated Enter device 200, at least one output device 300, the equal components of memory 500.Wherein, these components pass through one or more bus 400 are communicatively coupled.It will be understood by those skilled in the art that the structure of terminal shown in Fig. 7 is not constituted to the present invention The restriction of embodiment, it is also possible to hub-and-spoke configuration either busbar network, can also include more more or less than illustrating Component, perhaps combine certain components or different component layouts.Wherein:
Processor 100 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to It crosses operation or executes the program and/or module being stored in memory 500, and call the data being stored in memory 500, To execute the various functions and processing data of terminal.Processor 100 can be by integrated circuit (Integrated Circuit, letter Claim IC) composition, such as can be made of the IC of single encapsulation, it can also be by the envelope of more identical functions of connection or different function It fills IC and forms.For example, processor 100 can only include central processing unit (Central Processing Unit, letter Claim CPU), it is also possible to CPU, digital signal processor (digital signal processor, abbreviation DSP), graphics process The combination of device (Graphic Processing Unit, abbreviation GPU) and various control chips.In embodiments of the present invention, CPU can be single operation core, also may include multioperation core.
Input unit 200 may include touch screen, keyboard, camera of standard etc., also may include wireline interface, wireless Interface etc..
Output device 300 may include display screen, loudspeaker etc., also may include wireline interface, wireless interface etc..
Memory 500 can be used for storing software program and module, processor 100, input unit 200 and output device 300 by calling the software programs and module that are stored in memory 500, thereby executing terminal various function applications and Realize data processing.Memory 500 mainly includes program storage area and data storage area, wherein program storage area can store behaviour Application program needed for making system, at least one function etc.;Data storage area, which can be stored, uses created number according to terminal According to etc..In embodiments of the present invention, operating system can be android system, iOS system or Windows operating system etc..
Specifically, processor 100 calls the application program being stored in memory 500, for executing following steps:
Whether detection user terminal currently needs using network;
If detect that the user terminal is currently needed using network, worked as using Wireless LAN WLAN searching functions It is preceding whether to have available WLAN, if searched available WLAN, using WLAN can be used described in WLAN function access, and if working as Preceding data network function is opened, then closes the data network function;
If do not search available WLAN, the WLAN function is closed, and access number using the data network function According to network.
It, detection user terminal the step of currently whether needing using network that processor 100 executes, can be in the present embodiment Include:
When getting the open command of opening network function, the open command opening network function is responded, and detect Whether user terminal currently needs using network;
Wherein, the network function includes the data network function and/or the WLAN function.
In the present embodiment, processor 100 execute the step of can also include:
If do not detect that the user terminal is currently needed using network, closes and respond the open command and open The network function.
In the present embodiment, whether what processor 100 executed currently has the step of available WLAN using WLAN searching functions, can To include:
The WLAN function is periodically turned on as time interval using period search time obtained in advance, and described in unlatching When WLAN function, currently whether there is the WLAN that can have using the WLAN searching functions.
In the present embodiment, processor 100 execute the step of can also include:
The consumption of user terminal network flow in special time period is detected, and judges whether the consumption is big In preset flow threshold value, if so, obtaining updating search time according to the consumption modification described search time cycle Period;
It is described to periodically turn on the WLAN function using update period search time as time interval, and open institute When stating WLAN function, currently whether there is the WLAN that can have using the WLAN searching functions, comprising:
The WLAN function is periodically turned on as time interval using period search time obtained in advance, and described in unlatching When WLAN function, currently whether there is the WLAN that can have using the WLAN searching functions.
In the present embodiment, processor 100 execute the step of can also include:
The access parameter of WLAN can be used by counting the WLAN function access, and generate the user according to the access parameter Terminal access can use WLAN access track, wherein it is described access track include prediction have access to connecing for available WLAN Enter condition, the access parameter includes turn-on time parameter and/or access geo-location parameter;
Identify whether the user function currently meets the access conditions that the access track includes, if so, opening The WLAN function is opened, and currently whether has available WLAN using the WLAN searching functions, if searched available WLAN, Using described in the WLAN function access if WLAN function can be closed do not search available WLAN with WLAN.
In the present embodiment, whether detection user terminal currently needs using network;If detecting, the user terminal is current When needing using network, currently whether there is available WLAN using WLAN searching functions, if searched available WLAN, uses institute State described in the access of WLAN function can with WLAN, and if current data network function open, close the data network function;If When not searching available WLAN, the WLAN function is closed, and access data network using the data network function.In this way When may be implemented only to detect that user terminal is currently needed using network, available WLAN is just searched for, and can described in the access With WLAN, and if current data network function open, close the data network function.To which the embodiment of the present invention can subtract The loss of few network flow.
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, abbreviation 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 (8)

1. a kind of Network Access Method characterized by comprising
Whether detection user terminal currently needs using network, specifically: when detecting the unlocking command of unlock user terminal, Detect whether the user terminal currently needs using network, or when the start command of detection starting application program, detection Whether the application program that the start command is started needs using network, or detection user terminal system whether need using Network;
If detect that the user terminal is currently needed using network, it is currently using Wireless LAN WLAN searching functions It is no to have available WLAN, comprising: the WLAN function is periodically turned on as time interval using period search time obtained in advance, And when opening the WLAN function, currently whether there is available WLAN using the WLAN searching functions;
If searched available WLAN, using WLAN can be used described in WLAN function access, and if current data network function It can open, then close the data network function;
If do not search available WLAN, the WLAN function is closed, and access data network using the data network function Network;
The access parameter of WLAN can be used by counting the WLAN function access, and generate the user terminal according to the access parameter Access can use WLAN access track, wherein it is described access track include prediction the access item for having access to available WLAN Part, the access parameter include turn-on time parameter and/or access geo-location parameter;
Identify whether the user function currently meets the access conditions that the access track includes, if so, opening institute WLAN function is stated, and currently whether has available WLAN using the WLAN searching functions, if searched available WLAN, is used If the WLAN function can be closed do not search available WLAN with WLAN described in the WLAN function access, it is described WLAN includes WIFI, and the data network includes mobile data network.
2. the method as described in claim 1, which is characterized in that whether the detection user terminal currently needs using network, Include:
When getting the open command of opening network function, the open command opening network function is responded, and detect user Whether terminal currently needs using network;
Wherein, the network function includes the data network function and/or the WLAN function.
3. method according to claim 2, which is characterized in that the method also includes:
If do not detect that the user terminal is currently needed using network, the institute for responding the open command and opening is closed State network function.
4. the method as described in claim 1, which is characterized in that the method also includes:
The consumption of user terminal network flow in special time period is detected, and it is pre- to judge whether the consumption is greater than If flow threshold value, if so, obtaining updating period search time according to the consumption modification described search time cycle;
The WLAN function is periodically turned on by time interval of update period search time, and is opening the WLAN When function, currently whether there is available WLAN using the WLAN searching functions.
5. a kind of user terminal characterized by comprising detection unit, the first access unit and the second access unit, in which:
The detection unit, for detecting whether the user terminal currently needs using network, specifically: it is unlocked when detecting When the unlocking command of user terminal, detect whether the user terminal currently needs using network, or when detection starting application When the start command of program, detect whether the application program that the start command is started needs using network, or detection user Whether the system of terminal needs using network;
First access unit, if detect that the user terminal is currently needed using network for the detection unit, WLAN function is periodically turned on as time interval using period search time obtained in advance, and is opening the WLAN function When, currently whether there is available WLAN using WLAN searching functions;If searched available WLAN, connect using the WLAN function Enter it is described can use WLAN, and if current data network function open, close the data network function;
Second access unit closes the WLAN if do not search available WLAN for first access unit Function, and data network is accessed using the data network function;
Statistic unit can use the access parameter of WLAN for counting the WLAN function access, and raw according to the access parameter The access track of WLAN can be used at the access of the user terminal, wherein the access track includes having access to for prediction can With the access conditions of WLAN, the access parameter includes turn-on time parameter and/or access geo-location parameter;
Recognition unit, whether the user function currently meets the access conditions that the access track includes for identification, If so, opening the WLAN function, and currently whether there is available WLAN using the WLAN searching functions, it can if having searched When with WLAN, WLAN can be used using described in WLAN function access, if do not search available WLAN, described in closing WLAN function, the WLAN include WIFI, and the data network includes mobile data network.
6. user terminal as claimed in claim 5, which is characterized in that the detection unit is for getting opening network function When the open command of energy, the open command opening network function is responded, and detect whether user terminal currently needs using net Network;
Wherein, the network function includes the data network function and/or the WLAN function.
7. user terminal as claimed in claim 6, which is characterized in that the user terminal further include:
Closing unit is closed if do not detect that the user terminal is currently needed using network for the detection unit The network function for responding the open command and opening.
8. user terminal as claimed in claim 5, which is characterized in that the user terminal further include:
Unit is modified, is disappeared for detecting the consumption of user terminal network flow in special time period, and described in judgement Whether consumption is greater than preset flow threshold value, if so, being obtained more according to the consumption modification described search time cycle The new search time cycle;
If first access unit detects that the user terminal is currently needed using network for the detection unit, with Update period search time is that time interval periodically turns on the WLAN function, and is opening the WLAN function When, currently whether there is available WLAN using the WLAN searching functions.
CN201510263415.2A 2015-05-21 2015-05-21 A kind of Network Access Method and user terminal Active CN104994547B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510263415.2A CN104994547B (en) 2015-05-21 2015-05-21 A kind of Network Access Method and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510263415.2A CN104994547B (en) 2015-05-21 2015-05-21 A kind of Network Access Method and user terminal

Publications (2)

Publication Number Publication Date
CN104994547A CN104994547A (en) 2015-10-21
CN104994547B true CN104994547B (en) 2019-04-05

Family

ID=54306278

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510263415.2A Active CN104994547B (en) 2015-05-21 2015-05-21 A kind of Network Access Method and user terminal

Country Status (1)

Country Link
CN (1) CN104994547B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105517079A (en) * 2015-11-25 2016-04-20 国网北京市电力公司 Electric power information transmission method and transmission apparatus
CN106507460A (en) * 2016-11-22 2017-03-15 努比亚技术有限公司 A kind of intelligent power saving method, terminal
CN107454639B (en) * 2017-09-21 2020-07-14 惠州Tcl移动通信有限公司 Network automatic switching method, mobile terminal and storage medium
CN107820292B (en) * 2017-11-10 2021-01-15 维沃移动通信有限公司 Access method of wireless local area network and mobile terminal
CN110941442A (en) * 2019-12-04 2020-03-31 上海肇观电子科技有限公司 Automatic software upgrading method, wearable device and storage medium
CN115665840B (en) * 2022-12-28 2023-06-09 深圳市江元科技(集团)有限公司 WIFI connection method and device and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179647A (en) * 2013-03-11 2013-06-26 广东欧珀移动通信有限公司 Method and mobile terminal for intelligently controlling wifi (wireless fidelity) module
CN103686899A (en) * 2012-09-25 2014-03-26 东莞宇龙通信科技有限公司 A switching method between a mobile data service network and a wifi network and a mobile terminal thereof
EP2461631A3 (en) * 2010-12-01 2015-01-07 Deutsche Telekom AG System support for accessing and switching among multiple wireless interfaces on mobile devices
CN104270720A (en) * 2014-10-23 2015-01-07 广东欧珀移动通信有限公司 Method and device for accessing wireless local area network, and mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244858A (en) * 2011-08-01 2011-11-16 王冬梅 Method for mobile terminal to possess communication function of locking and unlocking, and mobile terminal thereof
CN103067908A (en) * 2012-12-27 2013-04-24 北京小米科技有限责任公司 Data processing method, device and terminal
CN103906137A (en) * 2012-12-28 2014-07-02 中国移动通信集团贵州有限公司 Method and device for processing wireless Internet surfing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2461631A3 (en) * 2010-12-01 2015-01-07 Deutsche Telekom AG System support for accessing and switching among multiple wireless interfaces on mobile devices
CN103686899A (en) * 2012-09-25 2014-03-26 东莞宇龙通信科技有限公司 A switching method between a mobile data service network and a wifi network and a mobile terminal thereof
CN103179647A (en) * 2013-03-11 2013-06-26 广东欧珀移动通信有限公司 Method and mobile terminal for intelligently controlling wifi (wireless fidelity) module
CN104270720A (en) * 2014-10-23 2015-01-07 广东欧珀移动通信有限公司 Method and device for accessing wireless local area network, and mobile terminal

Also Published As

Publication number Publication date
CN104994547A (en) 2015-10-21

Similar Documents

Publication Publication Date Title
CN104994547B (en) A kind of Network Access Method and user terminal
CN105261366B (en) Audio recognition method, speech engine and terminal
CN107092520B (en) Recommended method, device, storage medium and the mobile terminal of application program
CN105163373B (en) A kind of localization method and mobile terminal
CN108920156A (en) Application program prediction model method for building up, device, storage medium and terminal
CN105306682B (en) The method and device of network connection switch is automatically closed
CN107644642A (en) Method for recognizing semantics, device, storage medium and electronic equipment
CN105224201A (en) A kind of method of interface display and terminal
CN107944277A (en) Using the control method of startup, device, storage medium and intelligent terminal
WO2015131679A1 (en) Task process processing method and device
CN108242837A (en) The method of the charging of electronic equipment and control electronics
CN107665038A (en) Electronic equipment and the method for operating the electronic equipment
CN106851786A (en) A kind of method for searching network and device
CN109697010A (en) A kind of suspended window position control method, terminal and computer readable storage medium
CN107402808B (en) Process management method, device, storage medium and electronic equipment
CN107450709B (en) Application processing method, device, storage medium and electronic equipment
CN104978045B (en) A kind of Chinese character input method and device
CN110009004A (en) Image processing method, computer equipment and storage medium
CN103064782A (en) Method and device for obtaining control
CN106123910A (en) Step-recording method based on mobile terminal and step count set
CN107402875A (en) A kind of log recording method, terminal and computer-readable recording medium
CN107832131B (en) Application program closing method and device, storage medium and electronic equipment
CN107450951B (en) Application processing method and device, storage medium and terminal
CN104980451A (en) Information prompting method and apparatus
CN108924915A (en) Data-updating method and device based on offline mode

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: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant