CN106454976A - Switching method and device for wireless network and terminal - Google Patents

Switching method and device for wireless network and terminal Download PDF

Info

Publication number
CN106454976A
CN106454976A CN201610882608.0A CN201610882608A CN106454976A CN 106454976 A CN106454976 A CN 106454976A CN 201610882608 A CN201610882608 A CN 201610882608A CN 106454976 A CN106454976 A CN 106454976A
Authority
CN
China
Prior art keywords
wireless network
current
terminal
access
network connecting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610882608.0A
Other languages
Chinese (zh)
Other versions
CN106454976B (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 CN201610882608.0A priority Critical patent/CN106454976B/en
Publication of CN106454976A publication Critical patent/CN106454976A/en
Application granted granted Critical
Publication of CN106454976B publication Critical patent/CN106454976B/en
Expired - Fee Related 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/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/00837Determination of triggering parameters for hand-off
    • H04W36/008375Determination of triggering parameters for hand-off based on historical data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/22Performing reselection for specific purposes for handling the traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service

Landscapes

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

Abstract

The invention discloses a switching method and device for a wireless network and a terminal. The method comprises the steps of obtaining an identifier of the currently connected wireless network of the terminal; judging whether the currently connected wireless network is a preset wireless network or not according to the identifier; if the currently connected wireless network is the preset wireless network, judging whether access data is obtained or not through utilization of the currently connected wireless network; and if the access data is not obtained, obtaining a currently switchable wireless network set of the terminal, and switching the currently connected wireless network according to the wireless network set. According to the method, when the terminal is connected with the invalid wireless network, network switching can be carried out automatically without manual operation of a user, the method is simple, and the switching efficiency is high.

Description

A kind of changing method of wireless network, device and terminal
Technical field
The present invention relates to mobile communication technology field, more particularly, to a kind of changing method of wireless network, device and terminal.
Background technology
With the development of computer technology, network has become a part for people's daily life, and people pass through Network Capture Various information and being exchanged.In order to access network, need to be linked into the switching point (Wireless of wireless network by terminal Access Point, WAP), then it is linked into the Internet through the switching point of wireless network.
At present, WAP can be divided into two kinds:A kind of is China Mobile, UNICOM, the WiMAX of telecommunications or some occasions The access point of wireless network (ad hoc network), also one kind is, using router, cable network is converted to wireless network (commonly Network) access point.For the access point of ad hoc network, when terminal accesses every time, it is required for user and is manually entered login account And password, and each account of synchronization can only supply a personal use, and the access point of general network only need to input an account Number password, terminal will automatically record, and next time can automatically access when logging in, and each account of synchronization be available for many People uses.
Although the coverage of ad hoc network is wider than general network, due to general network low cost and access operation Simply, still prioritizing selection can access general network and take, only general network network speed is not good or when suspension, just meeting Consider access ad hoc network, but due to due to connection mechanism, when both wireless networks simultaneously in the presence of, terminal first can Attempt accessing ad hoc network, if desired switch to general network, then need user to carry out manually, complex operation.
Content of the invention
It is an object of the invention to provide a kind of changing method of wireless network, device and terminal, to solve existing switching Method, when invalid special wireless network is switched to common radio network, need to be carried out, the technical problem of complex operation manually.
For solving above-mentioned technical problem, the embodiment of the present invention provides technical scheme below:
A kind of changing method of wireless network, it includes:
Obtain the mark of the current wireless network connecting of terminal;
Judge whether the current wireless network connecting is default wireless network according to described mark;
If the current wireless network connecting is default wireless network, judge whether obtain using the current wireless network connecting Get access data;
If not getting access data, obtain the currently switchable wireless network set of described terminal, and according to institute State wireless network set the current wireless network connecting is switched over.
For solving above-mentioned technical problem, the embodiment of the present invention also provides technical scheme below:
A kind of switching device of wireless network, it includes:
Acquisition module, for obtaining the mark of the current wireless network connecting of terminal;
According to described mark, first judge module, for judging whether the current wireless network connecting is default wireless network Network;
Second judge module, if being default wireless network for the current wireless network connecting, judges using currently connecting Whether the wireless network connecing gets access data;
Handover module, if for not getting access data, detect described terminal currently switchable wireless network Set, and according to described wireless network set, the current wireless network connecting is switched over.
For solving above-mentioned technical problem, the embodiment of the present invention also provides technical scheme below:
A kind of terminal, it includes processor, memorizer, input equipment and output device, processor, memorizer, input dress Put and connected by bus with output device, wherein, processor is used for executing following steps:
Obtain the mark of the current wireless network connecting of terminal;
Judge whether the current wireless network connecting is default wireless network according to described mark;
If the current wireless network connecting is default wireless network, judge whether obtain using the current wireless network connecting Get access data;
If not getting access data, obtain the currently switchable wireless network set of described terminal, and according to institute State wireless network set the current wireless network connecting is switched over.
The changing method of wireless network of the present invention, device and terminal, by obtaining the wireless of the current connection of terminal The mark of network, and judge whether the current wireless network connecting is default wireless network according to this mark, if currently connect Wireless network is default wireless network, then judge whether get access data using the current wireless network connecting;If no Get access data, then detect the currently switchable wireless network set of this terminal, and according to this wireless network set to work as The wireless network of front connection switches over, and automatically can carry out network switching when terminal is connected to invalid wireless network, need not User is carried out manually, and method is simple, and switching efficiency is high.
Brief description
Below in conjunction with the accompanying drawings, by the specific embodiment detailed description to the present invention, technical scheme will be made And other beneficial effects are apparent.
Fig. 1 is the schematic flow sheet of the changing method of wireless network provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the changing method of wireless network provided in an embodiment of the present invention;
Fig. 3 is the structural representation of the switching device of wireless network provided in an embodiment of the present invention;
Fig. 4 is another structural representation of the switching device of wireless network provided in an embodiment of the present invention;
Fig. 5 is the structural representation of terminal provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, the every other enforcement that those skilled in the art are obtained under the premise of not making creative work Example, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides a kind of changing method of wireless network, device and terminal.Carried out respectively below in detail Explanation.It should be noted that, the sequence number of following examples is not as the restriction of embodiment priority.
First embodiment
The angle of the switching device from wireless network is described by the present embodiment, and the switching device of this wireless network is concrete Can be integrated in the terminals such as mobile phone, panel computer or notebook computer.
Refer to Fig. 1, Fig. 1 specifically describes the changing method of the wireless network of first embodiment of the invention offer, and it can To include:
S101, the mark of the current wireless network connecting of acquisition terminal.
In the present embodiment, this wireless network mainly includes the data network allowing user to set up remote-wireless connection, its Two types can be included:One kind is that terminal cannot record login account and password, and user logs in every time and needs to be manually entered The WiMAX that the operators such as wireless network, such as China Mobile or UNICOM provide, another kind is that user inputs login first When account and password, terminal just can record so that the wireless network of follow-up automated log on, such as by cable network using route Device is converted to wireless wireless network.This mark is mainly used in distinguishing different wireless networks, and it can include this wireless network Account name.
S102, judge according to this mark whether the current wireless network connecting is default wireless network, under if so, then executing State step S103, if it is not, then terminal can not execute any operation.
In the present embodiment, this default wireless network refers mainly to the wireless network of above-mentioned first type, namely terminal cannot Record login account and password, user logs in the wireless network needing to be manually entered every time.Under existing network connection mechanism, If terminal even once connected the wireless network of above two type, when the coverage simultaneously entering both wireless networks When, terminal can give tacit consent to the wireless network connecting the first type, at this moment, even if user does not input account and password, terminal Will be considered that successful connection, this connection is commonly referred to invalid connection.Because, under invalid connection status, terminal can neither receive and dispatch number According to also will not automatically carrying out network switching, therefore, if the current wireless network connecting is the first type, need further Detect whether this network connection is invalid connection.
S103, judge whether get access data using the current wireless network connecting, if getting access data, Terminal can not execute any operation, if not getting access data, executes following step S104.
In the present embodiment, when terminal gets access data, illustrate that current network communication is normal, network need not be carried out and cut Change.When terminal does not get access data, illustrate that current network is in suspension state, because this suspension state can be no Effect connects what fault that cause or of short duration caused, therefore needs to be determined whether.
For example, above-mentioned steps S103 specifically can include:
Open the clocking capability of this terminal;
Using the current wireless network connecting, data access is carried out to preset interface, and obtain access result;
Judge whether the current wireless network connecting gets access data according to this access result.
In the present embodiment, this preset interface can according to the actual requirements depending on, can be such as certain download application in connecing Mouthful or the application that carries of system in interface, etc..This access result is mainly used in indicating whether this access is successful, It can include accessing successfully and accessing unsuccessfully.
For example, above-mentioned steps " judging whether the current wireless network connecting gets access data according to this access result " Specifically can include:
When the instruction of this access result accesses successfully, judge that the current wireless network connecting gets access data;
When the instruction of this access result accesses unsuccessfully, detecting whether to reach preset duration, if reaching preset duration, judging The current wireless network connecting does not get access data;If not reaching preset duration, this utilizes currently to return execution The wireless network connecting carries out the operation of data access to preset interface.
In the present embodiment, this preset duration can according to the actual requirements depending on, can be such as 5 minutes or 3 minutes, etc. Deng.When accessing successfully, terminal can continue through this wireless network transceiving data, need not carry out network switching, loses when accessing When losing, terminal needs repeated attempt access operation in preset duration to be caused by invalid connection to confirm that network is abnormal, Or of short duration fault causes, wherein repeated attempt access operation frequency can according to demand depending on, can be such as 1 minute Once, or half a minute once etc..It should be noted that this access result still indicates that access is lost only after preset duration When losing, just show that network is abnormal and caused by invalid connection, at this time, it may be necessary to carry out network switching.
S104, obtain the currently switchable wireless network set of this terminal, and according to this wireless network set to currently connecting The wireless network connecing switches over.
In the present embodiment, terminal can detect the available wireless network of periphery, and works as removing in the wireless network detecting Front connect outside wireless network be defined as switchable wireless network set, generally, in this wireless network set, only include the The wireless network of two types.
For example, above-mentioned steps " the current wireless network connecting being switched over according to this wireless network set " are specifically permissible Including:
Obtain the historical record connecting network of this terminal storage;
The wireless network mating with this historical record is searched from this wireless network set;
According to the wireless network finding, the current wireless network connecting is switched over.
In the present embodiment, for the wireless network of above-mentioned second type, because, after logging in first, terminal can be automatically Record the relevant information of this wireless network, the account name of such as this wireless network and password etc., therefore work as in this wireless network set When there is the network that terminal had connected, can be switched over according to these networks.
For example, above-mentioned steps " the current wireless network connecting being switched over according to the wireless network finding " specifically may be used To include:
When the wireless network finding is one, the current wireless network connecting is switched to the wireless network finding Network;
When the wireless network finding is multiple, the current wireless network connecting is switched to the wireless network finding Middle signal intensity wireless network the strongest.
In the present embodiment, the account of the wireless network that these find due to being stored with terminal and password, when terminal from In when have selected a wireless network and being attached, the account number cipher that can automatically obtain this wireless network is accessed, to replace Change the invalid network of current connection it is ensured that the proper communication of network.
From the foregoing, the changing method of the wireless network of the present embodiment offer, by obtaining the current nothing connecting of terminal The mark of gauze network, and judge whether the current wireless network connecting is default wireless network according to this mark, if current connect Wireless network be default wireless network, then judge whether get access data using the current wireless network connecting;If not yet Get access data, then detect the currently switchable wireless network set of this terminal, and according to this wireless network set pair The current wireless network connecting switches over, and can automatically carry out network switching when terminal is connected to invalid wireless network, no User is needed to carry out manually, method is simple, switching efficiency is high.
Second embodiment
Citing is described in further detail by method according to described by embodiment one below.
In the present embodiment, will so that the switching device of this wireless network is integrated in the terminal as a example be described in detail.
As shown in Fig. 2 a kind of changing method of wireless network, idiographic flow can be as follows:
S201, terminal obtain the mark of the current wireless network connecting.
Such as, this wireless network can include two types:One kind is that terminal cannot record login account and password, user The WiMAX of the operators such as the wireless network all needing to be manually entered, such as China Mobile or UNICOM offer is provided every time, another Kind be user when inputting login account and password first, terminal just can record the wireless network so that follow-up automated log on, Such as wireless wireless network is converted to using router by cable network.This mark can include the account of this wireless network Name.
According to this mark, S202, terminal judge whether the current wireless network connecting is default wireless network, if so, then eventually End can execute following step S203-S204, if it is not, then terminal can not execute any operation.
Such as, the title of the title of current network and default wireless network can be compared analysis by terminal, to judge Whether it is consolidated network.This default network can be the WiMAX that the operators such as China Mobile or UNICOM provide.
S203, terminal open clocking capability.
Such as, when terminal judges go out current network and default network is consolidated network, timer can be opened and start to count When.
S204, terminal carry out data access using the current wireless network connecting to preset interface, and obtain access result, When the instruction of this access result accesses successfully, terminal can not execute any operation, when the instruction of this access result accesses unsuccessfully, Terminal can execute following step S205.
Such as, this preset interface can be that in weather application, the data-interface of acquisition same day weather or acquisition are worked as The data-interface of its customized horoscope, etc..When terminal gets access data, illustrate that current network connects good, now, no Network switching need to be carried out, when terminal obtains less than accessing data, illustrate that current network is in suspension state, at this time, it may be necessary to enter The reason one step detection suspension is invalid connection causes, or of short duration fault causes.
Whether S205, terminal judges reach preset duration, if so, then can execute following step S206-S208, if it is not, Execution above-mentioned steps S204 then can be returned.
Such as, this preset duration can be 5 minutes, and when accessing result instruction and accessing unsuccessfully, terminal can every half a minute It is carried out once accessing operation, just stop accessing when accessing successfully or reach 5 minutes.It should be noted that working as arrival 5 After minute, this access result still indicates and accesses unsuccessfully, shows that the suspension state of current network is caused by invalid connection, this When, need to carry out network switching.
S206, terminal obtain the historical record connecting network of storage, and it is currently switchable wireless to obtain this terminal Collection of network.
Such as, terminal can detect the available wireless network of periphery, and will remove current connection in the wireless network detecting Outside wireless network be defined as switchable wireless network set, generally, in this wireless network set, only include second species The wireless network of type.
S207, terminal search the wireless network mating with this historical record from this wireless network set.
Such as, for the wireless network of above-mentioned second type, because, after logging in first, terminal can record this automatically The account of a little networks and password, thus when there is, in this wireless network set, the network that terminal had connected, it is possible to use deposit The account of storage and password switch over to network automatically.
S208, when the wireless network finding is one, the current wireless network connecting is switched to and finds by terminal Wireless network;When the wireless network finding is multiple, the current wireless network connecting is switched to and to find by terminal Signal intensity wireless network the strongest in wireless network.
Such as, when the wireless network finding only has A, the account of A and close can directly be obtained from the data of storage Code is accessed, and when the wireless network finding has A, B and C, and when the signal of C is the strongest, can obtain C from the data of storage Account and password accessed.
From the foregoing, the changing method of the wireless network of the present embodiment offer, terminal is by obtaining the current nothing connecting The mark of gauze network, and judge whether the current wireless network connecting is default wireless network according to this mark, if so, then terminal Open clocking capability, using the current wireless network connecting, data access is carried out to preset interface, and obtain access result, when this When access result instruction accesses unsuccessfully, judging whether to reach preset duration, if reaching preset duration, obtaining the connection storing The historical record of network, and obtain the currently switchable wireless network set of this terminal, afterwards, obtain connecting of this terminal storage Connect the historical record of network, and search the wireless network mating with this historical record from this wireless network set, when finding Wireless network when being, the current wireless network connecting is switched to the wireless network finding by terminal;When find When wireless network is multiple, it is the strongest that the current wireless network connecting is switched to signal intensity in the wireless network finding by terminal Wireless network, if not reaching preset duration, returning execution and using the current wireless network connecting, preset interface being carried out The operation of data access, so as to automatically carry out network switching when terminal is connected to invalid wireless network, without user's handss Move and carry out, method is simple, switching efficiency is high.
3rd embodiment
On the basis of embodiment one and embodiment two methods described, the present embodiment is by the switching device from wireless network Angle is further described below.
Refer to Fig. 3, Fig. 3 specifically describes the switching device of the wireless network of third embodiment of the invention offer, and it can To include:Acquisition module 10, the first judge module 20, the second judge module 30 and handover module 40, wherein:
(1) acquisition module 10
Acquisition module 10, for obtaining the mark of the current wireless network connecting of terminal.
In the present embodiment, this wireless network mainly includes the data network allowing user to set up remote-wireless connection, its Two types can be included:One kind is that terminal cannot record login account and password, and user logs in every time and needs to be manually entered The WiMAX that the operators such as wireless network, such as China Mobile or UNICOM provide, another kind is that user inputs login first When account and password, terminal just can record so that the wireless network of follow-up automated log on, such as by cable network using route Device is converted to wireless wireless network.This mark is mainly used in distinguishing different wireless networks, and it can include this wireless network Account name.
(2) first judge modules 20
According to this mark, first judge module 20, for judging whether the current wireless network connecting is default wireless network Network.
In the present embodiment, this default wireless network refers mainly to the wireless network of above-mentioned first type, namely terminal cannot Record login account and password, user logs in the wireless network needing to be manually entered every time.Under existing network connection mechanism, If terminal even once connected the wireless network of above two type, when the coverage simultaneously entering both wireless networks When, terminal can give tacit consent to the wireless network connecting the first type, at this moment, even if user does not input account and password, terminal Will be considered that successful connection, this connection is commonly referred to invalid connection.Because, under invalid connection status, terminal can neither receive and dispatch number According to also will not automatically carrying out network switching, therefore, if the first judge module 20 judges that the wireless network currently connecting is first Type, then need to detect whether this network connection is invalid connection further.
(3) second judge modules 30
Second judge module 30, if being default wireless network for the current wireless network connecting, judges using current Whether the wireless network connecting gets access data.
In the present embodiment, when getting access data, illustrate that current network communication is normal, network switching need not be carried out. When not getting access data, illustrate that current network is in suspension state, because this suspension state can be invalid connection Fault that cause or of short duration causes, therefore the second judge module 30 needs to be determined whether.
For example, refer to Fig. 4, this second judge module 30 specifically can include opening unit 31, access unit 32 and sentence Disconnected unit 33, wherein:
Open unit 31, for opening the clocking capability of this terminal.
Access unit 32, for carrying out data access using the current wireless network connecting to preset interface, and obtains visit Ask result.
According to this access result, judging unit 33, for judging whether the current wireless network connecting gets access number According to.
In the present embodiment, this preset interface can according to the actual requirements depending on, can be such as certain download application in connecing Mouthful or the application that carries of system in interface, etc..This access result is mainly used in indicating whether this access is successful, It can include accessing successfully and accessing unsuccessfully.
For example, this judging unit 33 specifically can be used for:
When the instruction of this access result accesses successfully, judge that the current wireless network connecting gets access data;
When the instruction of this access result accesses unsuccessfully, detecting whether to reach preset duration, if reaching preset duration, judging The current wireless network connecting does not get access data;If not reaching preset duration, triggering this access unit 32 and holding Row carries out the operation of data access using the current wireless network connecting to preset interface.
In the present embodiment, this preset duration can according to the actual requirements depending on, can be such as 5 minutes or 3 minutes, etc. Deng.When accessing successfully, terminal can continue through this wireless network transceiving data, need not carry out network switching, loses when accessing When losing, access unit 32 need in preset duration repeated attempt access operation with confirm network abnormal be to be made by invalid connection Become, or of short duration fault cause, wherein repeated attempt access operation frequency can according to demand depending on, can be such as 1 minute once, or half a minute is once etc..It should be noted that this access result still indicates only after preset duration When accessing unsuccessfully, just show that network is abnormal and caused by invalid connection, at this time, it may be necessary to carry out network switching.
(4) handover module 40
Handover module 40, if for not getting access data, detect this terminal currently switchable wireless network Set, and according to this wireless network set, the current wireless network connecting is switched over.
In the present embodiment, handover module 40 can detect the available wireless network of periphery, and by the wireless network detecting In wireless network in addition to current connection be defined as switchable wireless network set, generally, in this wireless network set only Wireless network including second type.
For example, this handover module 40 specifically can include acquiring unit 41, searching unit 42 and switch unit 43, wherein:
Acquiring unit 41, for obtaining the historical record connecting network of this terminal storage.
Searching unit 42, for searching the wireless network mating with this historical record from this wireless network set.
Switch unit 43, for switching over to the current wireless network connecting according to the wireless network finding.
In the present embodiment, for the wireless network of above-mentioned second type, because, after logging in first, terminal can be automatically Record the relevant information of this wireless network, the account name of such as this wireless network and password etc., therefore work as in this wireless network set When there is the network that terminal had connected, switch unit 43 can switch over according to these networks.
For example, this switch unit 43 specifically can be used for:
When the wireless network finding is one, the current wireless network connecting is switched to the wireless network finding Network;
When the wireless network finding is multiple, the current wireless network connecting is switched to the wireless network finding Middle signal intensity wireless network the strongest.
In the present embodiment, the account of the wireless network that these find due to being stored with terminal and password, when terminal from In when have selected a wireless network and being attached, the account number cipher that switch unit 43 can obtain this wireless network automatically is carried out Access, to replace the invalid network of current connection it is ensured that the proper communication of network.
When being embodied as, above unit can be realized as independent entity it is also possible to carry out combination in any, makees To realize for same or several entities, being embodied as of above unit can be found in embodiment of the method above, and here is not Repeat again.
From the foregoing, the switching device of the wireless network of the present embodiment offer, terminal is obtained by acquisition module 10 and works as The mark of the wireless network of front connection, according to this mark, the first judge module 20 judges whether the current wireless network connecting is pre- If wireless network, if the current wireless network connecting is default wireless network, the second judge module 30 judges using currently connecting Whether the wireless network connecing gets access data;If not getting access data, handover module 40 detects that this terminal is worked as Front switchable wireless network set, and the current wireless network connecting being switched over according to this wireless network set, can be Terminal is connected to and automatically carries out network switching during invalid wireless network, carries out manually without user, and method is simple, switching efficiency High.
Fourth embodiment
Accordingly, the embodiment of the present invention also provides a kind of terminal, as shown in figure 5, this terminal can include radio frequency (RF, Radio Frequency) circuit 501, include the memorizer 502 of one or more computer-readable recording mediums, defeated Enter unit 503, display unit 504, sensor 505, voicefrequency circuit 505, Wireless Fidelity (WiFi, Wireless Fidelity) The parts such as module 507, the processor 508 including or more than one processing core and power supply 509.This area skill Art personnel are appreciated that the restriction of the not structure paired terminal of the terminal structure shown in Fig. 5, can include more more than illustrating or more Few part, or combine some parts, or different part arrangements.Wherein:
RF circuit 501 can be used for receiving and sending messages or communication process in, the reception of signal and transmission, especially, by base station After downlink information receives, transfer to one or more than one processor 508 is processed;In addition, by be related to up data is activation to Base station.Generally, RF circuit 501 includes but is not limited to antenna, at least one amplifier, tuner, one or more agitator, use Family identity module (SIM, Subscriber Identity Module) card, transceiver, bonder, low-noise amplifier (LNA, Low Noise Amplifier), duplexer etc..Additionally, RF circuit 501 can also by radio communication and network and its His equipment communication.Described radio communication can use arbitrary communication standard or agreement, including but not limited to global system for mobile telecommunications system System (GSM, Global System of Mobile communication), general packet radio service (GPRS, General Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division many Location (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term Evolution), Email, Short Message Service (SMS, Short Messaging Service) etc..
Memorizer 502 can be used for storing software program and module, and processor 508 is stored in memorizer 502 by operation Software program and module, thus executing various function application and data processing.Memorizer 502 can mainly include storing journey Sequence area and storage data field, wherein, storing program area can (compare the application program needed for storage program area, at least one function As sound-playing function, image player function etc.) etc.;Storage data field can store according to terminal using the data being created (such as voice data, phone directory etc.) etc..Additionally, memorizer 502 can include high-speed random access memory, can also include Nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.Phase Ying Di, memorizer 502 can also include Memory Controller, to provide processor 508 and input block 503 to memorizer 502 Access.
Input block 503 can be used for numeral or the character information of receives input, and produces and user setup and function Control relevant keyboard, mouse, action bars, optics or trace ball signal input.Specifically, in a specific embodiment In, input block 503 may include Touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or touch Control plate, can collect user thereon or neighbouring touch operation (such as user use any suitable object such as finger, stylus or Operation on Touch sensitive surface or near Touch sensitive surface for the adnexa), and corresponding connection dress is driven according to formula set in advance Put.Optionally, Touch sensitive surface may include touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus inspection Survey the touch orientation of user, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch controller from Receive touch information on touch detecting apparatus, and be converted into contact coordinate, then give processor 508, and can reception processing Order that device 508 is sent simultaneously is executed.Furthermore, it is possible to it is multiple using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes Touch sensitive surface.Except Touch sensitive surface, input block 503 can also include other input equipments.Specifically, other are defeated Enter equipment and can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, Mus One or more of mark, action bars etc..
Display unit 504 can be used for display and by the information of user input or is supplied to the information of user and the various of terminal Graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display Unit 504 may include display floater, optionally, can using liquid crystal display (LCD, Liquid Crystal Display), The forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) are configuring display floater.Further , Touch sensitive surface can cover display floater, when Touch sensitive surface detects thereon or after neighbouring touch operation, sends process to Device 508, to determine the type of touch event, provides accordingly according to the type of touch event on a display panel with preprocessor 508 Visual output.Although in Figure 5, Touch sensitive surface and display floater are to realize inputting as two independent parts and to input Function, but in some embodiments it is possible to will be integrated to Touch sensitive surface and display floater and realize input and output function.
Terminal may also include at least one sensor 505, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to ambient light The brightness to adjust display floater for the light and shade, proximity transducer can cut out display floater and/or the back of the body when terminal moves in one's ear Light.As one kind of motion sensor, Gravity accelerometer can detect (generally three axles) acceleration in all directions Size, can detect that size and the direction of gravity when static, can be used for identify mobile phone attitude application (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Can also configure as terminal Gyroscope, barometer, drimeter, thermometer, the other sensors such as infrared ray sensor, will not be described here.
Voicefrequency circuit 506, speaker, microphone can provide the audio interface between user and terminal.Voicefrequency circuit 506 can The signal of telecommunication after the voice data receiving is changed, is transferred to speaker, is converted to acoustical signal output by speaker;Another Aspect, the acoustical signal of collection is converted to the signal of telecommunication by microphone, is converted to voice data after being received by voicefrequency circuit 506, then After voice data output processor 508 is processed, through RF circuit 501 being sent to such as another terminal, or by voice data Export to memorizer 502 to process further.Voicefrequency circuit 506 is also possible that earphone jack, with provide peripheral hardware earphone with The communication of terminal.
WiFi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronicses postal by WiFi module 507 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 5 shows WiFi module 507, but it is understood that, it is simultaneously not belonging to must be configured into of terminal, can not change as needed completely Omit in the scope of the essence becoming invention.
Processor 508 is the control centre of terminal, using the various pieces of various interfaces and connection whole mobile phone, leads to Cross and run or software program and/or module that execution is stored in memorizer 502, and call and be stored in memorizer 502 Data, the various functions of execution terminal and processing data, thus carry out integral monitoring to mobile phone.Optionally, processor 508 can wrap Include one or more processing cores;Preferably, processor 508 can integrated application processor and modem processor, wherein, should Mainly process operating system, user interface and application program etc. with processor, modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated in processor 508.
Terminal also includes the power supply 509 (such as battery) powered to all parts it is preferred that power supply can pass through power supply pipe Reason system is logically contiguous with processor 508, thus realizing management charging, electric discharge and power managed by power-supply management system Etc. function.Power supply 509 can also include one or more direct current or alternating current power supply, recharging system, power failure inspection The random component such as slowdown monitoring circuit, power supply changeover device or inverter, power supply status indicator.
Additionally, terminal can also include photographic head, bluetooth module etc., will not be described here.Specifically in the present embodiment, eventually Processor 508 in end can be according to following instruction, will be corresponding for the process of one or more application program executable File is loaded in memorizer 502, and to run, by processor 508, the application program being stored in memorizer 502, thus realizing Various functions:
Obtain the mark of the current wireless network connecting of terminal;
Judge whether the current wireless network connecting is default wireless network according to this mark;
If the current wireless network connecting is default wireless network, judge whether obtain using the current wireless network connecting Get access data;
If not getting access data, obtain the currently switchable wireless network set of this terminal, and according to this no Line collection of network switches over to the current wireless network connecting.
The implementation method of each operation specifically can be found in above-described embodiment above, and here is omitted.
This terminal can be realized achieved by the switching device of any one wireless network that the embodiment of the present invention is provided Effectively effect, refers to embodiment above, will not be described here.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completed with the hardware instructing correlation by program, this program can be stored in a computer-readable recording medium, storage Medium can include:Read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
A kind of changing method of wireless network, device and the terminal that above the embodiment of the present invention are provided have been carried out in detail Introduce, specific case used herein is set forth to the principle of the present invention and embodiment, the explanation of above example It is only intended to help and understand the method for the present invention and its core concept;Simultaneously for those skilled in the art, according to the present invention Thought, all will change in specific embodiments and applications, in sum, this specification content should not be understood For limitation of the present invention.

Claims (11)

1. a kind of changing method of wireless network is it is characterised in that include:
Obtain the mark of the current wireless network connecting of terminal;
Judge whether the current wireless network connecting is default wireless network according to described mark;
If the current wireless network connecting is default wireless network, judge whether get using the current wireless network connecting Access data;
If not getting access data, obtain the currently switchable wireless network set of described terminal, and according to described nothing Line collection of network switches over to the current wireless network connecting.
2. the changing method of wireless network according to claim 1 is it is characterised in that described judgement is using current connection Whether wireless network gets access data, including:
Open the clocking capability of described terminal;
Using the current wireless network connecting, data access is carried out to preset interface, and obtain access result;
Judge whether the current wireless network connecting gets access data according to the described result that accesses.
3. the changing method of wireless network according to claim 2 is it is characterised in that described sentence according to described access result Whether the disconnected current wireless network connecting gets access data, including:
When described access result instruction accesses successfully, judge that the current wireless network connecting gets access data;
When described access result instruction accesses unsuccessfully, detecting whether to reach preset duration, if reaching preset duration, judging to work as The wireless network of front connection does not get access data;If not reaching preset duration, returning execution and being connected using current Wireless network preset interface is carried out with the operation of data access.
4. wireless network according to claim 1 changing method it is characterised in that described according to described wireless network collection Close and the current wireless network connecting is switched over, including:
Obtain the historical record connecting network of described terminal storage;
The wireless network mating with described historical record is searched from described wireless network set;
According to the wireless network finding, the current wireless network connecting is switched over.
5. the changing method of wireless network according to claim 4 is it is characterised in that the wireless network that finds of described basis Network switches over to the current wireless network connecting, including:
When the wireless network finding is one, the current wireless network connecting is switched to the wireless network finding;
When the wireless network finding is multiple, the current wireless network connecting is switched to letter in the wireless network finding Number intensity wireless network the strongest.
6. a kind of switching device of wireless network is it is characterised in that include:
Acquisition module, for obtaining the mark of the current wireless network connecting of terminal;
According to described mark, first judge module, for judging whether the current wireless network connecting is default wireless network;
Second judge module, if the wireless network for current connection is default wireless network, judges using current connection Whether wireless network gets access data;
Handover module, if for not getting access data, detecting the currently switchable wireless network set of described terminal, And according to described wireless network set, the current wireless network connecting is switched over.
7. the switching device of wireless network according to claim 6 is it is characterised in that described first judge module specifically wraps Include:
Open unit, for opening the clocking capability of described terminal;
Access unit, for carrying out data access using the current wireless network connecting to preset interface, and obtains access result;
According to the described result that accesses, judging unit, for judging whether the current wireless network connecting gets access data.
8. wireless network according to claim 7 switching device it is characterised in that described judging unit specifically for:
When described access result instruction accesses successfully, judge that the current wireless network connecting gets access data;
When described access result instruction accesses unsuccessfully, detecting whether to reach preset duration, if reaching preset duration, judging to work as The wireless network of front connection does not get access data;If not reaching preset duration, trigger described access unit execution Using the current wireless network connecting, preset interface is carried out with the operation of data access.
9. the switching device of wireless network according to claim 6 is it is characterised in that described handover module specifically includes:
Acquiring unit, for obtaining the historical record connecting network of described terminal storage;
Searching unit, for searching the wireless network mating with described historical record from described wireless network set;
Switch unit, for switching over to the current wireless network connecting according to the wireless network finding.
10. wireless network according to claim 9 switching device it is characterised in that described switch unit specifically for:
When the wireless network finding is one, the current wireless network connecting is switched to the wireless network finding;
When the wireless network finding is multiple, the current wireless network connecting is switched to letter in the wireless network finding Number intensity wireless network the strongest.
A kind of 11. terminals are it is characterised in that include processor, memorizer, input equipment and output device, processor, storage Device, input equipment and output device are connected by bus, and wherein, processor is used for executing following steps:
Obtain the mark of the current wireless network connecting of terminal;
Judge whether the current wireless network connecting is default wireless network according to described mark;
If the current wireless network connecting is default wireless network, judge whether get using the current wireless network connecting Access data;
If not getting access data, obtain the currently switchable wireless network set of described terminal, and according to described nothing Line collection of network switches over to the current wireless network connecting.
CN201610882608.0A 2016-10-08 2016-10-08 A kind of switching method of wireless network, device and terminal Expired - Fee Related CN106454976B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610882608.0A CN106454976B (en) 2016-10-08 2016-10-08 A kind of switching method of wireless network, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610882608.0A CN106454976B (en) 2016-10-08 2016-10-08 A kind of switching method of wireless network, device and terminal

Publications (2)

Publication Number Publication Date
CN106454976A true CN106454976A (en) 2017-02-22
CN106454976B CN106454976B (en) 2019-11-22

Family

ID=58172191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610882608.0A Expired - Fee Related CN106454976B (en) 2016-10-08 2016-10-08 A kind of switching method of wireless network, device and terminal

Country Status (1)

Country Link
CN (1) CN106454976B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107222898A (en) * 2017-08-07 2017-09-29 广东欧珀移动通信有限公司 Method for switching network, mobile terminal and computer-readable recording medium
CN107277877A (en) * 2017-08-07 2017-10-20 广东欧珀移动通信有限公司 Method for switching network, mobile terminal and computer-readable recording medium
CN107992041A (en) * 2017-12-06 2018-05-04 浙江大华技术股份有限公司 A kind of AGV trolleies means of communication
CN108337707A (en) * 2018-04-17 2018-07-27 Oppo广东移动通信有限公司 A kind of switching method of wireless network, mobile terminal and storage medium
CN112566218A (en) * 2020-12-01 2021-03-26 中兴通讯股份有限公司 SIM card selection method, device, terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101600240B (en) * 2009-05-31 2011-07-20 腾讯科技(北京)有限公司 Method for switching multiple networks, instant messaging client, management server and system
CN102711164A (en) * 2012-05-15 2012-10-03 上海交通大学无锡研究院 Intelligent management method for data communication link of mobile terminal
CN103686674A (en) * 2013-09-30 2014-03-26 深圳市通力科技开发有限公司 Network access method, intelligent terminal and WiFi access equipment
CN104301949A (en) * 2014-09-15 2015-01-21 深圳市金立通信设备有限公司 Connection method for wireless hotspot
CN104768198A (en) * 2015-03-23 2015-07-08 努比亚技术有限公司 Mobile terminal and intelligent switching method and device for terminal network of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101600240B (en) * 2009-05-31 2011-07-20 腾讯科技(北京)有限公司 Method for switching multiple networks, instant messaging client, management server and system
CN102711164A (en) * 2012-05-15 2012-10-03 上海交通大学无锡研究院 Intelligent management method for data communication link of mobile terminal
CN103686674A (en) * 2013-09-30 2014-03-26 深圳市通力科技开发有限公司 Network access method, intelligent terminal and WiFi access equipment
CN104301949A (en) * 2014-09-15 2015-01-21 深圳市金立通信设备有限公司 Connection method for wireless hotspot
CN104768198A (en) * 2015-03-23 2015-07-08 努比亚技术有限公司 Mobile terminal and intelligent switching method and device for terminal network of mobile terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107222898A (en) * 2017-08-07 2017-09-29 广东欧珀移动通信有限公司 Method for switching network, mobile terminal and computer-readable recording medium
CN107277877A (en) * 2017-08-07 2017-10-20 广东欧珀移动通信有限公司 Method for switching network, mobile terminal and computer-readable recording medium
CN107992041A (en) * 2017-12-06 2018-05-04 浙江大华技术股份有限公司 A kind of AGV trolleies means of communication
CN108337707A (en) * 2018-04-17 2018-07-27 Oppo广东移动通信有限公司 A kind of switching method of wireless network, mobile terminal and storage medium
CN112566218A (en) * 2020-12-01 2021-03-26 中兴通讯股份有限公司 SIM card selection method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN106454976B (en) 2019-11-22

Similar Documents

Publication Publication Date Title
CN104135501B (en) Page sharing method, Apparatus and system
CN106453511B (en) A kind of data back up method and equipment
CN106851786A (en) A kind of method for searching network and device
CN104518953A (en) Message deleting method, instant messaging terminal and system
CN106851654A (en) Pseudo-base station recognition methods, device and terminal
CN103475996A (en) Network connecting method, network sharing method and devices
CN104735671A (en) Malicious call recognition method and device
CN107071779A (en) Pseudo-base station recognition methods, device and terminal
CN106454976A (en) Switching method and device for wireless network and terminal
CN106686626A (en) Setting method for Wi-Fi roaming and terminal equipment
CN104135728B (en) Method for connecting network and device
CN103561400B (en) Method for initiating communication, device thereof and mobile terminal
CN104426919A (en) Page sharing method, device and system
CN104427074A (en) Method, device and system for displaying incoming information
CN104717341A (en) Message prompting method and terminal
CN104301504A (en) Message viewing method and device and mobile terminal
CN106255036A (en) A kind of eSIM changing method and terminal unit
CN104378488A (en) Harassing call processing method and device
CN104348943A (en) Incoming call prompt method and incoming call prompt device
CN103546632B (en) A kind of quarter-bell ringing method for mobile terminal, device and mobile terminal
CN103561155B (en) Send the method for note, device and terminal
CN106028316A (en) Network search method and device for international roaming
CN103533139B (en) Data management method and device of multi-card user and mobile terminal
CN104869550A (en) Communication event processing method and device
CN103501373A (en) Method, device and terminal for making call

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

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

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

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

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20191122