CN108834221A - Network connection control method, computer readable storage medium and mobile terminal - Google Patents
Network connection control method, computer readable storage medium and mobile terminal Download PDFInfo
- Publication number
- CN108834221A CN108834221A CN201810559265.3A CN201810559265A CN108834221A CN 108834221 A CN108834221 A CN 108834221A CN 201810559265 A CN201810559265 A CN 201810559265A CN 108834221 A CN108834221 A CN 108834221A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- wireless network
- network
- access
- connection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/30—Connection release
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/30—Connection release
- H04W76/34—Selective release of ongoing connections
Abstract
The present invention provides a kind of network connection control method, computer readable storage medium and mobile terminals.Network connection control method includes the following steps:S100:One mobile terminal is connect with a wireless communication;S200:It controls the mobile terminal and access request is sent to a predetermined network address for routing with the wireless network;S300:The access feedback for the access request is received by the wireless network;S400:It is fed back according to the access, controls the on-off of the mobile terminal Yu the wireless network.After adopting the above scheme, it can recognize the network connection state of mobile terminal, and switched between wireless network and the connection of mobile network in time according to connection feedback.
Description
Technical field
The present invention relates to field of intelligent control more particularly to a kind of network connection control methods, computer-readable storage medium
Matter and mobile terminal.
Background technique
Currently, the mobile terminals such as mobile phone, tablet computer have become the indispensable a part of people's daily life.This
Class mobile terminal is being realized outside basic communication function, and the exploitation of playability and functional diversity is increasingly paid attention to.Pass through needle
It to many application programs (APP) of user demand exploitation, is obtained and is put down as social after the permission by acquisition network connection
The information of server established of manufacturer of platform, development and application program.Therefore, the moment keeps the network connection state of mobile terminal
(presence) becomes the primary demand of the user of mobile terminal.
Meanwhile constantly improve with wireless network infrastructure device, in the family stopped for a long time in addition to user itself, office
Outdoor, outdoor many regions, such as eating and drinking establishment, market, on the vehicles, all have been established for the wireless of mobile terminal connection
Network environment.It is attraction user by mobile terminal and these wireless network connections, and is convenient for the user to use, these wireless networks
Network is both configured to greatly visibility and opening, i.e. mobile terminal can without threshold connect, but simultaneously to guarantee safety, after connection
Just peripheral link need to can be accessed by the wireless network by authenticating.Therefore, user is commonly encountered mobile terminal and carries in pocket,
It has been automatically attached in the wireless network that a needs authenticate, but completes certification link due to not taking out mobile terminal, mobile
Terminal cannot connect to peripheral link, thus be in always and wireless network connection, but disconnected again with outside in network communication
Situation influences mobile terminal and passes through network receiving information in time.
Therefore, it is necessary to a kind of novel network connection control method, the wireless network that user's automatic identification can be helped to be connected
Whether network is wireless network that is open and needing to authenticate, and the presence of mobile terminal is maintained by judgement.
Summary of the invention
In order to overcome the above technical defects, the purpose of the present invention is to provide a kind of network connection control methods, computer
Readable storage medium storing program for executing and mobile terminal, identify the network connection state of mobile terminal, and according to connection feedback in time with it is wireless
Switch between network and the connection of mobile network.
The invention discloses a kind of network connection control methods, include the following steps:
S100:One mobile terminal is connect with a wireless communication;
S200:It controls the mobile terminal and access request is sent to a predetermined network address for routing with the wireless network;
S300:The access feedback for the access request is received by the wireless network;
S400:It is fed back according to the access, controls the on-off of the mobile terminal Yu the wireless network.
Preferably, the step S100 that a mobile terminal is connect with a wireless communication includes:
S110:Available wireless network around one mobile scanning terminal;
S120:The mobile terminal and an open wireless network connection.
Preferably, controlling the mobile terminal with the wireless network is that routing sends access request to a predetermined network address
Step S200 includes:
S210:The mobile terminal sends the access request to the wireless network by http agreement;
S220:Whether the wireless network judges the mobile terminal by the connectivity verification of the wireless network;
S230:When connectivity verification of the mobile terminal by the wireless network, the wireless network with it is described pre-
Determine network address and establish access link, and sends a connection successfully access feedback to the mobile terminal;When the mobile terminal not
When by the connectivity verification of the wireless network, the access that the wireless network sends a connection failure to the mobile terminal is anti-
Feedback.
Preferably, when it is described access be fed back to be connected to successfully when, according to the access feed back, control the mobile terminal and
The step S400 of the on-off of the wireless network includes:
S410:Maintain the connection of the mobile terminal Yu the wireless network;
When the access is fed back to connection failure, is fed back according to the access, control the mobile terminal and the nothing
The step S400 of the on-off of gauze network includes:
S410':Disconnect the connection of the mobile terminal Yu the wireless network.
Preferably, when it is described access be fed back to connection failure when, according to the access feed back, control the mobile terminal and
The step S400 of the on-off of the wireless network includes:
S410":Show that a prompt window, the prompt window show described wireless in the display interface of the mobile terminal
Network;
S420:An operational order is received, and the mobile terminal and the wireless network are controlled according to the operational order
On-off.
Preferably, the operational order of the user is received, and the mobile terminal and institute are controlled according to the operational order
The step S420 for stating the on-off of wireless network includes:
S421:An operational order for ignoring the prompt window is received, the mobile terminal and the wireless network are disconnected
Connection
S421':Receive an operational order by the connectivity verification of the wireless network, maintains the mobile terminal and institute
State the connection of wireless network.
Preferably, in the step S100-S400, the mobile terminal keeps the communication connection with a mobile network.
Preferably, when the mobile terminal is connect with the mobile network, between the mobile terminal and the mobile network
No data transmission.
The invention also discloses a kind of computer readable storage mediums for mobile terminal, are stored thereon with computer journey
The step of sequence, the computer program realizes network connection control method as described above when being executed by processor.
The present invention discloses a kind of mobile terminal again, including memory, processor and storage on a memory and can located
The computer program run on reason device, the processor realize network connection control as described above when executing the computer program
The step of method processed.
After above-mentioned technical proposal, compared with prior art, have the advantages that:
1. being not necessarily to user's operation, mobile network is automatically switched to according to the network connection break-make situation of mobile terminal, is kept
The presence of mobile terminal;
2. remaining mode of operation known to user, the learning cost of user is eliminated.
Detailed description of the invention
Fig. 1 is the flow diagram for meeting network connection control method in one embodiment of the present invention;
Fig. 2 is the flow diagram for meeting step S200 in network connection control method in one embodiment of the present invention;
Fig. 3 is the flow diagram for meeting network connection control method in another preferred embodiment of the present invention;
Fig. 4 is the flow diagram for meeting network connection control method in another preferred embodiment of the present invention;
Fig. 5 is the flow diagram for meeting network connection control method in a further preferred embodiments of the invention.
Specific embodiment
Below in conjunction with attached drawing, the advantages of the present invention are further explained with specific embodiment.
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
It is only to be not intended to be limiting the disclosure merely for for the purpose of describing particular embodiments in the term that the disclosure uses.
The "an" of the singular used in disclosure and the accompanying claims book, " described " and "the" are also intended to including majority
Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps
It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure
A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from
In the case where disclosure range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination "
In the description of the present invention, it is to be understood that, term " longitudinal direction ", " transverse direction ", "upper", "lower", "front", "rear",
The orientation or positional relationship of the instructions such as "left", "right", "vertical", "horizontal", "top", "bottom" "inner", "outside" is based on attached drawing institute
The orientation or positional relationship shown, is merely for convenience of description of the present invention and simplification of the description, rather than the dress of indication or suggestion meaning
It sets or element must have a particular orientation, be constructed and operated in a specific orientation, therefore should not be understood as to limit of the invention
System.
In the description of the present invention, unless otherwise specified and limited, it should be noted that term " installation ", " connected ",
" connection " shall be understood in a broad sense, for example, it may be mechanical connection or electrical connection, the connection being also possible to inside two elements can
, can also indirectly connected through an intermediary, for the ordinary skill in the art to be to be connected directly, it can basis
Concrete condition understands the concrete meaning of above-mentioned term.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no specific meanings.Therefore, " module " can mixedly make with " component "
With.
Refering to fig. 1, in a preferred embodiment, for the network connection situation of mobile terminal, according to following step
Suddenly it is controlled:
S100:Mobile terminal is connect with wireless communication
Firstly, a mobile terminal need to be controlled in the environment of being covered with wireless network, with a wireless network connection.Specifically
Ground, mobile terminal need to open the wireless network connection function with the external world, and utilize the support wireless network being mounted in mobile terminal
The antenna of network communication protocol, if Wifi antenna is scanned ambient enviroment, scanning obtains the different multiple wireless networks of intensity
Afterwards, selection is usually had connected to the wireless network of preservation or the wireless network of connectionless password.Backward such wireless network hair
Connection request is played, and is interconnected under same communication protocol, to establish the communication link of mobile terminal Yu the wireless network.
S200:It is that routing sends access request to a predetermined network address that mobile terminal, which is controlled, with wireless network
After mobile terminal and a wireless network connection, if user had connected before the wireless network is, and preserve
When connecting the password of the wireless network, then mobile terminal can access without barrier external network by the wireless network, receive each
The message that remote server is sent;And if the wireless network is with relatively the wireless network of opening, safety measure are logical by force
The connection of Chang Weiwu password, but connect with external network and need to pass through verifying.In this regard, whether thus to judge connected wireless network
Class need to be by checking wireless network, in step s 200, and mobile terminal will pass through the nothing after the completion of with the wireless network connection
Gauze network is routing, attempts one network address of access, to judge whether the network address can respond the access request of mobile terminal, and feedback
Response results.That is, mobile terminal sends an access request for being directed to a predetermined network address to wireless network, the nothing is established
After the base station of gauze network or routing device receive the access request, by according to the direction of predetermined network address, to building the predetermined net
The access request of the server transmitting mobile terminal of location, the access request is to be issued by mobile terminal, and it is wireless to pass through this as a result,
What network was forwarded.If mobile terminal has passed through the verifying of wireless network, process as described above is realized that data are received
Hair, if mobile terminal does not pass through the verifying of wireless network, in process described above, when mobile terminal is sent out to wireless network
After sending one to be directed to the access request of predetermined network address, the base station or routing device for establishing the wireless network confirm that the mobile terminal is
Unverified equipment, then will not be according to access request, to the server transmitting mobile terminal for building the predetermined network address
Access request, but a network address that need to be verified is sent to mobile terminal.On the display interface of the mobile terminal, if using webpage
The access request for the predetermined network address that browse application issues, then the web page browsing application will jump to the network address that need to be verified.
It is understood that the predetermined network address in the embodiment, can establish movement eventually by the manufacturer of mobile terminal
When the operating system at end, it is built in operating system.It is also possible to establish the predetermined list of websites being made of multiple network address, and
After the completion of each mobile terminal and wireless network connection, one or more network address are taken out at random or regularly out of this list and are made
For predetermined network address.Select connection number most it is equally possible that reading user from the web page browsing of mobile terminal application
Any one in any network address in network address, response time most fast network address (and periodically updating), collection etc., selection is made
Mode is preset for predetermined network address.
S300:The access feedback for access request is received by wireless network
Subsequent steps S200, and further it is as described above, if mobile terminal connected be before had connected simultaneously
The wireless network of preservation, then it is subsequent to repeat no more normal use.If what mobile terminal was connected is the wireless network that need to be verified,
And mobile terminal when not passing through the verifying of wireless network, then the wireless network will send one to mobile terminal and be needed first by testing
Card then just can feed back as the access of wireless network, then show on mobile terminals with the page of the predetermined network address, the page
For the webpage (if mobile terminal is in use or bright screen state at this time) for verifying interface.That is, being issued to wireless network
After access request, mobile terminal can also receive the access feedback that whether may have access to the predetermined network address from wireless network.
It can also be appreciated that access authority and access of the different networks for unverified mobile terminal
Control can be not quite similar.Such as wireless network in certain embodiments, when confirmation, the mobile terminal is unverified movement
When terminal, after receiving access request, the access request will not be forwarded to predetermined network address, but is directly rejected access and asked
It asks, and issues the notice required through verifying to mobile terminal;The for another example wireless network in other embodiments, when the confirmation movement
It, can be according to the access request to predetermined network address after receiving access request when terminal is unverified mobile terminal
Access request is forwarded, but after the response of predetermined network address, the result of access response will not be directly forwarded to mobile terminal, conversely,
But the interface that needs are verified is provided to mobile terminal, after standby communication terminal verifies, then to it forwards access response.?
It under such configuration, no longer needs to issue access request by mobile terminal, operating procedure can be saved in mobile terminal side.
S400:It is fed back according to access, controls the on-off of mobile terminal and wireless network
It, will be according to the inhomogeneity of access feedback after mobile terminal receives wireless network for the access feedback of access request
Type decides whether to continue and the wireless network on-off.Specifically, when the access that mobile terminal receives is fed back to predetermined network address
Communication link is normally established with wireless network, mobile terminal can not hinder and access at high speed predetermined network address and except predetermined network address
Other outer network address then control mobile terminal and continue to connect with wireless network, until being disconnected and wireless network by user's operation
Connection, or the coverage area far from wireless network can not be connected thereto until disconnecting;When the access that mobile terminal receives is anti-
When presenting the Normal Feedback for failing to receive predetermined network address, namely predetermined network address progress web page browsing can not be opened, illustrate due to nothing
The setting of gauze network needs after verifying process, just can normally connect with external network, that is to say, that if user is always
It does not operate mobile terminal to be verified, within this time, mobile terminal can not normally be connected to external network, affect movement
Terminal receives or sends message by external network, the connection with wireless network, does not play the stream for saving mobile network not only
The way of amount has separated the proper network connection of mobile terminal instead, has brought negative experience to user.
Therefore, when the above-described situation occurs, mobile terminal will be controlled, i.e. disconnection mobile terminal and wireless network
Connection such as by the way of the network connection of direct disconnection of wireless, and deletes linkage record, the password with the wireless network connection
(if having) etc., and or using direct turning-off mobile terminal and wireless network connection function, the state remained turned-off, or
It is closed in one section of preset time, after preset time consumption, then reopen the function etc..
Through the above configuration, whether mobile terminal can judge automatically the wireless network and may be used with after a wireless network connection
The function of data routing is provided for mobile terminal in the case where user is without operation, if judging result is that wireless network needs user actively to grasp
When making that mobile terminal is helped to pass through verifying, then the connection with the wireless network is no longer kept, then disconnects connection, and after
It is continuous transmit with the data of external network using mobile network.Being configured so that is advantageous in that, when mobile terminal is in always
When operating or pass by the range of the wireless network covers in the pocket of user, not to mobile terminal, although with wireless
Network connection, but find connection after can not normal communication just disconnect rapidly, can be always ensured that mobile terminal be in can sending and receiving data
Presence, prevent mobile terminal be detached from network.
In the step s 100, it is specifically completed by following steps:
S110:Available wireless network around one mobile scanning terminal;
As described above, after the open function with external wireless network connection of mobile terminal, its installation will be utilized
Whether have in Wifi antenna scanning particular range can connect, mobile network and external network data may can be replaced to transmit
Wireless network.
S120:Mobile terminal and an open wireless network connection
The result that usual Wifi antenna is scanned includes following several:
A. any wireless network is not scanned
In this case, mobile terminal need to continue to carry out data transmission based on mobile network naturally.
B. scanning is to there is a wireless network, but does not have open wireless network, and also have itself in encryption, has connected
The wireless network crossed
In this case, such as situation A, mobile terminal continues to carry out data transmission based on mobile network.
C. wireless network is arrived in scanning, and it itself is in encryption, the wireless network having connected that only scanning, which is arrived,
In this case, by the password saved before active use by the verifying of wireless network, and connect with wireless network
It connects.
D. wireless network is arrived in scanning, and only wireless network of the scanning to opening
In this case, with the wireless network connection, and the step checking wireless network of S100-S400 through the invention is logical
Disconnected property.
E. wireless network is arrived in scanning, and open wireless network is arrived in scanning simultaneously, and itself is in encryption, is had connected
Wireless network
In this case, the wireless network having connected preferably is selected, more insurance and safety.
F. wireless network is arrived in scanning, and open wireless network is arrived in scanning simultaneously, and itself is in encryption, but is not connected before
It takes over, the wireless network without password
In this case, other wireless networks can not be connected normally due in addition to open wireless network, thus, it may be preferable to
Selection
Therefore, under above-mentioned different situations, it is preferable to, the security consideration based on mobile terminal, when only scanning is to opening
When the wireless network or the attachable only wireless network of opening put, which can connect with open wireless network
It connects.
Referring to Fig.2, step S200 specifically includes following steps:
S210:Mobile terminal sends access request to wireless network by http agreement;
After mobile terminal and wireless network connection, using the frame under the operating system framework installed in mobile terminal
Layer sends access request to wireless network using http agreement, to access the predetermined network address.
S220:Whether wireless network judges mobile terminal by the connectivity verification of wireless network;
In wireless network side, verify whether this mobile terminal has led to by the base station or routing device of establishing the wireless network
Cross the connectivity verification of wireless network.Typically for the connectivity verification of wireless network, mobile terminal is needed to provide equipment to wireless network
ID number, designated character string etc., login network access ID number etc..
S230:When mobile terminal passes through the connectivity verification of wireless network, wireless network and predetermined network address establish access chain
Road, and a connection successfully access feedback is sent to mobile terminal;When mobile terminal does not pass through the connectivity verification of wireless network,
Wireless network sends the access feedback of a connection failure to mobile terminal.
In step S230, once connectivity verification of the mobile terminal by wireless network, as user connects in mobile terminal
Just using mobile terminal when being connected to the wireless network, the considerations of for the flow for saving mobile network, by sequence of operations
Verifying is completed, wireless network can establish access link according to access request and predetermined network address naturally, and send one to mobile terminal
Successfully access is fed back for connection, such as OK value or other specific identifiers, shows that the wireless network is available mode.If mobile whole
End is not by the connectivity verification of wireless network, and when not operating to mobile terminal such as, similarly, wireless network is sent to mobile terminal
The access feedback of one connection failure, such as ERROR value or other specific identifiers, to receive connection failure by mobile terminal
Access feedback after execute subsequent operation.
Refering to Fig. 3 and Fig. 4, fed back for different access, mobile terminal can according to the demand of user, execute it is different after
Continuous operation.
Embodiment one
In the embodiment, the received access of mobile terminal is fed back to be connected to successfully, and expression can be normal through in wireless network
After routing, then step S400 includes S410:The connection of mobile terminal and wireless network is maintained, that is, keeps connection not interrupt.
Embodiment two
In the embodiment, the received access of mobile terminal is fed back to connection failure, and expression can not be normal through wireless network
Transistroute, then step S400 includes S410 ':The connection of mobile terminal and wireless network is disconnected, i.e., is no longer connected with wireless network
It connects, then uses mobile network.
Embodiment three
In the embodiment, the received access of mobile terminal is fed back to connection failure, and expression can not be normal through wireless network
Transistroute, then step S400 include:
S410":Show that a prompt window, prompt window show wireless network in the display interface of mobile terminal;
S420:An operational order is received, and controls the on-off of mobile terminal and wireless network according to operational order.
That is, be not automatically user's selection final " right of execution " by mobile terminal in the third embodiment, and
It is actively to provide a user " right to choose ", a prompt window is shown by the display interface in mobile terminal, informs user Ke Tong
That crosses verifying is operatively coupled to wireless network, according to user's selection as completed verifying, not completing verifying, disconnect with wireless network
Connection, turning-off mobile terminal the corresponding operational order of the operation such as wireless network connection function, to control mobile terminal and wireless
The on-off of network.
Therefore, refering to Fig. 5, in embodiment three, it is further preferred that step S420 includes:
S421:An operational order for ignoring prompt window is received, the connection of mobile terminal and wireless network is disconnected
S421':Receive an operational order by the connectivity verification of wireless network, maintains mobile terminal and wireless network
Connection.
That is, the connection for disconnecting mobile terminal and wireless network is finally decided whether in embodiment three, or
Maintain mobile terminal and wireless network as a result, the operational order provided according to user is completed, and non-autonomous selection, for uncommon
For prestige has the user of more decision-making powers, more meet the usage experience of such user.
It is preferably or optionally, mobile in the implementation procedure of all step S100-S400 in any of the above-described embodiment
Terminal is kept and the communication connection of a mobile network, that is to say, that mobile terminal by the mobile data services of mobile network after
Continuous work, but can choose and transmit without data, i.e., only connect and do not have to, and in step S400, disconnects mobile terminal and wireless
When the connection of network, it seamless can cut, directly be taken over using mobile network, no longer need to restarting mobile data function, shorten
The suspension time of mobile terminal.
It is further preferred that in another embodiment, when mobile terminal uses a period of time using step of the invention
Afterwards, it has stored and the attribute for common wireless network of having classified, then process optimization has been carried out to the property of wireless network.Such as before
It having connected, for the wireless network with password, such wireless network belongs to private network, once connected, safety is higher,
The judgement of step S100-S400 can not be executed;For having connected before, need through the attachable wireless network of verifying
Speech, can not also execute the judgement of step S100-S400, change as directly not with the wireless network connection, saving the time of judgement,
The state for keeping mobile terminal online always.
After above-mentioned network connection control method, it can will store corresponding to the step of this method to computer-readable storage
It in medium, and is installed in mobile terminal, is stored thereon with computer program, it, will once computer program is executed by processor
Execute the step in any of the above-described embodiment.And the computer readable storage medium in intelligent terminal when, cooperate it is mobile eventually
The memory being fixedly mounted in end, processor calls the computer readable storage medium stored in storage period, and reads computer
Computer program in readable storage medium storing program for executing can realize above-mentioned network connection control method on mobile terminals after execution, and
It is presented by interactive mode to user.
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as moving
Phone, smart phone, laptop, PDA (personal digital assistant), PAD (tablet computer), PMP (put by portable multimedia broadcasting
Device), the fixed terminal of the mobile terminal of navigation device etc. and such as number TV, desktop computer etc..Hereinafter it is assumed that eventually
End is mobile terminal.However, it will be understood by those skilled in the art that other than the element for being used in particular for mobile purpose, root
It can also apply to the terminal of fixed type according to the construction of embodiments of the present invention.
It should be noted that the embodiment of the present invention has preferable implementation, and not the present invention is made any type of
Limitation, any one skilled in the art change or are modified to possibly also with the technology contents of the disclosure above equivalent effective
Embodiment, as long as without departing from the content of technical solution of the present invention, it is to the above embodiments according to the technical essence of the invention
Any modification or equivalent variations and modification, all of which are still within the scope of the technical scheme of the invention.
Claims (10)
1. a kind of network connection control method, which is characterized in that include the following steps:
S100:One mobile terminal is connect with a wireless communication;
S200:It controls the mobile terminal and access request is sent to a predetermined network address for routing with the wireless network;
S300:The access feedback for the access request is received by the wireless network;
S400:It is fed back according to the access, controls the on-off of the mobile terminal Yu the wireless network.
2. network connection control method as described in claim 1, which is characterized in that
The step S100 that one mobile terminal is connect with a wireless communication includes:
S110:Available wireless network around one mobile scanning terminal;
S120:The mobile terminal and an open wireless network connection.
3. network connection control method as described in claim 1, which is characterized in that
It is step S200 packet of the routing to a predetermined network address transmission access request that the mobile terminal, which is controlled, with the wireless network
It includes:
S210:The mobile terminal sends the access request to the wireless network by http agreement;
S220:Whether the wireless network judges the mobile terminal by the connectivity verification of the wireless network;
S230:When connectivity verification of the mobile terminal by the wireless network, the wireless network and the predetermined net
Access link is established in location, and sends a connection successfully access feedback to the mobile terminal;When the mobile terminal does not pass through
When the connectivity verification of the wireless network, the wireless network sends the access feedback of a connection failure to the mobile terminal.
4. network connection control method as claimed in claim 3, which is characterized in that
When the access is fed back to be connected to successfully, is fed back according to the access, control the mobile terminal and the wireless network
The step S400 of the on-off of network includes:
S410:Maintain the connection of the mobile terminal Yu the wireless network;
When the access is fed back to connection failure, is fed back according to the access, control the mobile terminal and the wireless network
The step S400 of the on-off of network includes:
S410':Disconnect the connection of the mobile terminal Yu the wireless network.
5. network connection control method as claimed in claim 3, which is characterized in that
When the access is fed back to connection failure, is fed back according to the access, control the mobile terminal and the wireless network
The step S400 of the on-off of network includes:
S410":Show that a prompt window, the prompt window show the wireless network in the display interface of the mobile terminal
Network;
S420:It receives an operational order, and the logical of the mobile terminal and the wireless network is controlled according to the operational order
It is disconnected.
6. network connection control method as claimed in claim 5, which is characterized in that
The operational order of the user is received, and the mobile terminal and the wireless network are controlled according to the operational order
The step S420 of on-off includes:
S421:An operational order for ignoring the prompt window is received, the company of the mobile terminal Yu the wireless network is disconnected
Meet S421 ':Receive an operational order by the connectivity verification of the wireless network, maintain the mobile terminal and it is described wirelessly
The connection of network.
7. network connection control method as described in claim 1, which is characterized in that
In the step S100-S400, the mobile terminal keeps the communication connection with a mobile network.
8. network connection control method as claimed in claim 7, which is characterized in that
When the mobile terminal is connect with the mobile network, no data is transmitted between the mobile terminal and the mobile network.
9. a kind of computer readable storage medium for mobile terminal, is stored thereon with computer program, which is characterized in that institute
State the step realized when computer program is executed by processor such as the described in any item network connection control methods of claim 1-7
Suddenly.
10. a kind of mobile terminal including memory, processor and stores the calculating that can be run on a memory and on a processor
Machine program, which is characterized in that the processor is realized when executing the computer program as claim 1-7 is described in any item
The step of network connection control method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810559265.3A CN108834221B (en) | 2018-06-01 | 2018-06-01 | Network connection control method, computer-readable storage medium, and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810559265.3A CN108834221B (en) | 2018-06-01 | 2018-06-01 | Network connection control method, computer-readable storage medium, and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108834221A true CN108834221A (en) | 2018-11-16 |
CN108834221B CN108834221B (en) | 2022-09-20 |
Family
ID=64146948
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810559265.3A Active CN108834221B (en) | 2018-06-01 | 2018-06-01 | Network connection control method, computer-readable storage medium, and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108834221B (en) |
Citations (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007077234A1 (en) * | 2005-12-30 | 2007-07-12 | Siemens Aktiengesellschaft | Ip address allocation method and its usage |
CN102196533A (en) * | 2011-04-15 | 2011-09-21 | 成都市华为赛门铁克科技有限公司 | Network access control method and related device |
EP2469945A1 (en) * | 2010-12-23 | 2012-06-27 | British Telecommunications public limited company | WLAN location services |
CN103188662A (en) * | 2011-12-30 | 2013-07-03 | 中国移动通信集团广西有限公司 | Method and device for verifying wireless access point |
US20130179683A1 (en) * | 2010-09-15 | 2013-07-11 | Eric Joubert | Secure registration to a service provided by a web server |
CN104144163A (en) * | 2014-07-24 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Identity verification method, device and system |
CN104159275A (en) * | 2014-07-17 | 2014-11-19 | 小米科技有限责任公司 | Network connection method and device |
CN104320863A (en) * | 2014-11-07 | 2015-01-28 | 广东欧珀移动通信有限公司 | Wireless network access method applied to mobile terminal and mobile terminal |
CN104852915A (en) * | 2015-04-30 | 2015-08-19 | 广东欧珀移动通信有限公司 | Network access control method and device |
CN104981030A (en) * | 2015-07-10 | 2015-10-14 | 努比亚技术有限公司 | Network connection control method and device |
CN105430763A (en) * | 2015-11-30 | 2016-03-23 | 上海斐讯数据通信技术有限公司 | Data acquisition method and device synchronously used by WIFI (Wireless Fidelity) data and mobile data |
CN105592458A (en) * | 2014-10-22 | 2016-05-18 | 中国电信股份有限公司 | Authentication method and system for service of wireless local area network, and server |
CN105635472A (en) * | 2016-01-11 | 2016-06-01 | 上海斐讯数据通信技术有限公司 | Mobile terminal, and wireless local area network and mobile network concurrent method of mobile terminal |
CN105848235A (en) * | 2016-03-31 | 2016-08-10 | 乐视控股(北京)有限公司 | Communication control method and device |
CN105916150A (en) * | 2016-06-30 | 2016-08-31 | 北京奇虎科技有限公司 | Network connection method and system for avoiding user input |
CN106792702A (en) * | 2017-01-23 | 2017-05-31 | 北京坤腾畅联科技有限公司 | Router identification detection method and terminal device based on unusual route |
US20170215128A1 (en) * | 2014-08-01 | 2017-07-27 | Apple Inc. | Method and apparatus for detecting and connecting to wi-fi networks |
CN107197470A (en) * | 2017-05-24 | 2017-09-22 | 努比亚技术有限公司 | Wireless network connecting method, mobile terminal and computer-readable recording medium |
CN107294811A (en) * | 2017-07-28 | 2017-10-24 | 广东欧珀移动通信有限公司 | Network detecting method, network detection means and intelligent terminal |
CN107395633A (en) * | 2017-08-25 | 2017-11-24 | 广东欧珀移动通信有限公司 | A kind of network detecting method, network detection means and intelligent terminal |
CN107484190A (en) * | 2017-08-07 | 2017-12-15 | 广东欧珀移动通信有限公司 | Method for connecting network, mobile terminal and computer-readable recording medium |
CN107580336A (en) * | 2017-10-30 | 2018-01-12 | 努比亚技术有限公司 | A kind of method for connecting network, terminal and computer-readable recording medium |
US20180035292A1 (en) * | 2016-07-28 | 2018-02-01 | Aruba Networks,Inc. | Deauthenticate a client device during an association validation phase based on a plurality of capabilities associated with the client device |
-
2018
- 2018-06-01 CN CN201810559265.3A patent/CN108834221B/en active Active
Patent Citations (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007077234A1 (en) * | 2005-12-30 | 2007-07-12 | Siemens Aktiengesellschaft | Ip address allocation method and its usage |
US20130179683A1 (en) * | 2010-09-15 | 2013-07-11 | Eric Joubert | Secure registration to a service provided by a web server |
EP2469945A1 (en) * | 2010-12-23 | 2012-06-27 | British Telecommunications public limited company | WLAN location services |
CN102196533A (en) * | 2011-04-15 | 2011-09-21 | 成都市华为赛门铁克科技有限公司 | Network access control method and related device |
CN103188662A (en) * | 2011-12-30 | 2013-07-03 | 中国移动通信集团广西有限公司 | Method and device for verifying wireless access point |
CN104159275A (en) * | 2014-07-17 | 2014-11-19 | 小米科技有限责任公司 | Network connection method and device |
CN104144163A (en) * | 2014-07-24 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Identity verification method, device and system |
US20170215128A1 (en) * | 2014-08-01 | 2017-07-27 | Apple Inc. | Method and apparatus for detecting and connecting to wi-fi networks |
CN105592458A (en) * | 2014-10-22 | 2016-05-18 | 中国电信股份有限公司 | Authentication method and system for service of wireless local area network, and server |
CN104320863A (en) * | 2014-11-07 | 2015-01-28 | 广东欧珀移动通信有限公司 | Wireless network access method applied to mobile terminal and mobile terminal |
CN104852915A (en) * | 2015-04-30 | 2015-08-19 | 广东欧珀移动通信有限公司 | Network access control method and device |
CN104981030A (en) * | 2015-07-10 | 2015-10-14 | 努比亚技术有限公司 | Network connection control method and device |
CN105430763A (en) * | 2015-11-30 | 2016-03-23 | 上海斐讯数据通信技术有限公司 | Data acquisition method and device synchronously used by WIFI (Wireless Fidelity) data and mobile data |
CN105635472A (en) * | 2016-01-11 | 2016-06-01 | 上海斐讯数据通信技术有限公司 | Mobile terminal, and wireless local area network and mobile network concurrent method of mobile terminal |
CN105848235A (en) * | 2016-03-31 | 2016-08-10 | 乐视控股(北京)有限公司 | Communication control method and device |
CN105916150A (en) * | 2016-06-30 | 2016-08-31 | 北京奇虎科技有限公司 | Network connection method and system for avoiding user input |
US20180035292A1 (en) * | 2016-07-28 | 2018-02-01 | Aruba Networks,Inc. | Deauthenticate a client device during an association validation phase based on a plurality of capabilities associated with the client device |
CN106792702A (en) * | 2017-01-23 | 2017-05-31 | 北京坤腾畅联科技有限公司 | Router identification detection method and terminal device based on unusual route |
CN107197470A (en) * | 2017-05-24 | 2017-09-22 | 努比亚技术有限公司 | Wireless network connecting method, mobile terminal and computer-readable recording medium |
CN107294811A (en) * | 2017-07-28 | 2017-10-24 | 广东欧珀移动通信有限公司 | Network detecting method, network detection means and intelligent terminal |
CN107484190A (en) * | 2017-08-07 | 2017-12-15 | 广东欧珀移动通信有限公司 | Method for connecting network, mobile terminal and computer-readable recording medium |
CN107395633A (en) * | 2017-08-25 | 2017-11-24 | 广东欧珀移动通信有限公司 | A kind of network detecting method, network detection means and intelligent terminal |
CN107580336A (en) * | 2017-10-30 | 2018-01-12 | 努比亚技术有限公司 | A kind of method for connecting network, terminal and computer-readable recording medium |
Non-Patent Citations (3)
Title |
---|
""S2-113649"", 《3GPP TSG_SA\WG2_ARCH》 * |
CHENGCHAO LIANG: "Wireless_Network_Virtualization_A_Survey_Some_Research_Issues_and_Challenges", 《IEEE XPLORE》 * |
李建新: "基于实际场景的LTE与Wi_Fi异构网布网研究", 《中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑》 * |
Also Published As
Publication number | Publication date |
---|---|
CN108834221B (en) | 2022-09-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106850580B (en) | A kind of automobile account system and account automatic verification method | |
CN102572836B (en) | Access the method for wireless network, portable mobile terminal and Radio Network System | |
US8047444B2 (en) | Method, system and smart card reader for management of access to a smart card | |
CN105263101B (en) | The System and method for of smartwatch real-time reception mobile phone notification message | |
EP2041691B1 (en) | Method, system and smart card reader for management of access to a smart card | |
EP2667519B1 (en) | Bluetooth connection method | |
CN105933888B (en) | A kind of eSIM card method for burn-recording and device based on NFC | |
EP2671407B1 (en) | System and method for host and operative system agnostic management of connected devices through network controlled state alteration | |
CN102711082A (en) | Method and system for sharing trustful wireless access point information in mobile communication | |
CN104393948A (en) | Wireless interface between communication terminal equipment and SIM (Subscriber Identity Module) card and function implementation | |
CN106506835A (en) | Application share device and method | |
CN109905866A (en) | Docking station and method of the connecting mobile communication terminal equipment to the communications infrastructure | |
CN110505712A (en) | A kind of method and terminal for transmitting file | |
CN105263181B (en) | A kind of document down loading method and system of the mobile terminal based on WIFI | |
CN105554845B (en) | A kind of method of access, router and terminal | |
CN104461616A (en) | Updating method and system of software of chip card | |
CN104244171A (en) | Data transmission system and method on basis of NFC (near field communication) connection | |
CN108834221A (en) | Network connection control method, computer readable storage medium and mobile terminal | |
US20120020341A1 (en) | Method for downloading predetermined entertainment content to customers | |
CN107018069A (en) | Network connection device and method | |
WO2018019058A1 (en) | Wireless access point switching method and apparatus, and terminal | |
CN106792434B (en) | Hotspot establishing method and terminal equipment | |
KR101344763B1 (en) | File sharing method between mobile terminals using near field communication | |
CN103207790A (en) | Operating system updating method and terminal | |
CN102858031A (en) | Method for providing content services by wireless access point |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |