[go: up one dir, main page]

CN105827583A - Method and device for access to mobile data network - Google Patents

Method and device for access to mobile data network Download PDF

Info

Publication number
CN105827583A
CN105827583A CN201510646327.0A CN201510646327A CN105827583A CN 105827583 A CN105827583 A CN 105827583A CN 201510646327 A CN201510646327 A CN 201510646327A CN 105827583 A CN105827583 A CN 105827583A
Authority
CN
China
Prior art keywords
wifi hotspot
terminal
terminal device
distance
data network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510646327.0A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201510646327.0A priority Critical patent/CN105827583A/en
Publication of CN105827583A publication Critical patent/CN105827583A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/107Network architectures or network communication protocols for network security for controlling access to devices or network resources wherein the security policies are location-dependent, e.g. entities privileges depend on current location or allowing specific operations only from locally connected terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Landscapes

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

Abstract

本发明实施例提供了一种接入移动数据网络的方法和装置,涉及通信领域,方法包括:当WiFi热点终端功能开启时,免密码接受终端设备的接入请求,获取所述终端设备的标识信息;检测所述WiFi热点终端与所述终端设备之间的距离;当所述WiFi热点终端与所述终端设备之间的距离小于阈值距离时,允许所述终端设备通过所述WiFi热点终端接入移动数据网络。本发明实施例提供的技术方案可以应用在具有WiFi热点的终端设备上,防止了密码泄露后,非法接入造成WiFi热点终端资源受损的问题。

Embodiments of the present invention provide a method and device for accessing a mobile data network, which relate to the field of communications. The method includes: when the function of a WiFi hotspot terminal is enabled, accepting an access request from a terminal device without a password, and obtaining an identifier of the terminal device information; detect the distance between the WiFi hotspot terminal and the terminal device; when the distance between the WiFi hotspot terminal and the terminal device is less than a threshold distance, allow the terminal device to connect to the WiFi hotspot terminal into the mobile data network. The technical solutions provided by the embodiments of the present invention can be applied to terminal devices with WiFi hotspots, preventing the problem of damage to WiFi hotspot terminal resources caused by illegal access after the password is leaked.

Description

一种接入移动数据网络的方法和装置Method and device for accessing mobile data network

技术领域technical field

本发明涉及通信领域,特别是涉及一种接入移动数据网络的方法和装置。The invention relates to the communication field, in particular to a method and device for accessing a mobile data network.

背景技术Background technique

随着移动数据网络的高速发展,用户越来越普遍地使用移动数据网络进行上网、玩游戏以及观看在线视频等操作。目前,用户主要可以通过两种方式接入移动数据网络:一种是,用户通过移动终端(如手机)自带的移动数据网络接入模块接入移动数据网络;另一种是,用户将需要接入移动数据网络的终端设备连接到另一终端设备的WiFi热点上,通过WiFi热点使用所述另一移动终端的移动数据网络接入模块接入移动数据网络。With the rapid development of mobile data networks, users are increasingly using mobile data networks to surf the Internet, play games, and watch online videos. At present, users can access the mobile data network mainly in two ways: one is that the user accesses the mobile data network through the mobile data network access module that comes with the mobile terminal (such as a mobile phone); the other is that the user will need to The terminal device that accesses the mobile data network is connected to the WiFi hotspot of another terminal device, and uses the mobile data network access module of the other mobile terminal to access the mobile data network through the WiFi hotspot.

在现有技术中,用户只需要预先知道WiFi热点终端的名称以及密码就可以将待接入移动数据网络的终端设备连接到该WiFi热点上,通过WiFi热点接入移动数据网络。In the prior art, the user only needs to know the name and password of the WiFi hotspot terminal in advance to connect the terminal device to be connected to the mobile data network to the WiFi hotspot, and access the mobile data network through the WiFi hotspot.

在现有技术中,当WiFi热点的密码泄露时,所有接入WiFi热点的终端设备均可以通过WiFi热点接入移动数据网络,会对WiFi热点终端的移动数据网络资源造成损失。In the prior art, when the password of the WiFi hotspot is leaked, all terminal devices connected to the WiFi hotspot can access the mobile data network through the WiFi hotspot, which will cause loss of mobile data network resources of the WiFi hotspot terminal.

发明内容Contents of the invention

本发明实施例的目的在于提供一种接入移动数据网络的方法,以解决现有技术当WiFi热点终端的密码泄露时,所有接入WiFi热点的终端设备均可以通过WiFi热点接入移动数据网络,从而造成WiFi热点终端资源受损的问题。The purpose of the embodiments of the present invention is to provide a method for accessing a mobile data network to solve the problem in the prior art that when the password of a WiFi hotspot terminal is leaked, all terminal devices connected to a WiFi hotspot can access the mobile data network through a WiFi hotspot , thus causing the problem that the resources of the WiFi hotspot terminal are damaged.

相应的,本发明实施例还提供了一种接入移动数据网络的装置,用以保证上述方法的实现及应用。Correspondingly, an embodiment of the present invention also provides a device for accessing a mobile data network, so as to ensure the implementation and application of the above method.

为了解决上述问题,本发明公开了一种接入移动数据网络的方法,包括:当WiFi热点终端的WiFi热点开启时,免密码接受终端设备的接入请求,获取所述终端设备的标识信息;检测所述WiFi热点终端与所述终端设备之间的距离;当所述WiFi热点终端与所述终端设备之间的距离小于阈值距离时,允许所述终端设备通过所述WiFi热点接入移动数据网络。In order to solve the above problems, the present invention discloses a method for accessing a mobile data network, including: when the WiFi hotspot of the WiFi hotspot terminal is turned on, accepting the access request of the terminal device without a password, and obtaining the identification information of the terminal device; Detecting the distance between the WiFi hotspot terminal and the terminal device; when the distance between the WiFi hotspot terminal and the terminal device is less than a threshold distance, allowing the terminal device to access mobile data through the WiFi hotspot The internet.

为了解决上述问题,本发明公开了一种接入移动数据网络的装置,包括:In order to solve the above problems, the present invention discloses a device for accessing a mobile data network, including:

获取模块,用于当WiFi热点终端的WiFi热点开启时,免密码接受终端设备的接入请求,获取所述终端设备的标识信息;The acquisition module is used to accept the access request of the terminal device without password when the WiFi hotspot of the WiFi hotspot terminal is turned on, and obtain the identification information of the terminal device;

检测模块,用于检测所述WiFi热点终端与所述终端设备之间的距离;A detection module, configured to detect the distance between the WiFi hotspot terminal and the terminal device;

控制模块,用于当所述WiFi热点终端与所述终端设备之间的距离小于阈值距离时,允许所述终端设备通过所述WiFi热点接入移动数据网络。A control module, configured to allow the terminal device to access a mobile data network through the WiFi hotspot when the distance between the WiFi hotspot terminal and the terminal device is less than a threshold distance.

本发明实施例提供的接入移动数据网络的方法和装置,当终端设备加入WiFi热点后,可以检测WiFi热点终端与终端设备之间的距离,当WiFi热点终端与端设备之间的距离小于阈值距离时,允许终端设备通过WiFi热点终端接入移动数据网络WiFi热点终端,从而达到对接入WiFi热点终端的终端设备进行免密码的管理目的。解决了现有技术密码泄露后,用户不知情的情况下,被其它用户非法使用,从而造成WiFi热点终端资源受损的问题。The method and device for accessing the mobile data network provided by the embodiments of the present invention can detect the distance between the WiFi hotspot terminal and the terminal device when the terminal device joins the WiFi hotspot, and when the distance between the WiFi hotspot terminal and the terminal device is less than the threshold When the distance is long, the terminal device is allowed to access the mobile data network WiFi hotspot terminal through the WiFi hotspot terminal, so as to achieve the purpose of password-free management of the terminal equipment connected to the WiFi hotspot terminal. It solves the problem that in the prior art, after the password is leaked, it is illegally used by other users without the user's knowledge, thereby causing damage to the resources of the WiFi hotspot terminal.

附图说明Description of drawings

图1是本发明实施例提供的一种接入移动数据网络的方法流程图;FIG. 1 is a flow chart of a method for accessing a mobile data network provided by an embodiment of the present invention;

图2是图1所示的本发明实施例提供的接入移动数据网络的方法中步骤102的流程图一;FIG. 2 is a first flowchart of step 102 in the method for accessing a mobile data network provided by the embodiment of the present invention shown in FIG. 1;

图3是图1所示的本发明实施例提供的接入移动数据网络的方法中步骤102的流程图二;FIG. 3 is a second flowchart of step 102 in the method for accessing a mobile data network provided by the embodiment of the present invention shown in FIG. 1;

图4是本发明实施例提供的一种接入移动数据网络的装置的结构示意图一;FIG. 4 is a first structural schematic diagram of a device for accessing a mobile data network provided by an embodiment of the present invention;

图5是图4所示的本发明实施例提供的接入移动数据网络的装置中检测模块402的结构示意图一;FIG. 5 is a first schematic structural diagram of the detection module 402 in the device for accessing the mobile data network provided by the embodiment of the present invention shown in FIG. 4;

