CN104869621B - A kind of Network Recognition method and apparatus - Google Patents
A kind of Network Recognition method and apparatus Download PDFInfo
- Publication number
- CN104869621B CN104869621B CN201510324641.7A CN201510324641A CN104869621B CN 104869621 B CN104869621 B CN 104869621B CN 201510324641 A CN201510324641 A CN 201510324641A CN 104869621 B CN104869621 B CN 104869621B
- Authority
- CN
- China
- Prior art keywords
- network
- access
- reception device
- radio reception
- electronic equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the present application provides a kind of Network Recognition method and apparatus, this method comprises: obtaining the access way of electronic equipment access network;When the access way of the electronic equipment is to access network by radio reception device, then the internet protocol address of the electronic equipment is obtained, wherein the electronic equipment is connected by way of wireless connection with the radio reception device;Based on internet protocol address, the access way of the radio reception device access network is determined.This method and device can provide possibility in the case where electronic equipment is by accessing hotspot to realize network connection to reduce the case where electronic equipment appearance can not normally access network or network access failure.
Description
Technical field
This application involves field of communication technology, more particularly to a kind of Network Recognition method and apparatus.
Background technique
Electronic equipment can be blocked based on the user identity identification (SIM, Subscriber Identity Module) of itself
It is connected to the network to realize, i.e., network is accessed based on mobile radio communication;It is also possible to realize that network connects by access hotspot
It connects.Wherein, network can be accessed based on mobile radio communication as the electronic equipment of hotspot, be also possible to based on wired mode
Networking.However when the electronic equipment as hotspot is based on mobile radio communication access network, the electricity as hotspot
The network stabilization of sub- equipment is poor, therefore, after other electronic equipments access the hotspot, if cannot recognize that the nothing
The access way of line hot spot and carry out some network access, then may be limited bandwidth or unstable networks etc. due to,
Lead to problems such as the electronic equipment for accessing the hotspot that can not be normally carried out network access or operation failure.
Summary of the invention
In view of this, this application provides a kind of Network Recognition method and apparatus, with wireless by access in electronic equipment
Hot spot in the case where realizing network connection, can not normally access network or network access failure to reduce electronic equipment appearance
The case where provide may.
To achieve the above object, the application provides the following technical solutions: a kind of Network Recognition method, comprising:
Obtain the access way of electronic equipment access network;
When the access way of the electronic equipment is to access network by radio reception device, then obtains the electronics and set
Standby internet protocol address, wherein the electronic equipment is connected by way of wireless connection with the radio reception device;
Based on internet protocol address, the access way of the radio reception device access network is determined.
Preferably, described to be based on the internet protocol address, determine the access side of the radio reception device access network
Formula, comprising:
Corresponding relationship and the internet protocol address based on preset internet protocol address and network access mode, really
The access way of the fixed radio reception device access network.
Preferably, the corresponding relationship based on preset internet protocol address and network access mode and described internet
Protocol address determines the access way of the radio reception device access network, comprising:
Detect whether the internet protocol address belongs to preset internet protocol address set;
When the internet protocol address belongs to preset internet protocol address set, it is determined that the radio reception device
Network is accessed by cellular mobile communications networks.
Preferably, after determining that the radio reception device accesses network by cellular mobile communications networks, further includes:
Network information request is sent to the radio reception device;
It receives the radio reception device and responds the objective network information returned after the first network information request,
In, the objective network information includes title and/or the institute of the cellular mobile communications networks of the radio reception device access
State the utilizable flow data of radio reception device current residual.
Preferably, after determining that the radio reception device accesses network by cellular mobile communications networks, further includes:
It adjusts in the electronic equipment and is applied to the first operating status, wherein is described to apply under the first operating status
The data traffic of consumption applies the data traffic consumed under the second operating status less than described, and the second operating status is described
When radio reception device accesses network by being different from the first network of cellular mobile communications networks, the operation applied in electronic equipment
State.
On the other hand, present invention also provides a kind of Network Recognition devices, comprising:
Mode acquiring unit, for obtaining the access way of electronic equipment access network;
Address acquisition unit is to access network by radio reception device for the access way when the electronic equipment
When, then obtain the internet protocol address of the electronic equipment, wherein the electronic equipment by way of wireless connection with it is described
Radio reception device is connected;
Determination unit determines the access way of the radio reception device access network for being based on internet protocol address.
Preferably, the determination unit, comprising:
Match determination unit, for based on preset internet protocol address and network access mode corresponding relationship and institute
Internet protocol address is stated, determines the access way of the radio reception device access network.
Preferably, the matching determination unit, comprising:
Detection sub-unit, for detecting whether the internet protocol address belongs to preset internet protocol address set;
Coupling subelement, for when the internet protocol address belongs to preset internet protocol address set, it is determined that
The radio reception device accesses network by cellular mobile communications networks.
Preferably, further includes:
Information request unit, for determining that the radio reception device passes through cellular mobile communication in the determination unit
After net access network, network information request is sent to the radio reception device;
Information receiving unit is responded for receiving the radio reception device and is returned after first network information request
Objective network information, wherein the objective network information includes the cellular mobile communication of the radio reception device access
The utilizable flow data of the title of net and/or the radio reception device current residual.
Preferably, further includes:
State adjustment unit, for determining that the radio reception device passes through cellular mobile communication in the determination unit
It after net access network, adjusts in the electronic equipment and is applied to the first operating status, wherein is described to apply in the first operation
The data traffic consumed under state applies the data traffic consumed under the second operating status less than described, and the second operating status is
When the radio reception device accesses network by being different from the first network of cellular mobile communications networks, applied in electronic equipment
Operating status.
It can be seen via above technical scheme that in the embodiment of the present application, when determining that electronic equipment passes through wireless access
When equipment accesses network, the IP address of the electronic equipment can be obtained, determines that the radio reception device accesses network by IP address
Access way, so as to radio reception device be based on mobile radio communication access network when, rationally control the electronic equipment
Network access behavior, to make network access failure or abnormal situation provide to reduce due to network stabilization difference
May, it is a large amount of to also avoid electronic equipment processing caused by blindly carrying out network access in the case where network stabilization difference
Hash.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to required use in embodiment description
Attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only embodiments herein, for this field
For those of ordinary skill, without creative efforts, it can also be obtained according to the attached drawing of offer other attached
Figure.
Fig. 1 shows a kind of flow diagram of Network Recognition method one embodiment of the application;
Fig. 2 shows a kind of flow diagrams of another embodiment of Network Recognition method of the application;
Fig. 3 shows a kind of structural schematic diagram of Network Recognition device one embodiment of the application;
Fig. 4 shows a kind of structural schematic diagram of another embodiment of Network Recognition device of the application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
Referring to Fig. 1, it illustrates a kind of flow diagram of Network Recognition method one embodiment of the application, the present embodiment
Method may include:
101, obtain the access way of electronic equipment access network.
Wherein, to may include: electronic equipment carry out reality by the card based on itself to the access way of electronic equipment access network
It is now connected to the network, i.e., network is accessed based on mobile radio communication;It is also possible to realize network connection by access hotspot.
Such as, by taking electronic equipment is mobile phone as an example, mobile phone can be based on the mobile radio communication access that the operator of SIM card provides
Network.For another example, the equipment such as the notebook of network are accessed by wired mode can be used as hotspot, provide WLAN,
So that other electronic equipments realize access internet by accessing the WLAN.
102, when the access way of the electronic equipment is to access network by radio reception device, then obtains the electronics and set
Standby internet protocol address.
Wherein, which is connected by way of wireless connection with the radio reception device.
Internet protocol address is also referred to as the address Internet protocol (IP, Internet Protocol).
103, it is based on internet protocol address, determines the access way of radio reception device access network.
It in the embodiment of the present application, will be as wireless heat in electronic equipment is in such a way that hotspot accesses network
The electronic equipment of point is known as radio reception device.
Radio reception device as hotspot accesses there are two types of the modes of network, and one is connect based on mobile radio communication
Enter network;Another kind is to access network by wired networking mode.Net is accessed when the Radio Access Network is based on mobile radio communication
When network, the embodiment of the present application also needs to obtain the IP address of access device access network, due to will pass through the IP address
Determine the access way of radio reception device access network.
The study found that when the radio reception device is based on mobile radio communication access network, which sets inventor
Standby network stabilization is relatively poor, if electronic equipment accesses network by the radio reception device, can make the electronics
The network stabilization of equipment is poor, influences the normal network access of electronic equipment.And existing Network Recognition method cannot
The mode for distinguishing radio reception device access network, so that some network access operations of the electronic equipment is caused to be lost
It loses.For example, electronic equipment may start when the electronic equipment accesses network by radio reception device on electronic equipment
Application be updated, and due to network stabilization difference then may make update fail so that electronic equipment has made useless number
According to processing.
Meanwhile radio reception device be based on mobile radio communication access network when, the available data traffic of the access device has
Limit, if the user of electronic equipment or electronic equipment can not know the mode of mobile radio communication access network, it is also possible to
The data traffic consuming that will cause the radio reception device is excessively high.
In order to determine the mode of radio reception device access network, inventor is connect in radio reception device using difference
Enter in the case that mode accesses network, the electronic equipment institute based on radio reception device access network it is that may be present it is different into
Research is gone.It has been investigated that: when radio reception device accesses the mode difference of network, net is accessed by the radio reception device
The IP address of the electronic equipment of network would also vary from.When radio reception device is based on mobile radio communication access network, the nothing
It is to have service set identifier (SSID, Service a Set on the wireless local area net surface that line access device provides
Identifier), but to access the IP address that the electronic equipment of the WLAN provides but it is different from common wireless local area
The IP address provided is provided.Therefore, when electronic equipment by radio reception device access network, can be according to the IP of the electronic equipment
Address, to determine the network access mode of the radio reception device.
In the embodiment of the present application, when determining that electronic equipment accesses network by radio reception device, this can be obtained
The IP address of electronic equipment determines that the radio reception device accesses the access way of network by IP address, so as in nothing
When line access device is based on mobile radio communication access network, the network access behavior of the electronic equipment is rationally controlled, thus to subtract
It is few to make the situation of network access failure or exception provide possibility due to network stabilization difference, it also avoids in network stabilization
Property difference in the case where blindly carry out electronic equipment caused by network access and handle a large amount of hash.
Inventor studies discovery: after the radio reception device of same operation system is based on mobile communications network access network,
The IP address of the radio reception device distribution of same operation system also has general character.Therefore optional, it can be in the electronic device
The corresponding relationship of preset internet protocol address and network access mode, thus determining that the radio reception device sets for electronics
After the IP address that back-up is matched, according to the IP address of the corresponding relationship and the electronic equipment, the corresponding network of the IP address is determined
Access way, the network access mode determined are exactly the access way of the access network of the radio reception device.
For example, the operating system of mobile terminal includes Android operation system, Saipan operating system, IOS operating system etc..
By taking Android operation system and IOS operating system as an example, when mobile terminal is Android operation system, the mobile terminal
After accessing network based on mobile radio communication, if other electronic equipments realize that network insertion, the movement are whole by the mobile terminal
End is the IP address of electronic equipment distribution are as follows: 192.168.43.X, wherein X can change between 0-255.Therefore, it can obtain
The IP address for the electronic equipment got belongs to the IP address of 192.168.43.X type, then can determine that the electronic equipment is corresponding
Radio reception device is to access network based on mobile radio communication.
Correspondingly, when mobile terminal is IOS operating system, after which is based on mobile radio communication access network,
If other electronic equipments realize network insertion by the mobile terminal, which is the IP address of electronic equipment distribution
Are as follows: 172.20.10.X;Wherein X can equally change between 0-255.If the IP address of electronic equipment belongs to
172.20.10.X, it can also determine that the corresponding radio reception device of the electronic equipment is to access network based on mobile radio communication.
In practical applications in addition to the corresponding network access mode of preset disparate networks protocol address, it is also possible to directly pre-
The corresponding relationship of the corresponding network access mode of each internet protocol address is set, so as in the IP address for getting electronic equipment
Afterwards, network access mode is directly determined according to the corresponding relationship.
It certainly, can also be by same type operating system for the ease of distinguishing IP address corresponding to each type operating system
Corresponding IP address is set as an IP address set, and an IP address set has corresponded to a kind of network access mode.It is obtaining
After getting the IP address of electronic equipment, it can detecte whether the IP address belongs to preset internet protocol address set;As the IP
When address belongs to the IP address in preset internet protocol address set, it is determined that the radio reception device passes through mobile radio communication
Access network.It is understood that current mobile radio communication is mainly based on cellular mobile communications networks, and therefore, electronic equipment
Network is accessed based on mobile radio communication it can be appreciated that electronic equipment, which is based on cellular mobile communications networks, accesses network.
Referring to fig. 2, it illustrates a kind of flow diagram of another embodiment of Network Recognition method of the application, this implementations
Example method may include:
201, obtain the access way of electronic equipment access network.
202, when the access way of the electronic equipment is to access network by radio reception device, then obtains the electronics and set
Standby internet protocol address.
Wherein, which is connected by way of wireless connection with the radio reception device.
203, it is based on internet protocol address, determines the access way of radio reception device access network.
The operation of above step 202 to 203 may refer to the related introduction of any one embodiment of front, no longer superfluous herein
It states.
204, when determining that the radio reception device accesses network by cellular mobile communications networks, adjust in electronic equipment
Be applied to the first operating status.
Wherein, this applies the data traffic consumed under the first operating status to be less than described apply under the second operating status
The data traffic of consumption.Second operating status is in the radio reception device by being different from the first of cellular mobile communications networks
When network insertion network, the operating status applied in electronic equipment.The first network can be either wired for WLAN
Network etc..
Electronic equipment can be according to the network type being currently accessed, to control using in difference in the embodiment of the present application
Operating status.For example, when electronic equipment network stabilization is higher, and there is no data for the mode of electronic equipment access network
The limitation of flow then can control using in biggish second operating status of consumption data amount.For example, in the second operating status
Lower application can carry out version updating, receive PUSH message etc..
Correspondingly, working as, network stabilization locating for electronic equipment is relatively low, and the data traffic for accessing hot spot has limit
When processed, then the electronic equipment can control using in lesser first operating status of consumption data amount.In the first operation shape
Using can only maintain most basic function under state, the biggish network access operation of the data volumes such as version updating is not supported generally.
And in the embodiment of the present application when radio reception device accesses network by cellular mobile communications networks, radio reception device access
Network stabilization it is relatively poor, and generally will limit radio reception device access network caused by data traffic, therefore, when
When determining that the radio reception device accesses network by cellular mobile communications networks, fail in order to avoid network accesses, or produce
Raw larger network access data amount, can control using in the first operating status.
It is understood that in any of the above one embodiment, when determining that it is mobile that radio reception device passes through honeycomb
Communication network accesses after network, accesses in order to the network on the more reasonable arrangement electronic equipment, the embodiment of the present application
Method can also include:
Network information request is sent to the radio reception device;It receives the target device and responds first network information request
The objective network information returned afterwards.
Wherein, which includes the title of the cellular mobile communications networks of radio reception device access,
And/or the utilizable flow data of the radio reception device current residual.
Based on the objective network information that the radio reception device returns, which can export some prompts for user
Information accesses for use according to prompt information come reasonable arrangement network.The electronic equipment can also be believed according to the target network
The operating status of breath selectively control application, for example, then being controlled at the application when utilizable flow data are less than preset value
In the lesser operating status of data consumption.
A kind of Network Recognition method of corresponding the application, the embodiment of the present application also provides a kind of Network Recognition devices.
Referring to Fig. 3, it illustrates a kind of structural schematic diagram of Network Recognition device one embodiment of the application, the present embodiment
Device may include: mode acquiring unit 301, address acquisition unit 302 and determination unit 303.
Wherein, mode acquiring unit 301, for obtaining the access way of electronic equipment access network.
The access way that the electronic equipment accesses network may include: that electronic equipment realizes net by the card based on itself
Network connection, i.e., access network based on mobile radio communication;It is also possible to realize network connection by access hotspot.
Such as, by taking electronic equipment is mobile phone as an example, mobile phone can be based on the mobile radio communication access that the operator of SIM card provides
Network.For another example, the equipment such as the notebook of network are accessed by wired mode can be used as hotspot, provide WLAN,
So that other electronic equipments realize access internet by accessing the WLAN.
Address acquisition unit 302 is to access net by radio reception device for the access way when the electronic equipment
When network, then the internet protocol address of the electronic equipment is obtained, wherein the electronic equipment is by way of wireless connection and institute
Radio reception device is stated to be connected.
Internet protocol address is also referred to as the address Internet protocol (IP, Internet Protocol).
Determination unit 303 determines the access side of the radio reception device access network for being based on internet protocol address
Formula.
In the embodiment of the present application, when the access way that mode acquiring unit gets electronic equipment access network is to pass through
After radio reception device accesses network, address acquisition unit can obtain the IP address of the electronic equipment, so that determination unit passes through
IP address determines the access way of radio reception device access network, so as to be based on mobile communication in radio reception device
When net access network, the network access behavior of the electronic equipment is rationally controlled, to make to reduce due to network stabilization difference
The situation for obtaining network access failure or exception provides possibility, also avoids blindly carrying out net in the case where network stabilization difference
Electronic equipment handles a large amount of hash caused by network access.
Inventor studies discovery: after the radio reception device of same operation system is based on mobile communications network access network,
The IP address of the radio reception device distribution of same operation system also has general character.Therefore optional, it can be in the electronic device
The corresponding relationship of preset internet protocol address and network access mode, thus determining that the radio reception device sets for electronics
After the IP address that back-up is matched, according to the IP address of the corresponding relationship and the electronic equipment, the corresponding network of the IP address is determined
Access way, the network access mode determined are exactly the access way of the access network of the radio reception device.
Research based on inventor: optional, the determination unit in the embodiment of the present application may include:
Match determination unit, for based on preset internet protocol address and network access mode corresponding relationship and institute
Internet protocol address is stated, determines the access way of the radio reception device access network.
Further, the matching determination unit may include:
Detection sub-unit, for detecting whether the internet protocol address belongs to preset internet protocol address set;
Coupling subelement, for when the internet protocol address belongs to preset internet protocol address set, it is determined that
The radio reception device accesses network by cellular mobile communications networks.
Referring to fig. 4, it illustrates a kind of structural schematic diagram of another embodiment of Network Recognition device of the application, this implementations
Example device and preceding embodiment the difference is that:
In the present embodiment in addition to including: mode acquiring unit 301, address acquisition unit 302 and determination unit 303 it
Outside, further includes:
Information request unit 304, for determining that the radio reception device is mobile by honeycomb in the determination unit
Communication network accesses after network, sends network information request to the radio reception device;
Information receiving unit 305 is returned for receiving after the radio reception device responds the first network information request
The objective network information returned, wherein the objective network information includes that the honeycomb of the radio reception device access is mobile
The utilizable flow data of the title of communication network and/or the radio reception device current residual.
In the present embodiment, which further includes information request unit, which can set to wireless access
Preparation SCN Space Cable Network information request, to receive objective network information.In this way, the target network returned based on the radio reception device
Network information, the electronic equipment can export some prompt informations for user, for use according to prompt information come reasonable arrangement net
Network access.The electronic equipment can also selectively control the operating status of application according to the objective network information, for example, working as
When utilizable flow data are less than preset value, then control the application and be in the lesser operating status of data consumption.
Further, in any of the above one embodiment, described device can also include:
State adjustment unit, for determining that the radio reception device passes through cellular mobile communication in the determination unit
It after net access network, adjusts in the electronic equipment and is applied to the first operating status, wherein is described to apply in the first operation
The data traffic consumed under state applies the data traffic consumed under the second operating status less than described, and the second operating status is
When the radio reception device accesses network by being different from the first network of cellular mobile communications networks, applied in electronic equipment
Operating status.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment
For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part
It is bright.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (8)
1. a kind of Network Recognition method, comprising:
Obtain the access way of electronic equipment access network;
When the access way of the electronic equipment is to access network by radio reception device, then the electronic equipment is obtained
Internet protocol address, wherein the electronic equipment is connected by way of wireless connection with the radio reception device;
Based on internet protocol address, the access way of the radio reception device access network is determined;
Wherein, after determining that the radio reception device accesses network by cellular mobile communications networks, further includes:
Network information request is sent to the radio reception device;
It receives the radio reception device and responds the objective network information returned after the network information request, wherein the mesh
The mark network information includes the title of the cellular mobile communications networks of radio reception device access and/or described wirelessly connects
Enter the utilizable flow data of equipment current residual.
2. determining the nothing the method according to claim 1, wherein described be based on the internet protocol address
The access way of line access device access network, comprising:
Corresponding relationship and the internet protocol address based on preset internet protocol address and network access mode, determine institute
State the access way of radio reception device access network.
3. according to the method described in claim 2, it is characterized in that, described based on preset internet protocol address and network insertion
The corresponding relationship of mode and the internet protocol address determine the access way of the radio reception device access network, packet
It includes:
Detect whether the internet protocol address belongs to preset internet protocol address set;
When the internet protocol address belongs to preset internet protocol address set, it is determined that the radio reception device passes through
Cellular mobile communications networks access network.
4. method according to any one of claims 1 to 3, which is characterized in that when determining that the radio reception device is logical
It crosses after cellular mobile communications networks access network, further includes:
It adjusts in the electronic equipment and is applied to the first operating status, wherein described apply consumes under the first operating status
Data traffic be less than it is described apply the data traffic consumed under the second operating status, the second operating status is described wireless
When access device accesses network by being different from the first network of cellular mobile communications networks, the operation shape applied in electronic equipment
State.
5. a kind of Network Recognition device, comprising:
Mode acquiring unit, for obtaining the access way of electronic equipment access network;
Address acquisition unit, for when the access way of the electronic equipment be by radio reception device access network when, then
Obtain the internet protocol address of the electronic equipment, wherein the electronic equipment is by way of wireless connection and described wireless
Access device is connected;
Determination unit determines the access way of the radio reception device access network for being based on internet protocol address;
Wherein, further includes:
Information request unit, for determining that the radio reception device is connect by cellular mobile communications networks in the determination unit
After entering network, network information request is sent to the radio reception device;
Information receiving unit responds the target network returned after the network information request for receiving the radio reception device
Information, wherein the objective network information includes the title of the cellular mobile communications networks of the radio reception device access,
And/or the utilizable flow data of the radio reception device current residual.
6. device according to claim 5, which is characterized in that the determination unit, comprising:
Determination unit is matched, for corresponding relationship and the net based on preset internet protocol address and network access mode
Internet protocol address determines the access way of the radio reception device access network.
7. device according to claim 6, which is characterized in that the matching determination unit, comprising:
Detection sub-unit, for detecting whether the internet protocol address belongs to preset internet protocol address set;
Coupling subelement, for when the internet protocol address belongs to preset internet protocol address set, it is determined that described
Radio reception device accesses network by cellular mobile communications networks.
8. according to the described in any item devices of claim 5 to 7, which is characterized in that further include:
State adjustment unit, for determining that the radio reception device is connect by cellular mobile communications networks in the determination unit
After entering network, adjusts in the electronic equipment and be applied to the first operating status, wherein is described to apply in the first operating status
The data traffic of lower consumption applies the data traffic consumed under the second operating status less than described, and the second operating status is in institute
When stating radio reception device and accessing network by being different from the first network of cellular mobile communications networks, the fortune applied in electronic equipment
Row state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510324641.7A CN104869621B (en) | 2015-06-12 | 2015-06-12 | A kind of Network Recognition method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510324641.7A CN104869621B (en) | 2015-06-12 | 2015-06-12 | A kind of Network Recognition method and apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104869621A CN104869621A (en) | 2015-08-26 |
CN104869621B true CN104869621B (en) | 2019-01-15 |
Family
ID=53915038
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510324641.7A Active CN104869621B (en) | 2015-06-12 | 2015-06-12 | A kind of Network Recognition method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104869621B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105578492A (en) * | 2015-12-21 | 2016-05-11 | 联想(北京)有限公司 | Information processing method and electronic device |
CN105636079A (en) * | 2015-12-26 | 2016-06-01 | 小米科技有限责任公司 | Network determining method and device |
CN105634863B (en) * | 2015-12-28 | 2019-09-17 | 北京神州绿盟信息安全科技股份有限公司 | A kind of method and apparatus of application protocol detection |
CN105813138A (en) | 2016-03-07 | 2016-07-27 | 联想(北京)有限公司 | Information processing method and first electronic device |
CN106658657A (en) * | 2016-10-20 | 2017-05-10 | 青岛海信移动通信技术股份有限公司 | Network access method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1852192A (en) * | 2005-10-21 | 2006-10-25 | 华为技术有限公司 | Network identifying method in wireless local network |
CN102957561A (en) * | 2011-08-31 | 2013-03-06 | 中兴通讯股份有限公司 | Method and device for supporting automatic identification in process of accessing plurality of upstream user equipment into network |
CN104144462A (en) * | 2013-05-06 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Mobile terminal network access way obtaining method and device and mobile terminal |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102883407A (en) * | 2012-09-13 | 2013-01-16 | 中兴通讯股份有限公司 | Dialing method and device |
CN103501333B (en) * | 2013-09-29 | 2017-03-22 | 小米科技有限责任公司 | Method, device and terminal equipment for downloading files |
-
2015
- 2015-06-12 CN CN201510324641.7A patent/CN104869621B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1852192A (en) * | 2005-10-21 | 2006-10-25 | 华为技术有限公司 | Network identifying method in wireless local network |
CN102957561A (en) * | 2011-08-31 | 2013-03-06 | 中兴通讯股份有限公司 | Method and device for supporting automatic identification in process of accessing plurality of upstream user equipment into network |
CN104144462A (en) * | 2013-05-06 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Mobile terminal network access way obtaining method and device and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104869621A (en) | 2015-08-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104869621B (en) | A kind of Network Recognition method and apparatus | |
US11696207B2 (en) | Data transmission method, electronic device, and computer readable storage medium | |
CN108605277B (en) | Method and device for establishing wireless local area network connection | |
CN104394579B (en) | A kind of information processing method and electronic equipment | |
CN106604266A (en) | Intelligent equipment system connection method, intelligent equipment and intelligent equipment access system | |
CN104159321B (en) | Wi-Fi configuration method and system | |
CN107454655A (en) | A kind of connection method of smart machine and system | |
CN105392185B (en) | A kind of networking method of smart machine, apparatus and system | |
US20190342738A1 (en) | Method and Device for Sharing File Between Different Terminals | |
CN111107610A (en) | Method and apparatus for connecting to access point in portable terminal | |
CN111263338B (en) | Network distribution method of Bluetooth Mesh network, related network distribution equipment and system | |
CN107371234B (en) | Registration method, device and terminal | |
EP3849152A1 (en) | Methods and systems for connecting a wireless device to a wireless network | |
CN102215560B (en) | Method and system for managing M2M (machine to machine) terminal | |
CN107820246B (en) | User authentication method, device and system | |
CN104683994A (en) | Wireless network configuration method and wireless network devices | |
CN106255177A (en) | The transmission method of a kind of equipment state and device | |
CN102202389A (en) | Method and system for realizing gateway management | |
CN102215515B (en) | Data processing method, communication system and related equipment | |
CN105511275A (en) | Method and device for controlling intelligent electric appliance | |
US10070289B1 (en) | Client association for provisioning devices in a communication network | |
CN107248890A (en) | Wireless communications method, device, storage medium and terminal | |
JP2015002412A (en) | Information communication device | |
CN105992208A (en) | Wireless connection authentication method and wireless connection authentication device | |
CN105357671A (en) | System and method for connecting wireless access points with same SSID and different passwords |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |