WO2018006623A1 - Preferred access method for mobile wifi hotspot, hotspot device and terminal device - Google Patents

Preferred access method for mobile wifi hotspot, hotspot device and terminal device Download PDF

Info

Publication number
WO2018006623A1
WO2018006623A1 PCT/CN2017/077545 CN2017077545W WO2018006623A1 WO 2018006623 A1 WO2018006623 A1 WO 2018006623A1 CN 2017077545 W CN2017077545 W CN 2017077545W WO 2018006623 A1 WO2018006623 A1 WO 2018006623A1
Authority
WO
WIPO (PCT)
Prior art keywords
wifi hotspot
network
mobile
mobile wifi
network type
Prior art date
Application number
PCT/CN2017/077545
Other languages
French (fr)
Chinese (zh)
Inventor
岳宗鹤
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018006623A1 publication Critical patent/WO2018006623A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • H04W48/06Access restriction performed under specific conditions based on traffic conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Definitions

  • This document relates to, but is not limited to, the field of communication technologies, and relates to a method, a hotspot device and a terminal device for preferential access of a mobile WIFI hotspot.
  • WIFI Wireless Fidelity hotspots
  • ie wireless LAN access points are usually served by professional routers.
  • smart phones With the development of mobile communication technologies and intelligent terminals, smart phones generally support hotspot creation functions, which can virtualize a hotspot for other devices to connect and use the mobile network resources of the smart phone.
  • router devices such as CPE (Customer Premise Equipment), MIFI (Mobility Fidelity), etc.
  • CPE Customer Premise Equipment
  • MIFI Microbility Fidelity
  • Hotspots are used to access other Internet devices.
  • Smartphones, CPE, and MIFI can all be called mobile WIFI hotspots.
  • the terminal device can access the Internet by accessing the mobile WIFI hotspot through WIFI.
  • Most APPs (Applications) installed on smartphones are automatically upgraded and updated in the WIFI environment, and the data traffic consumed by the upgrades and updates is huge.
  • the data traffic consumed by the upgrades and updates is huge.
  • upgrades and updates are no small loss to the user.
  • the terminal device needs to consume mobile network data traffic eventually. If the traffic usage is too much or exceeds the package traffic limit, it will bring certain economic losses to the user.
  • the related schemes limit the scope of the virtual hotspot DHCP (Dynamic Host Configuration Protocol) to the mobile network data network to a limited number of fixed IP (Internet Protocol) network segments. After connecting to the WIFI and obtaining the IP address, it is determined whether the obtained IP address is within a fixed IP network segment. Determine whether the current hotspot is a mobile hotspot.
  • DHCP Dynamic Host Configuration Protocol
  • the related technical solutions are simple and easy to implement, they are not very reliable. For example, if the IP address of the router in the home is modified to any one of the IP segments listed in the scheme, the IP obtained by the terminal connected to the route will get an error according to the criterion of the scheme. The result of the judgment. Therefore, this solution has certain defects, and can not completely and accurately determine the type of access network corresponding to the hotspot. The related solution is likely to bring unnecessary economic loss to the user and cannot meet the user's needs.
  • a method for preferentially accessing a mobile WIFI hotspot, a hotspot device, and a terminal device are provided, which solves the problem that an unnecessary economic loss is easily caused to the user and the user's demand cannot be satisfied.
  • the embodiment of the invention provides a method for preferential access of a mobile WIFI hotspot, the method comprising:
  • the mobile WIFI hotspot device obtains the network type of the network to which it is connected;
  • Broadcast information is sent out according to the network type and the remaining traffic, where the broadcast information carries network information including the network type and traffic information including the remaining traffic.
  • the step of sending the broadcast information outward according to the network type and the remaining traffic includes:
  • the extension field of the broadcast frame is added with network information including the network type and traffic information including the remaining traffic.
  • the embodiment of the invention further provides a method for preferential access of a mobile WIFI hotspot, the method comprising:
  • the terminal device acquires broadcast information of at least one mobile WIFI hotspot device, and parses the broadcast Information, obtaining a network type of the network accessed by the mobile WIFI hotspot device, and remaining traffic of the mobile WIFI hotspot device in the network;
  • the first mobile WIFI hotspot with the highest priority is accessed.
  • the terminal device acquires broadcast information of the at least one mobile WIFI hotspot device, parses the broadcast information, acquires a network type of the network accessed by the mobile WIFI hotspot device, and the mobile WIFI hotspot device is in the network.
  • the remaining flow steps include:
  • the terminal device acquires a broadcast frame of at least one mobile WIFI hotspot device
  • the preset priority ordering rule includes:
  • the network type is the priority of the mobile WIFI hotspot of the fixed network broadband type, and is higher than the mobile WIFI hotspot whose network type is the mobile network type;
  • the mobile WIFI hotspot with the most remaining traffic displayed in the traffic information has the highest priority.
  • the method further includes:
  • the returning terminal device obtains broadcast information of at least one mobile WIFI hotspot device, and analyzes the The broadcast information is obtained, and the network type of the network accessed by the mobile WIFI hotspot device and the remaining traffic of the mobile WIFI hotspot device in the network are obtained.
  • the embodiment of the present invention further provides a mobile WIFI hotspot device, where the mobile WIFI hotspot device includes:
  • the first obtaining module is configured to acquire a network type of the network to which the user is connected;
  • a second obtaining module configured to obtain remaining traffic of the mobile WIFI hotspot device in the network
  • the sending module is configured to send out broadcast information according to the network type and the remaining traffic, where the broadcast information carries network information including the network type and traffic information including the remaining traffic.
  • the sending module is configured to:
  • the embodiment of the invention further provides a terminal device, where the terminal device includes:
  • a third acquiring module configured to acquire broadcast information of the at least one mobile WIFI hotspot device, parse the broadcast information, obtain a network type of the mobile WIFI hotspot device, and the mobile WIFI hotspot device in the network Remaining flow
  • the sorting module is configured to prioritize the mobile WIFI hotspots provided by the at least one mobile WIFI hotspot device according to the network type and the remaining traffic according to a preset priority ordering rule, and obtain a sorting result;
  • the access module is configured to access the first mobile WIFI hotspot with the highest priority according to the sorting result.
  • the third obtaining module is configured to:
  • the preset priority ordering rule includes:
  • the network type is the priority of the mobile WIFI hotspot of the fixed network broadband type, and is higher than the mobile WIFI hotspot whose network type is the mobile network type;
  • the mobile WIFI hotspot with the most remaining traffic displayed in the traffic information has the highest priority.
  • the terminal device further includes:
  • a looping module configured to: if the network type of the first mobile WIFI hotspot accessed is a mobile network type, returning to obtain broadcast information of at least one mobile WIFI hotspot device when the detected accessible mobile WIFI hotspot changes And parsing the broadcast information, acquiring a network type of the network accessed by the mobile WIFI hotspot device, and a step of the remaining traffic of the mobile WIFI hotspot device in the network.
  • the embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores computer executable instructions, and when the computer executable instructions are executed, the mobile WIFI hotspot device side mobile mobile hotspot device preferably accesses Methods.
  • the embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores computer executable instructions, and the method for implementing mobile WIFI hotspot preferential access of the terminal device end when the computer executable instructions are executed .
  • the method for preferentially accessing a mobile WIFI hotspot is based on the network type and traffic information of the mobile WIFI hotspot as a judgment condition, and is convenient for identifying the mobile network WIFI hotspot and the fixed network broadband WIFI hotspot according to each mobile WIFI hotspot.
  • the usage of the traffic package prioritize the mobile WIFI hotspot devices, and sort the results according to the priority, select the optimal mobile WIFI hotspot to access, so that the user can make a choice, thereby preferentially selecting the most economical connection.
  • the solution is simple and reliable, which can avoid the economic loss caused by users using mobile network traffic overrun.
  • FIG. 1 is a flowchart showing a method for preferential access of a mobile WIFI hotspot in the first embodiment of the present application
  • FIG. 2 is a flow chart showing a method for preferential access of a mobile WIFI hotspot in the second embodiment of the present application
  • FIG. 3 is a structural block diagram of a mobile WIFI hotspot device in a third embodiment of the present application.
  • FIG. 4 is a block diagram showing the structure of a terminal device in a third embodiment of the present application.
  • a method for preferentially accessing a mobile WIFI hotspot includes:
  • Step 101 The mobile WIFI hotspot device obtains the network type of the network accessed by the WIFI hotspot device;
  • the mobile WIFI hotspot device obtains the type of the network to which the WIFI hotspot device is connected, and the network type may be a fixed network broadband type or a mobile network type, and the network type of the mobile WIFI hotspot device itself is formed to be externally provided.
  • Step 102 Acquire remaining traffic of the mobile WIFI hotspot device in the network.
  • the hotspot device obtains the network type
  • the remaining traffic in the access network corresponding to the different network types is acquired and monitored, so as to provide a selection basis for other terminal devices that need to access the hotspot.
  • Step 103 Send broadcast information outward according to the network type and the remaining traffic.
  • the broadcast information carries network information including the network type and traffic information including the remaining traffic. After the broadcast information is sent out, the network type of the network accessed by the WIFI hotspot device and the process of acquiring the remaining traffic of the mobile WIFI hotspot device in the network may be continued, and the hotspot is broadcasted in steps 101 and 102.
  • Real-time traffic information Real-time monitoring of the current network and the remaining traffic in the network by the mobile WIFI hotspot device.
  • the network information may include: network speed information, network signal strength information, network type of the access network, and the like; the traffic information may include: usage of the data package, specifically including the total amount of the data package, Information content such as traffic and remaining traffic has been used.
  • the process of obtaining the remaining traffic of the mobile WIFI hotspot device in the network in step 102 may include: acquiring the mobile WIFI hotspot when the network type is the mobile network type.
  • the remaining traffic of the device in the mobile network type network In the case that there is limited traffic included in the charging or the tier according to the traffic in the fixed network broadband network type, the remaining traffic in the fixed network broadband type network also needs to be acquired and monitored.
  • the step of transmitting the broadcast information according to the network type and the remaining traffic may include: sending a broadcast frame outward according to the network type and the remaining traffic.
  • the network field of the network type and the traffic information including the remaining traffic are added to an extension field of the broadcast frame.
  • the mobile WIFI hotspot device periodically sends a broadcast frame
  • the broadcast frame includes the information of the hotspot provided
  • other WIFI terminal devices within the coverage of the signal can receive the broadcast frame of the hot spot.
  • the extension field may be added in the broadcast frame, and the network type information and the traffic information of the mobile WIFI hotspot may also be added to the broadcast frame extension field to be transmitted to the external terminal device to inform the external terminal device of the hotspot related information.
  • the method for preferentially accessing a mobile WIFI hotspot obtains the network type of the network accessed by the mobile WIFI hotspot device itself, and obtains the remaining traffic of the mobile WIFI hotspot device in the network, and sends the data on the basis of the mobile WIFI hotspot device.
  • the broadcast information including the network type and the remaining traffic is used to inform the external terminal device of the hotspot information to provide a selection basis for other terminal devices that need to access the hotspot, thereby facilitating the user to make a selection, thereby enabling the WIFI hotspot to use the terminal.
  • the most economical access solution can be preferentially selected, which is simple and reliable, and avoids the economic loss caused by the user's excessive use of mobile network traffic when the access network type is the mobile network type, and satisfies the user's needs.
  • a method for preferentially accessing a mobile WIFI hotspot includes:
  • Step 201 The terminal device acquires broadcast information of the at least one mobile WIFI hotspot device, parses the broadcast information, acquires a network type of the network accessed by the mobile WIFI hotspot device, and residual traffic of the mobile WIFI hotspot device in the network. ;
  • the terminal device parses the network type information and the remaining traffic information as a basis for determining the preferred access of the hotspot; in this embodiment, the terminal device can scan.
  • the device type is a smartphone, tablet, etc. that can be accessed by hotspots.
  • Step 202 Prioritize the mobile WIFI hotspots provided by the at least one mobile WIFI hotspot device according to the network type and the remaining traffic according to a preset priority ordering rule, and obtain a sorting result.
  • the terminal device performs priority ordering according to the network type information of the mobile WIFI hotspot and the remaining traffic information, so as to implement preferred access of the WIFI hotspot according to the sorting result.
  • the number of mobile WIFI hotspots provided by the at least one mobile WIFI hotspot device also corresponds to at least one.
  • Step 203 Access the first mobile WIFI hotspot with the highest priority according to the sorting result.
  • the terminal device accesses according to the priority of the mobile WIFI hotspot device, so as to preferentially select the hotspot access that does not consume traffic or the most remaining traffic packet when accessing the mobile WIFI hotspot.
  • the terminal device acquires broadcast information of the at least one mobile WIFI hotspot device, parses the broadcast information, acquires a network type of the network accessed by the mobile WIFI hotspot device, and the mobile WIFI hotspot device is in the network.
  • the steps of remaining traffic including:
  • the terminal device acquires a broadcast frame of the at least one mobile WIFI hotspot device; identifies an extension field in the broadcast frame according to the extension field identifier, and parses the network type included in the network information carried in the extension field, and the traffic information. The remaining flow included.
  • the WIFI hotspot periodically sends a broadcast frame, and the broadcast frame contains the information of the hot spot, and other WIFI terminal devices within the coverage of the signal can receive the broadcast frame of the hot spot.
  • An extension field may be added in the broadcast frame, and network type information and traffic information of the mobile WIFI hotspot may also be added to the broadcast frame extension field.
  • the format of a broadcast frame can be as shown in Table 1:
  • the terminal device receives the broadcast information of the mobile WIFI hotspot device, finds the extended field according to the extension field identifier 0XE0E2, and parses out the network type information and the remaining traffic information according to the table 1.
  • the process of obtaining the remaining traffic of the mobile WIFI hotspot device in the network in step 201 includes: acquiring remaining traffic of the mobile WIFI hotspot device in the mobile network type network.
  • the hotspot type can be determined before the terminal is connected to the WIFI hotspot.
  • the remaining traffic of the hotspot can also be obtained, so that the user can determine whether to continue the hotspot access.
  • the remaining traffic in the fixed-line broadband type network can also be acquired and monitored.
  • the preset priority ordering rule includes: a priority of the mobile WIFI hotspot of the network type of the fixed network broadband type, and a mobile WIFI hotspot of the mobile network type of the mobile network type; if multiple mobile WIFI hotspots are the same For the mobile network type, the mobile WIFI hotspot with the most remaining traffic displayed in the traffic information has the highest priority; if multiple mobile WIFI hotspots are of the fixed network broadband type, the mobile WIFI hotspot with the highest signal strength can be preferentially connected.
  • the terminal device performs priority ordering according to the network type information of the mobile WIFI hotspot and the remaining traffic information, and the terminal device performs access according to the priority ranking result.
  • the mobile WIFI hotspot of the fixed network broadband type is preferably accessed; if the mobile WIFI hotspot of the fixed broadband type does not exist, the mobile WIFI hotspot of the mobile network type is connected; if the multiple mobile WIFI hotspots are of the mobile network type, then The mobile WIFI hotspot device with the most remaining traffic is preferably accessed.
  • the method further includes:
  • the returning terminal device acquires at least one shift
  • the broadcast information of the WIFI hotspot device is analyzed, the broadcast information is parsed, the network type of the network accessed by the mobile WIFI hotspot device, and the remaining traffic of the mobile WIFI hotspot device in the network are obtained.
  • the terminal device After the terminal device scans and detects the WIFI hotspot, it detects that the mobile WIFI hotspot has changed, and then the terminal device reacquires the broadcast information of the at least one mobile WIFI hotspot device, and obtains the access network of the mobile WIFI hotspot device.
  • the network type, and the remaining traffic of the mobile WIFI hotspot device in the network automatically traverse the currently available mobile WIFI hotspot, and re-find the mobile WIFI hotspot with the highest priority to see whether there is a mobile WIFI hotspot of the fixed network broadband type.
  • the detected accessible mobile WIFI hotspot may be considered to change.
  • the method for preferentially accessing a mobile WIFI hotspot provided by the embodiment of the present invention, according to the network type and traffic information of the mobile WIFI hotspot as a judgment condition, identifies the mobile network WIFI hotspot and the fixed network broadband WIFI hotspot, and according to each mobile WIFI hotspot
  • the usage of the traffic package prioritize the mobile WIFI hotspots provided by the mobile WIFI hotspot device, and select the optimal mobile WIFI hotspot to access according to the priority ranking result, and preferentially select the fixed network broadband type and the most remaining traffic.
  • the hotspot access of the mobile network type facilitates the user to make a choice, thereby preferentially selecting the most economical access scheme, which is simple and reliable, and avoids the economic loss caused by the user's excessive use of mobile network traffic.
  • the embodiment provides a mobile WIFI hotspot device.
  • the mobile WIFI hotspot device includes: a first obtaining module 301, a second obtaining module 302, and a sending module 303; wherein:
  • the first obtaining module 301 is configured to acquire a network type of the network that the user accesses.
  • the second obtaining module 302 is configured to obtain the remaining traffic of the mobile WIFI hotspot device in the network.
  • the sending module 303 is configured to send out broadcast information according to the network type and the remaining traffic, where the broadcast information carries network information including the network type and traffic information including the remaining traffic.
  • the sending module 303 is configured to:
  • the mobile WIFI hotspot device further includes: an internet access module configured to access the network and a WIFI module configured to provide a WIFI hotspot.
  • the device in this embodiment may be a mobile network device such as a CPE or a MIFI, or may be a smart phone that starts a WIFI hotspot.
  • the mobile WIFI hotspot device obtained by the embodiment of the present invention obtains the network type of the network accessed by the mobile WIFI hotspot device and obtains the remaining traffic of the mobile WIFI hotspot device in the network, and then sends out the network type and
  • the broadcast information of the remaining traffic is used to inform the external terminal device of the hotspot related information to provide a selection basis for other terminal devices that need to access the hotspot, thereby facilitating the user to make a selection, thereby preferentially selecting the most economical access plan.
  • Simple and reliable it can avoid the economic loss caused by users using mobile network traffic overrun and meet user needs.
  • the embodiment further provides a terminal device, as shown in FIG. 4, comprising: a third obtaining module 401, a sorting module 402, and an access module 403;
  • the third obtaining module 401 is configured to acquire broadcast information of the at least one mobile WIFI hotspot device, parse the broadcast information, obtain a network type of the network accessed by the mobile WIFI hotspot device, and the mobile WIFI hotspot device is The remaining traffic in the network.
  • the sorting module 402 is configured to prioritize the mobile WIFI hotspots provided by the at least one mobile WIFI hotspot device according to the network type and the remaining traffic according to a preset priority ordering rule, and obtain a sorting result.
  • the access module 403 is configured to access the first mobile WIFI hotspot with the highest priority according to the sorting result.
  • the third obtaining module 401 is configured to: acquire at least one mobile WIFI.
  • the broadcast frame of the hotspot device is configured to identify the extended field in the broadcast frame according to the extended field identifier, and parse the network type included in the network information carried in the extended field, and the remaining traffic included in the traffic information.
  • the preset priority ordering rule includes:
  • the network type is the priority of the mobile WIFI hotspot of the fixed network broadband type, and is higher than the mobile WIFI hotspot of the mobile network type; if the multiple mobile WIFI hotspots are of the mobile network type, the remaining traffic displayed in the traffic information The most mobile WIFI hotspots have the highest priority.
  • the terminal device further includes:
  • a looping module configured to: if the network type of the first mobile WIFI hotspot accessed is a mobile network type, returning to obtain broadcast information of at least one mobile WIFI hotspot device when the detected accessible mobile WIFI hotspot changes And parsing the broadcast information, acquiring a network type of the network accessed by the mobile WIFI hotspot device, and a step of the remaining traffic of the mobile WIFI hotspot device in the network.
  • the terminal device may have a WIFI chip configured to scan and detect a mobile WIFI hotspot and connect to a mobile WIFI hotspot.
  • the terminal device provided by the embodiment of the present invention identifies the mobile network WIFI hotspot and the fixed network broadband WIFI hotspot according to the network type and traffic information of the mobile WIFI hotspot, and according to the usage of the mobile package of each mobile WIFI hotspot, Priority is sorted on the mobile WIFI hotspot provided by the mobile WIFI hotspot device, and the optimal mobile WIFI hotspot is selected according to the priority ranking result, thereby facilitating the user to make a selection, thereby preferentially selecting the most economical access.
  • the solution is simple and reliable, and can avoid the economic loss caused by users using mobile network traffic exceeding the limit.
  • the embodiment further discloses a system for preferential access of a mobile WIFI hotspot, the system comprising any of the foregoing mobile WIFI hotspot devices and any of the foregoing terminal devices.
  • the embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores computer executable instructions, and when the computer executable instructions are executed, implementing mobile WIFI hotspot selection of the mobile WIFI hotspot device end Access method.
  • the embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores computer executable instructions, and the method for implementing mobile WIFI hotspot preferential access of the terminal device end when the computer executable instructions are executed .
  • the computer readable storage medium stores computer executable instructions
  • the method for implementing mobile WIFI hotspot preferential access of the terminal device end when the computer executable instructions are executed .
  • a program to instruct related hardware such as a processor
  • a computer readable storage medium such as a read only memory, disk or optical disk. Wait.
  • all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits.
  • each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
  • This application is not limited to any specific combination of hardware and software.
  • the above technical solution can enable the user to preferentially select the most economical access solution, which is simple and reliable, and can avoid the economic loss caused by the user exceeding the limit of the mobile network traffic.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A preferred access method for a mobile WIFI hotspot, a hotspot device and a terminal device. The method comprises: a mobile WIFI hotspot device acquiring a network type of a network accessed thereby; acquiring remaining traffic of the mobile WIFI hotspot device in a network; and according to the network type and the remaining traffic, outwardly sending broadcast information, wherein the broadcast information carries network information including the network type and traffic information including the remaining traffic. This solution is simple and reliable, and can prevent economic losses caused due to the fact that the use of the network by a user exceeds mobile network traffic.

