[go: up one dir, main page]

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
hotspot
mobile phone
address
identified
encryption method
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

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

Abstract

本发明公开了一种手机热点的识别方法与识别装置,根据手机虚拟的热点所分配的IP地址在固定范围内的特点,判断当前热点是否是手机热点,方法简单易行,快速有效,便于用户决定是否继续连接当前热点。

The invention discloses a mobile phone hotspot identification method and an identification device. According to the characteristics that the IP address assigned by the virtual hotspot of the mobile phone is within a fixed range, it is judged whether the current hotspot is a mobile phone hotspot. The method is simple, easy, fast and effective, and convenient for users Decide whether to continue connecting to the current hotspot.

Description

手机热点的识别方法与识别装置Method and device for identifying mobile phone hotspots

技术领域technical field

本发明涉及移动网络技术领域,特别是涉及一种手机热点的识别方法与识别装置。The invention relates to the technical field of mobile networks, in particular to a mobile phone hotspot identification method and identification device.

背景技术Background technique

WIFI热点,即无线局域网接入点,通常由专业的路由器充当。随着移动通信技术及智能终端的发展,智能手机普遍支持热点创建功能,可以虚拟出一个热点,供其他设备连接并使用智能手机的移动网络。WIFI hotspots, that is, wireless LAN access points, are usually acted by professional routers. With the development of mobile communication technology and smart terminals, smart phones generally support the hotspot creation function, which can virtualize a hotspot for other devices to connect to and use the mobile network of the smart phone.

手机虚拟的热点虽然可以提供网络连接,但上网速度往往不理想,致使使用者并不希望连接到手机热点,又或者担心连接后耗费对方手机大量的移动网络数据流量。Although mobile phone virtual hotspots can provide network connections, the speed of Internet access is often not ideal, so that users do not want to connect to mobile phone hotspots, or worry about consuming a large amount of mobile network data traffic on the other party's mobile phone after connecting.

然而,在搜索出的热点中,用户并不能分辨哪些是专业路由器发射的信号,哪些是手机发射出的信号,这给用户带来了困扰。However, among the searched hotspots, the user cannot distinguish which signals are emitted by professional routers and which are signals emitted by mobile phones, which brings troubles to users.

发明内容Contents of the invention

基于上述情况,本发明提出了一种手机热点的识别方法与识别装置,以判断一个热点是否是手机虚拟出的热点,为此,采用的方案如下。Based on the above situation, the present invention proposes a mobile phone hotspot identification method and identification device to judge whether a hotspot is a hotspot virtualized by the mobile phone. For this purpose, the adopted scheme is as follows.

一种手机热点的识别方法,包括步骤:A method for identifying a mobile phone hotspot, comprising the steps of:

扫描当前环境下的热点,从中选择待识别的热点;Scan the hotspots in the current environment and select the hotspots to be identified;

连接待识别的热点,并获取IP地址;Connect to the hotspot to be identified and obtain the IP address;

查找手机热点IP地址范围,确定所获取的IP地址是否在范围内,若在范围内,则判定待识别的热点为手机热点。Find the IP address range of the mobile phone hotspot, and determine whether the obtained IP address is within the range. If it is within the range, it is determined that the hotspot to be identified is a mobile phone hotspot.

一种手机热点的识别装置,包括:A mobile phone hotspot identification device, comprising:

热点选取模块,用于扫描当前环境下的热点,从中选择待识别的热点;The hotspot selection module is used to scan the hotspots in the current environment and select the hotspots to be identified;

IP地址获取模块,用于连接待识别的热点,并获取IP地址;An IP address obtaining module is used to connect to the hotspot to be identified and obtain an IP address;

IP地址判断模块,用于查找手机热点IP地址范围,确定所获取的IP地址是否在范围内,若在范围内,则判定待识别的热点为手机热点。The IP address judging module is used to find the IP address range of the mobile phone hotspot, and determines whether the acquired IP address is within the range, and if it is within the range, then it is determined that the hotspot to be identified is a mobile phone hotspot.

手机虚拟的热点所分配的IP地址在固定范围内,本发明手机热点的识别方法与识别装置,根据这个特点,判断当前热点是否是手机热点,方法简单易行,快速有效,方便了用户做出连接与否的选择。The IP address assigned by the virtual hotspot of the mobile phone is within a fixed range. The identification method and identification device for the mobile phone hotspot of the present invention can judge whether the current hotspot is a mobile phone hotspot according to this feature. The choice to connect or not.

