CN107197470A - Wireless network connecting method, mobile terminal and computer-readable recording medium - Google Patents

Wireless network connecting method, mobile terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107197470A
CN107197470A CN201710376473.5A CN201710376473A CN107197470A CN 107197470 A CN107197470 A CN 107197470A CN 201710376473 A CN201710376473 A CN 201710376473A CN 107197470 A CN107197470 A CN 107197470A
Authority
CN
China
Prior art keywords
wireless link
mobile terminal
wireless
links
lists
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.)
Pending
Application number
CN201710376473.5A
Other languages
Chinese (zh)
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710376473.5A priority Critical patent/CN107197470A/en
Publication of CN107197470A publication Critical patent/CN107197470A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The invention discloses a kind of wireless network connecting method, methods described includes:Whether when mobile terminal connects the wireless link in upper lists of links, it is available wireless link to detect the current wireless link connected;If the current connection for being wirelessly linked as unavailable wireless link, disconnecting with the current wireless link, new lists of links is generated according to predetermined manner;Attachable wireless link is traveled through in the new lists of links to be attached, and redirects whether the current wireless link that perform detection connected is the step of available wireless is linked, so that the upper available wireless link of mobile terminal connection.The invention also discloses a kind of mobile terminal and computer-readable recording medium.Present invention, avoiding the upper unavailable wireless link of mobile terminal connection, the power consumption of mobile terminal is reduced.

Description