Description

移动WIFI热点优选接入的方法、热点设备及终端设备Mobile WIFI hotspot preferred access method, hotspot device and terminal device 技术领域Technical field
本文涉及但不限于通信技术领域,涉及一种移动WIFI热点优选接入的方法、热点设备及终端设备。This document relates to, but is not limited to, the field of communication technologies, and relates to a method, a hotspot device and a terminal device for preferential access of a mobile WIFI hotspot.
背景技术Background technique
随着移动通信技术的不断发展,移动数据网络已经广泛运用于人们的日常生活中特别是第三代及第四代通信技术时代的到来,使得移动数据网络的传输速度得到了很大提升。With the continuous development of mobile communication technology, mobile data networks have been widely used in people's daily life, especially in the era of third-generation and fourth-generation communication technologies, which has greatly improved the transmission speed of mobile data networks.
WIFI(Wireless Fidelity,无线保真)热点,即无线局域网接入点,通常由专业的路由器充当。随着移动通信技术及智能终端的发展,智能手机普遍支持热点创建功能,可以虚拟出一个热点,供其他设备连接,共同使用智能手机的移动网络资源。WIFI (Wireless Fidelity) hotspots, ie wireless LAN access points, are usually served by professional routers. With the development of mobile communication technologies and intelligent terminals, smart phones generally support hotspot creation functions, which can virtualize a hotspot for other devices to connect and use the mobile network resources of the smart phone.
另外还有一些路由器设备,如CPE(Customer Premise Equipment,客户终端设备)、MIFI(Mobility Fidelity,移动保真)等,既可接入固网宽带网络提供热点,也可接入移动网络,提供WIFI热点供其他终端设备接入上网。智能手机、CPE、MIFI都可以称为是移动WIFI热点。In addition, there are some router devices, such as CPE (Customer Premise Equipment), MIFI (Mobility Fidelity), etc., which can access fixed-line broadband networks to provide hotspots, as well as access mobile networks and provide WIFI. Hotspots are used to access other Internet devices. Smartphones, CPE, and MIFI can all be called mobile WIFI hotspots.
终端设备通过WIFI接入移动WIFI热点,就可以访问互联网。目前,智能手机上安装的大部分APP(Application,应用程序)都会在WIFI环境下进行自动升级和更新,而升级和更新所耗费的数据流量都是巨大的,对于按照流量来计算费用的移动网络来说,这样的升级和更新都对用户来说都是不小的损失。当移动WIFI热点设备接入移动网络时,终端设备上网最终需要消耗移动网络数据流量,如果流量使用过多或者超过套餐流量限制,就会给用户带来一定的经济损失。The terminal device can access the Internet by accessing the mobile WIFI hotspot through WIFI. At present, most APPs (Applications) installed on smartphones are automatically upgraded and updated in the WIFI environment, and the data traffic consumed by the upgrades and updates is huge. For mobile networks that calculate charges according to traffic. In fact, such upgrades and updates are no small loss to the user. When the mobile WIFI hotspot device accesses the mobile network, the terminal device needs to consume mobile network data traffic eventually. If the traffic usage is too much or exceeds the package traffic limit, it will bring certain economic losses to the user.
目前相关的方案,使接入移动数据网络的虚拟热点DHCP(Dynamic Host Configuration Protocol,动态主机配置协议)的范围限制在几个固定的IP(Internet Protocol,网络互联协议)网段范围内,终端设备连接WIFI并且获取到IP地址后,通过判断所获取到的IP地址是否在固定的IP网段范围内来 判断当前热点是否为手机热点。Currently, the related schemes limit the scope of the virtual hotspot DHCP (Dynamic Host Configuration Protocol) to the mobile network data network to a limited number of fixed IP (Internet Protocol) network segments. After connecting to the WIFI and obtaining the IP address, it is determined whether the obtained IP address is within a fixed IP network segment. Determine whether the current hotspot is a mobile hotspot.
相关的技术方案虽然简单易行,但是却并不十分可靠。比如将家里的路由器的IP地址修改为该方案中所列出的几个IP段内的任何一个,那么通过连接到此路由的终端获取到的IP来根据该方案的判别标准将会得出错误的判断结果。所以此方案存在一定的缺陷,并不能完全准确的判别出热点对应的接入网络的类型,相关方案容易给用户带来不必要的经济损失,不能满足用户需求。Although the related technical solutions are simple and easy to implement, they are not very reliable. For example, if the IP address of the router in the home is modified to any one of the IP segments listed in the scheme, the IP obtained by the terminal connected to the route will get an error according to the criterion of the scheme. The result of the judgment. Therefore, this solution has certain defects, and can not completely and accurately determine the type of access network corresponding to the hotspot. The related solution is likely to bring unnecessary economic loss to the user and cannot meet the user's needs.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例中提供一种移动WIFI热点优选接入的方法、热点设备及终端设备,解决了容易给用户带来不必要的经济损失,不能满足用户需求的问题。In the embodiment of the present invention, a method for preferentially accessing a mobile WIFI hotspot, a hotspot device, and a terminal device are provided, which solves the problem that an unnecessary economic loss is easily caused to the user and the user's demand cannot be satisfied.
本发明实施例提供一种移动WIFI热点优选接入的方法,所述方法包括:The embodiment of the invention provides a method for preferential access of a mobile WIFI hotspot, the method comprising:
移动WIFI热点设备获取自身所接入网络的网络类型;The mobile WIFI hotspot device obtains the network type of the network to which it is connected;
获取移动WIFI热点设备在网络中的剩余流量;Obtaining the remaining traffic of the mobile WIFI hotspot device in the network;
根据所述网络类型及所述剩余流量,向外发送广播信息,所述广播信息中携带有包含所述网络类型的网络信息及包含所述剩余流量的流量信息。Broadcast information is sent out according to the network type and the remaining traffic, where the broadcast information carries network information including the network type and traffic information including the remaining traffic.
可选地,所述根据所述网络类型及所述剩余流量,向外发送广播信息的步骤,包括:Optionally, the step of sending the broadcast information outward according to the network type and the remaining traffic includes:
根据所述网络类型及所述剩余流量,向外发送广播帧;Sending a broadcast frame outward according to the network type and the remaining traffic;
所述广播帧的扩展字段中添加有包含所述网络类型的网络信息及包含所述剩余流量的流量信息。The extension field of the broadcast frame is added with network information including the network type and traffic information including the remaining traffic.
本发明实施例还提供一种移动WIFI热点优选接入的方法,所述方法包括:The embodiment of the invention further provides a method for preferential access of a mobile WIFI hotspot, the method comprising:
终端设备获取至少一个移动WIFI热点设备的广播信息,解析所述广播 信息,获取所述移动WIFI热点设备所接入网络的网络类型,及所述移动WIFI热点设备在网络中的剩余流量;The terminal device acquires broadcast information of at least one mobile WIFI hotspot device, and parses the broadcast Information, obtaining a network type of the network accessed by the mobile WIFI hotspot device, and remaining traffic of the mobile WIFI hotspot device in the network;
根据所述网络类型及所述剩余流量,按预设的优先级排序规则,对至少一个所述移动WIFI热点设备提供的移动WIFI热点进行优先级排序,并得到排序结果;And prior to the network type and the remaining traffic, sorting the mobile WIFI hotspots provided by the at least one mobile WIFI hotspot device according to a preset priority ordering rule, and obtaining a sorting result;
根据所述排序结果,接入优先级最高的第一移动WIFI热点。According to the sorting result, the first mobile WIFI hotspot with the highest priority is accessed.
可选地,所述终端设备获取至少一个移动WIFI热点设备的广播信息,解析所述广播信息,获取所述移动WIFI热点设备所接入网络的网络类型,及所述移动WIFI热点设备在网络中的剩余流量的步骤,包括:Optionally, the terminal device acquires broadcast information of the at least one mobile WIFI hotspot device, parses the broadcast information, acquires a network type of the network accessed by the mobile WIFI hotspot device, and the mobile WIFI hotspot device is in the network. The remaining flow steps include:
终端设备获取至少一个移动WIFI热点设备的广播帧;The terminal device acquires a broadcast frame of at least one mobile WIFI hotspot device;
根据扩展字段标识识别所述广播帧中的扩展字段,解析得到所述扩展字段中携带的网络信息中包含的所述网络类型,及流量信息中包含的所述剩余流量。Identifying an extension field in the broadcast frame according to the extension field identifier, and parsing the network type included in the network information carried in the extension field, and the remaining traffic included in the traffic information.
可选地,所述预设的优先级排序规则,包括:Optionally, the preset priority ordering rule includes:
网络类型为固网宽带类型的移动WIFI热点的优先级,高于网络类型为移动网络类型的移动WIFI热点;The network type is the priority of the mobile WIFI hotspot of the fixed network broadband type, and is higher than the mobile WIFI hotspot whose network type is the mobile network type;
若多个移动WIFI热点同为移动网络类型,则所述流量信息中显示的剩余流量最多的移动WIFI热点具有最高优先级。If the plurality of mobile WIFI hotspots are the same as the mobile network type, the mobile WIFI hotspot with the most remaining traffic displayed in the traffic information has the highest priority.
可选地,所述根据所述排序结果,接入优先级最高的第一移动WIFI热点的步骤之后,所述方法还包括:Optionally, after the step of accessing the first mobile WIFI hotspot with the highest priority according to the sorting result, the method further includes:
若接入的所述第一移动WIFI热点的网络类型为移动网络类型,在检测到的可接入的移动WIFI热点发生变化时,返回终端设备获取至少一个移动WIFI热点设备的广播信息,解析所述广播信息,获取所述移动WIFI热点设备所接入网络的网络类型,及所述移动WIFI热点设备在网络中的剩余流量的步骤。If the network type of the first mobile WIFI hotspot that is accessed is a mobile network type, when the detected mobile WIFI hotspot changes, the returning terminal device obtains broadcast information of at least one mobile WIFI hotspot device, and analyzes the The broadcast information is obtained, and the network type of the network accessed by the mobile WIFI hotspot device and the remaining traffic of the mobile WIFI hotspot device in the network are obtained.
本发明实施例还提供一种移动WIFI热点设备,所述移动WIFI热点设备包括:The embodiment of the present invention further provides a mobile WIFI hotspot device, where the mobile WIFI hotspot device includes:
第一获取模块,设置为获取自身所接入网络的网络类型; The first obtaining module is configured to acquire a network type of the network to which the user is connected;
第二获取模块,设置为获取移动WIFI热点设备在网络中的剩余流量;a second obtaining module, configured to obtain remaining traffic of the mobile WIFI hotspot device in the network;
发送模块,设置为根据所述网络类型及所述剩余流量,向外发送广播信息,所述广播信息中携带有包含所述网络类型的网络信息及包含所述剩余流量的流量信息。The sending module is configured to send out broadcast information according to the network type and the remaining traffic, where the broadcast information carries network information including the network type and traffic information including the remaining traffic.
可选地,所述发送模块是设置为:Optionally, the sending module is configured to:
根据所述网络类型及所述剩余流量,向外发送广播帧;所述广播帧的扩展字段中添加有包含所述网络类型的网络信息及包含所述剩余流量的流量信息。Transmitting a broadcast frame according to the network type and the remaining traffic; and adding, by the extension field of the broadcast frame, network information including the network type and traffic information including the remaining traffic.
本发明实施例还提供一种终端设备,所述终端设备包括:The embodiment of the invention further provides a terminal device, where the terminal device includes:
第三获取模块,设置为获取至少一个移动WIFI热点设备的广播信息,解析所述广播信息,获取所述移动WIFI热点设备所接入网络的网络类型,及所述移动WIFI热点设备在网络中的剩余流量;a third acquiring module, configured to acquire broadcast information of the at least one mobile WIFI hotspot device, parse the broadcast information, obtain a network type of the mobile WIFI hotspot device, and the mobile WIFI hotspot device in the network Remaining flow
排序模块,设置为根据所述网络类型及所述剩余流量,按预设的优先级排序规则,对至少一个所述移动WIFI热点设备提供的移动WIFI热点进行优先级排序,并得到排序结果;The sorting module is configured to prioritize the mobile WIFI hotspots provided by the at least one mobile WIFI hotspot device according to the network type and the remaining traffic according to a preset priority ordering rule, and obtain a sorting result;
接入模块,设置为根据所述排序结果,接入优先级最高的第一移动WIFI热点。The access module is configured to access the first mobile WIFI hotspot with the highest priority according to the sorting result.
可选地,所述第三获取模块是设置为:Optionally, the third obtaining module is configured to:
获取至少一个移动WIFI热点设备的广播帧;根据扩展字段标识识别所述广播帧中的扩展字段,解析得到所述扩展字段中携带的网络信息中包含的所述网络类型,及流量信息中包含的所述剩余流量。Obtaining a broadcast frame of the at least one mobile WIFI hotspot device; identifying an extended field in the broadcast frame according to the extended field identifier, parsing the network type included in the network information carried in the extended field, and the traffic information included in the traffic information The remaining flow.
可选地,所述预设的优先级排序规则,包括:Optionally, the preset priority ordering rule includes:
网络类型为固网宽带类型的移动WIFI热点的优先级,高于网络类型为移动网络类型的移动WIFI热点;The network type is the priority of the mobile WIFI hotspot of the fixed network broadband type, and is higher than the mobile WIFI hotspot whose network type is the mobile network type;
若多个移动WIFI热点同为移动网络类型,则所述流量信息中显示的剩余流量最多的移动WIFI热点具有最高优先级。If the plurality of mobile WIFI hotspots are the same as the mobile network type, the mobile WIFI hotspot with the most remaining traffic displayed in the traffic information has the highest priority.
可选地,所述终端设备还包括: Optionally, the terminal device further includes:
循环模块,设置为若接入的所述第一移动WIFI热点的网络类型为移动网络类型,在检测到的可接入的移动WIFI热点发生变化时,返回获取至少一个移动WIFI热点设备的广播信息,解析所述广播信息,获取所述移动WIFI热点设备所接入网络的网络类型,及所述移动WIFI热点设备在网络中的剩余流量的步骤。a looping module, configured to: if the network type of the first mobile WIFI hotspot accessed is a mobile network type, returning to obtain broadcast information of at least one mobile WIFI hotspot device when the detected accessible mobile WIFI hotspot changes And parsing the broadcast information, acquiring a network type of the network accessed by the mobile WIFI hotspot device, and a step of the remaining traffic of the mobile WIFI hotspot device in the network.
本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机可执行指令,所述计算机可执行指令被执行时实现移动WIFI热点设备端的移动WIFI热点优选接入的方法。The embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores computer executable instructions, and when the computer executable instructions are executed, the mobile WIFI hotspot device side mobile mobile hotspot device preferably accesses Methods.
本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机可执行指令,所述计算机可执行指令被执行时实现终端设备端的移动WIFI热点优选接入的方法。The embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores computer executable instructions, and the method for implementing mobile WIFI hotspot preferential access of the terminal device end when the computer executable instructions are executed .
本申请的一个或多个实施例具有以下有益效果:One or more embodiments of the present application have the following beneficial effects:
本发明实施例提供的移动WIFI热点优选接入的方法,根据移动WIFI热点的网络类型和流量信息作为判断条件,便于将移动网络WIFI热点和固网宽带WIFI热点识别出来,依据每个移动WIFI热点的流量套餐使用情况,对移动WIFI热点设备进行优先级排序,并按照优先级排序结果,选择最优的移动WIFI热点进行接入,从而方便用户做出选择,由此可以优先选择最经济的接入方案,简单可靠,可以避免用户使用移动网络流量超限带来的经济损失。The method for preferentially accessing a mobile WIFI hotspot provided by the embodiment of the present invention is based on the network type and traffic information of the mobile WIFI hotspot as a judgment condition, and is convenient for identifying the mobile network WIFI hotspot and the fixed network broadband WIFI hotspot according to each mobile WIFI hotspot. The usage of the traffic package, prioritize the mobile WIFI hotspot devices, and sort the results according to the priority, select the optimal mobile WIFI hotspot to access, so that the user can make a choice, thereby preferentially selecting the most economical connection. The solution is simple and reliable, which can avoid the economic loss caused by users using mobile network traffic overrun.
在阅读并理解了附图和详细描述后,可以明白其它方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图说明DRAWINGS
图1表示本申请第一实施例中移动WIFI热点优选接入的方法的流程图;1 is a flowchart showing a method for preferential access of a mobile WIFI hotspot in the first embodiment of the present application;
图2表示本申请第二实施例中移动WIFI热点优选接入的方法的流程图;2 is a flow chart showing a method for preferential access of a mobile WIFI hotspot in the second embodiment of the present application;
图3表示本申请第三实施例中移动WIFI热点设备的结构框图;3 is a structural block diagram of a mobile WIFI hotspot device in a third embodiment of the present application;
图4表示本申请第三实施例中终端设备的结构框图。 4 is a block diagram showing the structure of a terminal device in a third embodiment of the present application.
具体实施方式detailed description
下面将参照附图描述本申请的示例性实施例。虽然附图中显示了本申请的示例性实施例,然而应当理解,可以以各种形式实现本申请而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本申请,并且能够将本申请的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present application will be described below with reference to the drawings. While the exemplary embodiments of the present invention are shown in the drawings, it is understood that the invention may be embodied in various forms and not limited by the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be more fully understood, and the scope of the application can be fully conveyed to those skilled in the art.
第一实施例First embodiment
本实施例中提供了一种移动WIFI热点优选接入的方法,结合图1所示,包括:In this embodiment, a method for preferentially accessing a mobile WIFI hotspot is provided. As shown in FIG. 1, the method includes:
步骤101:移动WIFI热点设备获取自身所接入网络的网络类型;Step 101: The mobile WIFI hotspot device obtains the network type of the network accessed by the WIFI hotspot device;
该步骤中,移动WIFI热点设备获取其所接入的网络类型,该网络类型可以是固网宽带类型或者移动网络类型,该移动WIFI热点设备自身所接入网络的网络类型形成为其向外提供的移动WIFI热点的网络类型;可选地,上述的移动WIFI热点设备,可以接入移动网络并提供WIFI热点,典型的设备是CPE或者MIFI等移动网络设备;也可以是开启WIFI热点的智能手机。In this step, the mobile WIFI hotspot device obtains the type of the network to which the WIFI hotspot device is connected, and the network type may be a fixed network broadband type or a mobile network type, and the network type of the mobile WIFI hotspot device itself is formed to be externally provided. The network type of the mobile WIFI hotspot; optionally, the mobile WIFI hotspot device can access the mobile network and provide a WIFI hotspot, and the typical device is a mobile network device such as CPE or MIFI; or a smart phone that opens a WIFI hotspot .
步骤102:获取移动WIFI热点设备在网络中的剩余流量;Step 102: Acquire remaining traffic of the mobile WIFI hotspot device in the network.
该步骤中,在热点设备获取到网络类型后,对不同网络类型所对应的接入网络中的剩余流量进行获取及监控,以为其他需要接入热点的终端设备提供选择依据。In this step, after the hotspot device obtains the network type, the remaining traffic in the access network corresponding to the different network types is acquired and monitored, so as to provide a selection basis for other terminal devices that need to access the hotspot.
步骤103:根据所述网络类型及所述剩余流量,向外发送广播信息。Step 103: Send broadcast information outward according to the network type and the remaining traffic.
其中,该广播信息中携带有包含所述网络类型的网络信息及包含所述剩余流量的流量信息。在向外发送广播信息之后,可继续进入获取自身所接入网络的网络类型,及移动WIFI热点设备在网络中的剩余流量的获取过程,循环进行步骤101和步骤102,就可以及时广播该热点的实时流量信息。实现移动WIFI热点设备对当前网络及在网络中剩余流量的实时监控。The broadcast information carries network information including the network type and traffic information including the remaining traffic. After the broadcast information is sent out, the network type of the network accessed by the WIFI hotspot device and the process of acquiring the remaining traffic of the mobile WIFI hotspot device in the network may be continued, and the hotspot is broadcasted in steps 101 and 102. Real-time traffic information. Real-time monitoring of the current network and the remaining traffic in the network by the mobile WIFI hotspot device.
在本实施例中,该网络信息可以包括:网速信息、网络信号强弱信息、接入网络的网络类型等信息内容;该流量信息可以包括:流量套餐使用情况,具体包括流量套餐总量、已使用流量和剩余流量等信息内容。In this embodiment, the network information may include: network speed information, network signal strength information, network type of the access network, and the like; the traffic information may include: usage of the data package, specifically including the total amount of the data package, Information content such as traffic and remaining traffic has been used.
可选地,步骤102中的该获取移动WIFI热点设备在网络中的剩余流量的过程中,可以包括:在网络类型为移动网络类型时,获取移动WIFI热点 设备在移动网络类型的网络中的剩余流量。在对应于固网宽带网络类型中存在根据流量进行计费或者套餐中包含的有限流量的情况下,同样需要对固网宽带类型的网络中的剩余流量进行获取及监控。Optionally, the process of obtaining the remaining traffic of the mobile WIFI hotspot device in the network in step 102 may include: acquiring the mobile WIFI hotspot when the network type is the mobile network type. The remaining traffic of the device in the mobile network type network. In the case that there is limited traffic included in the charging or the tier according to the traffic in the fixed network broadband network type, the remaining traffic in the fixed network broadband type network also needs to be acquired and monitored.
可选地地,该根据所述网络类型及所述剩余流量,向外发送广播信息的步骤,可以包括:根据网络类型及所述剩余流量,向外发送广播帧。Optionally, the step of transmitting the broadcast information according to the network type and the remaining traffic may include: sending a broadcast frame outward according to the network type and the remaining traffic.
其中,该广播帧的扩展字段中添加有包含所述网络类型的网络信息及包含所述剩余流量的流量信息。The network field of the network type and the traffic information including the remaining traffic are added to an extension field of the broadcast frame.
在本实施例中,移动WIFI热点设备会定时发送广播帧,广播帧中包含该提供的热点的信息,信号覆盖范围内的其他WIFI终端设备可以收到热点的广播帧。广播帧中可以增加扩展字段,移动WIFI热点的网络类型信息和流量信息也可以添加到广播帧扩展字段中,以向外传递,告知外部终端设备该热点的相关信息。In this embodiment, the mobile WIFI hotspot device periodically sends a broadcast frame, and the broadcast frame includes the information of the hotspot provided, and other WIFI terminal devices within the coverage of the signal can receive the broadcast frame of the hot spot. The extension field may be added in the broadcast frame, and the network type information and the traffic information of the mobile WIFI hotspot may also be added to the broadcast frame extension field to be transmitted to the external terminal device to inform the external terminal device of the hotspot related information.
本发明实施例提供的移动WIFI热点优选接入的方法,通过获取移动WIFI热点设备自身所接入网络的网络类型,及获取移动WIFI热点设备在网络中的剩余流量,在此基础上向外发送包含网络类型及剩余流量的广播信息,以向外告知外部终端设备该热点的相关信息,为其他需要接入热点的终端设备提供选择依据,从而方便用户做出选择,由此使WIFI热点使用终端可以优先选择最经济的接入方案,简单可靠,避免在当接入网络类型为移动网络类型时,用户使用移动网络流量超限带来的经济损失,满足用户需求。The method for preferentially accessing a mobile WIFI hotspot provided by the embodiment of the present invention obtains the network type of the network accessed by the mobile WIFI hotspot device itself, and obtains the remaining traffic of the mobile WIFI hotspot device in the network, and sends the data on the basis of the mobile WIFI hotspot device. The broadcast information including the network type and the remaining traffic is used to inform the external terminal device of the hotspot information to provide a selection basis for other terminal devices that need to access the hotspot, thereby facilitating the user to make a selection, thereby enabling the WIFI hotspot to use the terminal. The most economical access solution can be preferentially selected, which is simple and reliable, and avoids the economic loss caused by the user's excessive use of mobile network traffic when the access network type is the mobile network type, and satisfies the user's needs.
第二实施例Second embodiment
本实施例中提供了一种移动WIFI热点优选接入的方法,结合图2所示,包括:In this embodiment, a method for preferentially accessing a mobile WIFI hotspot is provided. As shown in FIG. 2, the method includes:
步骤201:终端设备获取至少一个移动WIFI热点设备的广播信息,解析所述广播信息,获取所述移动WIFI热点设备所接入网络的网络类型,及所述移动WIFI热点设备在网络中的剩余流量;Step 201: The terminal device acquires broadcast information of the at least one mobile WIFI hotspot device, parses the broadcast information, acquires a network type of the network accessed by the mobile WIFI hotspot device, and residual traffic of the mobile WIFI hotspot device in the network. ;
该步骤中,终端设备接收到移动WIFI热点设备的广播信息后,解析出网络类型信息和剩余流量信息,以作为进行热点优选接入的判断依据;在本实施例中,该终端设备为可以扫描检测WIFI热点并连接WIFI热点的设备, 设备类型是可以进行热点接入的智能手机、平板电脑等。In this step, after receiving the broadcast information of the mobile WIFI hotspot device, the terminal device parses the network type information and the remaining traffic information as a basis for determining the preferred access of the hotspot; in this embodiment, the terminal device can scan. A device that detects a WIFI hotspot and connects to a WIFI hotspot. The device type is a smartphone, tablet, etc. that can be accessed by hotspots.
步骤202:根据所述网络类型及所述剩余流量,按预设的优先级排序规则,对至少一个所述移动WIFI热点设备提供的移动WIFI热点进行优先级排序,并得到排序结果;Step 202: Prioritize the mobile WIFI hotspots provided by the at least one mobile WIFI hotspot device according to the network type and the remaining traffic according to a preset priority ordering rule, and obtain a sorting result.
该步骤中,终端设备根据移动WIFI热点的网络类型信息和剩余流量信息进行优先级排序,以根据排序结果实现WIFI热点的优选接入。其中,至少一个移动WIFI热点设备所提供的移动WIFI热点数量也对应为至少一个。In this step, the terminal device performs priority ordering according to the network type information of the mobile WIFI hotspot and the remaining traffic information, so as to implement preferred access of the WIFI hotspot according to the sorting result. The number of mobile WIFI hotspots provided by the at least one mobile WIFI hotspot device also corresponds to at least one.
步骤203:根据所述排序结果,接入优先级最高的第一移动WIFI热点。Step 203: Access the first mobile WIFI hotspot with the highest priority according to the sorting result.
本步骤中,终端设备根据移动WIFI热点设备的优先级进行接入,以实现在接入移动WIFI热点上网时,优先选择不消耗流量或者流量套餐剩余最多的热点接入。In this step, the terminal device accesses according to the priority of the mobile WIFI hotspot device, so as to preferentially select the hotspot access that does not consume traffic or the most remaining traffic packet when accessing the mobile WIFI hotspot.
可选地,该终端设备获取至少一个移动WIFI热点设备的广播信息,解析所述广播信息,获取所述移动WIFI热点设备所接入网络的网络类型,及所述移动WIFI热点设备在网络中的剩余流量的步骤,包括:Optionally, the terminal device acquires broadcast information of the at least one mobile WIFI hotspot device, parses the broadcast information, acquires a network type of the network accessed by the mobile WIFI hotspot device, and the mobile WIFI hotspot device is in the network. The steps of remaining traffic, including:
终端设备获取至少一个移动WIFI热点设备的广播帧;根据扩展字段标识识别所述广播帧中的扩展字段,解析得到所述扩展字段中携带的网络信息中包含的所述网络类型,及流量信息中包含的所述剩余流量。The terminal device acquires a broadcast frame of the at least one mobile WIFI hotspot device; identifies an extension field in the broadcast frame according to the extension field identifier, and parses the network type included in the network information carried in the extension field, and the traffic information. The remaining flow included.
WIFI热点会定时发送广播帧,广播帧中包含该热点的信息,信号覆盖范围内的其他WIFI终端设备可以收到热点的广播帧。广播帧中可以增加扩展字段,移动WIFI热点的网络类型信息和流量信息也可以添加到广播帧扩展字段中。The WIFI hotspot periodically sends a broadcast frame, and the broadcast frame contains the information of the hot spot, and other WIFI terminal devices within the coverage of the signal can receive the broadcast frame of the hot spot. An extension field may be added in the broadcast frame, and network type information and traffic information of the mobile WIFI hotspot may also be added to the broadcast frame extension field.
例如,广播帧的格式可以如表1格式所示:For example, the format of a broadcast frame can be as shown in Table 1:
Figure PCTCN2017077545-appb-000001
Figure PCTCN2017077545-appb-000001
Figure PCTCN2017077545-appb-000002
Figure PCTCN2017077545-appb-000002
表1Table 1
终端设备接收到移动WIFI热点设备的广播信息,根据扩展字段标示0XE0E2找到扩展字段,根据表1可以格式解析出网络类型信息和剩余流量信息。The terminal device receives the broadcast information of the mobile WIFI hotspot device, finds the extended field according to the extension field identifier 0XE0E2, and parses out the network type information and the remaining traffic information according to the table 1.
可选地,步骤201中的获取移动WIFI热点设备在网络中的剩余流量的过程中,包括:获取移动WIFI热点设备在移动网络类型的网络中的剩余流量。在本实施例中,在终端连接上WIFI热点之前就可以进行热点类型的判断,在判断该热点为移动网络类型后,还可以获取该热点的剩余流量,方便用户判断是否继续进行热点接入。对应地,在固网宽带网络类型中存在根据流量进行计费或者套餐中包含的有限流量的情况下,同样可以对固网宽带类型的网络中的剩余流量进行获取及监控。Optionally, the process of obtaining the remaining traffic of the mobile WIFI hotspot device in the network in step 201 includes: acquiring remaining traffic of the mobile WIFI hotspot device in the mobile network type network. In this embodiment, the hotspot type can be determined before the terminal is connected to the WIFI hotspot. After determining that the hotspot is the mobile network type, the remaining traffic of the hotspot can also be obtained, so that the user can determine whether to continue the hotspot access. Correspondingly, in the case of a fixed-line broadband network type in which charging is performed according to traffic or limited traffic included in a package, the remaining traffic in the fixed-line broadband type network can also be acquired and monitored.
可选地,预设的优先级排序规则,包括:网络类型为固网宽带类型的移动WIFI热点的优先级,高于网络类型为移动网络类型的移动WIFI热点;若多个移动WIFI热点同为移动网络类型,则所述流量信息中显示的剩余流量最多的移动WIFI热点具有最高优先级;若多个移动WIFI热点同为固网宽带类型,则可以优先连接信号强度最高的移动WIFI热点。终端设备根据移动WIFI热点的网络类型信息和剩余流量信息进行优先级排序,终端设备根据优先级排序结果进行接入。网络类型为固网宽带类型的移动WIFI热点优选接入;如果固网宽带类型的移动WIFI热点不存在,则连接移动网络类型的移动WIFI热点;如果多个移动WIFI热点同为移动网络类型,则剩余流量最多的移动WIFI热点设备优选接入。Optionally, the preset priority ordering rule includes: a priority of the mobile WIFI hotspot of the network type of the fixed network broadband type, and a mobile WIFI hotspot of the mobile network type of the mobile network type; if multiple mobile WIFI hotspots are the same For the mobile network type, the mobile WIFI hotspot with the most remaining traffic displayed in the traffic information has the highest priority; if multiple mobile WIFI hotspots are of the fixed network broadband type, the mobile WIFI hotspot with the highest signal strength can be preferentially connected. The terminal device performs priority ordering according to the network type information of the mobile WIFI hotspot and the remaining traffic information, and the terminal device performs access according to the priority ranking result. The mobile WIFI hotspot of the fixed network broadband type is preferably accessed; if the mobile WIFI hotspot of the fixed broadband type does not exist, the mobile WIFI hotspot of the mobile network type is connected; if the multiple mobile WIFI hotspots are of the mobile network type, then The mobile WIFI hotspot device with the most remaining traffic is preferably accessed.
可选地,在根据所述排序结果,接入优先级最高的第一移动WIFI热点的步骤之后,该方法还包括:Optionally, after the step of accessing the first mobile WIFI hotspot with the highest priority according to the sorting result, the method further includes:
若接入的所述第一移动WIFI热点的网络类型为移动网络类型,则在检测到的可接入的移动WIFI热点发生变化时,返回终端设备获取至少一个移 动WIFI热点设备的广播信息,解析所述广播信息,获取所述移动WIFI热点设备所接入网络的网络类型,及所述移动WIFI热点设备在网络中的剩余流量的步骤。If the network type of the first mobile WIFI hotspot accessed is a mobile network type, when the detected accessible mobile WIFI hotspot changes, the returning terminal device acquires at least one shift The broadcast information of the WIFI hotspot device is analyzed, the broadcast information is parsed, the network type of the network accessed by the mobile WIFI hotspot device, and the remaining traffic of the mobile WIFI hotspot device in the network are obtained.
本实施例中,一般情况下,用户进入到之前连接过固网宽带WIFI的环境中时,如果当前连接的是移动网络类型的WIFI热点,在没有人为断开该WIFI热点的情况下,则无法自动连接固网宽带WIFI。In this embodiment, in general, when the user enters the environment in which the fixed network broadband WIFI is connected before, if the WIFI hotspot of the mobile network type is currently connected, if the WIFI hotspot is not manually disconnected, the user cannot Automatically connect fixed network broadband WIFI.
在终端设备扫描检测WIFI热点之后,检测到可接入的移动WIFI热点发生变化,则此时终端设备重新获取至少一个移动WIFI热点设备的广播信息,获取所述移动WIFI热点设备所接入网络的网络类型,及所述移动WIFI热点设备在网络中的剩余流量,实现自动遍历当前可用的移动WIFI热点,重新寻找优先级最高的移动WIFI热点,看是否存在固网宽带网络类型的移动WIFI热点,若之前登陆过相关WIFI热点,则可自动断开当前的移动网络WIFI热点,连接固网宽带WIFI热点,从而为用户节省移动网络流量。本实施例中,在检测可接入的移动WIFI热点发生变化的过程中,当检测到可用的WIFI热点列表发生变化时,可认为检测到的可接入的移动WIFI热点发生变化。After the terminal device scans and detects the WIFI hotspot, it detects that the mobile WIFI hotspot has changed, and then the terminal device reacquires the broadcast information of the at least one mobile WIFI hotspot device, and obtains the access network of the mobile WIFI hotspot device. The network type, and the remaining traffic of the mobile WIFI hotspot device in the network, automatically traverse the currently available mobile WIFI hotspot, and re-find the mobile WIFI hotspot with the highest priority to see whether there is a mobile WIFI hotspot of the fixed network broadband type. If you have previously logged in to the relevant WIFI hotspot, you can automatically disconnect the current mobile network WIFI hotspot and connect to the fixed-line broadband WIFI hotspot, thus saving mobile network traffic for users. In this embodiment, in detecting a change of the accessible mobile WIFI hotspot, when it is detected that the available WIFI hotspot list changes, the detected accessible mobile WIFI hotspot may be considered to change.
本发明实施例提供的移动WIFI热点优选接入的方法,根据移动WIFI热点的网络类型和流量信息作为判断条件,将移动网络WIFI热点和固网宽带WIFI热点识别出来,并依据每个移动WIFI热点的流量套餐使用情况,对移动WIFI热点设备提供的移动WIFI热点进行优先级排序,并按照优先级排序结果,选择最优的移动WIFI热点进行接入,优先选择固网宽带类型和流量剩余最多的移动网络类型的热点接入,从而方便用户做出选择,由此可以优先选择最经济的接入方案,简单可靠,避免用户使用移动网络流量超限带来的经济损失。The method for preferentially accessing a mobile WIFI hotspot provided by the embodiment of the present invention, according to the network type and traffic information of the mobile WIFI hotspot as a judgment condition, identifies the mobile network WIFI hotspot and the fixed network broadband WIFI hotspot, and according to each mobile WIFI hotspot The usage of the traffic package, prioritize the mobile WIFI hotspots provided by the mobile WIFI hotspot device, and select the optimal mobile WIFI hotspot to access according to the priority ranking result, and preferentially select the fixed network broadband type and the most remaining traffic. The hotspot access of the mobile network type facilitates the user to make a choice, thereby preferentially selecting the most economical access scheme, which is simple and reliable, and avoids the economic loss caused by the user's excessive use of mobile network traffic.
第三实施例Third embodiment
本实施例提供一种移动WIFI热点设备,结合图3所示,所述移动WIFI热点设备包括:第一获取模块301、第二获取模块302和发送模块303;其中:The embodiment provides a mobile WIFI hotspot device. As shown in FIG. 3, the mobile WIFI hotspot device includes: a first obtaining module 301, a second obtaining module 302, and a sending module 303; wherein:
第一获取模块301,设置为获取自身所接入网络的网络类型。 The first obtaining module 301 is configured to acquire a network type of the network that the user accesses.
第二获取模块302,设置为获取移动WIFI热点设备在网络中的剩余流量。The second obtaining module 302 is configured to obtain the remaining traffic of the mobile WIFI hotspot device in the network.
发送模块303,设置为根据所述网络类型及所述剩余流量,向外发送广播信息,所述广播信息中携带有包含所述网络类型的网络信息及包含所述剩余流量的流量信息。The sending module 303 is configured to send out broadcast information according to the network type and the remaining traffic, where the broadcast information carries network information including the network type and traffic information including the remaining traffic.
可选地,该发送模块303是设置为:Optionally, the sending module 303 is configured to:
根据所述网络类型及所述剩余流量,向外发送广播帧;所述广播帧的扩展字段中添加有包含所述网络类型的网络信息及包含所述剩余流量的流量信息。Transmitting a broadcast frame according to the network type and the remaining traffic; and adding, by the extension field of the broadcast frame, network information including the network type and traffic information including the remaining traffic.
可选地,上述的移动WIFI热点设备,还包括:设置为接入网络的上网模块和设置为提供WIFI热点的WIFI模块。Optionally, the mobile WIFI hotspot device further includes: an internet access module configured to access the network and a WIFI module configured to provide a WIFI hotspot.
本实施例中的设备可以是CPE或者MIFI等移动网络设备,也可以是开启WIFI热点的智能手机。The device in this embodiment may be a mobile network device such as a CPE or a MIFI, or may be a smart phone that starts a WIFI hotspot.
本发明实施例提供的移动WIFI热点设备,通过获取移动WIFI热点设备自身所接入网络的网络类型,及获取移动WIFI热点设备在网络中的剩余流量,在此基础上向外发送包含网络类型及剩余流量的广播信息,以向外告知外部终端设备该热点的相关信息,为其他需要接入热点的终端设备提供选择依据,从而方便用户做出选择,由此可以优先选择最经济的接入方案,简单可靠,可以避免用户使用移动网络流量超限带来的经济损失,满足用户需求。The mobile WIFI hotspot device provided by the embodiment of the present invention obtains the network type of the network accessed by the mobile WIFI hotspot device and obtains the remaining traffic of the mobile WIFI hotspot device in the network, and then sends out the network type and The broadcast information of the remaining traffic is used to inform the external terminal device of the hotspot related information to provide a selection basis for other terminal devices that need to access the hotspot, thereby facilitating the user to make a selection, thereby preferentially selecting the most economical access plan. Simple and reliable, it can avoid the economic loss caused by users using mobile network traffic overrun and meet user needs.
本实施例还提供一种终端设备,结合图4所示,包括:第三获取模块401、排序模块402和接入模块403;The embodiment further provides a terminal device, as shown in FIG. 4, comprising: a third obtaining module 401, a sorting module 402, and an access module 403;
其中,第三获取模块401,设置为获取至少一个移动WIFI热点设备的广播信息,解析所述广播信息,获取所述移动WIFI热点设备所接入网络的网络类型,及所述移动WIFI热点设备在网络中的剩余流量。The third obtaining module 401 is configured to acquire broadcast information of the at least one mobile WIFI hotspot device, parse the broadcast information, obtain a network type of the network accessed by the mobile WIFI hotspot device, and the mobile WIFI hotspot device is The remaining traffic in the network.
排序模块402,设置为根据所述网络类型及所述剩余流量,按预设的优先级排序规则,对至少一个所述移动WIFI热点设备提供的移动WIFI热点进行优先级排序,并得到排序结果。The sorting module 402 is configured to prioritize the mobile WIFI hotspots provided by the at least one mobile WIFI hotspot device according to the network type and the remaining traffic according to a preset priority ordering rule, and obtain a sorting result.
接入模块403,设置为于根据所述排序结果,接入优先级最高的第一移动WIFI热点。The access module 403 is configured to access the first mobile WIFI hotspot with the highest priority according to the sorting result.
可选地,所述第三获取模块401,是设置为于:获取至少一个移动WIFI 热点设备的广播帧;根据扩展字段标识识别所述广播帧中的扩展字段,解析得到所述扩展字段中携带的网络信息中包含的所述网络类型,及流量信息中包含的所述剩余流量。Optionally, the third obtaining module 401 is configured to: acquire at least one mobile WIFI. The broadcast frame of the hotspot device is configured to identify the extended field in the broadcast frame according to the extended field identifier, and parse the network type included in the network information carried in the extended field, and the remaining traffic included in the traffic information.
可选地,所述预设的优先级排序规则,包括:Optionally, the preset priority ordering rule includes:
网络类型为固网宽带类型的移动WIFI热点的优先级,高于网络类型为移动网络类型的移动WIFI热点;若多个移动WIFI热点同为移动网络类型,则所述流量信息中显示的剩余流量最多的移动WIFI热点具有最高优先级。The network type is the priority of the mobile WIFI hotspot of the fixed network broadband type, and is higher than the mobile WIFI hotspot of the mobile network type; if the multiple mobile WIFI hotspots are of the mobile network type, the remaining traffic displayed in the traffic information The most mobile WIFI hotspots have the highest priority.
可选地,该终端设备还包括:Optionally, the terminal device further includes:
循环模块,设置为若接入的所述第一移动WIFI热点的网络类型为移动网络类型,在检测到的可接入的移动WIFI热点发生变化时,返回获取至少一个移动WIFI热点设备的广播信息,解析所述广播信息,获取所述移动WIFI热点设备所接入网络的网络类型,及所述移动WIFI热点设备在网络中的剩余流量的步骤。a looping module, configured to: if the network type of the first mobile WIFI hotspot accessed is a mobile network type, returning to obtain broadcast information of at least one mobile WIFI hotspot device when the detected accessible mobile WIFI hotspot changes And parsing the broadcast information, acquiring a network type of the network accessed by the mobile WIFI hotspot device, and a step of the remaining traffic of the mobile WIFI hotspot device in the network.
可选地,该终端设备可以带有设置为扫描检测移动WIFI热点并连接移动WIFI热点的WIFI芯片。Optionally, the terminal device may have a WIFI chip configured to scan and detect a mobile WIFI hotspot and connect to a mobile WIFI hotspot.
本发明实施例提供的终端设备,根据移动WIFI热点的网络类型和流量信息作为判断条件,将移动网络WIFI热点和固网宽带WIFI热点识别出来,并依据每个移动WIFI热点的流量套餐使用情况,对移动WIFI热点设备提供的移动WIFI热点进行优先级排序,并按照优先级排序结果,选择最优的移动WIFI热点进行接入,从而方便用户做出选择,由此可以优先选择最经济的接入方案,简单可靠,可以避免用户使用移动网络流量超限带来的经济损失。The terminal device provided by the embodiment of the present invention identifies the mobile network WIFI hotspot and the fixed network broadband WIFI hotspot according to the network type and traffic information of the mobile WIFI hotspot, and according to the usage of the mobile package of each mobile WIFI hotspot, Priority is sorted on the mobile WIFI hotspot provided by the mobile WIFI hotspot device, and the optimal mobile WIFI hotspot is selected according to the priority ranking result, thereby facilitating the user to make a selection, thereby preferentially selecting the most economical access. The solution is simple and reliable, and can avoid the economic loss caused by users using mobile network traffic exceeding the limit.
本实施例还公开一种移动WIFI热点优选接入的系统,该系统包括前述任一的移动WIFI热点设备和前述任一的终端设备。The embodiment further discloses a system for preferential access of a mobile WIFI hotspot, the system comprising any of the foregoing mobile WIFI hotspot devices and any of the foregoing terminal devices.
以上所述的是本申请的可优选实施方式,应当指出对于本技术领域的普通人员来说,在不脱离本申请所述的原理前提下还可以作出若干改进和润饰,这些改进和润饰也在本申请的保护范围内。本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机可执行指令,所述计算机可执行指令被执行时实现移动WIFI热点设备端的移动WIFI热点优选 接入的方法。The above description is a preferred embodiment of the present application, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles described herein, and these improvements and retouchings are also Within the scope of protection of this application. The embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores computer executable instructions, and when the computer executable instructions are executed, implementing mobile WIFI hotspot selection of the mobile WIFI hotspot device end Access method.
本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机可执行指令,所述计算机可执行指令被执行时实现终端设备端的移动WIFI热点优选接入的方法。本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本申请不限制于任何特定形式的硬件和软件的结合。本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改或者等同替换,而不脱离本申请技术方案的精神和范围,均应涵盖在本申请的权利要求范围当中。The embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores computer executable instructions, and the method for implementing mobile WIFI hotspot preferential access of the terminal device end when the computer executable instructions are executed . One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function. This application is not limited to any specific combination of hardware and software. A person skilled in the art should understand that the technical solutions of the present application can be modified or equivalent, without departing from the spirit and scope of the technical solutions of the present application, and should be included in the scope of the claims of the present application.
工业实用性Industrial applicability
上述技术方案可以使用户优先选择最经济的接入方案,简单可靠,可以避免用户使用移动网络流量超限带来的经济损失。 The above technical solution can enable the user to preferentially select the most economical access solution, which is simple and reliable, and can avoid the economic loss caused by the user exceeding the limit of the mobile network traffic.