附图说明Description of drawings

图1为本发明手机热点的识别方法的一个实施方式的流程示意图;Fig. 1 is the schematic flow chart of an embodiment of the identification method of mobile phone hotspot of the present invention;

图2为本发明手机热点的识别方法的另一个实施方式的流程示意图;Fig. 2 is the schematic flow chart of another embodiment of the identification method of mobile phone hotspot of the present invention;

图3为本发明手机热点的识别装置的一个实施例的结构示意图。FIG. 3 is a schematic structural diagram of an embodiment of the mobile phone hotspot identification device of the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步的详细说明。应当理解,此处所描述的具体实施方式仅仅用以解释本发明,并不限定本发明的保护范围。In order to make the purpose, technical solution and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, and do not limit the protection scope of the present invention.

本发明的手机热点的识别方法,如图1所示,包括如下步骤。The mobile phone hotspot identification method of the present invention, as shown in FIG. 1 , includes the following steps.

步骤s101、扫描当前环境下的热点,从中选择待识别的热点。Step s101, scanning the hotspots in the current environment, and selecting the hotspot to be identified.

例如,在某位置,打开智能手机搜索到10个WIFI热点。此时,用户只能看到热点名称及信号强度,搜索到的热点中是否存在不适宜连接的手机热点,用户无法直观判断,采用本方法,则可以由用户手动选择一个热点作为待识别热点进行测试,或者由手机自动逐个测试。For example, in a certain location, turn on the smart phone and search for 10 WIFI hotspots. At this time, the user can only see the name of the hotspot and the signal strength, and the user cannot intuitively judge whether there are mobile phone hotspots that are not suitable for connection among the searched hotspots. With this method, the user can manually select a hotspot as the hotspot to be identified. Test, or test one by one automatically by the mobile phone.

步骤s102、连接待识别的热点,并获取IP地址。Step s102, connect to the hotspot to be identified, and obtain an IP address.

将待识别热点当做普通热点进行连接,待识别热点将为连接的设备分配IP地址。所分配的IP地址并不是随意分配,而是在固定的地址段内,如Android操作系统的智能手机所分配的IP地址默认是限制在如下7段地址范围内的:Connect the hotspot to be identified as a normal hotspot, and the hotspot to be identified will assign an IP address to the connected device. The allocated IP address is not randomly allocated, but within a fixed address range. For example, the IP address allocated by a smart phone with an Android operating system is limited to the following 7 ranges of addresses by default:

192.168.42.2-192.168.42.254192.168.42.2-192.168.42.254

192.168.43.2-192.168.43.254192.168.43.2-192.168.43.254

192.168.44.2-192.168.44.254192.168.44.2-192.168.44.254

192.168.45.2-192.168.45.254192.168.45.2-192.168.45.254

192.168.46.2-192.168.46.254192.168.46.2-192.168.46.254

192.168.47.2-192.168.47.254192.168.47.2-192.168.47.254

192.168.48.2-192.168.48.254192.168.48.2-192.168.48.254

而采用IOS操作系统的智能手机所分配的IP地址默认是限制在如下范围内的:The IP address assigned by the smart phone using the IOS operating system is limited to the following range by default:

172.20.10.2-172.20.10.254172.20.10.2-172.20.10.254

以上是常见两种操作系统的智能手机所分配IP地址的特点,这种分配特点属于领域内的公知常识,任何技术人员都能够获知。本方法正是利用这种特点,预先存储手机热点分配的IP地址范围,并进行下面的步骤。The above are the characteristics of the IP addresses allocated by the smart phones of the two common operating systems. Such allocation characteristics belong to the common knowledge in the field and can be known by any technician. This method utilizes this feature to pre-store the range of IP addresses assigned by the hotspot of the mobile phone, and perform the following steps.

步骤s103、查找手机热点IP地址范围,确定所获取的IP地址是否在范围内,若在范围内,则判定待识别的热点为手机热点。Step s103 , search for the IP address range of the mobile phone hotspot, and determine whether the acquired IP address is within the range, and if so, determine that the hotspot to be identified is a mobile phone hotspot.

将获取到的IP地址与预先存储的IP地址范围内的IP地址比较,若存在一致的IP地址,表明当前获取的IP地址是由智能手机分配的,待识别热点为手机热点。从而可以给出提示,由用户决定是否放弃连接。若没有一致的IP地址,表明待识别热点不是手机热点,可以继续连接。Compare the obtained IP address with the IP addresses within the pre-stored IP address range. If there is a consistent IP address, it indicates that the currently obtained IP address is assigned by the smartphone, and the hotspot to be identified is a mobile hotspot. Thus, a prompt can be given, and the user decides whether to give up the connection. If there is no consistent IP address, it means that the hotspot to be identified is not a mobile hotspot, and you can continue to connect.

除了分配的IP地址具有上述特点外,手机热点的加密方式也存在一定的特点:即加密方式局限于特定的几种,而不像普通的WIFI热点加密方式多样。其中,Android操作系统手机虚拟的热点的加密方式限于OPEN、WPA PSK和WPA2PSK三种,IOS操作系统手机虚拟的热点的加密方式仅限于WPA2 PSK。In addition to the above-mentioned characteristics of the assigned IP address, the encryption method of the mobile phone hotspot also has certain characteristics: that is, the encryption method is limited to specific types, unlike ordinary WIFI hotspot encryption methods. Among them, the encryption methods of the virtual hotspot of the Android operating system mobile phone are limited to three types: OPEN, WPA PSK and WPA2PSK, and the encryption methods of the virtual hotspot of the IOS operating system mobile phone are limited to WPA2 PSK.

基于以上分析,可以将加密方式作为手机热点的识别依据,但由于普通WIFI热点的加密方式覆盖了手机热点的上述加密方式,因而加密方式只适于作为辅助判据。作为一个优选的实施方式,将IP地址与加密方式结合,根据这两个特征进行判断,可以更加准确地识别手机热点。Based on the above analysis, the encryption method can be used as the identification basis for mobile hotspots. However, since the encryption method of ordinary WIFI hotspots covers the above-mentioned encryption methods of mobile phone hotspots, the encryption method is only suitable as an auxiliary criterion. As a preferred embodiment, the IP address is combined with the encryption method, and judgment is made based on these two features, so that the hotspot of the mobile phone can be identified more accurately.

上文提到,Android操作系统的智能手机与IOS操作系统的智能手机分配的IP地址处于不同的地址段,根据这个特征,可以进一步判断手机热点是由哪种操作系统的手机虚拟的。As mentioned above, the IP addresses assigned by smartphones with Android operating system and smartphones with IOS operating system are in different address segments. According to this feature, it can be further judged which operating system the mobile phone hotspot is virtualized by.

图2所示的流程图是一个优选的实施方式,该实施方式根据所获取的IP地址落在Android系统手机热点IP地址范围内还是落在IOS系统手机热点IP地址范围内,以及所获取的加密方式属于Android系统手机热点加密方式还是属于IOS系统手机热点加密方式,判定待识别热点为Android系统手机热点或IOS系统手机热点。The flow chart shown in Fig. 2 is a preferred embodiment, and this embodiment falls within the IP address range of the mobile phone hotspot of the Android system or falls within the IP address range of the mobile phone hotspot of the IOS system according to the obtained IP address, and the obtained encryption Whether the method belongs to the hotspot encryption method of the Android system mobile phone or the hotspot encryption method of the IOS system mobile phone, determine whether the hotspot to be identified is an Android system mobile phone hotspot or an IOS system mobile phone hotspot.

当判定待识别热点为手机热点后,若用户选择保持连接该手机热点,则本方法还可以检测从该手机热点消耗的流量,并发出流量提示。例如,某用户拥有一部智能手机与一部智能平板,智能手机可以通过移动网络联网,也可以通过无线网络联网,智能平板则只能通过无线网络联网。在没有有效的无线信号可连接的环境中,用户想通过智能平板上网,因此利用其手机创建了一个热点,智能平板连接到该热点后,即可自由联网,但消耗的是手机的数据流量。此时,本方法在用户的智能平板上显示一个流量统计的窗口,则用户可随时了解使用了手机的多少流量,不至于出现流量超限用户却一无所知的情况。After it is determined that the hotspot to be identified is a mobile phone hotspot, if the user chooses to keep connected to the mobile phone hotspot, the method can also detect the traffic consumed by the mobile phone hotspot, and issue a traffic reminder. For example, a user owns a smart phone and a smart tablet. The smart phone can be connected to the Internet through a mobile network or a wireless network, while the smart tablet can only be connected to the Internet through a wireless network. In an environment where there is no effective wireless signal to connect, the user wants to surf the Internet through the smart tablet, so he uses his mobile phone to create a hotspot. After the smart tablet is connected to the hotspot, he can freely connect to the Internet, but the data traffic of the mobile phone is consumed. At this point, the method displays a traffic statistics window on the user's smart tablet, so that the user can know how much traffic the mobile phone has used at any time, so that the situation that the traffic exceeds the limit and the user does not know anything about it will not occur.

另外,手机厂商一般都提供了在连接wifi热点时自动升级系统版本或更新软件的功能,若当前wifi热点是手机虚拟的热点,则升级与更新的大数据包将消耗手机十几M甚至几十M的流量,对流量敏感的用户将是个不小的损失。因而,本方法还在识别出当前热点是由手机虚拟出的热点后,自动阻止软件的升级与更新。In addition, mobile phone manufacturers generally provide the function of automatically upgrading the system version or updating software when connecting to a wifi hotspot. If the current wifi hotspot is a virtual hotspot of the mobile phone, the large data package of the upgrade and update will consume more than ten M or even dozens of mobile phones. M traffic, users who are sensitive to traffic will be a big loss. Therefore, after the method recognizes that the current hotspot is a hotspot virtualized by the mobile phone, it automatically prevents software upgrades and updates.

以上是本发明手机热点的识别方法的实施方式,下面介绍与上述识别方法对应的识别装置。The above is the embodiment of the identification method of the mobile phone hotspot of the present invention, and the identification device corresponding to the above identification method will be introduced below.

本发明手机热点的识别装置,如图3所示,包括:The identification device of mobile phone hotspot of the present invention, as shown in Figure 3, comprises:

热点选取模块,用于扫描当前环境下的热点,从中选择待识别的热点;The hotspot selection module is used to scan the hotspots in the current environment and select the hotspots to be identified;

IP地址获取模块,用于连接待识别的热点,并获取IP地址;An IP address obtaining module is used to connect to the hotspot to be identified and obtain an IP address;

IP地址判断模块,用于查找手机热点IP地址范围,确定所获取的IP地址是否在范围内,若在范围内,则判定待识别的热点为手机热点。The IP address judging module is used to find the IP address range of the mobile phone hotspot, and determines whether the acquired IP address is within the range, and if it is within the range, then it is determined that the hotspot to be identified is a mobile phone hotspot.

热点选取模块、IP地址获取模块与IP地址判断模块依次相连,形成本识别装置的一个实施例。The hotspot selection module, the IP address acquisition module and the IP address judgment module are sequentially connected to form an embodiment of the identification device.

进一步地,作为一个优选的实施例,所述IP地址获取模块,还用于在获取IP地址的同时,获取待识别热点的加密方式;所述IP地址判断模块,还用于查找手机热点加密方式种类,确定所获取的加密方式是否在列,若在列,则进一步判定待识别的热点为手机热点。Further, as a preferred embodiment, the IP address obtaining module is also used to obtain the encryption method of the hotspot to be identified while obtaining the IP address; the IP address judging module is also used to find the encryption method of the mobile phone hotspot Type, determine whether the obtained encryption method is listed, if it is listed, further determine that the hotspot to be identified is a mobile phone hotspot.

进一步地,作为一个优选的实施例,所述手机热点IP地址范围包括Android系统手机热点IP地址范围和IOS系统手机热点IP地址范围;所述手机热点加密方式种类包括Android系统手机热点加密方式和IOS系统手机热点加密方式;所述IP地址判断模块,还用于根据所获取的IP地址落在Android系统手机热点IP地址范围内还是落在IOS系统手机热点IP地址范围内,以及所获取的加密方式属于Android系统手机热点加密方式还是属于IOS系统手机热点加密方式,判定待识别热点为Android系统手机热点或IOS系统手机热点。Further, as a preferred embodiment, the hotspot IP address range of the mobile phone includes the hotspot IP address range of the Android system mobile phone and the hotspot IP address range of the IOS system mobile phone; System mobile phone hotspot encryption method; the IP address judging module is also used for whether the obtained IP address falls within the range of the Android system mobile phone hotspot IP address or falls within the IOS system mobile phone hotspot IP address range, and the acquired encryption method Whether it belongs to the mobile phone hotspot encryption method of the Android system or the mobile phone hotspot encryption method of the IOS system, it is determined whether the hotspot to be identified is a mobile phone hotspot of the Android system or a mobile phone hotspot of the IOS system.

进一步地,作为一个优选的实施例,本识别装置还可以包括流量监控模块,用于在所述IP地址判断模块判定待识别热点为手机热点,且保持连接该手机热点后,检测从上述手机热点消耗的流量,并发出流量提示。Further, as a preferred embodiment, the identification device may also include a traffic monitoring module, which is used to detect traffic from the mobile phone hotspot after the IP address judging module determines that the hotspot to be identified is a mobile phone hotspot and keeps connecting to the mobile phone hotspot. Consumed flow, and issue a flow reminder.

进一步地,作为一个优选的实施例,本识别装置还可以包括升级阻断模块,用于在所述IP地址判断模块判定待识别热点为手机热点后,停止软件的升级与更新。Further, as a preferred embodiment, the identification device may further include an upgrade blocking module, which is used to stop software upgrade and update after the IP address judging module determines that the hotspot to be identified is a mobile phone hotspot.

由于本识别装置的模块与上述识别方法的步骤是对应的,因而,技术特征不再重复解释。Since the modules of the identification device correspond to the steps of the above-mentioned identification method, the technical features will not be repeatedly explained.

综上,本发明手机热点的识别方法与识别装置,借助手机热点的相关特征,将手机热点从普通wifi热点中识别出来,以利于用户针对性地做出选择。To sum up, the mobile phone hotspot identification method and identification device of the present invention use the relevant features of mobile phone hotspots to identify mobile phone hotspots from ordinary wifi hotspots, so as to facilitate users to make targeted choices.

以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present invention, and the description thereof is relatively specific and detailed, but should not be construed as limiting the patent scope of the present invention. It should be pointed out that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent for the present invention should be based on the appended claims.

Claims (10)

1.一种手机热点的识别方法,其特征在于,包括步骤:1. an identification method of mobile phone hotspot, is characterized in that, comprises steps: 扫描当前环境下的热点,从中选择待识别的热点;Scan the hotspots in the current environment and select the hotspots to be identified; 连接待识别的热点,并获取由所述待识别的热点分配的IP地址;Connect to the hotspot to be identified, and obtain the IP address assigned by the hotspot to be identified; 查找手机热点所分配的IP地址的固定范围,将获取的IP地址与所述固定范围进行比较,确定所获取的IP地址是否在所述固定范围内,若在所述固定范围内,表明所述获取的IP地址是由手机热点分配,则判定所述待识别的热点为手机热点,给出提示,由用户决定是否放弃连接;若不在所述固定范围内,则判定所述待识别的热点不是手机热点,继续连接。Find the fixed range of the IP address assigned by the mobile phone hotspot, compare the obtained IP address with the fixed range, and determine whether the obtained IP address is within the fixed range, if it is within the fixed range, it indicates that the The acquired IP address is assigned by a mobile phone hotspot, then it is determined that the hotspot to be identified is a mobile hotspot, a prompt is given, and the user decides whether to give up the connection; if it is not within the fixed range, then it is determined that the hotspot to be identified is not Mobile hotspot, continue to connect. 2.根据权利要求1所述的手机热点的识别方法,其特征在于,2. the identification method of mobile phone hotspot according to claim 1, is characterized in that, 在获取IP地址的同时,还获取待识别热点的加密方式;While obtaining the IP address, the encryption method of the hotspot to be identified is also obtained; 查找手机热点加密方式种类,确定所获取的加密方式是否在列,若在列,则进一步判定待识别的热点为手机热点。Search for the type of mobile phone hotspot encryption method, and determine whether the acquired encryption method is listed. If it is listed, then further determine that the hotspot to be identified is a mobile phone hotspot. 3.根据权利要求2所述的手机热点的识别方法,其特征在于,3. the identification method of mobile phone hotspot according to claim 2, is characterized in that, 所述手机热点IP地址范围包括Android系统手机热点IP地址范围和IOS系统手机热点IP地址范围;Described mobile phone hotspot IP address range comprises Android system mobile phone hotspot IP address range and IOS system mobile phone hotspot IP address range; 所述手机热点加密方式种类包括Android系统手机热点加密方式和IOS系统手机热点加密方式;Described mobile phone hotspot encryption method kind comprises Android system mobile phone hotspot encryption method and IOS system mobile phone hotspot encryption method; 根据所获取的IP地址落在Android系统手机热点IP地址范围内还是落在IOS系统手机热点IP地址范围内,以及所获取的加密方式属于Android系统手机热点加密方式还是属于IOS系统手机热点加密方式,判定待识别热点为Android系统手机热点或IOS系统手机热点。According to whether the obtained IP address falls within the range of the hotspot IP address of the Android system mobile phone or within the range of the IOS system mobile phone hotspot IP address, and whether the acquired encryption method belongs to the Android system mobile phone hotspot encryption method or the IOS system mobile phone hotspot encryption method, It is determined that the hotspot to be identified is a mobile phone hotspot of the Android system or a mobile phone hotspot of the IOS system. 4.根据权利要求1或2或3所述的手机热点的识别方法,其特征在于,4. the identification method of mobile phone hotspot according to claim 1 or 2 or 3, is characterized in that, 判定待识别热点为手机热点后,保持连接该手机热点;After determining that the hotspot to be identified is the hotspot of the mobile phone, keep connecting to the hotspot of the mobile phone; 检测从上述手机热点消耗的流量,并发出流量提示。Detect the traffic consumed from the above-mentioned mobile phone hotspots, and issue a traffic reminder. 5.根据权利要求1或2或3所述的手机热点的识别方法,其特征在于,5. the identification method of mobile phone hotspot according to claim 1 or 2 or 3, is characterized in that, 判定待识别热点为手机热点后,停止软件的升级与更新。After determining that the hotspot to be identified is a mobile phone hotspot, stop the software upgrade and update. 6.一种手机热点的识别装置,其特征在于,包括:6. A mobile phone hotspot identification device, characterized in that it comprises: 热点选取模块,用于扫描当前环境下的热点,从中选择待识别的热点;The hotspot selection module is used to scan the hotspots in the current environment and select the hotspots to be identified; IP地址获取模块,用于连接待识别的热点,并获取由所述待识别的热点分配的IP地址;An IP address acquisition module, configured to connect to the hotspot to be identified, and acquire an IP address assigned by the hotspot to be identified; IP地址判断模块,用于查找手机热点所分配的IP地址的固定范围,将获取的IP地址与所述固定范围进行比较,确定所获取的IP地址是否在所述固定范围内,若在所述固定范围内,表明所述获取的IP地址是由手机热点分配,则判定所述待识别的热点为手机热点,给出提示,由用户决定是否放弃连接;若不在所述固定范围内,则判定所述待识别的热点不是手机热点,继续连接。The IP address judging module is used to find the fixed range of the IP address assigned by the hotspot of the mobile phone, compares the IP address obtained with the fixed range, and determines whether the obtained IP address is within the fixed range, if in the described fixed range Within a fixed range, it indicates that the obtained IP address is assigned by a mobile hotspot, then it is determined that the hotspot to be identified is a mobile hotspot, a prompt is given, and the user decides whether to give up the connection; if it is not within the fixed range, then determine If the hotspot to be identified is not a mobile phone hotspot, continue to connect. 7.根据权利要求6所述的手机热点的识别装置,其特征在于,7. the identification device of mobile phone hotspot according to claim 6, is characterized in that, 所述IP地址获取模块,还用于在获取IP地址的同时,获取待识别热点的加密方式;The IP address obtaining module is also used to obtain the encryption method of the hotspot to be identified while obtaining the IP address; 所述IP地址判断模块,还用于查找手机热点加密方式种类,确定所获取的加密方式是否在列,若在列,则进一步判定待识别的热点为手机热点。The IP address judging module is also used to search for the type of mobile phone hotspot encryption method, and determine whether the acquired encryption method is listed, and if it is listed, then further determine that the hotspot to be identified is a mobile phone hotspot. 8.根据权利要求7所述的手机热点的识别装置,其特征在于,8. the identification device of mobile phone hotspot according to claim 7, is characterized in that, 所述手机热点IP地址范围包括Android系统手机热点IP地址范围和IOS系统手机热点IP地址范围;Described mobile phone hotspot IP address range comprises Android system mobile phone hotspot IP address range and IOS system mobile phone hotspot IP address range; 所述手机热点加密方式种类包括Android系统手机热点加密方式和IOS系统手机热点加密方式;Described mobile phone hotspot encryption method kind comprises Android system mobile phone hotspot encryption method and IOS system mobile phone hotspot encryption method; 所述IP地址判断模块,还用于根据所获取的IP地址落在Android系统手机热点IP地址范围内还是落在IOS系统手机热点IP地址范围内,以及所获取的加密方式属于Android系统手机热点加密方式还是属于IOS系统手机热点加密方式,判定待识别热点为Android系统手机热点或IOS系统手机热点。The IP address judging module is also used for whether the obtained IP address falls within the range of the hotspot IP address of the Android system mobile phone or falls within the range of the IP address of the hotspot of the IOS system mobile phone, and the obtained encryption method belongs to the encryption of the hotspot of the Android system mobile phone The method still belongs to the hotspot encryption method of the IOS system mobile phone, and it is determined that the hotspot to be identified is a mobile phone hotspot of the Android system or a mobile phone hotspot of the IOS system. 9.根据权利要求6或7所述的手机热点的识别装置,其特征在于,9. The identification device of mobile phone hotspot according to claim 6 or 7, characterized in that, 还包括流量监控模块,用于在所述IP地址判断模块判定待识别热点为手机热点,且保持连接该手机热点后,检测从上述手机热点消耗的流量,并发出流量提示。It also includes a flow monitoring module, which is used to detect the flow consumed from the above-mentioned mobile hotspot after the IP address judging module determines that the hotspot to be identified is a mobile phone hotspot and keeps connected to the mobile phone hotspot, and sends a traffic reminder. 10.根据权利要求6或7所述的手机热点的识别装置,其特征在于,10. The identification device of mobile phone hotspot according to claim 6 or 7, is characterized in that, 还包括升级阻断模块,用于在所述IP地址判断模块判定待识别热点为手机热点后,停止软件的升级与更新。It also includes an upgrade blocking module, which is used to stop software upgrade and update after the IP address judging module judges that the hotspot to be identified is a mobile phone hotspot.
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
WO2018010160A1 (en) * 2016-07-15 2018-01-18 华为技术有限公司 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 flow control method and mobile terminal
CN107040965B (en) * 2017-05-10 2020-05-05 维沃移动通信有限公司 A flow control method, 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 access to network and portable WIFI hotspot device
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
TW201842825A (en) * 2012-04-27 2018-12-01 美商內數位專利控股公司 Method and device for detecting neighboring proximity

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 access to network and portable WIFI hotspot device
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
CN106465247B (en) Roaming network access method and device
CN104967997B (en) A kind of Wi-Fi cut-in method, Wi-Fi equipment, terminal device and system
WO2017020654A1 (en) Wireless network access method and device
US10009838B2 (en) Access point connection method and electronic device thereof
CN118972922A (en) Electronic device and method for operating access point information by the electronic device
CN106557311B (en) Electronic device and method for performing wireless communication
US20160007265A1 (en) Apparatus and method for controlling wireless network access and wireless data traffic
CN104735814A (en) Access method, system and related device for automatically getting access to WiFi network
US9094782B2 (en) Information-processing apparatus and computer-readable medium for wireless connection setting
EP3119133B1 (en) Roaming network access method and apparatus
US10212210B2 (en) Electronic device and method of providing information about the access point (AP)
CN104038925B (en) Communication device and communication system
WO2018103405A1 (en) Method for identifying access point and hotspot, and related product
CN111066348B (en) Network access method and terminal equipment
US20160308768A1 (en) Electronic device and method for operating communication of the same
CN105992390B (en) Method and system for connecting mobile terminal with WIFI router
US20180263078A1 (en) Non-transitory computer-readable storage medium storing computer-readable program for the terminal, terminal and method
KR20130079274A (en) Terminal and method for selecting access point with reliablility
CN105120506A (en) Method, system and mobile terminal for customizing WIFI hotspot priority and automatic connection
CN105657711B (en) A kind of method for connecting network and electronic equipment
CN106961710A (en) A kind of method for network access and terminal
WO2014146229A1 (en) Communication method and apparatus for nfc device, and nfc device
EP3160208B1 (en) Wireless network access point connection method and terminal
CN104581997B (en) A kind of mobile WIFI hot spot connection method and mobile equipment

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
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.

CI03 Correction of invention patent
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