图6是图4所示的本发明实施例提供的接入移动数据网络的装置中检测模块402的结构示意图二;FIG. 6 is a second schematic structural diagram of the detection module 402 in the device for accessing the mobile data network provided by the embodiment of the present invention shown in FIG. 4;

图7是本发明实施例提供的一种接入移动数据网络的装置的结构示意图二。FIG. 7 is a second schematic structural diagram of a device for accessing a mobile data network provided by an embodiment of the present invention.

具体实施方式detailed description

为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

如图1所示,本发明实施例提供的接入移动数据网络的方法,包括:As shown in Figure 1, the method for accessing a mobile data network provided by an embodiment of the present invention includes:

步骤101,当WiFi热点终端的WiFi热点开启时,免密码接受终端设备的接入请求,获取终端设备的标识信息。Step 101, when the WiFi hotspot of the WiFi hotspot terminal is turned on, accept the access request of the terminal device without a password, and obtain the identification information of the terminal device.

当WiFi热点开启时,终端设备搜索可以加入的WiFi热点,通过点击可以加入的WiFi热点的名称加入该WiFi热点中。在本实施例中,为了方便终端设备加入WiFi热点,简化用户操作,WiFi热点并不预先设置密码,终端设备查找到WiFi热点的名称时即可以通过名称加入WiFi热点,无需输入密码。When the WiFi hotspot is turned on, the terminal device searches for a WiFi hotspot that can be added, and clicks on the name of the WiFi hotspot that can be added to join the WiFi hotspot. In this embodiment, in order to facilitate the terminal device to join the WiFi hotspot and simplify user operations, the WiFi hotspot does not preset a password. When the terminal device finds the name of the WiFi hotspot, it can join the WiFi hotspot by name without entering a password.

步骤101可以在终端设备加入WiFi热点的过程中,获取该终端设备的标识信息。在本实施例中,终端设备的标识信息具体为该终端设备的MAC地址,但是,本发明并不对终端设备的标识信息进行具体的限定,在实际的使用过程中,终端设备的标识信息还可以为其他可以唯一标识终端设备的信息,此处不做一一赘述。Step 101 can acquire the identification information of the terminal device during the process of the terminal device joining the WiFi hotspot. In this embodiment, the identification information of the terminal device is specifically the MAC address of the terminal device. However, the present invention does not specifically limit the identification information of the terminal device. In actual use, the identification information of the terminal device can also be It is other information that can uniquely identify the terminal device, which will not be repeated here.

步骤102,检测WiFi热点终端与终端设备之间的距离。Step 102, detecting the distance between the WiFi hotspot terminal and the terminal device.

在本实施例中,当终端设备第一次接入WiFi热点时,步骤102具体可以通过两种方式检测WiFi热点终端与终端设备之间的距离。In this embodiment, when the terminal device accesses the WiFi hotspot for the first time, step 102 may specifically detect the distance between the WiFi hotspot terminal and the terminal device in two ways.

其中,一种方式是,如图2所示,步骤102可以包括:Wherein, one way is that, as shown in FIG. 2, step 102 may include:

步骤1021,根据标识信息,获取终端设备的信号发射强度。Step 1021, acquire the signal transmission strength of the terminal device according to the identification information.

步骤1022,根据信号发射强度确认WiFi热点终端与所述终端设备之间的距离。Step 1022, confirm the distance between the WiFi hotspot terminal and the terminal device according to the signal transmission strength.

获取终端设备的信号发射强度为现有技术,此处不赘述。根据信号发射强度可以对应一距离,不同的距离检测到的信号强度不同。因此,根据检测到的信号发射强度可以确定WiFi热点终端与所述终端设备之间的距离。Obtaining the signal emission strength of the terminal device is an existing technology, and details are not described here. According to the signal transmission strength, it can correspond to a distance, and the detected signal strength is different at different distances. Therefore, the distance between the WiFi hotspot terminal and the terminal device can be determined according to the detected signal emission intensity.

另一种方式是,如图3所示,步骤102可以包括:In another manner, as shown in FIG. 3, step 102 may include:

步骤1023,通过WiFi热点终端的红外传感器检测WiFi热点终端与终端设备之间的距离。红外线传感器设置在终端边框的顶部。在有终端设备接入时,开启红外线传感器。设置红外线传感器的检测距离为20cm,一般情况下,WiFi热点终端的红外传感器发射的信号不会被阻挡。当终端设备接近且在检测距离之内时,WiFi热点终端才能检测到信号。该检测距离可以根据用户的实际使用情况设定。Step 1023: Detect the distance between the WiFi hotspot terminal and the terminal device through the infrared sensor of the WiFi hotspot terminal. The infrared sensor is arranged on the top of the terminal frame. When a terminal device is connected, turn on the infrared sensor. Set the detection distance of the infrared sensor to 20cm. Generally, the signal emitted by the infrared sensor of the WiFi hotspot terminal will not be blocked. When the terminal device is close to and within the detection distance, the WiFi hotspot terminal can detect the signal. The detection distance can be set according to the actual usage of the user.

步骤103,当WiFi热点终端与终端设备之间的距离小于阈值距离时,允许终端设备通过WiFi热点接入移动数据网络。Step 103, when the distance between the WiFi hotspot terminal and the terminal device is less than a threshold distance, allow the terminal device to access the mobile data network through the WiFi hotspot.

进一步地,为了简化终端设备再次接入WiFi热点时检测距离的步骤,如果步骤102检测到WiFi热点终端与终端设备之间的距离小于阈值距离,此时,本发明实施例提供的接入移动数据网络的方法还可以包括将终端设备的标识信息存储到WiFi热点终端的信任列表中的步骤。在本实施例中,信任列表具体为白名单。优选地,阈值距离为20cm。Further, in order to simplify the step of detecting the distance when the terminal device reconnects to the WiFi hotspot, if step 102 detects that the distance between the WiFi hotspot terminal and the terminal device is less than the threshold distance, at this time, the access mobile data provided by the embodiment of the present invention The network method may also include the step of storing the identification information of the terminal device in the trust list of the WiFi hotspot terminal. In this embodiment, the trust list is specifically a white list. Preferably, the threshold distance is 20 cm.

如果终端设备再次接入WiFi热点,本发明实施例提供的接入移动数据网络的方法还可以包括比较标识信息与WiFi热点终端的信任列表中存储的标识信息,若信任列表中存储有接入WiFi热点的标识信息,则允许该终端设备通过WiFi热点接入移动数据网络。If the terminal device accesses the WiFi hotspot again, the method for accessing the mobile data network provided by the embodiment of the present invention may also include comparing the identification information with the identification information stored in the trust list of the WiFi hotspot terminal. The identification information of the hotspot allows the terminal device to access the mobile data network through the WiFi hotspot.

在本实施例中,步骤103当WiFi热点终端与终端设备之间的距离小于阈值距离时,允许终端设备通过所述WiFi热点接入移动数据网络,否则,阻止终端设备通过WiFi热点接入移动数据网络。In this embodiment, in step 103, when the distance between the WiFi hotspot terminal and the terminal device is less than the threshold distance, the terminal device is allowed to access the mobile data network through the WiFi hotspot, otherwise, the terminal device is prevented from accessing the mobile data network through the WiFi hotspot. The internet.

需要说明的是,使用本发明实施例提供的接入移动数据网络的方法,用户可以自行对WiFi热点终端与终端设备之间的距离进行控制,例如:当步骤102采用如图2或3所示的步骤检测WiFi热点终端与终端设备之间的距离时,如果用户不希望终端设备通过WiFi热点接入移动数据网络,可以将终端设备远离WiFi热点终端,从而达到控制终端设备通过WiFi热点接入移动数据网络的目的。It should be noted that, using the method for accessing the mobile data network provided by the embodiment of the present invention, the user can control the distance between the WiFi hotspot terminal and the terminal device by himself, for example: when step 102 adopts the method shown in Figure 2 or 3 When detecting the distance between the WiFi hotspot terminal and the terminal device, if the user does not want the terminal device to access the mobile data network through the WiFi hotspot, the terminal device can be kept away from the WiFi hotspot terminal, so as to control the terminal device to access the mobile data network through the WiFi hotspot. Purpose of data network.

进一步地,在本实施例中,当预先设置了信任列表时,本发明实施例提供的接入移动数据网络的方法也可以对信任列表中的终端设备的标识信息进行添加、修改或者删除等操作,从而实现对信任列表的管理。Further, in this embodiment, when the trust list is preset, the method for accessing the mobile data network provided by the embodiment of the present invention can also perform operations such as adding, modifying or deleting the identification information of the terminal device in the trust list , so as to realize the management of the trust list.

需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。It should be noted that, for the method embodiment, for the sake of simple description, it is expressed as a series of action combinations, but those skilled in the art should know that the embodiment of the present invention is not limited by the described action sequence, because According to the embodiment of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

本发明实施例提供的接入移动数据网络的方法,当终端设备加入WiFi热点后,可以检测WiFi热点终端与终端设备之间的距离。当WiFi热点终端与终端设备之间的距离小于阈值距离时,允许终端设备通过WiFi热点接入移动数据网络,从而达到对接入WiFi热点终端进行管理的目的。解决了现有技术中密码泄露后,被非法接入时,WiFi热点终端资源受损的问题。The method for accessing the mobile data network provided by the embodiment of the present invention can detect the distance between the WiFi hotspot terminal and the terminal device after the terminal device joins the WiFi hotspot. When the distance between the WiFi hotspot terminal and the terminal device is less than the threshold distance, the terminal device is allowed to access the mobile data network through the WiFi hotspot, so as to achieve the purpose of managing terminals connected to the WiFi hotspot. It solves the problem that the WiFi hotspot terminal resources are damaged when the password is leaked and illegally accessed in the prior art.

如图4所示,本发明实施例提供一种接入移动数据网络的装置,包括:As shown in Figure 4, an embodiment of the present invention provides a device for accessing a mobile data network, including:

获取模块401,用于当WiFi热点终端的WiFi热点开启时,免密码接受终端设备的接入请求,获取所述终端设备的标识信息。The obtaining module 401 is configured to accept the access request of the terminal device without a password when the WiFi hotspot of the WiFi hotspot terminal is turned on, and obtain the identification information of the terminal device.

检测模块402,用于检测WiFi热点终端与终端设备之间的距离。The detection module 402 is configured to detect the distance between the WiFi hotspot terminal and the terminal device.

控制模块403,用于当WiFi热点终端与终端设备之间的距离小于阈值距离时,允许终端设备通过WiFi热点接入移动数据网络。优选地,阈值距离为20cm。The control module 403 is configured to allow the terminal device to access the mobile data network through the WiFi hotspot when the distance between the WiFi hotspot terminal and the terminal device is less than a threshold distance. Preferably, the threshold distance is 20 cm.

进一步地,如图5所示,检测模块402可以包括:Further, as shown in FIG. 5, the detection module 402 may include:

获取子模块4021,用于根据标识信息,获取终端设备的信号发射强度。The obtaining sub-module 4021 is configured to obtain the signal transmission strength of the terminal device according to the identification information.

第一检测子模块4022,用于根据获取子模块4021获取的信号发射强度确认WiFi热点终端与终端设备之间的距离。The first detection sub-module 4022 is configured to confirm the distance between the WiFi hotspot terminal and the terminal device according to the signal transmission strength acquired by the acquisition sub-module 4021 .

进一步地,如图6所示,第二获取模块402可以包括:Further, as shown in FIG. 6, the second obtaining module 402 may include:

第二检测子模块4023,用于通过WiFi热点终端的红外传感器检测WiFi热点终端与终端设备之间的距离。The second detection sub-module 4023 is configured to detect the distance between the WiFi hotspot terminal and the terminal device through the infrared sensor of the WiFi hotspot terminal.

进一步地,如图7所示,本发明实施例提供的接入移动数据网络的装置,还可以包括:Further, as shown in FIG. 7, the device for accessing a mobile data network provided by the embodiment of the present invention may further include:

存储模块404,用于当WiFi热点终端与终端设备之间的距离小于阈值距离时,将获取模块401获取的标识信息存储到WiFi热点终端的的信任列表中。The storage module 404 is configured to store the identification information obtained by the obtaining module 401 into the trust list of the WiFi hotspot terminal when the distance between the WiFi hotspot terminal and the terminal device is less than a threshold distance.

则此时,检测模块402可以包括:Then at this time, the detection module 402 may include:

比较子模块,用于比较标识信息与WiFi热点终端的信任列表中存储的标识信息,若信任列表中存储有标识信息,则允许终端设备通过WiFi热点接入移动数据网络。The comparison sub-module is used to compare the identification information with the identification information stored in the trust list of the WiFi hotspot terminal. If the identification information is stored in the trust list, the terminal device is allowed to access the mobile data network through the WiFi hotspot.

本发明实施例提供的接入移动数据网络的装置的具体实现方法可以参见本发明实施例提供的接入移动数据网络的方法所述,此处不再赘述。For a specific implementation method of the device for accessing a mobile data network provided in the embodiment of the present invention, reference may be made to the description of the method for accessing a mobile data network provided in the embodiment of the present invention, and will not be repeated here.

本发明实施例提供的接入移动数据网络的装置,当终端设备加入WiFi热点后,可以检测WiFi热点终端与终端设备之间的距离,当WiFi热点终端与端设备之间的距离小于阈值距离时,允许终端设备通过WiFi热点接入移动数据网络,从而达到对接入WiFi热点终端进行管理的目的。解决了现有技术由于密码泄露,而造成WiFi热点终端资源受损的问题。The device for accessing the mobile data network provided by the embodiment of the present invention can detect the distance between the WiFi hotspot terminal and the terminal device after the terminal device joins the WiFi hotspot, and when the distance between the WiFi hotspot terminal and the terminal device is less than the threshold distance , allowing the terminal device to access the mobile data network through the WiFi hotspot, so as to achieve the purpose of managing the terminal accessing the WiFi hotspot. It solves the problem in the prior art that the WiFi hotspot terminal resources are damaged due to password leakage.

本实施例的装置包括智能手机、平板电脑等移动终端。The device in this embodiment includes mobile terminals such as smartphones and tablet computers.

本说明书中每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。What each embodiment in this specification focuses on is the difference from other embodiments, and the same and similar parts between the various embodiments can be referred to each other.

本领域内的技术人员应明白,本发明实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本发明实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, devices, or computer program products. Accordingly, embodiments of the invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本发明实施例是参照根据本发明实施例的方法、终端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the present invention are described with reference to flowcharts and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor or processor of other programmable data processing terminal equipment to produce a machine such that instructions executed by the computer or processor of other programmable data processing terminal equipment Produce means for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the The instruction means implements the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded into a computer or other programmable data processing terminal equipment, so that a series of operational steps are performed on the computer or other programmable terminal equipment to produce computer-implemented processing, thereby The instructions executed above provide steps for implementing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。Finally, it should also be noted that in this text, relational terms such as first and second etc. are only used to distinguish one entity or operation from another, and do not necessarily require or imply that these entities or operations, any such actual relationship or order exists. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or terminal equipment comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements identified, or also include elements inherent in such a process, method, article, or end-equipment. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or terminal device comprising said element.

以上对本发明所提供的一种接入移动数据网络的方法和装置,进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。A method and device for accessing a mobile data network provided by the present invention has been introduced in detail above. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only for helping Understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification is not It should be understood as a limitation of the present invention.

Claims (10)