Claims (12)

  1. 一种移动WIFI热点优选接入的方法,所述方法包括:A method for preferential access of a mobile WIFI hotspot, the method comprising:
    移动无线保真WIFI热点设备获取自身所接入网络的网络类型;The mobile wireless fidelity WIFI hotspot device obtains the network type of the network to which it is connected;
    获取移动WIFI热点设备在网络中的剩余流量;Obtaining the remaining traffic of the mobile WIFI hotspot device in the network;
    根据所述网络类型及所述剩余流量,向外发送广播信息,所述广播信息中携带有包含所述网络类型的网络信息及包含所述剩余流量的流量信息。Broadcast information is sent out according to the network type and the remaining traffic, where the broadcast information carries network information including the network type and traffic information including the remaining traffic.
  2. 根据权利要求1所述的方法,其中,所述根据所述网络类型及所述剩余流量,向外发送广播信息的步骤,包括:The method of claim 1, wherein the step of transmitting the broadcast information according to the network type and the remaining traffic includes:
    根据所述网络类型及所述剩余流量,向外发送广播帧;Sending a broadcast frame outward according to the network type and the remaining traffic;
    所述广播帧的扩展字段中添加有包含所述网络类型的网络信息及包含所述剩余流量的流量信息。The extension field of the broadcast frame is added with network information including the network type and traffic information including the remaining traffic.
  3. 一种移动WIFI热点优选接入的方法,所述方法包括:A method for preferential access of a mobile WIFI hotspot, the method comprising:
    终端设备获取至少一个移动无线保真WIFI热点设备的广播信息,解析所述广播信息,获取所述移动WIFI热点设备所接入网络的网络类型,及所述移动WIFI热点设备在网络中的剩余流量;The terminal device acquires broadcast information of the at least one mobile wireless fidelity WIFI hotspot device, parses the broadcast information, acquires a network type of the network accessed by the mobile WIFI hotspot device, and residual traffic of the mobile WIFI hotspot device in the network. ;
    根据所述网络类型及所述剩余流量,按预设的优先级排序规则,对至少一个所述移动WIFI热点设备提供的移动WIFI热点进行优先级排序,并得到排序结果;And prior to the network type and the remaining traffic, sorting the mobile WIFI hotspots provided by the at least one mobile WIFI hotspot device according to a preset priority ordering rule, and obtaining a sorting result;
    根据所述排序结果,接入优先级最高的第一移动WIFI热点。According to the sorting result, the first mobile WIFI hotspot with the highest priority is accessed.
  4. 根据权利要求3所述的方法,其中,所述终端设备获取至少一个移动WIFI热点设备的广播信息,解析所述广播信息,获取所述移动WIFI热点设备所接入网络的网络类型,及所述移动WIFI热点设备在网络中的剩余流量的步骤,包括:The method according to claim 3, wherein the terminal device acquires broadcast information of at least one mobile WIFI hotspot device, parses the broadcast information, acquires a network type of the network accessed by the mobile WIFI hotspot device, and the The steps of moving the WIFI hotspot device's remaining traffic in the network include:
    终端设备获取至少一个移动WIFI热点设备的广播帧;The terminal device acquires a broadcast frame of at least one mobile WIFI hotspot device;
    根据扩展字段标识识别所述广播帧中的扩展字段,解析得到所述扩展字段中携带的网络信息中包含的所述网络类型,及流量信息中包含的所述剩余流量。 Identifying an extension field in the broadcast frame according to the extension field identifier, and parsing the network type included in the network information carried in the extension field, and the remaining traffic included in the traffic information.
  5. 根据权利要求3所述的方法,其中,所述预设的优先级排序规则,包括:The method according to claim 3, wherein the preset priority ranking rule comprises:
    网络类型为固网宽带类型的移动WIFI热点的优先级,高于网络类型为移动网络类型的移动WIFI热点;The network type is the priority of the mobile WIFI hotspot of the fixed network broadband type, and is higher than the mobile WIFI hotspot whose network type is the mobile network type;
    若多个移动WIFI热点同为移动网络类型,则所述流量信息中显示的剩余流量最多的移动WIFI热点具有最高优先级。If the plurality of mobile WIFI hotspots are the same as the mobile network type, the mobile WIFI hotspot with the most remaining traffic displayed in the traffic information has the highest priority.
  6. 根据权利要求3所述的方法,所述根据所述排序结果,接入优先级最高的第一移动WIFI热点的步骤之后,所述方法还包括:The method according to claim 3, after the step of accessing the first mobile WIFI hotspot with the highest priority according to the sorting result, the method further includes:
    若接入的所述第一移动WIFI热点的网络类型为移动网络类型,则在检测到的可接入的移动WIFI热点发生变化时,返回终端设备获取至少一个移动WIFI热点设备的广播信息,解析所述广播信息,获取所述移动WIFI热点设备所接入网络的网络类型,及所述移动WIFI热点设备在网络中的剩余流量的步骤。If the network type of the first mobile WIFI hotspot that is accessed is a mobile network type, when the detected mobile WIFI hotspot changes, the returning terminal device acquires broadcast information of at least one mobile WIFI hotspot device, and analyzes And the step of acquiring the network type of the network accessed by the mobile WIFI hotspot device and the remaining traffic of the mobile WIFI hotspot device in the network.
  7. 一种移动WIFI热点设备,所述移动WIFI热点设备包括:A mobile WIFI hotspot device, the mobile WIFI hotspot device includes:
    第一获取模块,设置为获取自身所接入网络的网络类型;The first obtaining module is configured to acquire a network type of the network to which the user is connected;
    第二获取模块,设置为获取移动无线保真WIFI热点设备在网络中的剩余流量;a second obtaining module, configured to obtain a remaining traffic of the mobile wireless fidelity WIFI hotspot device in the network;
    发送模块,设置为根据所述网络类型及所述剩余流量,向外发送广播信息,所述广播信息中携带有包含所述网络类型的网络信息及包含所述剩余流量的流量信息。The sending module is configured to send out broadcast information according to the network type and the remaining traffic, where the broadcast information carries network information including the network type and traffic information including the remaining traffic.
  8. 根据权利要求7所述的移动WIFI热点设备,其中,所述发送模块是设置为:The mobile WIFI hotspot device according to claim 7, wherein the sending module is configured to:
    根据所述网络类型及所述剩余流量,向外发送广播帧;所述广播帧的扩展字段中添加有包含所述网络类型的网络信息及包含所述剩余流量的流量信息。Transmitting a broadcast frame according to the network type and the remaining traffic; and adding, by the extension field of the broadcast frame, network information including the network type and traffic information including the remaining traffic.
  9. 一种终端设备,所述终端设备包括:A terminal device, the terminal device comprising:
    第三获取模块,设置为获取至少一个移动无线保真WIFI热点设备的广播信息,解析所述广播信息,获取所述移动WIFI热点设备所接入网络的网 络类型,及所述移动WIFI热点设备在网络中的剩余流量;a third acquiring module, configured to acquire broadcast information of at least one mobile wireless fidelity WIFI hotspot device, parse the broadcast information, and acquire a network accessed by the mobile WIFI hotspot device The type of the network, and the remaining traffic of the mobile WIFI hotspot device in the network;
    排序模块,设置为根据所述网络类型及所述剩余流量,按预设的优先级排序规则,对至少一个所述移动WIFI热点设备提供的移动WIFI热点进行优先级排序,并得到排序结果;The sorting module is configured to prioritize the mobile WIFI hotspots provided by the at least one mobile WIFI hotspot device according to the network type and the remaining traffic according to a preset priority ordering rule, and obtain a sorting result;
    接入模块,设置为根据所述排序结果,接入优先级最高的第一移动WIFI热点。The access module is configured to access the first mobile WIFI hotspot with the highest priority according to the sorting result.
  10. 根据权利要求9所述的终端设备,其中,所述第三获取模块是设置为:The terminal device according to claim 9, wherein the third obtaining module is configured to:
    获取至少一个移动WIFI热点设备的广播帧;根据扩展字段标识识别所述广播帧中的扩展字段,解析得到所述扩展字段中携带的网络信息中包含的所述网络类型,及流量信息中包含的所述剩余流量。Obtaining a broadcast frame of the at least one mobile WIFI hotspot device; identifying an extended field in the broadcast frame according to the extended field identifier, parsing the network type included in the network information carried in the extended field, and the traffic information included in the traffic information The remaining flow.
  11. 根据权利要求9所述的终端设备,其中,所述预设的优先级排序规则,包括:The terminal device according to claim 9, wherein the preset priority ordering rule comprises:
    网络类型为固网宽带类型的移动WIFI热点的优先级,高于网络类型为移动网络类型的移动WIFI热点;The network type is the priority of the mobile WIFI hotspot of the fixed network broadband type, and is higher than the mobile WIFI hotspot whose network type is the mobile network type;
    若多个移动WIFI热点同为移动网络类型,则所述流量信息中显示的剩余流量最多的移动WIFI热点具有最高优先级。If the plurality of mobile WIFI hotspots are the same as the mobile network type, the mobile WIFI hotspot with the most remaining traffic displayed in the traffic information has the highest priority.
  12. 根据权利要求9所述的终端设备,所述终端设备还包括:The terminal device according to claim 9, the terminal device further comprising:
    循环模块,设置为若接入的所述第一移动WIFI热点的网络类型为移动网络类型,在检测到的可接入的移动WIFI热点发生变化时,返回获取至少一个移动WIFI热点设备的广播信息,解析所述广播信息,获取所述移动WIFI热点设备所接入网络的网络类型,及所述移动WIFI热点设备在网络中的剩余流量的步骤。 a looping module, configured to: if the network type of the first mobile WIFI hotspot accessed is a mobile network type, returning to obtain broadcast information of at least one mobile WIFI hotspot device when the detected accessible mobile WIFI hotspot changes And parsing the broadcast information, acquiring a network type of the network accessed by the mobile WIFI hotspot device, and a step of the remaining traffic of the mobile WIFI hotspot device in the network.
PCT/CN2017/077545 2016-07-07 2017-03-21 Preferred access method for mobile wifi hotspot, hotspot device and terminal device WO2018006623A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610537652.8 2016-07-07
CN201610537652.8A CN107592660A (en) 2016-07-07 2016-07-07 Method, hotspot device and the terminal device that mobile WIFI hot spot preferably accesses

Publications (1)

Publication Number Publication Date
WO2018006623A1 true WO2018006623A1 (en) 2018-01-11

Family

ID=60901771

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/077545 WO2018006623A1 (en) 2016-07-07 2017-03-21 Preferred access method for mobile wifi hotspot, hotspot device and terminal device

Country Status (2)

Country Link
CN (1) CN107592660A (en)
WO (1) WO2018006623A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108055692A (en) * 2018-01-23 2018-05-18 广东小天才科技有限公司 Wireless network expansion method and wearable device
CN109673039A (en) * 2018-12-28 2019-04-23 广州维纳斯家居股份有限公司 Method, apparatus, equipment and the storage medium of intelligent elevated table access network
US10602462B1 (en) 2018-11-30 2020-03-24 International Business Machines Corporation Hotspot channel congestion mitigation
CN114339957A (en) * 2022-02-28 2022-04-12 深圳市元征科技股份有限公司 Wi-Fi hotspot connection method and device and terminal equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103517372A (en) * 2012-06-21 2014-01-15 中国移动通信集团公司 Method for selecting access point in wireless local area network, device and system thereof
CN104995960A (en) * 2012-10-12 2015-10-21 诺基亚通信公司 Method and apparatus for access network selection
CN105530198A (en) * 2014-10-24 2016-04-27 中兴通讯股份有限公司 Access control method and device for mobile terminal
CN105636000A (en) * 2016-01-27 2016-06-01 广东欧珀移动通信有限公司 Internet access control method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103517372A (en) * 2012-06-21 2014-01-15 中国移动通信集团公司 Method for selecting access point in wireless local area network, device and system thereof
CN104995960A (en) * 2012-10-12 2015-10-21 诺基亚通信公司 Method and apparatus for access network selection
CN105530198A (en) * 2014-10-24 2016-04-27 中兴通讯股份有限公司 Access control method and device for mobile terminal
CN105636000A (en) * 2016-01-27 2016-06-01 广东欧珀移动通信有限公司 Internet access control method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108055692A (en) * 2018-01-23 2018-05-18 广东小天才科技有限公司 Wireless network expansion method and wearable device
US10602462B1 (en) 2018-11-30 2020-03-24 International Business Machines Corporation Hotspot channel congestion mitigation
CN109673039A (en) * 2018-12-28 2019-04-23 广州维纳斯家居股份有限公司 Method, apparatus, equipment and the storage medium of intelligent elevated table access network
CN114339957A (en) * 2022-02-28 2022-04-12 深圳市元征科技股份有限公司 Wi-Fi hotspot connection method and device and terminal equipment
CN114339957B (en) * 2022-02-28 2024-05-10 深圳市元征科技股份有限公司 Wi-Fi hot spot connection method and device and terminal equipment

Also Published As

Publication number Publication date
CN107592660A (en) 2018-01-16

Similar Documents

Publication Publication Date Title
CN104170460B (en) Network switching method and terminal
US10798629B2 (en) VoWifi call processing method of mobile terminal, system, and mobile terminal
CN110476458B (en) Method, device and data carrier for accessing voice service
WO2014161478A1 (en) Switching method for network interfaces, access device and computer storage medium
WO2018006623A1 (en) Preferred access method for mobile wifi hotspot, hotspot device and terminal device
US10743252B2 (en) Method for identifying access point and hotspot and terminal
WO2016165235A1 (en) Wireless network connection method, device and terminal
CN113794609B (en) Home gateway and service forwarding method thereof
CN105122896A (en) Access network discovery and selection
CN104703254B (en) network access method and device
US10716043B2 (en) Access point handover method and device
US20100172335A1 (en) Data transmission method and apparatus based on Wi-Fi multimedia
JP2009260783A (en) Network connection apparatus, connection setting method, and connection setting program
CN105992245B (en) Data capture method, apparatus and system
US9025448B2 (en) Methods and apparatuses for accessing internet
CN107070790B (en) Route learning method and routing equipment
CN108901035B (en) Identification method and device for terminal of Internet of things
WO2013173962A1 (en) Communication method and system, access network device, terminal, and core network device
GB2542826A (en) Wireless access point
WO2015074537A1 (en) Method and apparatus for controlling communication protocol in smart tv device
CN104507132A (en) Communication terminal and communication switching method implemented by same
US9467932B2 (en) Access control method for WiFi device and WiFi device
JP5957494B2 (en) WiFi connection system, WiFi connection terminal, WiFi connection method, and WiFi connection program
US10051539B2 (en) Access network offloading method, device, and system
TWI569671B (en) Method and system for automatically selecting connections according to cloud-based link quality information

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17823436

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17823436

Country of ref document: EP

Kind code of ref document: A1