CN104185294B - The recognition methods of mobile phone focus and identification device - Google Patents

The recognition methods of mobile phone focus and identification device Download PDF

Info

Publication number
CN104185294B
CN104185294B CN201410380507.4A CN201410380507A CN104185294B CN 104185294 B CN104185294 B CN 104185294B CN 201410380507 A CN201410380507 A CN 201410380507A CN 104185294 B CN104185294 B CN 104185294B
Authority
CN
China
Prior art keywords
focus
mobile phone
address
identified
cipher mode
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
Application number
CN201410380507.4A
Other languages
Chinese (zh)
Other versions
CN104185294A (en
Inventor
颜聪炜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410380507.4A priority Critical patent/CN104185294B/en
Publication of CN104185294A publication Critical patent/CN104185294A/en
Application granted granted Critical
Publication of CN104185294B publication Critical patent/CN104185294B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of recognition methods of mobile phone focus and identification device, the characteristics of IP address distributed according to the focus of mobile phone virtual is in fixed range, judge whether current hotspot is mobile phone focus, and method is simple and easy, it is fast and effective, it is easy to user to decide whether to continue to connect current hotspot.

Description

The recognition methods of mobile phone focus and identification device
Technical field
The present invention relates to mobile network's technical field, is filled more particularly to a kind of recognition methods of mobile phone focus and identification Put.
Background technology
WIFI hot spot, i.e. wireless local network connecting point, generally served as by the router of specialty.With mobile communication technology and The development of intelligent terminal, smart mobile phone generally support focus to create function, can fictionalize a focus, are connected for other equipment And use the mobile network of smart mobile phone.
Although the focus of mobile phone virtual can provide network connection, networking speed is often undesirable, causes user simultaneously It is not intended to be connected to mobile phone focus, or the substantial amounts of mobile network data flow of other side's mobile phone is expended after worrying connection.
However, in the focus searched out, user can not differentiate which be professional router transmitting signal, which is The signal that handset emissions go out, this brings puzzlement to user.
The content of the invention
Based on the above situation, the present invention proposes recognition methods and the identification device of a kind of mobile phone focus, to judge one Whether focus is focus that mobile phone virtual goes out, therefore, the scheme used is as follows.
A kind of recognition methods of mobile phone focus, including step:
The focus under current environment is scanned, therefrom selects focus to be identified;
Focus to be identified is connected, and obtains IP address;
Mobile phone focus IP address range is searched, it is determined that acquired IP address whether in the range of, if in the range of, is sentenced Fixed focus to be identified is mobile phone focus.
A kind of identification device of mobile phone focus, including:
Focus chooses module, for scanning the focus under current environment, therefrom selects focus to be identified;
IP address acquisition module, for connecting focus to be identified, and obtain IP address;
IP address judge module, for searching mobile phone focus IP address range, it is determined that whether acquired IP address is in model In enclosing, if in the range of, judge focus to be identified for mobile phone focus.
The IP address that the focus of mobile phone virtual is distributed is in fixed range, the recognition methods and knowledge of mobile phone focus of the present invention Other device, according to this feature, judge whether current hotspot is mobile phone focus, and method is simple and easy, fast and effective, facilitates use Make the selection whether connected in family.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of an embodiment of the recognition methods of mobile phone focus of the present invention;
Fig. 2 is the schematic flow sheet of another embodiment of the recognition methods of mobile phone focus of the present invention;
Fig. 3 is the structural representation of one embodiment of the identification device of mobile phone focus of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is described in further detail.It should be appreciated that embodiment described herein is only explaining this hair It is bright, do not limit protection scope of the present invention.
The recognition methods of the mobile phone focus of the present invention, as shown in figure 1, comprising the following steps.
Step s101, the focus under current environment is scanned, therefrom selects focus to be identified.
For example, in certain position, open smart mobile phone and search 10 WIFI hot spots.Now, user can only see focus name Claim and signal intensity, with the presence or absence of the mobile phone focus for being not suitable for connection in the focus searched, user can not intuitive judgment, use This method, then a focus can be manually selected by user and is tested as focus to be identified, or it is automatic one by one by mobile phone Test.
Step s102, focus to be identified is connected, and obtains IP address.
Focus to be identified is attached as ordinary hot point, focus to be identified will distribute IP address for the equipment of connection. The IP address distributed not is arbitrarily to distribute, but in fixed address field, such as the smart mobile phone of Android operation system The IP address acquiescence distributed is limited in the range of following 7 sector address:
192.168.42.2-192.168.42.254
192.168.43.2-192.168.43.254
192.168.44.2-192.168.44.254
192.168.45.2-192.168.45.254
192.168.46.2-192.168.46.254
192.168.47.2-192.168.47.254
192.168.48.2-192.168.48.254
And the IP address acquiescence for using the smart mobile phone of IOS to be distributed is limited in following scope:
172.20.10.2-172.20.10.254
Above is the characteristics of smart mobile phone of common two kinds of operating systems distributes IP address, this distribution feature belongs to neck Common knowledge in domain, any technical staff can be known.This method is exactly to utilize this feature, prestores mobile phone focus The IP address range of distribution, and carry out following step.
Step s103, mobile phone focus IP address range is searched, it is determined that acquired IP address is whether in the range of, if in model In enclosing, then judge focus to be identified for mobile phone focus.
By the IP address got compared with the IP address in the IP address range prestored, if in the presence of consistent IP Location, the IP address for showing currently to obtain are distributed by smart mobile phone, and focus to be identified is mobile phone focus.Carried so as to provide Show, decide whether to abandon connecting by user.If without consistent IP address, it is not mobile phone focus to show focus to be identified, can be with Continue to connect.
In addition to the IP address of distribution has These characteristics, the cipher mode of mobile phone focus there is also it is certain the characteristics of:I.e. Cipher mode be confined to it is specific several, it is various rather than common WIFI hot spot cipher mode.Wherein, Android operations system The cipher mode of the focus of system mobile phone virtual is limited to OPEN, WPA PSK and tri- kinds of WPA2PSK, IOS mobile phone virtual The cipher mode of focus is only limitted to WPA2 PSK.
Analyzed based on more than, basis of characterization that can be using cipher mode as mobile phone focus, but due to common WIFI hot spot Cipher mode cover the above-mentioned cipher mode of mobile phone focus, thus cipher mode is adapted only to as assistant criteria.As one Individual preferred embodiment, IP address is combined with cipher mode, judged according to the two features, can be more accurately Identify mobile phone focus.
It is previously mentioned, the IP address of the smart mobile phone of Android operation system and the smart mobile phone distribution of IOS In different address fields, according to this feature, it is empty by the mobile phone of which kind of operating system that can determine whether mobile phone focus Intend.
Flow chart shown in Fig. 2 is a preferred embodiment, and the embodiment falls according to acquired IP address Still fall in android system mobile phone focus IP address range in IOS system mobile phone focus IP address ranges, and it is acquired Cipher mode belong to android system mobile phone focus cipher mode and still fall within IOS system mobile phone focus cipher modes, judge Focus to be identified is android system mobile phone focus or IOS system mobile phone focuses.
When judge focus to be identified for mobile phone focus after, if user selects to keep connecting the mobile phone focus, this method is also The flow from mobile phone focus consumption, concurrent outflow prompting can be detected.For example, certain user possesses a smart mobile phone and one Portion's Intelligent flat, smart mobile phone can be networked by mobile network, can also be networked by wireless network, Intelligent flat then can only Networked by wireless network.In no attachable environment of valid wireless signal, user wants to surf the Net by Intelligent flat, because This creates a focus using its mobile phone, after Intelligent flat is connected to the focus, you can free interconnection, but what is consumed is mobile phone Data traffic.Now, this method shows the window of a traffic statistics on the Intelligent flat of user, then user can be at any time Solution has used how much flows of mobile phone, and being unlikely to occur flow transfinites the situation that user but knows nothing.
In addition, cell phone manufacturer typically both provides the automatic updating system version when connecting wifi hotspot or updates software Function, if current wifi hotspot is the focus of mobile phone virtual, the big data bag of upgrading and renewal will consume the M of mobile phone more than ten even Tens M flow, the user to flow-sensitive will be a no small losses.Thus, this method is also identifying that current hotspot is After the focus gone out by mobile phone virtual, the upgrading and renewal of software are automatically prevented from.
Above is the embodiment of the recognition methods of mobile phone focus of the present invention, is described below corresponding with above-mentioned recognition methods Identification device.
The identification device of mobile phone focus of the present invention, as shown in figure 3, including:
Focus chooses module, for scanning the focus under current environment, therefrom selects focus to be identified;
IP address acquisition module, for connecting focus to be identified, and obtain IP address;
IP address judge module, for searching mobile phone focus IP address range, it is determined that whether acquired IP address is in model In enclosing, if in the range of, judge focus to be identified for mobile phone focus.
Focus is chosen module, IP address acquisition module and IP address judge module and is sequentially connected, and forms this identification device One embodiment.
Further, as a preferred embodiment, the IP address acquisition module, it is additionally operable to obtaining IP address Meanwhile obtain the cipher mode of focus to be identified;The IP address judge module, it is additionally operable to search mobile phone focus cipher mode kind Class, it is determined that whether acquired cipher mode is arranging, if arranging, further judge focus to be identified for mobile phone focus.
Further, android system hand is included as a preferred embodiment, the mobile phone focus IP address range Machine focus IP address range and IOS system mobile phone focus IP address ranges;The mobile phone focus cipher mode species includes Android system mobile phone focus cipher mode and IOS system mobile phone focus cipher modes;The IP address judge module, is also used Still fall in android system mobile phone focus IP address range in IOS system mobile phones heat in being fallen according to acquired IP address In point IP address range, and acquired cipher mode belongs to android system mobile phone focus cipher mode and still falls within IOS System mobile phone focus cipher mode, judge focus to be identified for android system mobile phone focus or IOS system mobile phone focuses.
Further, traffic monitoring module can also be included as a preferred embodiment, this identification device, for The IP address judge module judges that focus to be identified is mobile phone focus, and keeps after connecting the mobile phone focus, detects from above-mentioned The flow of mobile phone focus consumption, concurrent outflow prompting.
Further, as a preferred embodiment, this identification device can also include upgrading and block module, for After the IP address judge module judges focus to be identified for mobile phone focus, stop the upgrading and renewal of software.
Due to the module of this identification device with the step of above-mentioned recognition methods be it is corresponding, thus, technical characteristic is no longer heavy It is multiple to explain.
To sum up, the recognition methods of mobile phone focus of the present invention and identification device, by the correlated characteristic of mobile phone focus, by mobile phone Focus identifies from common wifi hotspot, so that user pointedly makes a choice.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more specific and detailed, but simultaneously Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention Protect scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of recognition methods of mobile phone focus, it is characterised in that including step:
The focus under current environment is scanned, therefrom selects focus to be identified;
Focus to be identified is connected, and obtains the IP address distributed by the focus to be identified;
The fixed range for the IP address that mobile phone focus is distributed is searched, the IP address of acquisition and the fixed range are compared Compared with it is determined that acquired IP address whether in the fixed range, if in the fixed range, shows the IP of the acquisition Address is distributed by mobile phone focus, then judges that the focus to be identified for mobile phone focus, provides prompting, decided whether by user Abandon connecting;If not in the fixed range, judge that the focus to be identified is not mobile phone focus, continue to connect.
2. the recognition methods of mobile phone focus according to claim 1, it is characterised in that
While IP address is obtained, the cipher mode of focus to be identified is also obtained;
Mobile phone focus cipher mode species is searched, it is determined that whether acquired cipher mode is arranging, if arranging, is further judged Focus to be identified is mobile phone focus.
3. the recognition methods of mobile phone focus according to claim 2, it is characterised in that
The mobile phone focus IP address range includes android system mobile phone focus IP address range and IOS system mobile phone focuses IP address range;
The mobile phone focus cipher mode species includes android system mobile phone focus cipher mode and IOS system mobile phone focuses Cipher mode;
Fallen still to fall in IOS system mobile phones in android system mobile phone focus IP address range according to acquired IP address In focus IP address range, and acquired cipher mode belongs to android system mobile phone focus cipher mode and still fallen within IOS system mobile phone focus cipher modes, judge focus to be identified for android system mobile phone focus or IOS system mobile phone focuses.
4. the recognition methods of the mobile phone focus according to claim 1 or 2 or 3, it is characterised in that
After judging focus to be identified for mobile phone focus, keep connecting the mobile phone focus;
Detect the flow from the consumption of above-mentioned mobile phone focus, concurrent outflow prompting.
5. the recognition methods of the mobile phone focus according to claim 1 or 2 or 3, it is characterised in that
After judging focus to be identified for mobile phone focus, stop the upgrading and renewal of software.
A kind of 6. identification device of mobile phone focus, it is characterised in that including:
Focus chooses module, for scanning the focus under current environment, therefrom selects focus to be identified;
IP address acquisition module, for connecting focus to be identified, and obtain the IP address distributed by the focus to be identified;
IP address judge module, the fixed range for the IP address distributed for searching mobile phone focus, by the IP address of acquisition with The fixed range is compared, it is determined that whether acquired IP address in the fixed range, if in the fixed range Interior, the IP address for showing the acquisition is distributed by mobile phone focus, then judges that the focus to be identified for mobile phone focus, provides Prompting, is decided whether to abandon connecting by user;If not in the fixed range, it is not hand to judge the focus to be identified Machine focus, continue to connect.
7. the identification device of mobile phone focus according to claim 6, it is characterised in that
The IP address acquisition module, it is additionally operable to while IP address is obtained, obtain the cipher mode of focus to be identified;
The IP address judge module, it is additionally operable to search mobile phone focus cipher mode species, it is determined that acquired cipher mode is It is no to arrange, if arranging, further judge focus to be identified for mobile phone focus.
8. the identification device of mobile phone focus according to claim 7, it is characterised in that
The mobile phone focus IP address range includes android system mobile phone focus IP address range and IOS system mobile phone focuses IP address range;
The mobile phone focus cipher mode species includes android system mobile phone focus cipher mode and IOS system mobile phone focuses Cipher mode;
The IP address judge module, it is additionally operable to be fallen in android system mobile phone focus IP address according to acquired IP address In the range of still fall in IOS system mobile phone focus IP address ranges, and acquired cipher mode belongs to android system Mobile phone focus cipher mode still falls within IOS system mobile phone focus cipher modes, judges focus to be identified for android system hand Machine focus or IOS system mobile phone focuses.
9. the identification device of the mobile phone focus according to claim 6 or 7, it is characterised in that
Also include traffic monitoring module, for judging that focus to be identified is mobile phone focus in the IP address judge module, and protect Hold after connecting the mobile phone focus, detect the flow from the consumption of above-mentioned mobile phone focus, concurrent outflow prompting.
10. the identification device of the mobile phone focus according to claim 6 or 7, it is characterised in that
Also include upgrading and block module, for after the IP address judge module judges focus to be identified for mobile phone focus, stopping The only upgrading and renewal of software.
CN201410380507.4A 2014-08-04 2014-08-04 The recognition methods of mobile phone focus and identification device Active CN104185294B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410380507.4A CN104185294B (en) 2014-08-04 2014-08-04 The recognition methods of mobile phone focus and identification device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410380507.4A CN104185294B (en) 2014-08-04 2014-08-04 The recognition methods of mobile phone focus and identification device

Publications (2)

Publication Number Publication Date
CN104185294A CN104185294A (en) 2014-12-03
CN104185294B true CN104185294B (en) 2018-01-30

Family

ID=51965943

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410380507.4A Active CN104185294B (en) 2014-08-04 2014-08-04 The recognition methods of mobile phone focus and identification device

Country Status (1)

Country Link
CN (1) CN104185294B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106550430B (en) * 2015-09-22 2020-01-14 中国电信股份有限公司 Method and terminal for identifying WiFi network of mobile phone hot spot and mobile phone
CN106559856B (en) * 2015-09-28 2020-12-22 宇龙计算机通信科技(深圳)有限公司 WIFI hotspot identification method and device
CN105245634A (en) * 2015-10-19 2016-01-13 小米科技有限责任公司 File transfer method, device and system
CN107426746A (en) * 2016-05-24 2017-12-01 中兴通讯股份有限公司 The method and apparatus for identifying WIFI types
CN108141906B (en) * 2016-07-15 2021-01-29 华为技术有限公司 Mobile data sharing method and mobile terminal
CN106332225A (en) * 2016-09-23 2017-01-11 依偎科技(南昌)有限公司 Method for freezing application based on WIFI and related device
CN106413001A (en) * 2016-10-28 2017-02-15 武汉斗鱼网络科技有限公司 Flow control method and device of wireless network connection
CN106851779A (en) * 2016-12-07 2017-06-13 广东欧珀移动通信有限公司 A kind of method and mobile terminal for recognizing access point and focus
CN107148032A (en) * 2017-04-28 2017-09-08 维沃移动通信有限公司 A kind of flow control methods and mobile terminal
CN107040965B (en) * 2017-05-10 2020-05-05 维沃移动通信有限公司 Flow control method and device and mobile terminal
CN107493243A (en) * 2017-08-25 2017-12-19 海南智媒云图科技股份有限公司 The method and device that a kind of fixed network and focus WIFI is distinguished
CN109982413B (en) * 2019-02-19 2023-04-07 北京三快在线科技有限公司 Mobile hotspot identification method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378303A (en) * 2010-08-26 2012-03-14 ***通信有限公司 Method and device for selecting WIFI (Wireless Fidelity) access point to access to network
CN102404861A (en) * 2011-06-30 2012-04-04 华为终端有限公司 Method for controlling user to access network and portable WIFI (Wireless Fidelity) hotspot equipment
CN103891332A (en) * 2011-08-12 2014-06-25 F-赛酷公司 Detection of suspect wireless access points

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI631871B (en) * 2012-04-27 2018-08-01 內數位專利控股公司 Method and apparatus for supporting proximity discovery procedures

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378303A (en) * 2010-08-26 2012-03-14 ***通信有限公司 Method and device for selecting WIFI (Wireless Fidelity) access point to access to network
CN102404861A (en) * 2011-06-30 2012-04-04 华为终端有限公司 Method for controlling user to access network and portable WIFI (Wireless Fidelity) hotspot equipment
CN103891332A (en) * 2011-08-12 2014-06-25 F-赛酷公司 Detection of suspect wireless access points

Also Published As

Publication number Publication date
CN104185294A (en) 2014-12-03

Similar Documents

Publication Publication Date Title
CN104185294B (en) The recognition methods of mobile phone focus and identification device
CN103024929B (en) A kind of method and mobile terminal connecting wireless network based on mobile terminal
CN104021019B (en) A kind of apply the control method of self-starting, terminal and server
CN105472148B (en) Method and apparatus for terminal binding home equipment
EP2618627A1 (en) Method and cell phone for switching profiles based on wifi
US20150289145A1 (en) Method, mobile terminal and system for counting coverage blind spots in wireless network
CN104394579B (en) A kind of information processing method and electronic equipment
CN105979502B (en) Switching method, switching device and the terminal of eSIM
CN106231595B (en) Wireless hotspot selection method and system
CN103428708A (en) Wireless access method and system in cognitive wireless network
CN104244355A (en) Multi-card terminal and network accessing method thereof
CA2610112A1 (en) Determining identifiers for wireless networks with hidden identifiers
CN103476139A (en) Connection method of WIFI (Wireless Fidelity) network and communication terminal
CN104640174A (en) Method and device for promoting wireless network access points
CN103906173A (en) Method for controlling mobile terminal
CN103037476A (en) Control method for wireless network access and control device for wireless network access
CN111954238A (en) Network distribution method, network distribution device and household appliance
CN105282820A (en) Terminal management and control method and device
CN104918298A (en) Network connection control method and apparatus, and mobile terminal
CN106303031A (en) The processing method of a kind of terminal, system and terminal
CN112312518B (en) Method and device for connecting household appliance with dual-frequency router
CN203378053U (en) An intelligent wireless router
CN101895905B (en) Method for managing data accounts of mobile communication terminal
CN106559856A (en) A kind of WIFI hot spot recognition methods and device
WO2018006623A1 (en) Preferred access method for mobile wifi hotspot, hotspot device and terminal device

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
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: Oppo Guangzhou Mobile Communication Co., Ltd

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

CP01 Change in the name or title of a patent holder
CI03 Correction of invention patent

Correction item: Patentee|Address

Correct: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.|Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

False: Oppo Guangzhou Mobile Communication Co., Ltd|Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Number: 09-02

Volume: 36

CI03 Correction of invention patent