CN104619045A - Access control method and device for mobile terminal - Google Patents
Access control method and device for mobile terminal Download PDFInfo
- Publication number
- CN104619045A CN104619045A CN201410788279.4A CN201410788279A CN104619045A CN 104619045 A CN104619045 A CN 104619045A CN 201410788279 A CN201410788279 A CN 201410788279A CN 104619045 A CN104619045 A CN 104619045A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- network environment
- response message
- connection response
- network
- 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
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000004044 response Effects 0.000 claims abstract description 180
- 238000001514 detection method Methods 0.000 claims description 6
- 239000002699 waste material Substances 0.000 abstract description 14
- 238000005516 engineering process Methods 0.000 abstract description 9
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 4
- 241000238366 Cephalopoda Species 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 239000000523 sample Substances 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/04—Terminal devices adapted for relaying to or from another terminal or user
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses an access control method and an access control device, and belongs to the field of network technologies. The method includes the steps of: receiving an access request message sent by a first mobile terminal; when the access request message includes a first appointed field, obtaining a first connection response message according to the network environment to which the terminal is accessed; sending a first connection response message to the first mobile terminal, to configure the network usage mode of the first mobile terminal when the first mobile terminal determines that the accessed network environment is a first network environment according to the first connection response message. According to the access control method and device, after the first mobile terminal is accessed into a second mobile terminal, the operation of surfing the Internet causing flow waste of the second mobile terminal cannot be performed, so that the flow of the second mobile terminal is saved, and the normal operation of the second mobile terminal is ensured.
Description
Technical field
The present invention relates to networking technology area, particularly a kind of connection control method for mobile terminal and device.
Background technology
Along with the development of network technology, the function of mobile terminal constantly strengthens.Mobile terminal is except the function such as possess basic call, receive and send messages, also possesses the ability of access network, when access network, mobile terminal by purchase data flow or can connect the modes such as WiFi (Wireless-Fidelity, Wireless Fidelity).Usually, the data traffic of mobile terminal needs could use to operator pay, and when connecting WiFi, if this WiFi is free, without the need to paying when then accessing, and for some not free WiFi, also may need to pay certain expense to WiFi provider can access.
Except self access network, self can also be set to focus by mobile terminal, make other mobile terminals can be connected to this mobile terminal as access WiFi, thus the data traffic of this mobile terminal can be used to surf the Net, to realize sharing of data traffic.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
Existing access way, make other mobile terminals after being connected to this mobile terminal, the data traffic of the mobile terminal of focus can be used as to carry out various upper net operation, for the mobile terminal as focus, be easy to the excessive use of making paired data flow, affect the normal use of mobile terminal self.
Summary of the invention
In order to solve the problem of prior art, embodiments provide a kind of connection control method for mobile terminal and device, described technical scheme is as follows:
On the one hand, provide a kind of connection control method for mobile terminal, described method comprises:
Receive the access request message that the first mobile terminal sends;
When described access request message comprises the first specific field, according to the network environment that local terminal accesses, obtain the first connection response message, described first specific field is used to indicate the ability that described first mobile terminal has recognition network environment, and described first connection response message is used to indicate the network environment that local terminal accesses;
Described first connection response message is sent to described first mobile terminal, when making described first mobile terminal determine that accessed network environment is first network environment according to described first connection response message, the network modes of described first mobile terminal is configured.
On the other hand, provide the another kind of connection control method for mobile terminal, described method comprises:
According to the ability information of local terminal, obtain access request message;
Send described access request message to the second mobile terminal, the network environment that described second mobile terminal is accessed according to self and described access request message, return connection response message;
When receiving described connection response message, according to described connection response message, determine the network environment that the second mobile terminal accesses;
When the network environment that described second mobile terminal accesses is first network environment, the network modes of local terminal is configured;
Based on the network modes of configuration, access described second mobile terminal.
On the one hand, provide a kind of access control apparatus for mobile terminal, described device comprises:
Receiver module, for receiving the access request message that the first mobile terminal sends;
Acquisition module, for when the access request message that described receiver module receives comprises the first specific field, according to the network environment that local terminal accesses, obtain the first connection response message, described first specific field is used to indicate the ability that described first mobile terminal has recognition network environment, and described first connection response message is used to indicate the network environment that local terminal accesses;
Sending module, for sending described first connection response message to described first mobile terminal, when making described first mobile terminal determine that accessed network environment is first network environment according to described first connection response message, the network modes of described first mobile terminal is configured.
On the other hand, provide the another kind of access control apparatus for mobile terminal, described device comprises:
Acquisition module, for the ability information according to local terminal, obtains access request message;
Sending module, for sending described access request message to the second mobile terminal, the network environment that described second mobile terminal is accessed according to self and described access request message, return connection response message;
Receiver module, for receiving described connection response message;
Determination module, for according to described connection response message, determines the network environment that the second mobile terminal accesses;
Configuration module, during for determining that when determination module the network environment that the second mobile terminal accesses is first network environment, is configured the network modes of local terminal;
Access module, for the network modes configured based on described configuration module, accesses described second mobile terminal.
The embodiment of the present invention provides a kind of connection control method for mobile terminal and device, the access request message of the first mobile terminal transmission is received by the second mobile terminal, and when access request message comprises the first specific field, obtain the first connection response message being used to indicate the second mobile terminal institute access network environment, then this response message is sent to the first mobile terminal, make the first mobile terminal can know the network environment that the second mobile terminal is current, when according to this response message, the first mobile terminal determines that accessed network environment is first network environment, the network modes of the first mobile terminal is configured, the upper net operation causing flow to waste to the second mobile terminal can not be carried out to make the first mobile terminal, thus save the flow of the second mobile terminal, ensure the normal use of the second mobile terminal self.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of a kind of connection control method for mobile terminal that the embodiment of the present invention provides;
Fig. 2 is the enforcement scene schematic diagram that the embodiment of the present invention provides;
Fig. 3 is the one notice interface schematic diagram that the embodiment of the present invention provides;
Fig. 4 is the flow chart of the another kind that provides of the embodiment of the present invention for the connection control method of mobile terminal;
Fig. 5 is the schematic diagram of the amendment network modes that the embodiment of the present invention provides;
Fig. 6 is a kind of schematic diagram WiFi network being set to carrier network that the embodiment of the present invention provides;
Fig. 7 is a kind of schematic diagram identifying access point that the embodiment of the present invention provides;
Fig. 8 is another flow chart for the connection control method of mobile terminal that the embodiment of the present invention provides;
Fig. 9 is another flow chart for the connection control method of mobile terminal that the embodiment of the present invention provides;
Figure 10 is the structural representation of a kind of access control apparatus for mobile terminal that the embodiment of the present invention provides;
Figure 11 is the structural representation of the another kind that provides of the embodiment of the present invention for the access control apparatus of mobile terminal;
Figure 12 is another structural representation for the access control apparatus of mobile terminal that the embodiment of the present invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
The network environment mentioned in following examples is current the accessed network of mobile terminal.Whether according to current the accessed network of mobile terminal to flow-sensitive, network environment can be divided into first network environment and second network environment by the embodiment of the present invention.So-called flow-sensitive, namely refers to that the use of its data traffic relates to the restriction of the situations such as charge.
Wherein, first network environment refers to that network that mobile terminal is current accessed is the network to flow-sensitive, such as, first network environment can refer to 2G (Second Generation of MobileCommunicationTechnology, Generation Mobile Telecommunication System technology) or 3G (Third Generation ofMobile CommunicationTechnology, G mobile communication) or 4G (FourthGeneration of Mobile CommunicationTechnology, forth generation mobile communication technology) etc. other need the network environment of usage data flow, user by buy to some operator pay certain data traffic (as, 500M is monthly) carry out upper net operation.When mobile terminal is in first network environment, along with mobile terminal constantly carries out various upper net operation, the remaining data flow in the flow of customization also constantly reduces thereupon.
Second network environment refers to that the network that mobile terminal is current accessed is to the insensitive network of flow, such as, the WiFi network environment of free, the monthly payment that second network environment can refer to that some operator provides or bag duration, under can certainly particular case being referred to, user to operator pay that certain expense handles can the network environment of unrestricted usage data flow online, when mobile terminal is in second network environment, mobile terminal can arbitrarily carry out various upper net operation and can not affect self normal use.
Fig. 1 is the flow chart of a kind of connection control method for mobile terminal that the embodiment of the present invention provides.The method is applied to the second mobile terminal, and self is set to focus by this second mobile terminal, accesses for other mobile terminals, and see Fig. 1, the method comprises:
101, the access request message that the first mobile terminal sends is received.
Wherein, the first mobile terminal is the mobile terminal preparing to connect access point.This access request message can carry the information such as the terminal iidentification of the first mobile terminal, to ask access second mobile terminal.Particularly, when this first mobile terminal is by open wireless linkage function, when scanning the second mobile terminal, if determine to access the second mobile terminal, this access request message can be sent to the second mobile terminal.
It should be noted that, this access request message can be NCSI (Network Connectivity StatusIndicator, network connection state indicating device) class message.NCSI is used for after equipment connection a to network, check whether this network has the ability of access Internet.For IOS, Android device, can check after equipment connection a to network whether this network has the message that need use during access Internet, is referred to as NCSI class message by being used in its network connectivty detection scheme separately.
Such as, when this access request message is NCSI access request message, as shown in Figure 2, Fig. 2 is the enforcement scene schematic diagram that the embodiment of the present invention provides.The first mobile terminal, the second mobile terminal, operator base station and NCSI server is related in this enforcement scene.
Wherein, the first mobile terminal is the equipment preparing to connect access point, and the second mobile terminal is for providing the equipment of focus, and operator base station is for providing the base station of 2G or 3G or 4G network.Wherein, when the first mobile terminal is connected to after in the WIFI network that the second mobile terminal provides, the WIFI network that first mobile terminal acquiescence can provide through the second mobile terminal initiates probe requests thereby to NCSI class server, this probe requests thereby is through the second mobile terminal, the equipment such as operator base station and such as switch arrive NCSI class server, NCSI class server normally returns original acquiescence and returns results, when this result returns to the first mobile terminal by the second mobile terminal, second mobile terminal is modified to the response of this NCSI class server according to the network environment of access, and then this response is returned to the first mobile terminal.
102, when access request message comprises the first specific field, according to the network environment that local terminal accesses, obtain the first connection response message, first specific field is used to indicate the ability that the first mobile terminal has recognition network environment, and the first connection response message is used to indicate the network environment that local terminal accesses.
Wherein, the first specific field is a field of adding in access request message, by judging that whether comprising this first specific field in access request message can determine whether the first mobile terminal possesses the ability of recognition network environment.
Concrete, when the first mobile terminal possesses recognition network environment capacity, first mobile terminal adds the first specific field in access request message, the first specific field that second mobile terminal comprises according to access request message, when judging that the first mobile terminal possesses the ability of recognition network environment, according to the network environment that the second mobile terminal accesses, obtain the first connection response message.
Such as, when access request message is NCSI access request message, the first specific field is a field of adding in NCSI access request message, e.g., and Data-Saving-Support:True field.
Usually, NCSI access request message comprises following content:
GET http://www.msftncsi.com/ncsi.txt HTTP/1.1
Connection:Close
User-Agent:Microsoft NCSI
Host:www.msftncsi.com
When the first mobile terminal is determined to access the second mobile terminal, and the first mobile terminal is when possessing the ability of recognition network environment, first mobile terminal can add a Data-Saving-Support:True field in the end of content in NCSI access request message, and the content so now in NCSI access request message is just replaced by following content:
GET http://www.msftncsi.com/ncsi.txt HTTP/1.1
Connection:Close
User-Agent:Microsoft NCSI
Host:www.msftncsi.com
Data-Saving-Support:True。
Second mobile terminal is receiving this NCSI access request message, and when judging that this NCSI access request message comprises Data-Saving-Support:True field, determine that the first mobile terminal possesses the ability of recognition network environment, then according to the network environment that the second mobile terminal accesses, the first connection response message is obtained.
103, send the first connection response message to the first mobile terminal, when making the first mobile terminal determine that accessed network environment is first network environment according to the first connection response message, the network modes of the first mobile terminal is configured.
Wherein, network modes has various ways, e.g., does not all automatically download, automatically downloads under second network environment, all automatically download, automatically download under WiFi environment under any network environment under any network environment.For the application relating to transfer of data, such as, Video Applications, voice applications or social application etc., automatically should download and can show as " automatically downloading under WiFi environment " under second network environment.
Concrete, determine that accessed network environment is first network environment at the first mobile terminal according to the first connection response message, namely when the network environment that the first mobile terminal will access is the network to flow-sensitive, in order to avoid after access second mobile terminal, the flow of the second mobile terminal is excessively used, first mobile terminal needs to be configured the occupation mode of network, to make the first mobile terminal under the network of access is to flow-sensitive network, reduce the use to flow, thus reach the object of saving second mobile terminal flow.
The connection control method that the embodiment of the present invention provides, the access request message of the first mobile terminal transmission is received by the second mobile terminal, and when access request message comprises the first specific field, obtain the first connection response message being used to indicate the second mobile terminal institute access network environment, then this first response message is sent to the first mobile terminal, make the first mobile terminal can know the network environment that the second mobile terminal is current, when according to this response message, the first mobile terminal determines that network environment that the second mobile terminal accesses is the network environment of first network environment namely to flow-sensitive, the network modes of the first mobile terminal is configured, the upper net operation causing flow to waste to the second mobile terminal can not be carried out to make the first mobile terminal, thus save the flow of the second mobile terminal, ensure the normal use of the second mobile terminal self.
Optionally, based on embodiment illustrated in fig. 1, step 102 " according to the network environment that local terminal accesses, obtains the first connection response message " and specifically comprises the steps any one of 102a and 102b:
102a, when the network environment that local terminal accesses is first network environment, obtains and comprise the first connection response message of the second specific field, it is first network environment that the second specific field is used to indicate the network environment that local terminal accesses.
Wherein, the second specific field is a field of adding in the first connection response message, by judging that whether comprising this second specific field in the first connection response message can determine whether the network environment that the second mobile terminal accesses is first network environment.
Concrete, at the second mobile terminal according to access request message, under judging that the first mobile terminal possesses the prerequisite of recognition network environment capacity, second mobile terminal works as accessed network environment when being first network environment, obtain the first connection response message comprising the second specific field, to make the first mobile terminal according to the second specific field in this first connection response message, can determine that network environment that the second mobile terminal accesses is the network environment to flow-sensitive.
Such as, when the first connection response message is NCSI connection response message, the second specific field is a field of adding in NCSI connection response message, e.g., and Data-Saving:On field.
Usually, NCSI connection response message comprises following content:
HTTP/1.1 200OK
Content-Length:14
Date:Wed,17Sep 2014 12:35:58GMT
Content-Type:text/plain
Cache-Control:max-age=30,must-revalidate
X-Cache:MISS from SK-SQUIDWEB-34
X-Cache-Lookup:MISS from SK-SQUIDWEB-34:8080
Via:1.1SK-SQUIDWEB-34:8080(squid/2.7.STABLE6)
Connection:close
Microsoft NCSI
When the network environment that the second mobile terminal accesses is first network environment, in NCSI connection response message, can add Data-Saving:On field in the end of content, the content so now in NCSI connection response message is just replaced by following content:
HTTP/1.1 200OK
Content-Length:14
Date:Wed,17Sep 2014 12:35:58GMT
Content-Type:text/plain
Cache-Control:max-age=30,must-revalidate
X-Cache:MISS from SK-SQUIDWEB-34
X-Cache-Lookup:MISS from SK-SQUIDWEB-34:8080
Via:1.1SK-SQUIDWEB-34:8080(squid/2.7.STABLE6)
Connection:close
Data-Saving:On
Microsoft NCSI
First mobile terminal is when receiving this NCSI connection response message, determine that network that the second mobile terminal accesses is the network to flow-sensitive by the Data-Saving:On field in this NCSI connection response message, and then the network modes of self is configured, the upper net operation causing flow to waste to the first mobile terminal can not be carried out to make the second mobile terminal, thus save the flow of the second mobile terminal, ensure the normal use of the second mobile terminal self.
102b, when the network environment that local terminal accesses is second network environment, obtains and comprise the first connection response message of the 3rd specific field, it is second network environment that the 3rd specific field is used to indicate the network environment that local terminal accesses.
Wherein, 3rd specific field is a field of adding in the first connection response message, by judging that whether comprising the 3rd specific field in the first connection response message can determine whether the network environment that the second mobile terminal accesses is to the insensitive network environment of flow.
Concrete, at the second mobile terminal according to access request message, under judging that the first mobile terminal possesses the prerequisite of recognition network environment capacity, second mobile terminal works as accessed network environment when being second network environment, obtain and comprise the first connection response message of the 3rd specific field, determine that to make the first mobile terminal network environment that the second mobile terminal accesses is for the insensitive network environment of flow.
Such as, when the first connection response message is NCSI connection response message, the 3rd specific field is a field of adding in NCSI connection response message, e.g., and Data-Saving:Off field.
When the network environment that the second mobile terminal accesses is second network environment, in NCSI connection response message, can add Data-Saving:Off field in the end of content, the content so now in NCSI connection response message is just replaced by following content:
HTTP/1.1 200OK
Content-Length:14
Date:Wed,17Sep 2014 12:35:58GMT
Content-Type:text/plain
Cache-Control:max-age=30,must-revalidate
X-Cache:MISS from SK-SQUIDWEB-34
X-Cache-Lookup:MISS from SK-SQUIDWEB-34:8080
Via:1.1SK-SQUIDWEB-34:8080(squid/2.7.STABLE6)
Connection:close
Data-Saving:Off
Microsoft NCSI
First mobile terminal is when receiving this NCSI connection response message, by the Data-Saving:Off in this NCSI connection response message determine network that the second mobile terminal accesses be second network namely to the insensitive network of flow, and then the first mobile terminal can carry out various upper net operation.
Optionally, based on embodiment illustrated in fig. 1, after step 101 " receives the access request message that the first mobile terminal sends ", the method also comprises:
When access request message does not comprise the first specific field, and the network environment that local terminal accesses is when being first network environment, the second connection response message is sent to the first mobile terminal, first mobile terminal is configured its network modes, and the network environment that the second connection response message is used to indicate the current access of local terminal is first network environment.
Concrete, when not comprising the first specific field in access request message, illustrate that the first mobile terminal does not possess the ability of recognition network environment.In order to the network environment that the network environment that the first mobile terminal can be allowed to determine that the second mobile terminal accesses is to flow-sensitive, and then the network modes of self is configured, second mobile terminal sends the second connection response message to the first mobile terminal, determines that network environment that the second mobile terminal accesses is the network to flow-sensitive to enable the first mobile terminal according to this second connection response message.
Optionally, the second connection response message in above-mentioned comprises notify option, and notify option is first network environment for the network environment notifying the first mobile terminal and access.
Wherein, notify option can be notice an interface or announcement information etc., and the embodiment of the present invention does not limit at this.
Such as, when notify option is a notice interface, the second mobile terminal in the embodiment of the present invention can adopt network insertion door (Captive portal) technology to send notice interface to the first mobile terminal.Can be the one notice interface schematic diagram that the embodiment of the present invention provides with reference to figure 3, Fig. 3.Second mobile terminal is when determining that the first mobile terminal does not possess recognition network environment capacity, in order to the network that the network environment that the first mobile terminal can be allowed to determine that the second mobile terminal accesses is to flow-sensitive, the notice interface in a Fig. 3 can be sent to the first mobile terminal.User can be found out intuitively by the information of notice interface display, the mobile terminal accessed is to flow-sensitive, now, only have when user clicks " I has known that this is a WiFi to flow-sensitive ", first mobile terminal is configured network modes, when configuration completes, the first mobile terminal can access the second mobile terminal.It should be noted that, the notice interface that second mobile terminal adopts Captive portal technology to send to the first mobile terminal, both can notify that the current network that will connect of the first mobile terminal was the network to flow-sensitive, also user can be allowed to complete login simultaneously, therefore the embodiment of the present invention is not affecting under the original function prerequisite of Captive portal technology, add new function, when the network environment that the second mobile terminal is current accessed is network environment insensitive to flow, second mobile terminal can only need to send a log-in interface to the first mobile terminal.
The embodiment of the present invention, notify option is sent to the first mobile terminal by the second mobile terminal, even if the first mobile terminal itself can be made not possess the ability of recognition network environment, also can determine that the current network that will access is the network to flow-sensitive by the second connection response message, thus configure the network modes of self, make the first mobile terminal after access second mobile terminal, the upper net operation causing flow to waste to the second mobile terminal can not be carried out, and then save the flow of the second mobile terminal, ensure the normal use of the second mobile terminal self.
Fig. 4 is the flow chart of the another kind that provides of the embodiment of the present invention for the connection control method of mobile terminal.The method is applied to the first mobile terminal.See Fig. 4, the method comprises:
401, according to the ability information of local terminal, access request message is obtained.
Wherein, the ability information of local terminal is the ability whether the first mobile terminal possesses recognition network environment.Access request message can carry the information such as the terminal iidentification of the first mobile terminal, to ask access second mobile terminal.Particularly, when this first mobile terminal is by open wireless linkage function, when scanning the second mobile terminal, according to the ability information of the first mobile terminal, access request message is obtained.
402, send access request message to the second mobile terminal, the network environment that the second mobile terminal is accessed according to self and access request message, return connection response message.
Concrete, the network environment accessed when the second mobile terminal is that first network environment is namely to the network environment of flow-sensitive, and the first mobile terminal is when possessing the ability of recognition network environment, second acquisition for mobile terminal comprises the first connection response message of the second specific field, and it is first network environment that this second specific field is used to indicate the network that the second mobile terminal accesses.The network environment accessed when the second mobile terminal is that second network environment is namely to the insensitive network environment of flow, and the first mobile terminal is when possessing the ability of recognition network environment, second acquisition for mobile terminal comprises the first connection response message of the 3rd specific field, and it is second network environment that the 3rd specific field is used to indicate the networking that the second mobile terminal accesses.The network environment accessed when the second mobile terminal is first network environment, and the first mobile terminal is not when possessing the ability of recognition network environment, second mobile terminal generates the second connection response message, and it is first network environment that this second connection response message is used to indicate the network environment that the second mobile terminal accesses.
403, when receiving connection response message, according to connection response message, the network environment that the second mobile terminal accesses is determined.
404, when the network environment that the second mobile terminal accesses is first network environment, the network modes of local terminal is configured.
Wherein, network modes has various ways, e.g., does not all automatically download, automatically downloads under second network environment, all automatically download under any network environment under any network environment.For the application relating to transfer of data, automatically download under WiFi environment, such as, Video Applications, voice applications or social application etc., automatically should download and can show as " automatically downloading under WiFi environment " under second network environment.
Concrete, when according to the connection response message received, the first mobile terminal determines that network environment that the second mobile terminal accesses is the network environment of first network environment namely to flow-sensitive, first mobile terminal needs to be configured the network modes of self thus can when access the second mobile terminal, the upper net operation causing flow to waste to the first mobile terminal can not be carried out, thus save the flow of the second mobile terminal, ensure the normal use of the second mobile terminal self.When the first mobile terminal according to the connection response message received determine network environment that the second mobile terminal accesses be second network environment namely network environment insensitive to flow time, first mobile terminal does not need the network modes configuring self, and can carry out various upper net operation.
405, based on the network modes of configuration, the second mobile terminal is accessed.
The embodiment of the present invention is by the first acquisition for mobile terminal access request message, and send this access request message to the second mobile terminal, when the connection response message that basis receives, when determining that the network environment that the second mobile terminal accesses is first network environment, the network modes of the first mobile terminal is configured.Based on the network modes of configuration, access the second mobile terminal, the upper net operation causing flow to waste to the first mobile terminal can not be carried out to make the second mobile terminal, thus save the flow of the second mobile terminal, ensure the normal use of the second mobile terminal self.
Optionally, when above-mentioned second mobile terminal is hotspot device, the method also comprises: when local terminal detects the second mobile terminal as hotspot device, performs the step sending access request message to the second mobile terminal.
Particularly, when the first mobile terminal is by open wireless linkage function, when the second mobile terminal as hotspot device being detected, if determine to access the second mobile terminal, access request message can be sent to the second mobile terminal.
Alternatively, according to the ability information of local terminal in above-mentioned steps 401, obtain access request message and specifically comprise:
When local terminal has the ability of recognition network environment, obtain the access request message comprising the first specific field.When local terminal does not have the ability of recognition network environment, obtain the access request message not comprising the first specific field.
Wherein, the first specific field is used to indicate the ability that the first mobile terminal has recognition network environment.
Particularly, when the first mobile terminal is by open wireless linkage function, when scanning the second mobile terminal, if self possess the ability of recognition network environment, then obtain the access request message comprising the first specific field, if self does not possess the ability of recognition network environment, then obtain the access request message not comprising the first specific field.When the second mobile terminal receives the access request message of the first mobile terminal transmission, judge whether the first mobile terminal possesses the ability of recognition network environment according to whether comprising the first specific field in this access request message.When the access request message that the second mobile terminal receives comprises the first specific field, the second mobile terminal just judges that the first mobile terminal possesses the ability of recognition network environment.When not comprising the first specific field in the access request message that the second mobile terminal receives, the second mobile terminal just judges that the first mobile terminal does not possess the ability of recognition network environment.
Alternatively, according to connection response message, determine that the network environment that the second mobile terminal accesses specifically comprises following several situation: the first, when connection response message is the first connection response message, and when the first connection response message comprises the second specific field, determine that the network environment that the second mobile terminal accesses is first network environment, it is first network environment that the second specific field is used to indicate the network environment that the second mobile terminal accesses.The second, when connection response message is the first connection response message, and when the first connection response message comprises the 3rd specific field, determine that the network environment that the second mobile terminal accesses is second network environment, it is second network environment that the 3rd specific field is used to indicate the network environment that the second mobile terminal accesses.Three, when connection response message is the second connection response message, determine that the network environment that the second mobile terminal accesses is first network environment, the network environment that the second connection response message is used to indicate the current access of the second mobile terminal is first network environment.
Optionally, based on embodiment illustrated in fig. 4, step 404 " is configured the network modes of local terminal " and comprises any one implementation following:
First kind of way, when the network modes of specified application on local terminal is the first occupation mode, the network modes of specified application is revised as the second occupation mode.
Wherein, specified application is the application program that could use after the first mobile terminal needs access network.Such as, instant messaging class application program, video download class application program etc.First occupation mode for automatically to download under WiFi environment.Second occupation mode for automatically to download under to the insensitive network of flow.
Concrete, when the first mobile terminal determines that the network environment that the second mobile terminal accesses is the network environment to flow-sensitive, in order to avoid the excessive use to flow after being connected to the second mobile terminal of the first mobile terminal, first mobile terminal needs the network modes of self to be revised as the second occupation mode from the first occupation mode, thus make the first mobile terminal after access second mobile terminal, the upper net operation causing flow to waste to the second mobile terminal can not be carried out, thus save the flow of the second mobile terminal, ensure the normal use of the second mobile terminal self.
When specified application is the download class APP on the first mobile terminal, Fig. 5 is the schematic diagram of the amendment network modes that the embodiment of the present invention provides, with reference to figure 5, first mobile terminal is when determining that the current network that will connect is the network to flow-sensitive, in order to avoid after being connected to the second mobile terminal to the excessive use of flow, current network modes is revised as from " under WiFi environment automatically download " by the first mobile terminal " automatically downloading under to the insensitive network of flow ".Based on the amendment of this network modes, even if the first mobile terminal is after being connected to the second mobile terminal, the operation that some waste the second mobile terminal flow can not be carried out, thus save the flow of the second mobile terminal, ensure the normal use of the second mobile terminal self.
The second way, in the network settings of local terminal, the network settings of the second mobile terminal of current connection are revised as first network environment.
Wherein, the various settings that network settings carry out stored network for mobile terminal, such as, amendment network configuration etc.
Concrete, Fig. 6 is a kind of schematic diagram WiFi network being set to carrier network that the embodiment of the present invention provides.With reference to figure 6, in order to limit the excessive use to flow after being connected to the second mobile terminal of the first mobile terminal, first mobile terminal can in the network settings of the first mobile terminal, current connection is set to carrier network to the WiFi network of flow-sensitive, carrier network can be the network of 2G or 3G or 4G or usage data flow, although thus make first mobile terminal connect be WiFi network, but it is carrier network that the specified application in the first mobile terminal takes for current network, thus can not be carried out some such as in the operation being connected to the waste second such as automatic download mobile terminal flow under WiFi, thus save the flow of the second mobile terminal.
Optionally, when receive connection response message and connection response message is used to indicate network environment that the second mobile terminal accesses be first network environment time, according to the end message of the second mobile terminal, generate the access-in point information comprising designated identification, designated identification is used to indicate the network environment of the second mobile terminal.And in network information display interface, show the access-in point information of the second mobile terminal.
Wherein, the end message of the second mobile terminal can be the title or the self-defining information as APN of the second mobile terminal etc. of the second mobile terminal.
Concrete, when the first mobile terminal receives connection response message, and when the network environment that connection response message indicates the second mobile terminal to access is the network environment to flow-sensitive, according to the end message of the second mobile terminal, generate the access-in point information comprising designated identification, and in network information display interface, the access-in point information of display designated identification, thus can reminding user is current connected intuitively network be the object of the network to flow-sensitive, do not go to carry out some such as videos to make the first mobile terminal and download the operation that class etc. comparatively expends the second mobile terminal data flow.
Fig. 7 is a kind of schematic diagram identifying access point that the embodiment of the present invention provides.As shown in Figure 7, when the end message of the second mobile terminal is self-defining judy5, and the network environment that the second mobile terminal accesses is when being the network environment to flow-sensitive, can be " this WiFi is the network to flow-sensitive " by this second mobile terminal identification, and then can current the connected network of reminding user be network to flow-sensitive, do not go to carry out some such as videos to make the first mobile terminal and download the operation that classes etc. comparatively expend the second mobile terminal data flow.
The embodiment of the present invention is by display interface, the access-in point information of display designated identification, can inform that network that the first mobile terminal is current connected is the network to flow-sensitive intuitively, do not carry out some such as data to make the first mobile terminal and download the operation that class etc. comparatively expends the second mobile terminal data flow, thus save the data traffic of the second mobile terminal, ensure the normal use of the second mobile terminal.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
For the ease of the understanding to above-described embodiment, the invention provides following examples.Fig. 8 is another flow chart for the connection control method of mobile terminal that the embodiment of the present invention provides.See Fig. 8, the method comprises:
801, the first mobile terminal is according to the ability information of local terminal, obtains the access request message comprising the first specific field.
In embodiments of the present invention, this first mobile terminal is the mobile terminal possessing recognition network environment capacity, therefore, comprises the first specific field in this access request message.
802, the first mobile terminal sends access request message to the second mobile terminal.
803, the second mobile terminal is when receiving this access request message, according to the network environment that the second mobile terminal accesses, obtains the first connection response message.
804, the second mobile terminal sends the first connection response message to the first mobile terminal.
805, the first mobile terminal is when receiving the first connection response message, judges whether comprise the second specific field in the first connection response message, if so, performs step 806.
806, when comprising the second specific field in judgement first connection response message, the network modes of specified application is revised as the second occupation mode from the first occupation mode by the first mobile terminal.
In invention the present embodiment, the network only accessed for this second mobile terminal is be described the network of flow-sensitive, in another embodiment provided by the invention, when the network that the second mobile terminal accesses is for network insensitive to flow, first connection response message comprises the 3rd specific field, 3rd specific field is used to indicate network that the second mobile terminal accesses for the insensitive network of flow, and now the first mobile terminal can carry out various upper net operation.
Optionally, the network settings of the second mobile terminal of current connection in the network settings of the first mobile terminal, can also be revised as first network environment by this step.
Optionally, when comprising the second specific field in judgement first connection response message, the first mobile terminal according to the end message of the second mobile terminal, can generate the access-in point information comprising designated identification, and in network information display interface, show the access-in point information of the second mobile terminal.
Due to, when the first mobile terminal can be both the network environment to flow-sensitive in the network environment determining that the second mobile terminal accesses, configure the network modes of self, when can be also the network environment to flow-sensitive in the network environment determining that the second mobile terminal accesses, this second mobile terminal is carried out marking and be presented in network information display interface, and then configure the network modes of self, therefore this step is optional step.
807, based on the network modes of configuration, the second mobile terminal is accessed.
The embodiment of the present invention sends access request message by the first mobile terminal to the second mobile terminal, then, second mobile terminal sends the first connection response message to the first mobile terminal, when the first mobile terminal is according to this connection response message, when judging that the network environment that the second mobile terminal accesses is the network environment to flow-sensitive, the network modes of the first mobile terminal is configured, access the second mobile terminal afterwards, the upper net operation causing flow to waste to the second mobile terminal can not be carried out to make the first mobile terminal, thus save the flow of the second mobile terminal, ensure the normal use of the second mobile terminal self.
Further, Fig. 9 is another flow chart for the connection control method of mobile terminal that the embodiment of the present invention provides.See Fig. 9, the method comprises:
901, the first mobile terminal is according to the ability information of local terminal, obtains the access request message not comprising the first specific field.
In embodiments of the present invention, this first mobile terminal is the mobile terminal not possessing recognition network environment capacity, therefore, does not comprise the first specific field in this access request message.
902, the first mobile terminal sends access request message to the second mobile terminal.
903, the second mobile terminal is when receiving this access request message, according to the network environment that the second mobile terminal accesses, generates the second connection response message.
It should be noted that, it is network environment to flow-sensitive that this step gives tacit consent to network environment that the second mobile terminal accesses.
904, the second mobile terminal sends the second connection response message to the first mobile terminal.
Wherein, the second connection response message comprises notify option, and notify option is first network environment for the network environment notifying the first mobile terminal and access.
905, the first mobile terminal is when receiving the second connection response message, and the network modes of specified application is revised as the second occupation mode from the first occupation mode.
Concrete, first mobile terminal is when receiving the second connection response message, user can determine from the notify option the second connection response message that network environment that the second mobile terminal accesses is the network environment to flow-sensitive, thus the network modes of specified application is revised as the second occupation mode from the first occupation mode.
Optionally, the network settings of the second mobile terminal of current connection in the network settings of the first mobile terminal, can also be revised as first network environment by this step.
Optionally, when the first mobile terminal determines that the network environment that the second mobile terminal accesses is the network environment to flow-sensitive, first mobile terminal can according to the end message of the second mobile terminal, generate the access-in point information comprising designated identification, and in network information display interface, show the access-in point information of the second mobile terminal.
Due to, when the first mobile terminal can be both the network environment to flow-sensitive in the network environment determining that the second mobile terminal accesses, configure the network modes of self, when can be also the network environment to flow-sensitive in the network environment determining that the second mobile terminal accesses, this second mobile terminal is carried out marking and be presented in network information display interface, and then configure the network modes of self, therefore this step is optional step.
906, based on the network modes of configuration, the second mobile terminal is accessed.
The embodiment of the present invention sends access request message by the first mobile terminal to the second mobile terminal, then, second mobile terminal sends the second connection response message to the first mobile terminal, when the first mobile terminal is according to this connection response message, when judging that the network environment that the second mobile terminal accesses is the network environment to flow-sensitive, the network modes of the first mobile terminal is configured, access the second mobile terminal afterwards, the upper net operation causing flow to waste to the second mobile terminal can not be carried out to make the first mobile terminal, thus save the flow of the second mobile terminal, ensure the normal use of the second mobile terminal self.
Figure 10 is the structural representation of a kind of access control apparatus for mobile terminal that the embodiment of the present invention provides.As shown in Figure 10, this device 1000 comprises: receiver module 1001, acquisition module 1002, sending module 1003.
Receiver module 1001, for receiving the access request message that the first mobile terminal sends.
Acquisition module 1002, for when the access request message that receiver module 1001 receives comprises the first specific field, according to the network environment that local terminal accesses, obtain the first connection response message, first specific field is used to indicate the ability that mobile terminal has recognition network environment, and the first connection response message is used to indicate the network environment that local terminal accesses.
Sending module 1003, for sending the first connection response message to the first mobile terminal, when making the first mobile terminal determine that accessed network environment is first network environment according to the first connection response message, the network modes of the first mobile terminal is configured.
Further, sending module 1003, also for when not comprising the first specific field in the access request message that receiver module 1001 receives, and the network environment that local terminal accesses is when being first network environment, the second connection response message is sent to the first mobile terminal, the network modes of the first mobile terminal to the first mobile terminal is configured, and the network environment that the second connection response message is used to indicate current access is first network environment.
Further, the second connection response message comprises notify option, and notify option is first network environment for the network environment notifying the first mobile terminal and access.
Further, acquisition module 1002, when network environment specifically for accessing when local terminal is first network environment, obtain the first connection response message comprising the second specific field, it is first network environment that second specific field is used to indicate the network environment that local terminal accesses, when the network environment that local terminal accesses is second network environment, obtains and comprise the first connection response message of the 3rd specific field, it is second network environment that the 3rd specific field is used to indicate the network environment that local terminal accesses.
The embodiment of the present invention provides a kind of access control apparatus for mobile terminal, the access request message of the first mobile terminal transmission is received by receiver module, and when access request message comprises the first specific field, acquisition module obtains the first connection response message being used to indicate the second mobile terminal institute access network environment, then this response message is sent to the first mobile terminal by sending module, make the first mobile terminal can know the network environment that the second mobile terminal is current, when according to this response message, the first mobile terminal determines that accessed network environment is first network environment, the network modes of the first mobile terminal is configured, the upper net operation causing flow to waste to the second mobile terminal can not be carried out to make the first mobile terminal, thus save the flow of the second mobile terminal, ensure the normal use of the second mobile terminal self.
Figure 11 is the structural representation of the another kind that provides of the embodiment of the present invention for the access control apparatus of mobile terminal.As shown in figure 11, this device 1100 comprises: acquisition module 1101, sending module 1102, receiver module 1103, determination module 1104, configuration module 1105, access module 1106.
Acquisition module 1101, for the ability information according to local terminal, obtains access request message.
Sending module 1102, for sending access request message to the second mobile terminal, the network environment that the second mobile terminal is accessed according to self and access request message, return connection response message.
Receiver module 1103, for receiving connection response message.
Determination module 1104, for according to connection response message, determines the network environment that the second mobile terminal accesses.
Configuration module 1105, during for determining that the network environment that the second mobile terminal accesses is first network environment when determination module 1104, is configured the network modes of local terminal.
Access module 1106, for the network modes configured based on configuration module 1105, accesses the second mobile terminal.
Further, configuration module 1105, specifically for when the network modes of specified application on local terminal is the first occupation mode, the network modes of specified application is revised as the second occupation mode, or, in the network settings of local terminal, the network settings of the second mobile terminal of current connection are revised as first network environment.
Figure 12 is another structural representation for the access control apparatus of mobile terminal that the embodiment of the present invention provides, and as shown in figure 12, said apparatus 1100 also comprises: generation module 1107, display module 1108, detection module 1109.
Generation module 1107, for receiving connection response message when receiver module 1103, and determination module 1104 is according to connection response message, when determining that the network environment that the second mobile terminal accesses is first network environment, according to the end message of the second mobile terminal, generate the access-in point information comprising designated identification, designated identification is used to indicate the network environment of the second mobile terminal.
Display module 1108, in network information display interface, the access-in point information of the second mobile terminal that display generation module 1107 generates.
Further, acquisition module 1101, during specifically for having the ability of recognition network environment when local terminal, obtains the access request message comprising the first specific field, when local terminal does not have the ability of recognition network environment, generate the access request message not comprising the first specific field.
Further, determination module 1104, specifically for when connection response message be the first connection response message, and when the first connection response message comprises the second specific field, determine that the network environment that the second mobile terminal accesses is first network environment, it is first network environment that the second specific field is used to indicate the network environment that the second mobile terminal accesses.When connection response message is the first connection response message, and when the first connection response message comprises the 3rd specific field, determine that the network environment that the second mobile terminal accesses is second network environment, it is second network environment that the 3rd specific field is used to indicate the network environment that the second mobile terminal accesses.When connection response message is the second connection response message, determine that the network environment that the second mobile terminal accesses is first network environment, the network environment that the second connection response message is used to indicate the current access of the second mobile terminal is first network environment.
Further, detection module 1109, for detecting hotspot device.
Sending module 1102, for when detection module 1109 detects the second mobile terminal as hotspot device, sends access request message to the second mobile terminal.
The embodiment of the present invention provides a kind of access control apparatus for mobile terminal, access request message is obtained by acquisition module, and sending module sends this access request message to the second mobile terminal, the network environment that second mobile terminal is accessed according to self and access request message, return connection response message, when the connection response message that receiver module receives, and determination module is when determining that the network environment that the second mobile terminal accesses is first network environment, the network modes of configuration module to the first mobile terminal is configured.Based on the network modes of configuration, first mobile terminal accesses the second mobile terminal, the upper net operation causing flow to waste to the first mobile terminal can not be carried out to make the second mobile terminal, thus save the flow of the second mobile terminal, ensure the normal use of the second mobile terminal self.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (20)
1. for a connection control method for mobile terminal, it is characterized in that, described method comprises:
Receive the access request message that the first mobile terminal sends;
When described access request message comprises the first specific field, according to the network environment that local terminal accesses, obtain the first connection response message, described first specific field is used to indicate the ability that described first mobile terminal has recognition network environment, and described first connection response message is used to indicate the network environment that local terminal accesses;
Described first connection response message is sent to described first mobile terminal, when making described first mobile terminal determine that accessed network environment is first network environment according to described first connection response message, the network modes of described first mobile terminal is configured.
2. method according to claim 1, is characterized in that, described method also comprises:
When described access request message does not comprise the first specific field, and the network environment that described local terminal accesses is when being first network environment, the second connection response message is sent to described first mobile terminal, the network modes of described first mobile terminal to described first mobile terminal is configured, and the network environment that described second connection response message is used to indicate the current access of described local terminal is first network environment.
3. method according to claim 2, is characterized in that, described second connection response message comprises notify option, and described notify option is described first network environment for the network environment notifying described first mobile terminal and access.
4. method according to claim 1, is characterized in that, according to the network environment that local terminal accesses, obtains the first connection response message and comprises:
When the network environment that described local terminal accesses is first network environment, obtains and comprise the first connection response message of the second specific field, it is first network environment that described second specific field is used to indicate the network environment that local terminal accesses;
When the network environment that described local terminal accesses is second network environment, obtains and comprise the first connection response message of the 3rd specific field, it is second network environment that described 3rd specific field is used to indicate the network environment that local terminal accesses.
5. for a connection control method for mobile terminal, it is characterized in that, described method comprises:
According to the ability information of local terminal, obtain access request message;
Send described access request message to the second mobile terminal, the network environment that described second mobile terminal is accessed according to self and described access request message, return connection response message;
When receiving described connection response message, according to described connection response message, determine the network environment that the second mobile terminal accesses;
When the network environment that described second mobile terminal accesses is first network environment, the network modes of local terminal is configured;
Based on the network modes of configuration, access described second mobile terminal.
6. method according to claim 5, is characterized in that, is configured comprises the network modes of local terminal:
When the network modes of specified application is the first occupation mode on described local terminal, the network modes of described specified application is revised as the second occupation mode; Or,
In the network settings of local terminal, the network settings of the second mobile terminal of current connection are revised as first network environment.
7. method according to claim 5, is characterized in that, described method also comprises:
When receive described connection response message and described connection response message is used to indicate network environment that described second mobile terminal accesses be first network environment time, according to the end message of described second mobile terminal, generate the access-in point information comprising designated identification, described designated identification is used to indicate the network environment of described second mobile terminal;
In network information display interface, show the access-in point information of described second mobile terminal.
8. method according to claim 5, is characterized in that, the described ability information according to local terminal, obtains access request message and comprises:
When described local terminal has the ability of recognition network environment, obtain the access request message comprising the first specific field;
When described local terminal does not have the ability of recognition network environment, obtain the access request message not comprising the first specific field.
9. method according to claim 5, is characterized in that, described according to described connection response message, determines that the network environment that the second mobile terminal accesses comprises:
When described connection response message is described first connection response message, and when described first connection response message comprises the second specific field, determine that the network environment that the second mobile terminal accesses is first network environment, it is first network environment that described second specific field is used to indicate the network environment that the second mobile terminal accesses;
When described connection response message is described first connection response message, and when described first connection response message comprises the 3rd specific field, determine that the network environment that the second mobile terminal accesses is second network environment, it is second network environment that described 3rd specific field is used to indicate the network environment that the second mobile terminal accesses;
When described connection response message is the second connection response message, determine that the network environment that the second mobile terminal accesses is first network environment, the network environment that described second connection response message is used to indicate the current access of described second mobile terminal is first network environment.
10. method according to claim 5, is characterized in that,
Described second mobile terminal is hotspot device, and described method also comprises:
When local terminal detects described second mobile terminal as hotspot device, perform the step sending described access request message to the second mobile terminal.
11. 1 kinds, for the access control apparatus of mobile terminal, is characterized in that, described device comprises:
Receiver module, for receiving the access request message that the first mobile terminal sends;
Acquisition module, for when the access request message that described receiver module receives comprises the first specific field, according to the network environment that local terminal accesses, obtain the first connection response message, described first specific field is used to indicate the ability that described first mobile terminal has recognition network environment, and described first connection response message is used to indicate the network environment that local terminal accesses;
Sending module, for sending described first connection response message to described first mobile terminal, when making described first mobile terminal determine that accessed network environment is first network environment according to described first connection response message, the network modes of described first mobile terminal is configured.
12. devices according to claim 11, is characterized in that,
Described sending module, also for when not comprising the first specific field in the access request message that described receiver module receives, and the network environment that described local terminal accesses is when being first network environment, the second connection response message is sent to described first mobile terminal, the network modes of described first mobile terminal to described first mobile terminal is configured, and the network environment that described second connection response message is used to indicate the current access of described local terminal is first network environment.
13. devices according to claim 12, is characterized in that, described second connection response message comprises notify option, and described notify option is described first network environment for the network environment notifying described first mobile terminal and access.
14. devices according to claim 11, is characterized in that,
Described acquisition module, specifically for when the network environment that described local terminal accesses is first network environment, obtain the first connection response message comprising the second specific field, it is first network environment that described second specific field is used to indicate the network environment that local terminal accesses, when the network environment that described local terminal accesses is second network environment, obtain and comprise the first connection response message of the 3rd specific field, it is second network environment that described 3rd specific field is used to indicate the network environment that local terminal accesses.
15. 1 kinds, for the access control apparatus of mobile terminal, is characterized in that, described device comprises:
Acquisition module, for the ability information according to local terminal, obtains access request message;
Sending module, for sending described access request message to the second mobile terminal, the network environment that described second mobile terminal is accessed according to self and described access request message, return connection response message;
Receiver module, for receiving described connection response message;
Determination module, for according to described connection response message, determines the network environment that the second mobile terminal accesses;
Configuration module, during for determining that when determination module the network environment that the second mobile terminal accesses is first network environment, is configured the network modes of local terminal;
Access module, for the network modes configured based on described configuration module, accesses described second mobile terminal.
16. devices according to claim 15, is characterized in that,
Described configuration module, specifically for when the network modes of specified application is the first occupation mode on described local terminal, is revised as the second occupation mode by the network modes of described specified application, or,
In the network settings of local terminal, the network settings of the second mobile terminal of current connection are revised as first network environment.
17. devices according to claim 15, is characterized in that, described device also comprises:
Generation module, for receiving described connection response message when described receiver module, and described determination module is according to described connection response message, when determining that the network environment that the second mobile terminal accesses is first network environment, according to the end message of described second mobile terminal, generate the access-in point information comprising designated identification, described designated identification is used to indicate the network environment of described second mobile terminal;
Display module, in network information display interface, shows the access-in point information of described second mobile terminal that described generation module generates.
18. devices according to claim 15, is characterized in that,
Described acquisition module, specifically for when described local terminal has the ability of recognition network environment, obtain the access request message comprising the first specific field, when described local terminal does not have the ability of recognition network environment, obtain the access request message not comprising the first specific field.
19. devices according to claim 15, is characterized in that,
Described determination module, specifically for when described connection response message be described first connection response message, and when described first connection response message comprises the second specific field, determine that the network environment that the second mobile terminal accesses is first network environment, it is first network environment that described second specific field is used to indicate the network environment that the second mobile terminal accesses;
Described determination module, specifically for when described connection response message be described first connection response message, and when described first connection response message comprises the 3rd specific field, determine that the network environment that the second mobile terminal accesses is second network environment, it is second network environment that described 3rd specific field is used to indicate the network environment that the second mobile terminal accesses;
Described determination module, specifically for when described connection response message is described second connection response message, determine that the network environment that the second mobile terminal accesses is first network environment, the network environment that described second connection response message is used to indicate the current access of described second mobile terminal is first network environment.
20. devices according to claim 15, is characterized in that, described device also comprises:
Detection module, for detecting hotspot device;
Described sending module, for when described detection module detects described second mobile terminal as hotspot device, sends described access request message to the second mobile terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410788279.4A CN104619045B (en) | 2014-12-17 | 2014-12-17 | Connection control method and device for mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410788279.4A CN104619045B (en) | 2014-12-17 | 2014-12-17 | Connection control method and device for mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104619045A true CN104619045A (en) | 2015-05-13 |
CN104619045B CN104619045B (en) | 2019-01-04 |
Family
ID=53153249
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410788279.4A Active CN104619045B (en) | 2014-12-17 | 2014-12-17 | Connection control method and device for mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104619045B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105307235A (en) * | 2015-09-22 | 2016-02-03 | 广东欧珀移动通信有限公司 | Hotspot sharing method, device and system |
CN105407452A (en) * | 2015-10-27 | 2016-03-16 | 广东欧珀移动通信有限公司 | Method and system for controlling data flow in bluetooth shared network |
CN105516026A (en) * | 2015-11-20 | 2016-04-20 | 小米科技有限责任公司 | Hot spot networking control method and device |
CN106231579A (en) * | 2016-07-27 | 2016-12-14 | 宇龙计算机通信科技(深圳)有限公司 | The acquisition methods of Internet resources, the acquisition device of Internet resources and terminal |
CN106506480A (en) * | 2016-10-25 | 2017-03-15 | 北京小米移动软件有限公司 | Application program download process method and device |
CN106658657A (en) * | 2016-10-20 | 2017-05-10 | 青岛海信移动通信技术股份有限公司 | Network access method and device |
CN106658656A (en) * | 2015-10-30 | 2017-05-10 | 中兴通讯股份有限公司 | Method and device for connection control of wireless fidelity WiFi hotspot |
WO2018010160A1 (en) * | 2016-07-15 | 2018-01-18 | 华为技术有限公司 | Mobile data sharing method and mobile terminal |
WO2018082044A1 (en) * | 2016-11-04 | 2018-05-11 | 华为技术有限公司 | Network hotspot control method and related device |
CN108199964A (en) * | 2017-12-27 | 2018-06-22 | 努比亚技术有限公司 | A kind of transmission method, terminal, server and computer readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20120070344A (en) * | 2010-12-21 | 2012-06-29 | 주식회사 케이티 | Method for tethering connection by mobile phone in multiple network interface |
CN103117906A (en) * | 2013-02-27 | 2013-05-22 | 广东欧珀移动通信有限公司 | Flow control method for process of sharing WiFi (wireless fidelity) hot spot for mobile terminals |
CN103501333A (en) * | 2013-09-29 | 2014-01-08 | 小米科技有限责任公司 | Method, device and terminal equipment for downloading files |
CN103889029A (en) * | 2014-03-24 | 2014-06-25 | 深圳市云猫信息技术有限公司 | Network hotspot sharing method, client side, sharing side and management server |
CN103945410A (en) * | 2014-03-28 | 2014-07-23 | 宇龙计算机通信科技(深圳)有限公司 | Terminal device and flow control method thereof |
CN104135753A (en) * | 2014-06-11 | 2014-11-05 | 腾讯科技(深圳)有限公司 | Wireless network access method, wireless network access device, terminal and server |
-
2014
- 2014-12-17 CN CN201410788279.4A patent/CN104619045B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20120070344A (en) * | 2010-12-21 | 2012-06-29 | 주식회사 케이티 | Method for tethering connection by mobile phone in multiple network interface |
CN103117906A (en) * | 2013-02-27 | 2013-05-22 | 广东欧珀移动通信有限公司 | Flow control method for process of sharing WiFi (wireless fidelity) hot spot for mobile terminals |
CN103501333A (en) * | 2013-09-29 | 2014-01-08 | 小米科技有限责任公司 | Method, device and terminal equipment for downloading files |
CN103889029A (en) * | 2014-03-24 | 2014-06-25 | 深圳市云猫信息技术有限公司 | Network hotspot sharing method, client side, sharing side and management server |
CN103945410A (en) * | 2014-03-28 | 2014-07-23 | 宇龙计算机通信科技(深圳)有限公司 | Terminal device and flow control method thereof |
CN104135753A (en) * | 2014-06-11 | 2014-11-05 | 腾讯科技(深圳)有限公司 | Wireless network access method, wireless network access device, terminal and server |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105307235B (en) * | 2015-09-22 | 2019-03-22 | Oppo广东移动通信有限公司 | A kind of hot spot sharing method, device and system |
CN105307235A (en) * | 2015-09-22 | 2016-02-03 | 广东欧珀移动通信有限公司 | Hotspot sharing method, device and system |
CN105407452A (en) * | 2015-10-27 | 2016-03-16 | 广东欧珀移动通信有限公司 | Method and system for controlling data flow in bluetooth shared network |
CN106658656A (en) * | 2015-10-30 | 2017-05-10 | 中兴通讯股份有限公司 | Method and device for connection control of wireless fidelity WiFi hotspot |
CN105516026A (en) * | 2015-11-20 | 2016-04-20 | 小米科技有限责任公司 | Hot spot networking control method and device |
WO2018010160A1 (en) * | 2016-07-15 | 2018-01-18 | 华为技术有限公司 | Mobile data sharing method and mobile terminal |
CN112911645A (en) * | 2016-07-15 | 2021-06-04 | 华为技术有限公司 | Mobile data sharing method and mobile terminal |
CN108141906A (en) * | 2016-07-15 | 2018-06-08 | 华为技术有限公司 | Mobile data sharing method and mobile terminal |
CN106231579A (en) * | 2016-07-27 | 2016-12-14 | 宇龙计算机通信科技(深圳)有限公司 | The acquisition methods of Internet resources, the acquisition device of Internet resources and terminal |
CN106658657A (en) * | 2016-10-20 | 2017-05-10 | 青岛海信移动通信技术股份有限公司 | Network access method and device |
CN106506480A (en) * | 2016-10-25 | 2017-03-15 | 北京小米移动软件有限公司 | Application program download process method and device |
CN108353321A (en) * | 2016-11-04 | 2018-07-31 | 华为技术有限公司 | A kind of method and relevant device of network hotspot control |
US10893440B2 (en) | 2016-11-04 | 2021-01-12 | Huawei Technologies Co., Ltd. | Network hotspot control method and related device |
WO2018082044A1 (en) * | 2016-11-04 | 2018-05-11 | 华为技术有限公司 | Network hotspot control method and related device |
CN108199964A (en) * | 2017-12-27 | 2018-06-22 | 努比亚技术有限公司 | A kind of transmission method, terminal, server and computer readable storage medium |
CN108199964B (en) * | 2017-12-27 | 2020-11-27 | 努比亚技术有限公司 | Transmission method, terminal, server and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104619045B (en) | 2019-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104619045A (en) | Access control method and device for mobile terminal | |
CN103686669A (en) | Data service transmitting method and terminal | |
US20090275349A1 (en) | Method and apparatus for providing idle mode service | |
JP2014535180A (en) | System and method for providing internet access to a computing device | |
CA3022251C (en) | Content caching with remote charging services in a radio access network | |
EP3476100A1 (en) | Selection of ip version | |
CN111263338A (en) | Network distribution method of Bluetooth Mesh network and related network distribution equipment and system | |
US20160191649A1 (en) | Content caching with remote charging services in a radio access network | |
CN112565439A (en) | Internet of things communication method and system | |
CN105450731A (en) | Method and apparatus for realizing communication between web layer and native layer | |
CN110351683A (en) | Parameter transmission method and device | |
WO2016003134A1 (en) | Method for processing request messages in wireless communication system, and device for same | |
CN108200546A (en) | data reporting method, device, mobile terminal and computer-readable medium | |
CN111050377B (en) | Method for sharing network connection by mobile terminal and mobile terminal | |
CA2767766C (en) | Wireless provisioning solution for target devices | |
CN105657781A (en) | Method and device for accessing WiFi network | |
US8719927B2 (en) | Data filtering by using a communication device including an interface on a display showing a domain name | |
CN108024308A (en) | The method and apparatus that wireless access point is shared, connected | |
CN105635934A (en) | Method and device for opening service, and HSS | |
US10278063B2 (en) | Apparatus and method of local profile assistant eUICC logging | |
CN108370500B (en) | Optimized settings for wireless devices | |
KR101993778B1 (en) | Apparatus and Method for Displaying Indicator According to Interwork Network | |
CN107277876A (en) | Network switching method, device and terminal equipment | |
CN112970276B (en) | Communication processing method, device, mobile terminal and storage medium | |
KR101183643B1 (en) | Message service system based on Wi-Fi |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20190729 Address after: Shenzhen Futian District City, Guangdong province 518000 Zhenxing Road, SEG Science Park 2 East Room 403 Co-patentee after: Tencent cloud computing (Beijing) limited liability company Patentee after: Tencent Technology (Shenzhen) Co., Ltd. Address before: Shenzhen Futian District City, Guangdong province 518000 Zhenxing Road, SEG Science Park 2 East Room 403 Patentee before: Tencent Technology (Shenzhen) Co., Ltd. |
|
TR01 | Transfer of patent right |