Wireless network connecting method, mobile terminal and computer-readable recording medium
Technical field
The present invention relates to communication technical field, more particularly to a kind of wireless network connecting method, mobile terminal and computer Readable storage medium storing program for executing.
Background technology
With the fast development of electronic industry, mobile terminal intelligence degree more and more higher.Mobile terminal producer is also more next More focus on the intellectuality of mobile terminal function, human oriented design.Under the background that network is quickly popularized, mobile terminal wireless link Function is popularized rapidly, and wireless link function turns into one of most important function of mobile terminal.
When mobile terminal starts in wireless link function, connection after wireless link, it may appear that mobile terminal display connects The wireless link signal connect is most strong in lists of links, but can not access the situation of internet.Such case is caused to occur The reason for have:1. carrier network failure;2. the mobile terminal of payment is needed not pay the fees on time;3. wireless link router does not have Connect;4. wireless link digital controller speed limit does not allow to connect this wireless link.Now, mobile terminal should in connection During unavailable wireless link, other available wireless links will not be searched again for, cause mobile terminal power consumption to increase, and can not access Internet.
The content of the invention
It is a primary object of the present invention to propose a kind of wireless network connecting method, mobile terminal and computer-readable storage Medium, it is intended to solve existing mobile terminal in connection during unavailable wireless link, power consumption increase, it is impossible to access internet Problem.
To achieve the above object, the invention provides a kind of wireless network connecting method, the wireless network connecting method Including:
When mobile terminal connects the wireless link in upper lists of links, detect the current wireless link connected whether be Available wireless is linked;
If the current connection for being wirelessly linked as unavailable wireless link, disconnecting with the current wireless link, is pressed New lists of links is generated according to predetermined manner;
Attachable wireless link, which is traveled through, in the new lists of links to be attached, and redirects perform detection is connected Current wireless link whether be the step of available wireless is linked so that the upper available wireless link of mobile terminal connection.
Alternatively, it is described to travel through attachable wireless link in the new lists of links and be attached, and redirect and hold Whether the current wireless link that row detection is connected is the step of available wireless is linked, so as to can be used in mobile terminal connection After the step of wireless link, in addition to:
Number of hops is recorded, and judges whether the number of hops is more than the first preset times;
When the number of hops is more than first preset times, in mobile terminal screen output the first prompting letter It is current described in breath prompting user to be wirelessly linked as unavailable wireless link, and prompt the user whether to confirm to close wireless link work( Energy.
Alternatively, it is described when the number of hops is more than first preset times, it is defeated in the mobile terminal screen Go out and be currently wirelessly linked as unavailable wireless link described in the first prompt message prompting user, and prompt the user whether to confirm to close After the step of wireless link function, in addition to:
When detecting the confirmation instruction for confirming to close the wireless link function, according to closing the confirmation instruction Wireless link function, and data network is switched to, to access internet by the data network.
Alternatively, it is described when the number of hops is more than first preset times, it is defeated in the mobile terminal screen Go out and be currently wirelessly linked as unavailable wireless link described in the first prompt message prompting user, and prompt the user whether to confirm to close After the step of wireless link function, in addition to:
When detecting the cancellation instruction cancelled and close the wireless link function, instruction restarting is cancelled according to described The wireless link function;
After the wireless link function is restarted, attachable wireless link is re-searched for.
Alternatively, it is described after the wireless link function is restarted, re-search for the step of attachable wireless link After rapid, in addition to:
The number of starts of the restarting wireless link function is calculated, and judges whether the number of starts is more than second Preset times;
When the number of starts is more than second preset times, and detect described when cancelling instruction, output second is carried Show that message notifying user is currently wirelessly linked as unavailable wireless link, and switch to data network and access internet.
Alternatively, it is described connected when mobile terminal in upper lists of links wireless link when, detect connected currently without Whether line link is that the step of available wireless is linked includes:
When the mobile terminal connects the wireless link in upper lists of links, pass through the current wireless link connected and visit Server is asked, the answer code that the server is returned is obtained;
When the answer code is error code, confirmation is described to be currently wirelessly linked as unavailable wireless link;
When the answer code is correct code, confirm that the current available wireless that is wirelessly linked as is linked.
Alternatively, it is described connected when the mobile terminal in upper lists of links wireless link when, pass through working as of being connected The step of preceding wireless link accesses server, the answer code that the acquisition server is returned includes:
When the mobile terminal connects the wireless link in upper lists of links, start monitor;
Pass through the current wireless link connected and send test data bag to the server, so that the server is received The test data bag, answer code is returned according to the test data bag;
The answer code that the server is returned is obtained by the monitor.
Alternatively, it is described to include the step of generate new lists of links according to predetermined manner:
The unavailable wireless link is deleted from the lists of links, to generate new lists of links;
Or the unavailable wireless link is moved to last row of the lists of links, to generate new link column Table.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminal, the mobile terminal include memory, Processor and it is stored in the wireless network linker that can be run on the memory and on the processor, the wireless network Network linker is realized wireless network connecting method as described above during computing device the step of.
In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, described computer-readable Be stored with wireless network linker on storage medium, is realized when the wireless network linker is executed by processor as above The step of described wireless network connecting method.
In the present invention, by being connected when mobile terminal during the wireless link in upper lists of links, detect that what is connected works as Whether preceding wireless link is available wireless link;If it is described it is current be wirelessly linked as unavailable wireless link, disconnect with it is described The connection of current wireless link, new lists of links is generated according to predetermined manner;Being traveled through in the new lists of links to connect The wireless link connect is attached, and redirect current wireless link that perform detection connected whether be available wireless link step Suddenly, so that the upper available wireless link of mobile terminal connection.Realize when the upper unavailable wireless link of mobile terminal connection, The connection with the unavailable wireless link is disconnected, attachable wireless link is searched in newly-generated lists of links and is connected Connect, and whether the current wireless link that detection is connected again is available wireless link, so as to which nothing can be used in mobile terminal connection Line is linked, pass through connected available wireless link, access internet, it is to avoid the upper unavailable radio chains of mobile terminal connection Connect, reduce the power consumption of mobile terminal.
Brief description of the drawings
Fig. 1 is a kind of hardware architecture diagram of terminal of realization each embodiment of the invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of wireless network connecting method first embodiment of the present invention;
Fig. 4 is, when mobile terminal connects the wireless link in upper lists of links, detection is connected in the embodiment of the present invention Current wireless link whether be available wireless link a kind of schematic flow sheet;
Fig. 5 is the schematic diagram of Wi-Fi lists in the embodiment of the present invention;
Fig. 6 is the schematic diagram of new Wi-Fi lists in the embodiment of the present invention;
Fig. 7 is the schematic flow sheet of wireless network connecting method second embodiment of the present invention;
Fig. 8 is the schematic diagram of mobile terminal the first prompting message of output in the embodiment of the present invention;
Fig. 9 is the schematic flow sheet of wireless network connecting method 3rd embodiment of the present invention;
Figure 10 is the schematic flow sheet of wireless network connecting method fourth embodiment of the present invention;
Figure 11 is the schematic diagram of mobile terminal the second prompting message of output in the embodiment of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be explained referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can be mixed Ground is used.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. are moved Move the fixed terminals such as terminal, and numeral TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of realization each embodiment of the invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, Wi-Fi module 102, audio output unit 103rd, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, with And the grade part of power supply 111.It will be understood by those skilled in the art that the structure of mobile terminal 1 00 shown in Fig. 1 is not constituted to moving The restriction of dynamic terminal 100, mobile terminal 1 00 can include parts more more or less than diagram, or combine some parts, or The different part arrangement of person.
The all parts of mobile terminal 1 00 are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station Downlink information receive after, handled to processor 110;In addition, up data are sent into base station.Generally, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, WCDMA), TD-SCDMA (Time Division Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
Wi-Fi belongs to short range wireless transmission technology, and mobile terminal 1 00 can help user to receive by Wi-Fi module 102 Send e-mails, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although figure 1 shows Wi-Fi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal 1 00, completely can be with Omitted as needed in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 1 00 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or Wi-Fi module 102 are received or The voice data that person stores in memory 109 is converted into audio signal and is output as sound.Moreover, audio output unit 103 can also provide performed to mobile terminal 1 00 the related audio output of specific function (for example, call signal reception sound, Message sink sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
Mobile terminal 1 00 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 1 00 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can be wrapped Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce and mobile terminal 1 00 The key signals input that user is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch behaviour of the user on or near it (such as user is using any suitable objects such as finger, stylus or annex on contact panel 1071 or in contact panel for work Operation near 1071), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include to touch Two parts of detection means and touch controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects touch behaviour Make the signal brought, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and It is converted into contact coordinate, then gives processor 110, and the order sent of reception processing device 110 and can be performed.This Outside, contact panel 1071 can be realized using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except touching Panel 1071 is controlled, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 Physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operation can be included but is not limited to One or more in bar etc., are not limited specifically herein.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, with preprocessor 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel 1061 be input and the output function that mobile terminal 1 00 is realized as two independent parts, but in certain embodiments, Can by contact panel 1071 and the input that is integrated and realizing mobile terminal 1 00 of display panel 1061 and output function, it is specific this Place is not limited.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 1 00 or can be with For transmitting data between mobile terminal 1 00 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, application program (the such as sound that storing program area can be needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data field can be stored uses created data (such as according to mobile phone Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, it can also include non-easy The property lost memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal 1 00, utilizes various interfaces and the whole mobile terminal of connection Various pieces, by operation or perform and are stored in software program and/or module in memory 109, and call and be stored in Data in reservoir 109, perform the various functions and processing data of mobile terminal 1 00, so as to carry out entirety to mobile terminal 1 00 Monitoring.Processor 110 may include one or more processing units;It is preferred that, processor 110 can integrated application processor and modulation Demodulation processor, wherein, application processor mainly handles operating system, user interface and application program etc., modulation /demodulation processing Device mainly handles radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
In addition, in the mobile terminal 1 00 shown in Fig. 1, it is wireless that processor 110 is stored for calling in memory 109 Network attachment procedure, and perform following operate:
When the wireless link in the upper lists of links of connection, detect whether the current wireless link connected is available wireless Link;
If current be wirelessly linked as unavailable wireless link, the connection with current wireless link is disconnected, according to default side Formula generates new lists of links;
Attachable wireless link is traveled through in new lists of links to be attached, and working as of redirecting that perform detection connected Whether preceding wireless link is the step of available wireless is linked, so that the upper available wireless link of mobile terminal connection.
Further, attachable wireless link is traveled through in new lists of links to be attached, and redirect perform detection Whether the current wireless link connected is the step of available wireless is linked, so that the upper available wireless link of mobile terminal connection After step, processor 110 is additionally operable to call the wireless network linker stored in memory 109, performs following operate:
Number of hops is recorded, and judges whether number of hops is more than the first preset times;
When number of hops is more than the first preset times, exports the first prompt message prompting user in mobile terminal screen and work as Preceding wireless link is unavailable wireless link, and prompts the user whether to confirm to close wireless link function.
Further, when number of hops is more than the first preset times, the first prompt message is exported in mobile terminal screen Prompting user is currently wirelessly linked as unavailable wireless link, and prompts the user whether the step of wireless link function is closed in confirmation Afterwards, processor 110 is additionally operable to call the wireless network linker stored in memory 109, performs following operate:
When detecting the confirmation instruction for confirming to close wireless link function, wireless link work(is closed according to confirming to instruct Can, and data network is switched to, to access internet by data network.
Further, when number of hops is more than the first preset times, the first prompt message is exported in mobile terminal screen Prompting user is currently wirelessly linked as unavailable wireless link, and prompts the user whether the step of wireless link function is closed in confirmation Afterwards, processor 110 is additionally operable to call the wireless network linker stored in memory 109, performs following operate:
When detecting the cancellation instruction cancelled and close wireless link function, restarting wireless link is instructed according to cancelling Function;
After restarting wireless link function, attachable wireless link is re-searched for.
Further, after restarting wireless link function, after the step of re-searching for attachable wireless link, Processor 110 is additionally operable to call the wireless network linker stored in memory 109, performs following operate:
The number of starts of restarting wireless link function is calculated, and judges whether the number of starts is more than second default time Number;
When the number of starts be more than the second preset times, and detect cancellation instruction when, output the second prompting message prompting use Family is currently wirelessly linked as unavailable wireless link, and switches to data network access internet.
Further, processor 110 is additionally operable to call the wireless network linker stored in memory 109, to realize When the wireless link in the upper lists of links of connection, detect the current wireless link connected whether be available wireless link step Suddenly:
When the wireless link in the upper lists of links of connection, pass through the current wireless links and accesses server connected, obtain The answer code for taking server to return;
When answer code is error code, confirmation is currently wirelessly linked as unavailable wireless link;
When answer code is correct code, confirm that the current available wireless that is wirelessly linked as is linked.
Further, processor 110 is additionally operable to call the wireless network linker stored in memory 109, to realize When the wireless link in the upper lists of links of connection, pass through the current wireless links and accesses server connected, obtain server The step of answer code of return:
When mobile terminal connects the wireless link in upper lists of links, start monitor;
Pass through the current wireless link connected and send test data bag to server, so that server receives test data Bag, answer code is returned according to test data bag;
The answer code that server is returned is obtained by monitor.
Further, processor 110 is additionally operable to call the wireless network linker stored in memory 109, to realize The step of new lists of links being generated according to predetermined manner:
Unavailable wireless link is deleted from lists of links, to generate new lists of links;
Or unavailable wireless link is moved to last row of lists of links, to generate new lists of links.
Mobile terminal 1 00 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 1 00 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system that the mobile terminal of the present invention is based on is entered below Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system Unite as the LTE system of universal mobile communications technology, UE (User Equipment, use of the LTE system including communicating connection successively Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned mobile terminal 1 00, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and There is provided carrying and connection management for the control node of signaling between EPC203.HSS2032 is all to manage for providing some registers Such as function of attaching position register (not shown) etc, and some are preserved about the use such as service features, data rate The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And following new network system etc., do not limit herein.
Based on above-mentioned terminal hardware structure and communications network system, each of wireless network connecting method of the present invention is proposed Embodiment.
The present invention provides a kind of wireless network connecting method.
Reference picture 3, Fig. 3 is the schematic flow sheet of wireless network connecting method first embodiment of the present invention.
In the present embodiment there is provided the embodiment of wireless network connecting method, it is necessary to which what is illustrated is, although in flow chart In show logical order, but in some cases, can be to perform shown or described step different from order herein Suddenly.
In the present embodiment, wireless network connecting method is optional is applied in mobile terminal 1 00, wireless network connecting method Including:
Step S10, when mobile terminal 1 00 connects the wireless link in upper lists of links, detect connected currently without Whether line link is available wireless link;
When user starts the wireless link function in mobile terminal 1 00, mobile terminal 1 00 scans attachable radio chains Connect, generate lists of links.When mobile terminal 1 00 connects the wireless link in upper lists of links, the detection of mobile terminal 1 00 connects Whether the current wireless link connect is available wireless link.It is understood that wireless link can be WiFi (WIreless- Fidelity, Wireless Fidelity) link.When wireless link is that WiFi is linked, lists of links is WiFi lists.
During wireless link of the mobile terminal 1 00 in connecting link list, it can first judge to whether there is in lists of links The wireless link that mobile terminal 1 00 had been connected.If there is the wireless link that mobile terminal 1 00 had been connected in lists of links, Mobile terminal 1 00 then can preferential attachment this connected wireless link (if this connected wireless link correspondence user not Modify password, does not need now the user of mobile terminal 1 00 to be manually entered corresponding wireless link password and is attached);If link Not there is no the wireless link connected in list, then need user to manually select the wireless link to be connected, and by defeated Enter corresponding wireless link password connection wireless link.
Further, it also can be set to work as and there is the wireless link that had connected in lists of links, but the nothing that had connected When line link signal intensity is less than preset signal strength, the no longer preferential attachment of mobile terminal 1 00 wireless link that had connected, And need user to manually select the wireless link to be connected.It is understood that the preset signal strength is needed also according to specific Want and set, in this not go into detail.
Further, reference picture 4, step S10 includes:
Step S11, when mobile terminal 1 00 connects the wireless link in upper lists of links, pass through connected currently without Line links and accesses server, obtains the answer code that server is returned;
Step S12, when answer code is error code, confirmation is currently wirelessly linked as unavailable wireless link;
Step S13, when answer code is correct code, confirms that the current available wireless that is wirelessly linked as is linked.
Mobile terminal 1 00 detects whether the current wireless link connected is that the detailed process that available wireless is linked is:When When mobile terminal 1 00 connects the wireless link in upper lists of links, pass through the current wireless links and accesses server connected, obtain The answer code for taking server to return, and judge that acquired answer code is correct code or error code.When answer code is error code When, confirm that what mobile terminal 1 00 connected current is wirelessly linked as unavailable wireless link;When answer code is correct code, really That recognizes that mobile terminal 1 00 connected current wireless is linked as available wireless link.
It should be noted that in the present embodiment, error code has the specific form of expression, but the performance of correct code is not limited Form, as long as the form of expression for confirming the answer code is not the form of expression of error code, that is, it is correct code to think the answer code. As in the present embodiment, error code can be set to " 404 ", as long as that is, answer code is not " 404 ", that is, think that the answer code is Correct code.It is understood that in other embodiments, also error code can be set into other forms.Clothes in the present embodiment The particular server that business device can be set for the manufacturer of mobile terminal 1 00, or other clothes with access interconnection network function Business device.
Further, step S11 includes:
Step a, when mobile terminal 1 00 connects the wireless link in upper lists of links, starts monitor;
Step b, passes through the current wireless link connected and sends test data bag to server, surveyed so that server is received Packet is tried, answer code is returned to according to test data bag;
Step c, the answer code that server is returned is obtained by monitor.
Obtain answer code detailed process be:When mobile terminal 1 00 connects the wireless link in upper lists of links, start Monitor in mobile terminal 1 00, and pass through the current wireless link transmission test data bag connected to server.Work as service When device receives test data bag, answer code is returned to mobile terminal 1 00 according to test data bag.Mobile terminal 1 00 passes through prison Device is listened to obtain the answer code that server is returned.In the present embodiment, test data bag is the data of set form, as long as can be real Whether now test current wireless link is available wireless link.
Further, after mobile terminal 1 00 sends test data bag to server, timer is started.Work as timer Value be more than preset value, mobile terminal 1 00 do not receive also server return answer code when, confirm mobile terminal 1 00 connect The wireless link connect is unavailable wireless link;When the value of timer is less than or equal to preset value, and receives server and return During the answer code returned, mobile terminal 1 00 judges that acquired answer code is correct code or error code.It is understood that working as The value of timer is more than preset value, when mobile terminal 1 00 does not receive the answer code of server return also, shows test data bag Send time-out.In the present embodiment, preset value can be set according to specific needs, such as may be configured as 35ms, or be set to 50ms.
Further, it is more than preset value in the value of timer, mobile terminal 1 00 does not receive the response of server return also In the case of code, in order to prevent test data packet loss from causing mobile terminal 1 00 not receive the answer code that server is returned Situation occurs, and may be configured as, when mobile terminal 1 00 does not receive the response of server return for the first time, resending test Packet is to server.When mobile terminal 1 00 sends number of times of the test data bag to server more than set transmission times When, just confirm that what mobile terminal 1 00 connected current is wirelessly linked as unavailable wireless link.It is understood that set Transmission times can set as the case may be, such as may be configured as 2 times, or 3 inferior.
Step S20, if current be wirelessly linked as unavailable wireless link, disconnect the connection with current wireless link, presses New lists of links is generated according to predetermined manner;
When confirm mobile terminal 1 00 connected it is current be wirelessly linked as unavailable wireless link when, mobile terminal 1 00 break The connection with current wireless link is opened, and according to the new lists of links of predetermined manner generation.
Further, the step of generating new lists of links according to predetermined manner includes:
Step d, unavailable wireless link is deleted from lists of links, to generate new lists of links;Or can not Last row of lists of links are moved to wireless link, to generate new lists of links.
The mode that mobile terminal 1 00 generates new lists of links has two kinds:One kind is from link by unavailable wireless link Deleted in list, generate new lists of links;Another is last row for being moved to unavailable wireless link lists of links, The new lists of links of generation.Specifically, unavailable wireless link is moved to last row of lists of links, new link is generated List.Fig. 5 and Fig. 6 are can refer to, Fig. 5 and Fig. 6 are illustrated so that wireless link is WiFi links as an example.From Fig. 5 and Fig. 6, When it is unavailable Wi-Fi that mobile terminal, which determines " tiplik ", " tiplik " is moved to the last of Wi-Fi lists.Can by Fig. 5 Know, originally putting in order for each Wi-Fi is followed successively by from front to back in Wi-Fi lists:tiplik、HLZY-Liao、HXD702、 Chielen-9916, superMAN, Wireless2.4GAP17, Fig. 6 understand that each Wi-Fi arrangement is suitable in new Wi-Fi lists Sequence is followed successively by from front to back:HLZY-Liao、HXD702、Chielen-9916、superMAN、Wireless2.4GAP17、 tiplik.Unavailable Wi-Fi last row for being moved to Wi-Fi lists can be understood as unavailable Wi-Fi priority It is set to minimum.
Further, a fixed mark can be added in unavailable wireless link, can such as be added in unavailable Wi-Fi Plus a mark A.After mobile terminal 1 00 restarts wireless link function, the unavailable wireless link may recognize that.Work as shifting The dynamic restarting of terminal 100 wireless link function, and identify after unavailable wireless link, can not be shown in lists of links should Unavailable wireless link, either includes the unavailable wireless link in last row of lists of links or according to radio chains Connect signal intensity and show the wireless link that mobile terminal 1 00 is scanned, but in the unavailable wireless link signal intensity most When good, not preferential attachment unavailable wireless link.
Step S30, attachable wireless link is traveled through in new lists of links and is attached, and redirects perform detection institute Whether the current wireless link of connection is the step of available wireless is linked, so that the upper available wireless link of the connection of mobile terminal 1 00.
After new lists of links is generated, mobile terminal 1 00 travels through attachable wireless link in new lists of links. When mobile terminal 1 00 finds attachable wireless link in new lists of links, the wireless link is connected, and detect institute Whether the current wireless link of connection is available wireless link, so that the upper available wireless link of the connection of mobile terminal 1 00, passes through institute The available wireless links and accesses internet of connection.Specifically, mobile terminal 1 00 can be in new lists of links, according to link column The sequencing of each wireless link arrangement is searched attachable wireless link and is attached from front to back in table.
It is current that the present embodiment is connected by when mobile terminal 1 00 connects wireless link in upper lists of links, detecting Whether wireless link is available wireless link;If current be wirelessly linked as unavailable wireless link, disconnect and current radio chains The connection connect, new lists of links is generated according to predetermined manner;Attachable radio chains are traveled through in new lists of links to tap into Row connection, and redirect whether the current wireless link that perform detection connected is the step of available wireless is linked so that it is mobile eventually The upper available wireless link of the connection of end 100.Realize when the upper unavailable wireless link of the connection of mobile terminal 1 00, disconnect with this not The connection of available wireless link, attachable wireless link is searched in newly-generated lists of links and is attached, and is examined again Survey whether the current wireless link connected is available wireless link, so that the upper available wireless link of the connection of mobile terminal 1 00, leads to Connected available wireless link is crossed, internet is accessed;The upper unavailable wireless link of the connection of mobile terminal 1 00 is avoided simultaneously, Reduce the power consumption of mobile terminal.
Further, the second embodiment of wireless network connecting method of the present invention is proposed based on first embodiment of the invention. The difference of the second embodiment of wireless network connecting method and the first embodiment of wireless network connecting method is, reference picture 7, Wireless network connecting method also includes:
Step S40, records number of hops, and judge whether number of hops is more than the first preset times;
Step S50, when number of hops is more than the first preset times, in the screen of mobile terminal 1 00 output the first prompting letter Breath prompting user is currently wirelessly linked as unavailable wireless link, and prompts the user whether to confirm to close wireless link function.
When mobile terminal 1 00 finds attachable wireless link in new lists of links, and connect this and can connect Wireless link when, mobile terminal 1 00 redirects whether the current wireless link that perform detection connected is what available wireless was linked Step, and number of hops is recorded, judge whether number of hops is more than the first preset times.When number of hops is more than first default time During number, mobile terminal 1 00 exports the first prompt message prompting user in its screen and is currently wirelessly linked as unavailable radio chains Connect, and prompt the user whether to confirm to close wireless link function;When number of hops is less than or equal to the first preset times, move Dynamic terminal 100 continues to search attachable wireless link in new lists of links.
Specifically, as shown in Figure 8, when wireless link is that WiFi is linked, the content of the first prompt message can be word letter Breath " current Wi-Fi has network problem, please check network or close Wi-Fi, switch to data network ".It may be appreciated It is that the first prompt message also can use the forms such as voice messaging to represent in addition to available text information is represented, and the first prompt message Particular content be not restricted to shown in the application Fig. 8, as long as the Wi-Fi can be expressed for unavailable Wi-Fi, point out user to be It is no to confirm to close Wi-Fi functions.
It should be noted that the first preset times can be set according to specific needs, 3 times, or 5 times are such as may be configured as Deng.
The present embodiment redirects whether the current wireless link that perform detection connected is available by recording mobile terminal 1 00 The number of hops of the step of wireless link, when number of hops is more than the first preset times, points out user to be currently wirelessly linked as Unavailable wireless link, and prompt the user whether to close wireless link function.Mobile terminal 1 00 is avoided in lists of links not When finding available wireless link, return perform connection wireless link always, detect the current wireless link that is connected whether be The situation for the step of available wireless is linked occurs, and improves mobile terminal 1 00 intelligent when connecting wireless link.
Further, the 3rd embodiment of wireless network connecting method of the present invention is proposed based on second embodiment of the invention. The difference of the 3rd embodiment of wireless network connecting method and the second embodiment of wireless network connecting method is, reference picture 9, Wireless network connecting method also includes:
Step S60, when detecting the cancellation instruction cancelled and close wireless link function, restarting is instructed according to cancelling Wireless link function;
Step S70, after restarting wireless link function, re-searches for attachable wireless link.
When mobile terminal 1 00 detects the cancellation instruction cancelled and close wireless link function, instructed again according to cancelling Start wireless link function, and re-search for attachable wireless link, generate lists of links.Specifically, mobile terminal 1 00 can Detect that the cancellation is instructed by the contact panel 1071 in Fig. 1.
Further, when mobile terminal 1 00 detects cancellation instruction, wireless link function is closed, starts timer, Timer restarts wireless link function after preset duration.In the present embodiment, preset duration may be configured as 3 minutes, Or 5 minutes etc..
The present embodiment is by when detecting cancellation instruction, restarting wireless link function, re-searching for attachable Wireless link, to improve the success rate of the upper available wireless link of the connection of mobile terminal 1 00.
Further, wireless network connecting method also includes:
Step e, when detecting the confirmation instruction for confirming to close wireless link function, radio chains are closed according to confirming to instruct Connection function, and data network is switched to, to access internet by data network.
When mobile terminal 1 00 detects the confirmation instruction for confirming to close wireless link function, mobile terminal 1 00 is according to this Confirm that wireless link function is closed in instruction.After mobile terminal 1 00 closes wireless link function, mobile terminal 1 00 switches to number According to network, internet is accessed by data network.Specifically, mobile terminal 1 00 can be detected by the contact panel 1071 in Fig. 1 The confirmation is instructed.It is understood that the data network includes 2G (2-Generation wireless telephone Technology, second generation mobile communication technical specification), 3G (3rd-Generation, 3rd generation mobile communication technology) and 4G (the 4th Generation mobile communication technology, forth generation mobile communication technology) network Deng.
By when detecting confirmation instruction, according to instruction closing wireless link function is confirmed, automatically switching to network number According to, it is to avoid, it is necessary to which the manually opened network data of user, improves the intelligence of mobile terminal 1 00 after wireless link function is closed Property.
Further, after mobile terminal 1 00 is exporting the first prompt message, if not detecting confirmation in preset time Instruction and cancellation instruction, mobile terminal 1 00 then perform the operation of restarting wireless link function, it is to avoid mobile terminal 1 00 is grown Time, which is in, can not access the state of internet.Preset time can be set according to specific needs, such as be set to 3 minutes, or 5 Minute etc..
Further, the fourth embodiment of wireless network connecting method of the present invention is proposed based on third embodiment of the invention. The difference of the fourth embodiment of wireless network connecting method and the 3rd embodiment of wireless network connecting method is, reference picture 10, wireless network connecting method also includes:
Step S80, calculates the number of starts of restarting wireless link function, and judges whether the number of starts is more than second Preset times;
Step S90, when the number of starts be more than the second preset times, and detect cancellation instruction when, output second prompting disappear Breath prompting user is currently wirelessly linked as unavailable wireless link, and switches to data network access internet.
After mobile terminal 1 00 restarts wireless link function, mobile terminal 1 00 calculates restarting wireless link work( The number of starts of energy, and judge whether the number of starts is more than the second preset times.When the number of starts be more than the second preset times, and When mobile terminal 1 00 detects cancellation instruction, mobile terminal 1 00 switches to data network, and internet is accessed by data network, No longer perform the operation of restarting wireless link function.Meanwhile, mobile terminal 1 00 exports the second prompting message, points out user Wireless link in current link list is unavailable wireless link, has switched to data network.Be less than when the number of starts or During equal to the second preset times, when detecting the cancellation instruction cancelled and close wireless link function, mobile terminal 1 00 is opened again Dynamic wireless link function.
Specifically, as shown in Figure 11, the content of the second prompt message can be that " current Wi-Fi is unavailable Wi- to text information Fi, has switched to data network ".It is understood that the second prompt message is in addition to available text information is represented, can also term The forms such as message breath are represented, and the particular content of the second prompt message is not restricted to shown in the application Figure 11.
The present embodiment restarts the number of starts of wireless link function by calculating mobile terminal 1 00, works as the number of starts During more than the second preset times, wireless link function is no longer restarted, data network is directly switch into.Avoid mobile terminal 100 repeat the operation for starting wireless link function always, and the long-time of mobile terminal 1 00, which is in, can not access the feelings of internet Condition occurs.
In addition, the embodiment of the present invention also proposes a kind of computer-readable recording medium.
Be stored with wireless network linker on computer-readable recording medium, and wireless network linker is held by processor Following steps are realized during row:
When the wireless link in the upper lists of links of connection, detect whether the current wireless link connected is available wireless Link;
If current be wirelessly linked as unavailable wireless link, the connection with current wireless link is disconnected, according to default side Formula generates new lists of links;
Attachable wireless link is traveled through in new lists of links to be attached, and working as of redirecting that perform detection connected Whether preceding wireless link is the step of available wireless is linked, so that the upper available wireless link of mobile terminal connection.
In the present invention, by being connected when mobile terminal during the wireless link in upper lists of links, detect that what is connected works as Whether preceding wireless link is available wireless link;If current be wirelessly linked as unavailable wireless link, disconnect and current wireless The connection of link, new lists of links is generated according to predetermined manner;Attachable wireless link is traveled through in new lists of links It is attached, and redirects whether the current wireless link that perform detection connected is the step of available wireless is linked, so that mobile The upper available wireless link of terminal connection.Realize when the upper unavailable wireless link of mobile terminal connection, disconnect unavailable with this The connection of wireless link, attachable wireless link is searched in newly-generated lists of links and is attached, and detects institute again Whether the current wireless link of connection is available wireless link, so that the upper available wireless link of mobile terminal connection, passes through and connect The available wireless link connect, accesses internet, it is to avoid the upper unavailable wireless link of mobile terminal connection, reduces mobile terminal Power consumption.
Further, attachable wireless link is traveled through in new lists of links to be attached, and redirect perform detection Whether the current wireless link connected is the step of available wireless is linked, so that the upper available wireless link of mobile terminal connection After step, wireless network linker realizes following steps when being executed by processor:
Number of hops is recorded, and judges whether number of hops is more than the first preset times;
When number of hops is more than the first preset times, exports the first prompt message prompting user in mobile terminal screen and work as Preceding wireless link is unavailable wireless link, and prompts the user whether to confirm to close wireless link function.
Further, when number of hops is more than the first preset times, the first prompt message is exported in mobile terminal screen Prompting user is currently wirelessly linked as unavailable wireless link, and prompts the user whether the step of wireless link function is closed in confirmation Afterwards, following steps are realized when wireless network linker is executed by processor:
When detecting the confirmation instruction for confirming to close wireless link function, wireless link work(is closed according to confirming to instruct Can, and data network is switched to, to access internet by data network.
Further, when number of hops is more than the first preset times, the first prompt message is exported in mobile terminal screen Prompting user is currently wirelessly linked as unavailable wireless link, and prompts the user whether the step of wireless link function is closed in confirmation Afterwards, following steps are realized when wireless network linker is executed by processor:
When detecting the cancellation instruction cancelled and close wireless link function, restarting wireless link is instructed according to cancelling Function;
After restarting wireless link function, attachable wireless link is re-searched for.
Further, after restarting wireless link function, after the step of re-searching for attachable wireless link, Wireless network linker realizes following steps when being executed by processor:
The number of starts of restarting wireless link function is calculated, and judges whether the number of starts is more than second default time Number;
When the number of starts be more than the second preset times, and detect cancellation instruction when, output the second prompting message prompting use Family is currently wirelessly linked as unavailable wireless link, and switches to data network access internet.
Further, when mobile terminal connects the wireless link in upper lists of links, it is current wireless that detection is connected Whether link is that the step of available wireless is linked includes:
When mobile terminal connects the wireless link in upper lists of links, pass through the current wireless links and accesses clothes connected Business device, obtains the answer code that server is returned;
When answer code is error code, confirmation is currently wirelessly linked as unavailable wireless link;
When answer code is correct code, confirm that the current available wireless that is wirelessly linked as is linked.
Further, when mobile terminal connects the wireless link in upper lists of links, connected current wireless is passed through The step of links and accesses server, answer code for obtaining server return, includes:
When mobile terminal connects the wireless link in upper lists of links, start monitor;
Pass through the current wireless link connected and send test data bag to server, so that server receives test data Bag, answer code is returned according to test data bag;
The answer code that server is returned is obtained by monitor.
Further, the step of generating new lists of links according to predetermined manner includes:
Unavailable wireless link is deleted from lists of links, to generate new lists of links;
Or unavailable wireless link is moved to last row of lists of links, to generate new lists of links.
Computer-readable recording medium embodiment of the present invention and each embodiment base of above-mentioned wireless network connecting method This is identical, will not be repeated here.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property is included, so that process, method, article or system including a series of key elements not only include those key elements, and And also including the other key elements being not expressly set out, or also include for this process, method, article or system institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in process, method, article or the system of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal equipment (can be mobile phone, computer, clothes It is engaged in device, air conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of wireless network connecting method, it is characterised in that the wireless network connecting method includes:
When mobile terminal connects the wireless link in upper lists of links, detect whether the current wireless link connected is available Wireless link;
If the current connection for being wirelessly linked as unavailable wireless link, disconnecting with the current wireless link, according to pre- If mode generates new lists of links;
Attachable wireless link is traveled through in the new lists of links to be attached, and working as of redirecting that perform detection connected Whether preceding wireless link is the step of available wireless is linked, so that the upper available wireless link of mobile terminal connection.
2. wireless network connecting method as claimed in claim 1, it is characterised in that described in the new lists of links time Go through attachable wireless link to be attached, and redirect whether the current wireless link that perform detection connected is available wireless chain The step of connecing, so that after the step of upper available wireless of mobile terminal connection is linked, in addition to:
Number of hops is recorded, and judges whether the number of hops is more than the first preset times;
When the number of hops is more than first preset times, exports the first prompt message in the mobile terminal screen and carry Show and unavailable wireless link is currently wirelessly linked as described in user, and prompt the user whether to confirm to close wireless link function.
3. wireless network connecting method as claimed in claim 2, it is characterised in that described when the number of hops is more than described During the first preset times, export and be currently wirelessly linked as not described in the first prompt message prompting user in the mobile terminal screen Available wireless link, and prompt the user whether confirm close wireless link function the step of after, in addition to:
When detecting the confirmation instruction for confirming to close the wireless link function, closed according to the confirmation instruction described wireless Linking functions, and data network is switched to, to access internet by the data network.
4. wireless network connecting method as claimed in claim 2, it is characterised in that described when the number of hops is more than described During the first preset times, export and be currently wirelessly linked as not described in the first prompt message prompting user in the mobile terminal screen Available wireless link, and prompt the user whether confirm close wireless link function the step of after, in addition to:
When detecting the cancellation instruction cancelled and close the wireless link function, according to the cancellation instruction restarting Wireless link function;
After the wireless link function is restarted, attachable wireless link is re-searched for.
5. wireless network connecting method as claimed in claim 4, it is characterised in that described to restart the wireless link After function, after the step of re-searching for attachable wireless link, in addition to:
The number of starts of the restarting wireless link function is calculated, and judges whether the number of starts is more than second and presets Number of times;
When the number of starts be more than second preset times, and detect it is described cancel instruction when, output second prompting disappear Breath prompting user is currently wirelessly linked as unavailable wireless link, and switches to data network access internet.
6. wireless network connecting method as claimed in claim 1, it is characterised in that described when the upper link column of mobile terminal connection During wireless link in table, detect whether the current wireless link connected is that the step of available wireless is linked includes:
When the mobile terminal connects the wireless link in upper lists of links, pass through the current wireless links and accesses clothes connected Business device, obtains the answer code that the server is returned;
When the answer code is error code, confirmation is described to be currently wirelessly linked as unavailable wireless link;
When the answer code is correct code, confirm that the current available wireless that is wirelessly linked as is linked.
7. wireless network connecting method as claimed in claim 6, it is characterised in that described when the mobile terminal connects cochain When connecing the wireless link in list, pass through the current wireless links and accesses server connected, obtain what the server was returned The step of answer code, includes:
When the mobile terminal connects the wireless link in upper lists of links, start monitor;
Pass through the current wireless link connected and send test data bag to the server, so that the server receives described Test data bag, answer code is returned according to the test data bag;
The answer code that the server is returned is obtained by the monitor.
8. the wireless network connecting method as described in any one of claim 1 to 7, it is characterised in that described according to predetermined manner The step of generating new lists of links includes:
The unavailable wireless link is deleted from the lists of links, to generate new lists of links;
Or the unavailable wireless link is moved to last row of the lists of links, to generate new lists of links.
9. a kind of mobile terminal, it is characterised in that the mobile terminal includes memory, processor and is stored in the memory Wireless network linker that is upper and can running on the processor, the wireless network linker is held by the processor The step of wireless network connecting method as any one of claim 1 to 8 is realized during row.
10. a kind of computer-readable recording medium, it is characterised in that be stored with wireless network on the computer-readable recording medium Network linker, is realized as any one of claim 1 to 8 when the wireless network linker is executed by processor The step of wireless network connecting method.
CN201710376473.5A 2017-05-24 2017-05-24 Wireless network connecting method, mobile terminal and computer-readable recording medium Pending CN107197470A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710376473.5A CN107197470A (en) 2017-05-24 2017-05-24 Wireless network connecting method, mobile terminal and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710376473.5A CN107197470A (en) 2017-05-24 2017-05-24 Wireless network connecting method, mobile terminal and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107197470A true CN107197470A (en) 2017-09-22

Family

ID=59874814

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710376473.5A Pending CN107197470A (en) 2017-05-24 2017-05-24 Wireless network connecting method, mobile terminal and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107197470A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107820301A (en) * 2017-11-30 2018-03-20 广东欧珀移动通信有限公司 Control method, device, terminal and the storage medium of WLAN switch
CN108834221A (en) * 2018-06-01 2018-11-16 南昌黑鲨科技有限公司 Network connection control method, computer readable storage medium and mobile terminal
CN109041262A (en) * 2018-08-23 2018-12-18 Oppo广东移动通信有限公司 Data transmission method and relevant apparatus
CN112398718A (en) * 2020-11-20 2021-02-23 北京达佳互联信息技术有限公司 Network transmission method and device, electronic equipment and storage medium
CN112714427A (en) * 2020-12-30 2021-04-27 飞天诚信科技股份有限公司 Method and device for automatically removing unavailable equipment in Bluetooth list

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079286A (en) * 2013-01-05 2013-05-01 广东欧珀移动通信有限公司 Method and device for intelligently disconnecting wifi (wireless fidelity) hot points
CN103997768A (en) * 2014-05-16 2014-08-20 深圳市欧珀通信软件有限公司 Method and device for preventing access to invalid Wi-Fi hot spots
CN106332156A (en) * 2015-07-02 2017-01-11 深圳平安通信科技有限公司 WIFI anomaly detection control system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079286A (en) * 2013-01-05 2013-05-01 广东欧珀移动通信有限公司 Method and device for intelligently disconnecting wifi (wireless fidelity) hot points
CN103997768A (en) * 2014-05-16 2014-08-20 深圳市欧珀通信软件有限公司 Method and device for preventing access to invalid Wi-Fi hot spots
CN106332156A (en) * 2015-07-02 2017-01-11 深圳平安通信科技有限公司 WIFI anomaly detection control system and method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107820301A (en) * 2017-11-30 2018-03-20 广东欧珀移动通信有限公司 Control method, device, terminal and the storage medium of WLAN switch
CN107820301B (en) * 2017-11-30 2021-02-02 Oppo广东移动通信有限公司 Control method, device, terminal and storage medium of wireless local area network switch
CN108834221A (en) * 2018-06-01 2018-11-16 南昌黑鲨科技有限公司 Network connection control method, computer readable storage medium and mobile terminal
CN109041262A (en) * 2018-08-23 2018-12-18 Oppo广东移动通信有限公司 Data transmission method and relevant apparatus
CN109041262B (en) * 2018-08-23 2020-06-16 Oppo广东移动通信有限公司 Data transmission method and related device
US10993166B2 (en) 2018-08-23 2021-04-27 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Data transmission method, electronic device, and computer readable storage medium
US11696207B2 (en) 2018-08-23 2023-07-04 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Data transmission method, electronic device, and computer readable storage medium
CN112398718A (en) * 2020-11-20 2021-02-23 北京达佳互联信息技术有限公司 Network transmission method and device, electronic equipment and storage medium
CN112714427A (en) * 2020-12-30 2021-04-27 飞天诚信科技股份有限公司 Method and device for automatically removing unavailable equipment in Bluetooth list
CN112714427B (en) * 2020-12-30 2022-09-09 飞天诚信科技股份有限公司 Method and device for automatically removing unavailable equipment in Bluetooth list

Similar Documents

Publication Publication Date Title
CN107197470A (en) Wireless network connecting method, mobile terminal and computer-readable recording medium
CN107508892A (en) A kind of page access method, server and computer-readable recording medium
CN107046696A (en) The method and mobile terminal of a kind of communication network switching
CN107182097A (en) A kind of method for switching network, terminal and computer-readable recording medium
CN107635266A (en) A kind of method for switching network, terminal and computer-readable recording medium
CN107517321A (en) Terminal pattern switching method, mobile terminal and computer-readable recording medium
CN107592416A (en) Method for sending voice message, terminal and computer-readable recording medium
CN107592415A (en) Voice transmitting method, terminal and computer-readable recording medium
CN109379735A (en) ESIM card operating method, mobile terminal and eSIM card apparatus
CN107172605A (en) A kind of Emmergency call method, mobile terminal and computer-readable recording medium
CN108307483A (en) wireless network connecting method and mobile terminal
CN107529198A (en) The method and mobile terminal of call drop are prevented in communication process
CN107741802A (en) Using startup method, terminal and computer-readable recording medium
CN107239193A (en) A kind of contact person's adding method, mobile terminal and computer-readable recording medium
CN107707755A (en) Button application method, terminal and computer-readable recording medium
CN107706981A (en) A kind of wireless charging method and wireless charging device
CN107770356A (en) A kind of communication establishing method, equipment and computer-readable recording medium
CN107493396A (en) Button screen method, terminal and computer-readable recording medium
CN107911778A (en) A kind of playback method based on loudspeaker in parallel, mobile terminal and readable storage medium storing program for executing
CN107466081A (en) A kind of wireless switching method and terminal
CN107484144A (en) A kind of information acquisition method, terminal, server and computer-readable storage medium
CN110175052A (en) A kind of method, apparatus and computer readable storage medium of file opening
CN109089258A (en) ESIM card operating method, mobile terminal and eSIM card apparatus
CN109068314A (en) Operator's configuration file switching method, smart machine and readable storage medium storing program for executing
CN109219039A (en) ESIM card operating method, mobile terminal and eSIM card apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170922

RJ01 Rejection of invention patent application after publication