1.一种接入移动数据网络的方法,其特征在于,包括:1. A method for accessing a mobile data network, comprising: 当WiFi热点终端的WiFi热点开启时,免密码接受终端设备的接入请求,获取所述终端设备的标识信息;When the WiFi hotspot of the WiFi hotspot terminal is turned on, accept the access request of the terminal device without a password, and obtain the identification information of the terminal device; 检测所述WiFi热点终端与所述终端设备之间的距离;Detecting the distance between the WiFi hotspot terminal and the terminal device; 当所述WiFi热点终端与所述终端设备之间的距离小于阈值距离时,允许所述终端设备通过所述WiFi热点接入移动数据网络。When the distance between the WiFi hotspot terminal and the terminal device is less than a threshold distance, the terminal device is allowed to access a mobile data network through the WiFi hotspot. 2.根据权利要求1所述的方法,其特征在于,所述检测所述WiFi热点终端与所述终端设备之间的距离包括:2. The method according to claim 1, wherein the detecting the distance between the WiFi hotspot terminal and the terminal device comprises: 根据所述标识信息,获取所述终端设备的信号发射强度;Acquiring the signal transmission strength of the terminal device according to the identification information; 根据所述信号发射强度确认所述WiFi热点终端与所述终端设备之间的距离。Confirming the distance between the WiFi hotspot terminal and the terminal device according to the signal transmission strength. 3.根据权利要求1所述的方法,其特征在于,所述检测所述WiFi热点终端与所述终端设备之间的距离包括:3. The method according to claim 1, wherein the detecting the distance between the WiFi hotspot terminal and the terminal device comprises: 通过WiFi热点终端的红外传感器检测所述WiFi热点终端与所述终端设备之间的距离。The distance between the WiFi hotspot terminal and the terminal device is detected by an infrared sensor of the WiFi hotspot terminal. 4.根据权利要求1所述的方法,其特征在于,还包括:4. The method according to claim 1, further comprising: 当所述WiFi热点终端与所述终端设备之间的距离小于阈值距离时,将所述标识信息存储到WiFi热点终端的信任列表中。When the distance between the WiFi hotspot terminal and the terminal device is less than a threshold distance, the identification information is stored in a trust list of the WiFi hotspot terminal. 5.根据权利要求4所述的方法,其特征在于,所述当WiFi热点终端的WiFi热点开启时,免密码接受终端设备的接入请求,获取所述终端设备的标识信息的步骤之后,还包括:5. The method according to claim 4, wherein, when the WiFi hotspot of the WiFi hotspot terminal is turned on, the password-free acceptance of the terminal device's access request, and after the step of obtaining the identification information of the terminal device, further include: 比较所述标识信息与WiFi热点终端的信任列表中存储的标识信息,若所述信任列表中存储有所述标识信息,则允许所述终端设备通过所述WiFi热点接入移动数据网络。Comparing the identification information with the identification information stored in the trust list of the WiFi hotspot terminal, if the identification information is stored in the trust list, allowing the terminal device to access the mobile data network through the WiFi hotspot. 6.一种接入移动数据网络的装置,其特征在于,包括:6. A device for accessing a mobile data network, comprising: 获取模块,用于当WiFi热点终端的WiFi热点开启时,免密码接受终端设备的接入请求,获取所述终端设备的标识信息;The acquisition module is used to accept the access request of the terminal device without password when the WiFi hotspot of the WiFi hotspot terminal is turned on, and obtain the identification information of the terminal device; 检测模块,用于检测所述WiFi热点终端与所述终端设备之间的距离;A detection module, configured to detect the distance between the WiFi hotspot terminal and the terminal device; 控制模块,用于当所述WiFi热点终端与所述终端设备之间的距离小于阈值距离时,允许所述终端设备通过所述WiFi热点接入移动数据网络。A control module, configured to allow the terminal device to access a mobile data network through the WiFi hotspot when the distance between the WiFi hotspot terminal and the terminal device is less than a threshold distance. 7.根据权利要求6所述的装置,其特征在于,所述检测模块包括:7. The device according to claim 6, wherein the detection module comprises: 获取子模块,用于根据所述标识信息,获取所述终端设备的信号发射强度;An acquisition submodule, configured to acquire the signal transmission strength of the terminal device according to the identification information; 第一检测子模块,用于根据所述获取子模块获取的信号发射强度确认所述WiFi热点终端与所述终端设备之间的距离。The first detection submodule is configured to confirm the distance between the WiFi hotspot terminal and the terminal device according to the signal transmission strength acquired by the acquisition submodule. 8.根据权利要求6所述的装置,其特征在于,所述检测模块包括:8. The device according to claim 6, wherein the detection module comprises: 第二检测子模块,用于通过WiFi热点终端的红外传感器检测所述WiFi热点终端与所述终端设备之间的距离。The second detection submodule is configured to detect the distance between the WiFi hotspot terminal and the terminal device through the infrared sensor of the WiFi hotspot terminal. 9.根据权利要求6所述的装置,其特征在于,还包括:9. The device according to claim 6, further comprising: 存储模块,用于当所述WiFi热点终端与所述终端设备之间的距离小于阈值距离时,将所述获取模块获取的标识信息存储到WiFi热点终端的信任列表中。A storage module, configured to store the identification information obtained by the acquisition module in the trust list of the WiFi hotspot terminal when the distance between the WiFi hotspot terminal and the terminal device is less than a threshold distance. 10.根据权利要求9所述的装置,其特征在于,所述检测模块包括:10. The device according to claim 9, wherein the detection module comprises: 比较子模块,用于比较所述标识信息与WiFi热点终端的信任列表中存储的标识信息,若所述信任列表中存储有所述标识信息,则允许所述终端设备通过所述WiFi热点接入移动数据网络。A comparison submodule, configured to compare the identification information with the identification information stored in the trust list of the WiFi hotspot terminal, and if the identification information is stored in the trust list, the terminal device is allowed to access through the WiFi hotspot mobile data network.
CN201510646327.0A 2015-09-30 2015-09-30 Method and device for access to mobile data network Pending CN105827583A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510646327.0A CN105827583A (en) 2015-09-30 2015-09-30 Method and device for access to mobile data network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510646327.0A CN105827583A (en) 2015-09-30 2015-09-30 Method and device for access to mobile data network

Publications (1)

Publication Number Publication Date
CN105827583A true CN105827583A (en) 2016-08-03

Family

ID=56514538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510646327.0A Pending CN105827583A (en) 2015-09-30 2015-09-30 Method and device for access to mobile data network

Country Status (1)

Country Link
CN (1) CN105827583A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789466A (en) * 2016-12-19 2017-05-31 海尔优家智能科技(北京)有限公司 The method and mobile terminal and intelligent appliance of a kind of control intelligent appliance
CN107295606A (en) * 2017-06-30 2017-10-24 北京小米移动软件有限公司 Method for connecting network, device and user equipment
WO2019057119A1 (en) * 2017-09-20 2019-03-28 惠州Tcl移动通信有限公司 Mobile terminal-based wifi hotspot connection method, mobile terminal and storage medium
CN110324287A (en) * 2018-03-31 2019-10-11 华为技术有限公司 Access authentication method, device and server
CN111770094A (en) * 2020-06-29 2020-10-13 Oppo广东移动通信有限公司 Wireless network access control method and related device
CN112153211A (en) * 2019-06-28 2020-12-29 北京智明星通科技股份有限公司 Game APP downloading method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8732801B2 (en) * 2011-12-09 2014-05-20 Verizon Patent And Licensing Inc. Wireless connection method and device
CN103873667A (en) * 2012-12-17 2014-06-18 比亚迪股份有限公司 Method for detecting distance between user and mobile terminal and mobile terminal
CN103957593A (en) * 2014-01-17 2014-07-30 北京奇虎科技有限公司 Wireless network accessing method, device and system
CN104144415A (en) * 2014-07-10 2014-11-12 深圳市螺光科技有限公司 Method for connecting WiFi access point and mobile communication terminal
CN104581615A (en) * 2014-12-25 2015-04-29 小米科技有限责任公司 Service delivery method and device
CN104750237A (en) * 2013-12-29 2015-07-01 中国移动通信集团公司 Multi-screen interactive connection method and device as well as electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8732801B2 (en) * 2011-12-09 2014-05-20 Verizon Patent And Licensing Inc. Wireless connection method and device
CN103873667A (en) * 2012-12-17 2014-06-18 比亚迪股份有限公司 Method for detecting distance between user and mobile terminal and mobile terminal
CN104750237A (en) * 2013-12-29 2015-07-01 中国移动通信集团公司 Multi-screen interactive connection method and device as well as electronic equipment
CN103957593A (en) * 2014-01-17 2014-07-30 北京奇虎科技有限公司 Wireless network accessing method, device and system
CN104144415A (en) * 2014-07-10 2014-11-12 深圳市螺光科技有限公司 Method for connecting WiFi access point and mobile communication terminal
CN104581615A (en) * 2014-12-25 2015-04-29 小米科技有限责任公司 Service delivery method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789466A (en) * 2016-12-19 2017-05-31 海尔优家智能科技(北京)有限公司 The method and mobile terminal and intelligent appliance of a kind of control intelligent appliance
CN107295606A (en) * 2017-06-30 2017-10-24 北京小米移动软件有限公司 Method for connecting network, device and user equipment
WO2019057119A1 (en) * 2017-09-20 2019-03-28 惠州Tcl移动通信有限公司 Mobile terminal-based wifi hotspot connection method, mobile terminal and storage medium
CN110324287A (en) * 2018-03-31 2019-10-11 华为技术有限公司 Access authentication method, device and server
CN110324287B (en) * 2018-03-31 2020-10-23 华为技术有限公司 Access authentication method, device and server
CN112153211A (en) * 2019-06-28 2020-12-29 北京智明星通科技股份有限公司 Game APP downloading method and system
CN111770094A (en) * 2020-06-29 2020-10-13 Oppo广东移动通信有限公司 Wireless network access control method and related device

Similar Documents

Publication Publication Date Title
US11889453B2 (en) Method and apparatus for registering wireless device in wireless communication system
US10374867B2 (en) Network configuration access
TWI636412B (en) Verification method, terminal and system for application program
CN105827583A (en) Method and device for access to mobile data network
CN108419237B (en) A wireless access point connection method, wireless access point device, and storage medium
US9749329B2 (en) Network connection managing device, system and method
US9100395B2 (en) Method and system for using a vibration signature as an authentication key
US8978024B2 (en) Federated system automatic update communication to enable selective update of critical firmware elements
CN104468592B (en) Login method and login system
WO2016101729A1 (en) Wireless network access method, device and system
WO2020007158A1 (en) Network access method and apparatus
US20170034253A1 (en) Automated network connection sharing
US11057821B2 (en) Method and device for connecting to hidden wireless access point
WO2018149137A1 (en) Wireless fidelity (wi-fi) connection method and related product
TWI462604B (en) Wireless network client-authentication system and wireless network connection method thereof
CN105207985A (en) Application program login method and mobile terminal
WO2017101186A1 (en) Method for establishing wireless connection for application of user equipment
CN107690175A (en) A kind of method and apparatus for being used to manage WAP
CN105873180B (en) Method and apparatus for setting up wireless connection
CN106656985A (en) Backup account login method, device and system
CN105528399A (en) Multi-source terminal parameter data fusion method and apparatus
CN106211163A (en) Method and device for secure networking
KR102071281B1 (en) Method for intergraged authentication thereof
WO2016026332A1 (en) Login processing method, apparatus and system
CN108495356A (en) A kind of filter method and equipment of wireless access point

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160803