CN103476030A - Method for connecting mobile terminal to network, mobile terminal and terminal equipment - Google Patents

Method for connecting mobile terminal to network, mobile terminal and terminal equipment Download PDF

Info

Publication number
CN103476030A
CN103476030A CN 201310385160 CN201310385160A CN103476030A CN 103476030 A CN103476030 A CN 103476030A CN 201310385160 CN201310385160 CN 201310385160 CN 201310385160 A CN201310385160 A CN 201310385160A CN 103476030 A CN103476030 A CN 103476030A
Authority
CN
China
Prior art keywords
information
authorization
wifi network
mobile terminal
access
Prior art date
Application number
CN 201310385160
Other languages
Chinese (zh)
Other versions
CN103476030B (en
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 小米科技有限责任公司
Priority to CN201310385160.8A priority Critical patent/CN103476030B/en
Publication of CN103476030A publication Critical patent/CN103476030A/en
Application granted granted Critical
Publication of CN103476030B publication Critical patent/CN103476030B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements, e.g. access security or fraud detection; Authentication, e.g. verifying user identity or authorisation; Protecting privacy or anonymity ; Protecting confidentiality; Key management; Integrity; Mobile application security; Using identity modules; Secure pairing of devices; Context aware security; Lawful interception
    • H04W12/06Authentication
    • 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 network resources
    • H04L63/107Network architectures or network communication protocols for network security for controlling access to 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
    • 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 network resources
    • H04L63/108Network architectures or network communication protocols for network security for controlling access to network resources when the policy decisions are valid for a limited amount of time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements, e.g. access security or fraud detection; Authentication, e.g. verifying user identity or authorisation; Protecting privacy or anonymity ; Protecting confidentiality; Key management; Integrity; Mobile application security; Using identity modules; Secure pairing of devices; Context aware security; Lawful interception
    • H04W12/005Context aware security
    • H04W12/00502Time aware
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements, e.g. access security or fraud detection; Authentication, e.g. verifying user identity or authorisation; Protecting privacy or anonymity ; Protecting confidentiality; Key management; Integrity; Mobile application security; Using identity modules; Secure pairing of devices; Context aware security; Lawful interception
    • H04W12/005Context aware security
    • H04W12/00503Location or proximity aware, e.g. using proximity to other devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements, e.g. access security or fraud detection; Authentication, e.g. verifying user identity or authorisation; Protecting privacy or anonymity ; Protecting confidentiality; Key management; Integrity; Mobile application security; Using identity modules; Secure pairing of devices; Context aware security; Lawful interception
    • H04W12/08Access security
    • 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]

Abstract

The embodiment of the invention provides a method for connecting a mobile terminal to a network, a mobile terminal and terminal equipment. The method comprises the following steps: receiving a request message which is transmitted by the mobile terminal and used for accessing into a WIFI (wireless fidelity) network, wherein the request message also comprises first authorization information besides access information of the encrypted WIFI network, judging whether the mobile terminal meets corresponding authorization distance information and/or authorization time information in the first authorization information, and if so, decrypting the access information of the WIFI network; authorizing the mobile terminal to be accessed into the WIFI network after correct access information of the WIFI network is determined according to the decryption result. By adopting the scheme disclosed by the embodiment of the invention, the access efficiency of the WIFI network is improved; leakage of the access information of the WIFI network is avoided; the safety of the WIFI network is also guaranteed.

Description

移动终端连接网络的方法、移动终端与终端设备 A mobile terminal connected to the network, mobile terminal and terminal equipment

技术领域 FIELD

[0001] 本发明涉及通信技术领域,特别是涉及一种移动终端连接网络的方法、一种移动终端与一种终端设备。 [0001] The present invention relates to communication technologies, and particularly relates to a method for a mobile terminal connected to the network, a mobile terminal and a terminal device.

背景技术 Background technique

[0002] 随着通信技术的发展,人们使用移动终端登录无线网络进行各种网络访问和交互越来越普遍。 [0002] With the development of communication technology, people use mobile terminals to log a wireless network to access and interact with a variety of network increasingly common. 为此,越来越多的场所设置了WIFI (Wireless Fidelity,无线保真)网络,以方便移动终端用户进行网络访问。 For this reason, more and more places to set up WIFI (Wireless Fidelity, wireless fidelity) network to facilitate end-user mobile network access.

[0003] 当移动终端用户在提供WIFI网络的不同场所接入WIFI网络时,需要对移动设备进行不同的配置才能接入,如当接入一个新场所的WIFI网络时,需要重新配置移动终端中与该WIFI网络对应的VPN (Virtual Private Network,虚拟专用网络)、接入密码、接入网络的证书信息、AP (Access Point,访问节点)等等。 [0003] When the mobile terminal user access to different places in the WIFI network providing WIFI network, the need for mobile devices to access a different configuration, such as when a new access locations WIFI network, a mobile terminal needs to be reconfigured WIFI network corresponding to the VPN (virtual private network, virtual private network), an access code, the access network credential information, AP (access Point, access point) and the like. 目前,这些配置信息通常由人们通过口头或者文字的方式,告诉移动终端用户,再由移动终端用户进行手工输入和配置,只有输入和配置完全正确后,才能接入相应的WIFI网络。 At present, the configuration information usually consists of people through verbal or written form, tells the mobile end-user, and then manually entered by the mobile end-user configuration, and after only enter fully configured properly in order to access the appropriate WIFI network.

[0004] 上述接入WIFI网络时的输入和配置处理过程中,一方面,移动终端用户需要每次手工输入这些配置,操作麻烦且可靠性不高,如用户有时候会听错,或者操作错误,或者根本不会操作,从而使移动终端用户无法接入WIFI网络或者接入WIFI网络的效率低,并且增加了用户的操作负担;另一方面,这些配置信息很容易外泄,从而对提供WIFI网络的场所的安全性造成影响,特别是在某些情况下,如私人家庭WIFI网络,这些配置跟用户的隐私有关,一旦泄漏,将给该用户造成无法估量的不良影响。 [0004] When the configuration process input and the WIFI access network, on the one hand, each time the mobile terminal user needs to manually input the configuration, a troublesome operation and the reliability is not high, sometimes misunderstood as user or operator error , or do not operate, so that the mobile terminal user can not access the network or WIFI access WIFI network inefficient, and increases the burden on the user operation; on the other hand, the configuration information is readily leaked, thereby providing WIFI place security network impact, especially in certain situations, such as private home WIFI network, these configurations with user privacy related, once the leak, it will adversely affect the user incalculable.

发明内容 SUMMARY

[0005] 本发明实施例提供了一种移动终端连接网络的方法、一种移动终端与一种终端设备,以解决移动终端接入WIFI网络的接入效率低,WIFI网络安全性无法保障的问题。 [0005] Low mobile terminal accessing the WIFI network access efficiency, WIFI network security problems can not be guaranteed embodiment the present invention provides a method for a mobile terminal connected to the network, a mobile terminal and a terminal device, in order to solve .

[0006] 本发明实施例公开了一种移动终端连接网络的方法,包括: [0006] Example embodiments of the present invention discloses a method for a mobile terminal connected to the network, comprising:

[0007] 接收移动终端发送的用于接入WIFI网络的请求消息,其中,所述请求消息除包括加密后的所述WIFI网络的接入信息外,还包括第一授权信息,其中,所述第一授权信息包括授权距离信息和/或授权时间信息,所述授权距离信息用于指示所述WIFI网络的授权覆盖范围,所述授权时间信息用于指示所述WIFI网络的授权使用时间段; [0007] The receiving mobile terminal transmits a request message for access to a WIFI network, wherein the request message includes, in addition to the access information encrypted WIFI network, but also includes a first authorization information, wherein said the first information includes authorization information from the authorization and / or the authorized time information from the authorization information indicating authorization of the WIFI network coverage, time information indicating the authorization of the authorized period of use of WIFI network;

[0008] 判断所述移动终端是否满足所述第一授权信息中对应的授权距离信息和/或授权时间信息; [0008] It is determined whether the mobile terminal satisfies the authorization information corresponding to the first authorization information from the information and / or the authorized time;

[0009] 若满足,则对所述WIFI网络的接入信息进行解密; [0009] When satisfied, the access information for decrypting said WIFI network;

[0010] 当根据解密结果确定所述WIFI网络的接入信息正确后,授权所述移动终端接入所述WIFI网络。 [0010] When the WIFI network is determined according to the access information is correct decryption result, the mobile terminal authorized to access the WIFI network.

[0011] 本发明实施例还公开了一种移动终端连接网络的方法,包括: [0011] Example embodiments of the present invention also discloses a method for a mobile terminal connected to the network, comprising:

[0012] 向提供WIFI网络的设备发送连接所述WIFI网络的请求消息,所述请求消息除包括加密后的所述WIFI网络的接入信息外,还包括第一授权信息,所述第一授权信息包括授权距离信息和/或授权时间信息,其中,所述授权距离信息用于指示所述WIFI网络的授权覆盖范围,所述授权时间信息用于指示所述WIFI网络的授权使用时间段; [0012] transmits the connection request message to the provider network WIFI WIFI network device, in addition to the request message comprising the access information encrypted WIFI network, the authorization information further comprises a first, the first authorization authorization information includes distance information and / or authorization time information, wherein, the authorization information indicating authorization from the coverage area of ​​the WIFI network, time information indicating the authorization of the authorized period of use of WIFI network;

[0013] 待所述提供WIFI网络的设备根据所述请求消息确定合法性后,接入所述WIFI网络。 [0013] The apparatus to be said WIFI network providing the request message to determine the legitimacy of the WIFI network access.

[0014] 相应的,本发明实施例还公开了一种终端设备,所述终端设备具有连接网络权限,所述终端设备包括: [0014] Accordingly, embodiments of the present invention further discloses a terminal device, the terminal device having the connection authority network, said terminal device comprising:

[0015] 第一接收模块,用于接收移动终端发送的用于接入WIFI网络的请求消息,其中,所述请求消息除包括加密后的所述WIFI网络的接入信息外,还包括第一授权信息,其中,所述第一授权信息授权距离信息和/或授权时间信息,所述授权距离信息用于指示所述WIFI网络的授权覆盖范围,所述授权时间信息用于指示所述WIFI网络的授权使用时间段; [0015] a first receiving module, for receiving a request message sent by the mobile terminal for accessing the WIFI network, wherein the request message includes, in addition to the access information encrypted with WIFI outer, further comprising a first authorization information, wherein the first authorization information from the authorization information and / or time authorization information from the authorization information indicating authorization of the WIFI network coverage, time information indicating the authorization of the WIFI network authorize the use of time;

[0016] 判断模块,用于判断所述移动终端是否满足所述第一授权信息中对应的授权距离信息和/或授权时间信息; [0016] determination means for determining whether the mobile terminal from the authorization information and / or authorization information in the time information corresponding to the first authorization satisfied;

[0017] 授权模块,用于若所述判断模块的判断结果为满足,则对所述WIFI网络的接入信息进行解密;当根据解密结果确定所述WIFI网络的接入信息正确后,授权所述移动终端接入所述WIFI网络。 [0017] The authorization module, the module for determining if the determination result is met, the access information for decrypting said WIFI network; WIFI network when the determining result of decryption according to the access information is correct, authorization said mobile terminal accesses said WIFI network.

[0018] 相应的,本发明实施例还公开了一种移动终端,包括: [0018] Accordingly, embodiments of the present invention also discloses a mobile terminal, comprising:

[0019] 发送模块,用于向提供WIFI网络的设备发送连接所述WIFI网络的请求消息,所述请求消息除包括加密后的所述WIFI网络的接入信息外,还包括第一授权信息,所述第一授权信息包括授权距离信息和/或授权时间信息,其中,所述授权距离信息用于指示所述WIFI网络的授权覆盖范围,所述授权时间信息用于指示所述WIFI网络的授权使用时间段; [0019] sending module, configured to send a connection request message to the provider of the WIFI network WIFI network device, in addition to the request message comprising the access information encrypted WIFI network, but also includes a first authorization information, includes the first authorization information from the authorization information and / or authorization time information, wherein, the authorization information indicating authorization from the coverage area of ​​the WIFI network, time information indicating the authorization of the authorized network WIFI use the time period;

[0020] 接入模块,用于待所述提供WIFI网络的设备根据所述请求消息确定合法性后,接入所述WIFI网络。 After [0020] The access module is configured to be the providing apparatus according to the WIFI network determine the legitimacy of a request message, the access WIFI network.

[0021] 相应的,本发明实施例还公开了一种终端设备,终端设备包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令: [0021] Accordingly, embodiments of the present invention also discloses a terminal device, the terminal device comprises a memory, and one or more than one program, wherein the one or more programs stored in the memory, and configured to by one or a more processors to perform the one or more programs including instructions for performing the following operations:

[0022] 接收移动终端发送的用于接入WIFI网络的请求消息,其中,所述请求消息除包括加密后的所述WIFI网络的接入信息外,还包括第一授权信息,其中,所述第一授权信息包括授权距离信息和/或授权时间信息,所述授权距离信息用于指示所述WIFI网络的授权覆盖范围,所述授权时间信息用于指示所述WIFI网络的授权使用时间段; [0022] The receiving mobile terminal transmits a request message for access to a WIFI network, wherein the request message includes, in addition to the access information encrypted WIFI network, but also includes a first authorization information, wherein said the first information includes authorization information from the authorization and / or the authorized time information from the authorization information indicating authorization of the WIFI network coverage, time information indicating the authorization of the authorized period of use of WIFI network;

[0023] 判断所述移动终端是否满足所述第一授权信息中对应的授权距离信息和/或授权时间信息; [0023] It is determined whether the mobile terminal satisfies the authorization information corresponding to the first authorization information from the information and / or the authorized time;

[0024] 若满足,则对所述WIFI网络的接入信息进行解密; [0024] When satisfied, the access information for decrypting said WIFI network;

[0025] 当根据解密结果确定所述WIFI网络的接入信息正确后,授权所述移动终端接入所述WIFI网络; [0025] When the WIFI network is determined according to the access information is correct decryption result, the mobile terminal authorized to access the WIFI network;

[0026]和 / 或 [0026] and / or

[0027] 向提供WIFI网络的设备发送连接所述WIFI网络的请求消息,所述请求消息除包括加密后的所述WIFI网络的接入信息外,还包括第一授权信息,所述第一授权信息包括授权距离信息和/或授权时间信息,其中,所述授权距离信息用于指示所述WIFI网络的授权覆盖范围,所述授权时间信息用于指示所述WIFI网络的授权使用时间段; [0027] transmits the connection request message to the provider network WIFI WIFI network device, in addition to the request message comprising the access information encrypted WIFI network, the authorization information further comprises a first, the first authorization authorization information includes distance information and / or authorization time information, wherein, the authorization information indicating authorization from the coverage area of ​​the WIFI network, time information indicating the authorization of the authorized period of use of WIFI network;

[0028] 待所述提供WIFI网络的设备根据所述请求消息确定合法性后,接入所述WIFI网络。 [0028] The apparatus to be said WIFI network providing the request message to determine the legitimacy of the WIFI network access.

[0029] 与背景技术相比,本发明具有以下优点: [0029] compared to the background art, the present invention has the following advantages:

[0030] 本发明实施例中,接入WIFI网络的请求消息中携带有第一授权信息,该第一授权信息包括授权距离信息或者授权时间信息或者二者都有,通过上述二种信息指示的WIFI网络的授权覆盖范围和授权使用时间段中的一种或全部,控制移动终端对WIFI网络的使用。 [0030] The embodiments of the present invention, the access request message WIFI network carries a first authorization information, the first information includes authorization information or authorization from the authorized time information or both, by the above two kinds of information indicated by authorized and authorization WIFI network coverage using one or all of the period, of controlling a mobile terminal using WIFI network. 当移动终端接入WIFI网络时,自动判断移动终端是否满足第一授权信息中对应的授权距离信息和/或授权时间信息,也即,自动判断移动终端是否在授权距离信息指示的WIFI网络授权覆盖范围内,或者,判断移动终端发送授权信息的时间是否在授权时间信息指示的时间段内,或者,对二者均进行判断,当判断结果为是且授权信息中的WIFI网络接入信息正确,移动终端即可接入WIFI网络,而无须人工进行输入和配置,并且WIFI网络接入信息也不会因显示或告知等而导致外泄。 When the mobile terminal accesses the WIFI network, the mobile terminal automatically determines the distance information satisfies the authorization and / or authorization information of the first time information corresponding to the authorization, i.e., WIFI network automatically determine whether the mobile terminal the authorization information indicating authorization distance covered the range, or determining whether the period of time the mobile terminal transmits the authorization information in the authorization information indicates the time of, or both of the judgment, when the judgment result is YES and the WIFI network access authorization information is correct, WIFI network access to the mobile terminal, and without having to manually input the configuration, and WIFI network access information display or the like will not be caused by leakage informed. 可见,通过本发明实施例的方案,一方面,无须人工进行输入和配置,提高了WIFI网络的接入效率,且减轻了移动终端用户的使用负担;另一方面,WIFI网络的接入信息不再显式通知用户,用户在不知道WIFI网络接入信息的情况下即可接入WIFI网络,避免了WIFI网络接入信息的外泄,保障了WIFI网络的安全。 Be seen, the program of the embodiments of the present invention, in one aspect, and without manual input configuration improves the efficiency of the WIFI network access, and reduce the burden of using a mobile terminal user; the other hand, the network access information does not WIFI to explicitly inform the user, the user without knowing WIFI network access information to access WIFI network, WIFI Internet access to avoid leakage of information to protect the security WIFI network.

附图说明 BRIEF DESCRIPTION

[0031] 图1是根据本发明实施例一的一种移动终端连接网络的方法的步骤流程图; [0031] FIG. 1 is a step of a method according to a mobile terminal connected to a network according to the present invention in a flowchart;

[0032] 图2是根据本发明实施例二的一种移动终端连接网络的方法的步骤流程图; [0032] FIG. 2 is a step of a method for connecting a mobile terminal according to a second embodiment of the network according to the present invention a flow chart;

[0033] 图3是根据本发明实施例三的一种移动终端连接网络的方法的步骤流程图; [0033] FIG. 3 is a flowchart of steps of a method of a mobile terminal according to a third embodiment of the present invention connected to a network;

[0034] 图4是根据本发明实施例四的一种移动终端连接网络的方法的步骤流程图; [0034] FIG. 4 is a step of a method according to a fourth terminal connected to a mobile network according to the present invention in a flowchart;

[0035] 图5是根据本发明实施例五的一种移动终端授权交互的步骤流程图; [0035] FIG. 5 is a flowchart illustrating the steps of a mobile terminal according to a fifth embodiment of the present invention, the authorization of the interaction;

[0036] 图6是根据本发明实施例六的一种终端设备的结构框图; [0036] FIG. 6 is a block diagram showing a terminal device according to a sixth embodiment of the present invention;

[0037] 图7是根据本发明实施例七的一种终端设备的结构框图; [0037] FIG. 7 is a structural diagram of a terminal device according to a seventh embodiment of the present invention;

[0038] 图8是根据本发明实施例八的一种移动终端的结构框图; [0038] FIG. 8 is a block diagram of a mobile terminal according to Embodiment 8 of the present invention;

[0039] 图9是根据本发明实施例九的一种移动终端的结构框图; [0039] FIG. 9 is a block diagram of a mobile terminal according to a ninth embodiment of the present invention;

[0040] 图10是根据本发明实施例十的一种移动终端授权系统的结构示意图; [0040] FIG. 10 is a schematic view of a mobile terminal authorization system according to Embodiment 10 of the embodiment of the present invention;

[0041] 图11是本发明实施例中提供的一种终端设备结构示意图; [0041] FIG. 11 is a schematic configuration example of a terminal device provided in the embodiment of the present invention;

[0042] 图12是本发明实施例中提供的一种路由器结构示意图。 [0042] FIG. 12 is a schematic structure of the router of the embodiment of the present invention is provided.

具体实施方式 Detailed ways

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

[0044] 实施例一 [0044] Example a

[0045] 参照图1,示出了根据本发明实施例一的一种移动终端连接网络的方法的步骤流程图。 [0045] Referring to FIG. 1, a flowchart illustrating steps in a method of a mobile terminal according to an embodiment of the present invention connected to the network.

[0046] 本实施例从服务侧如与已与服务器相连的无线路由器侧,对本发明的移动终端连接网络的方法进行说明,本实施例的移动终端连接网络的方法包括以下步骤:[0047] 步骤S102:接收移动终端发送的用于接入WIFI网络的请求消息。 [0046] The present embodiment example, the wireless router side is connected to the server, to a mobile terminal according to the present invention connected to a network is described from the service side, a mobile terminal according to the present embodiment is connected to a network comprising the steps of: [0047] Step S102: the mobile terminal sends a request message for access to a WIFI network.

[0048] 其中,请求消息除包括加密后的WIFI网络的接入信息外,还包括第一授权信息,第一授权信息包括授权距离信息和授权时间信息中的任意一种或全部;授权距离信息用于指示WIFI网络的授权覆盖范围,授权时间信息用于指示WIFI网络的授权使用时间段。 [0048] wherein, in addition to the access request message of the WIFI network information including encryption, further comprising a first authorization information, the first authorization information comprises any one or all of the authorization from the authorization information and the time information; authorization distance information authorization WIFI network coverage for indicating the authorization information indicating authorization time WIFI network usage period.

[0049] WIFI网络的接入信息包括用于接入WIFI网络的信息,如VPN (Virtual PrivateNetwork,虚拟专用网络)、接入密码、接入网络的证书信息、AP (Access Point,访问节点)中的一种或多种。 [0049] WIFI network access information comprises information for accessing the WIFI network, such as VPN (Virtual PrivateNetwork, virtual private network), an access code, the access network credential information, AP (Access Point, access nodes) one or more. 接入信息的加密方式可以由本领域技术人员根据实际情况选择任意适当的加密方式,如使用MD5算法、RSA算法(RSA是1977年由罗纳德.李维斯特(Ron Rivest),阿迪.萨莫尔(Adi Shamir)和伦纳德.阿德曼(Leonard Adleman) 一起提出的,RSA就是他们三人姓氏开头字母拼在一起组成的。)、DES (Data Encryption Standard,数据加密标准)算法进行加密等,本发明实施例对此不作限制。 Encryption access information can be selected by those skilled in the art based on the actual situation any suitable encryption method, such as using the MD5 algorithm, the RSA algorithm (RSA 1977 by the Ronald Rivest (Ron Rivest), Adi Shamir (Adi Shamir) and Leonard Adleman (Leonard Adleman) together raised, RSA is the last name begins with the letters spell three of them together to form.), DES (data encryption standard, data encryption standard) encryption algorithm embodiment, the present invention is not limited to this. 授权距离信息用于指示WIFI网络的可接入授权覆盖范围。 Distance information indicating authorization may access authorization WIFI network coverage. 授权时间信息用于指示WIFI网络的授权使用时间段,在实际应用中,授权使用时间段可以是诸如8AM至10AM的时间段,也可以是个有效期,如至授权信息发送时间起24个小时有效等。 Authorized time information for authorizing indicating WIFI network usage period, in practice, the authorization to use the time period may be a time period such as 8AM to 10AM may also be a period, such as to grant information sent from the time 24 hours effective etc. .

[0050] 步骤S104:判断移动终端是否满足第一授权信息中对应的授权距离信息和/或授权时间信息;若满足,则执行步骤S106 ;若不满足,则执行步骤S110。 [0050] Step S104: determining whether the mobile terminal satisfies a first authorization in the authorization information corresponding to the distance information and / or authorization time information; if yes, execute step S106; not satisfied, step S110.

[0051] 当第一授权信息中包括授权距离信息而不包括授权时间信息时,无线路由器或者提供WIFI网络的热点设备可以仅判断移动终端是否在授权距离信息指示的WIFI网络的授权覆盖范围内; [0051] When the first authorization information from the authorization information includes authorization does not include time information, a wireless router or WIFI network hotspot device may be provided only within the authorized coverage determination whether the mobile terminal from the authorization information indicates the WIFI network;

[0052] 当第一授权信息中包括授权时间信息而不包括授权距离信息时,无线路由器或者提供WIFI网络的热点设备可以仅判断移动终端发送请求消息的时间是否在授权时间信息指示的WIFI网络的授权使用时间段内; [0052] When the first time information of the authorization comprises authorization information from the authorization information does not include, a wireless router or WIFI network hotspot device may provide only a WIFI network determines whether the mobile terminal sends a request message indicating the time information in the authorization time authorize the use of period;

[0053] 当第一授权信息中既包括授权距离信息又包括授权时间信息时,线路由器或者提供WIFI网络的热点设备需要既判断移动终端是否在授权距离信息指示的WIFI网络的授权覆盖范围内,又判断移动终端发送授权信息的时间是否在授权时间信息指示的WIFI网络的授权使用时间段内。 [0053] When both the first authorization information from the authorization information includes authorization and when the time information, or to provide a hot-line router WIFI network devices need both the authorized coverage determination whether the mobile terminal from the authorization information indicates the WIFI network, and determining whether the authorization time WIFI network the mobile terminal transmits the authorization information in the authorization information indicates the time period of use.

[0054] 授权覆盖范围和授权使用时间段由本领域技术人员根据实际需要灵活设置,本发明对此不作限制。 [0054] Authorization coverage and authorized to use the time period set flexibly according to actual needs by those skilled in the art, the present invention is not limited to this.

[0055] 步骤S106:若判断移动终端满足第一授权信息中对应的授权距离信息和/或授权时间信息,则对移动终端发送来的请求消息中的WIFI网络的接入信息进行解密,并判断解密后的WIFI网络的接入信息是否正确,若正确,则执行步骤S108 ;若不正确,则执行步骤SllO0 [0055] Step S106: If it is judged to meet the mobile terminal from the authorization information and / or authorization information in the first time a corresponding authorization information, the access information request message transmitted to the mobile terminal in the WIFI network is decrypted, and determines WIFI network access information decrypted are correct, if correct, the step S108 is performed; if not correct, step SllO0

[0056] 步骤S108:当根据解密结果确定WIFI网络的接入信息正确后,授权移动终端接入WIFI网络,结束本次流程。 [0056] Step S108: After confirming the access right information in accordance with WIFI decryption result, the mobile terminal authorized to access the WIFI network, terminates this procedure.

[0057] 步骤SllO:不允许移动终端接入WIFI网络,结束本次流程。 [0057] Step SllO: WIFI network is not allowed access to the mobile terminal ends the current process.

[0058] 通过本实施例,接入WIFI网络的请求消息中携带有第一授权信息,该第一授权信息包括授权距离信息或者授权时间信息或者二者都有,通过上述二种信息指示的WIFI网络的授权覆盖范围和授权使用时间段中的一种或全部,控制移动终端对WIFI网络的使用。 [0058] With this embodiment, the access request message WIFI network carries a first authorization information, the first information includes authorization information or authorization from the authorized time information or both, by the above two kinds of information indicated by the WIFI authorization network coverage and authorized to use one or all of the time period of controlling a mobile terminal using WIFI network. 当移动终端接入WIFI网络时,自动判断移动终端是否满足第一授权信息中对应的授权距离信息和/或授权时间信息,也即,自动判断移动终端是否在授权距离信息指示的WIFI网络授权覆盖范围内,或者,判断移动终端发送授权信息的时间是否在授权时间信息指示的时间段内,或者,对二者均进行判断,当判断结果为是时,则再判断请求消息中的WIFI网络接入信息是否正确,若接入信息也正确,则允许移动终端接入WIFI网络,而无须人工进行输入和配置,并且WIFI网络接入信息也不会因显示或告知等而导致外泄。 When the mobile terminal accesses the WIFI network, the mobile terminal automatically determines the distance information satisfies the authorization and / or authorization information of the first time information corresponding to the authorization, i.e., WIFI network automatically determine whether the mobile terminal the authorization information indicating authorization distance covered the range, or whether the mobile terminal is determined period of time transmitting authorization information in the authorization information indicates the time, or on both the determination, when the judgment result is YES, it is then determined in the request message WIFI network interface the information is correct and if the access information is also correct, the mobile terminal is allowed to access the WIFI network, and without having to manually input the configuration, and WIFI network access information display or the like will not be caused by leakage informed. 而若自动判断移动终端是否满足第一授权信息中对应的授权距离信息和/或授权时间信息的判断结果为否,或者,虽然该判断结果为是,但WIFI网络接入信息不正确,则均不允许移动终端接入WIFI网络。 And if the mobile terminal automatically determines whether the authorization information satisfies the first authorization corresponding to the distance information and / or the authorized time information judgment result is NO, or, although the determination result is YES, the WIFI network access information is not correct, the average WIFI network is not allowed access to the mobile terminal. 可见,通过本实施例的方案,一方面,无须人工进行输入和配置,提高了WIFI网络的接入效率,且减轻了移动终端用户的使用负担;另一方面,WIFI网络的接入信息不再显式通知用户,用户在不知道WIFI网络接入信息的情况下即可接入WIFI网络,避免了WIFI网络接入信息的外泄,保障了WIFI网络的安全。 Therefore, with the present embodiment, on the one hand, no manual input and configured to improve the efficiency of the WIFI network access, and reduce the burden of using a mobile terminal user; the other hand, the network access information is no longer WIFI explicitly inform the user, the user without knowing WIFI network access information to access WIFI network, WIFI Internet access to avoid leakage of information to protect the security WIFI network.

[0059] 实施例二 [0059] Second Embodiment

[0060] 参照图2,示出了根据本发明实施例二的一种移动终端连接网络的方法的步骤流程图。 [0060] Referring to FIG 2, a flowchart illustrating steps of a method of a mobile terminal according to a second embodiment of the present invention connected to a network.

[0061] 本实施例以具有连接网络权限的终端设备,如无线路由器或者网络热点为例,对本发明的移动终端连接网络的方法进行说明。 [0061] In the present embodiment, the terminal device having the connection authority to the network, such as a wireless router or network hot spot, for example, the method described network connected to the mobile terminal of the present invention. 具有连接网络权限的终端设备已与网络侧服务器相连,接收移动终端发送的请求消息并进行处理。 Terminal device having the connection authority to the network has been connected to the network server side, the mobile terminal receives the request message and processed.

[0062] 本实施例的移动终端连接网络的方法包括以下步骤: [0062] The mobile terminal according to the present embodiment of a method of connecting network comprises the steps of:

[0063] 步骤S202:具有连接网络权限的终端设备生成第二授权信息,并通过NFC (NearField Communication,近场通信)技术向移动终端发送第二授权信息。 [0063] Step S202: the terminal device having a second authorization network connection permission information, and information via NFC (NearField Communication, near field communication) technology to the mobile terminal a second authorization.

[0064] 生成的第二授权信息除包括加密后的WIFI网络的接入信息和终端设备的相关信息外,还包括授权距离信息和授权时间信息中的一种或全部。 [0064] generating a second authorization information in addition to information access and information terminal devices including WIFI network after encryption, further comprising one or all of the authorization from the authorization information and the time information. 终端设备的相关信息可以是终端设备的相关说明或描述信息,不对本实施例的移动终端连接网络产生实质影响。 Related information terminal device may be illustrated or described in the relevant information of the terminal device, the mobile terminal does not present embodiment is substantially affect the network connection. 通过包含经过加密的接入信息或Token (令牌)、以及授权距离信息和授权时间信息中的一种或全部,使得第二授权信息成为一种包含距离和/或时间的授权信息,只在一定的距离和/或时间内有效。 By including encrypted access information or the Token (token), and the authorization from the authorization information and the time information of one or all of, such that the second authorization information becomes distance and / or authorization information comprising the time, only within a certain distance of time and / or effective. 本实施例中,设定第二授权信息中同时包括授权距离信息和授权时间信息。 In this embodiment, while setting the second authorization information includes authorization information from the authorization and time information.

[0065] 此外,第二授权信息还可以具有是否被多个移动终端共享的权限。 [0065] In addition, second authorization information may also have a plurality of whether the mobile terminal share permissions.

[0066] 一种可行方式是:第二授权信息中还可以包括移动终端的设备信息,当第二授权信息中包括移动终端的设备信息时,该第二授权信息仅用于该移动终端的WIFI网络授权接入,而无法与其它移动终端共享该授权信息,也即,当其它移动终端使用包含有该设备信息的授权信息,请求接入WIFI网络时将被拒绝。 [0066] One possible way is: the second authorization information may include device information of the mobile terminal, when the authorization information includes the second information of the mobile terminal device, the second authorization information only for the mobile terminal WIFI network access authorization, the authorization information can not be shared with other mobile terminals, i.e., when the other mobile terminal includes authorization information to the device information, the request will be denied access WIFI network. 相反的是,如果第二授权信息中不包括移动终端的设备信息时,则该第二授权信息可被多个移动终端共享,也即,可被多个移动终端共享使用接入WIFI网络。 Conversely, if the device information of the mobile terminal does not include a second authorization information, the authorization information of the second plurality of mobile terminals may be shared, i.e., may be shared by a plurality of mobile terminals access WIFI network.

[0067] 另一种可行方式是:具有连接网络权限的终端设备生成第二授权信息时,若接收第二授权信息的移动终端的设备信息与存储的标准设备信息匹配,则第二授权信息中包括共享权限;通过共享权限,移动终端将第二授权信息中的加密后的WIFI网络的接入信息共享给其他移动终端。 [0067] Another possibility is: when the terminal device having the connection authority to the network generates a second authorization information, device information and the device information matching the standard of the mobile terminal if the received second authorization information is stored, the second authorization information including sharing permissions; by sharing permissions, access information sharing mobile terminal WIFI network after a second encrypted authorization information to other mobile terminals. 此时,该移动终端向该WIFI网络的接入信息共享给其他移动终端时,可自动再生成新的授权距离信息和/或授权时间信息,该新的授权距离信息和/或授权时间信息可以与原授权距离信息和/或授权时间信息相同,也可以不同,如,一个移动终端的授权时间是永久授权,而该移动终端生成的新的授权时间为3个小时,该移动终端将3个小时的授权时间共享给其它移动终端。 At this time, when the mobile terminal to the access information WIFI network shared with other mobile terminal can automatically generate a new authorization distance information and / or authorization time information from the new authorization information and / or time information may authorize with the original authorization distance information and / or the same authorized time information, it may be different, e.g., an authorized time the mobile terminal is persistent grant, and the new authorized time the mobile terminal is generated for three hours, the mobile terminal 3 hour time-sharing authorization to other mobile terminals. 也即,移动终端将第二授权信息中的加密后的WIFI网络的接入信息共享给其他移动终端时:该移动终端获取第二授权信息中的授权距离信息和/或授权时间信息;根据授权距离信息和/或授权时间信息,配置对应的临时授权距离信息和/或临时授权时间信息,其中,临时授权距离信息指示的WIFI网络覆盖范围在授权距离信息指示的覆盖范围内,临时授权时间信息指示的WIFI网络使用时间段在授权距离信息指示的时间段内;使用临时授权距离信息和/或临时授权时间信息,以及第二授权信息中的加密后的WIFI网络的接入信息,生成临时授权信息;将临时授权信息发送给请求共享授权的其它移动终端。 When i.e., mobile terminal information shared access WIFI network after a second encrypted authorization information to other mobile terminals: mobile terminal acquires the second authorization information from the authorization information and / or authorization time information; mandated distance information and / or authorization time information, provisional configuration corresponding to the distance information and / or temporary authorization time information, wherein the temporary authorization distance information indicating a WIFI network coverage authorization distance information indicative of coverage, temporary authorization time information WIFI network usage period information indicative of the authorization from the time period indicated; temporarily authorized to use the access information from the information and / or time temporary authorization information, and the second authorization information is encrypted WIFI network, generates a temporary license information; temporarily authorized to send information to the other mobile terminals sharing authorization request.

[0068] 本实施例中,第二授权信息通过NFC技术向移动终端发送,如,通过NFC芯片或者专用的NFC设备。 [0068] In this embodiment, second authorization information to the mobile terminal through NFC technology, e.g., the NFC chip or dedicated NFC device. 但不限于此,其它发送方式同样适用,如通过其它适当设备或直接通过无线网络或WIFI网络或者目前现有的连接方式均可。 But it is not limited thereto, and is equally applicable to other transmission method, or other suitable device such as by directly or through a wireless network or WIFI network connection can be currently available. NFC技术是一种较为常用和通过的数据传输和交互技术,传输速度快,实现简单,实现成本低。 NFC technology is a more commonly used and data transmission and by interaction techniques, transmission speed, simple, low cost.

[0069] 本步骤中,具有连接网络权限的终端设备可以是无线路由器、网络热点、或移动终端等。 [0069] In this step, the terminal device having the connection authority to the network may be a wireless router, a hotspot network, the mobile terminal or the like.

[0070] 步骤S204:移动终端接收第二授权信息,获取其中的授权距离信息和/或所述授权时间信息,生成第一授权信息。 [0070] Step S204: the mobile terminal receiving the second authorization information, wherein the authorization acquisition time information from the authorization information and / or the generated first authorization information.

[0071] 步骤S206:当移动终端需要接入WIFI网络时,生成并向具有连接网络权限的终端设备发送请求消息,具有连接网络权限的终端设备通过NFC技术接收移动终端发送的请求消息。 [0071] Step S206: when the mobile terminal needs to access the WIFI network, generates and having a connection to the network authority terminal device sends a request message, the connection request message to the network having the terminal device receives permission to the mobile terminal through NFC technology.

[0072] 移动终端向具有连接网络的终端设备发送的请求消息中,除包括步骤S204生成的第一授权信息外,还包括加密后的WIFI网络的接入信息,此外,还可以有类似移动终端的当前位置、当前时间等信息。 [0072] The request to the mobile terminal device having a terminal connected to the network message, in addition to comprising first authorization information generated in step S204, further comprising a WIFI network access information encrypted, in addition, the mobile terminal may be similar the current location, current time and other information.

[0073] 从本步骤开始,具有连接网络权限的终端设备为能够提供WIFI网络的设备,如无线路由器、网络热点等,不再包括移动终端。 [0073] Starting with this step, the network having connection authority terminal device capable of providing WIFI network devices, such as a wireless router, a network hotspots, not including the mobile terminal.

[0074] 步骤S208:具有连接网络权限的终端设备判断移动终端是否满足第一授权信息中对应的授权距离信息和/或授权时间信息;若满足,则执行步骤S210 ;若不满足,则执行步骤S214。 [0074] Step S208: the terminal device having the connection authority to the network determines whether the mobile terminal satisfies authorization distance information and / or authorization information in the time information corresponding to the first authorization; if yes, execute step S210; not satisfied, step S214.

[0075] 具有连接网络权限的终端设备对移动终端是否满足第一授权信息中对应的授权距离信息和/或授权时间信息的判断包括:判断移动终端的当前位置是否在对应的授权距离信息指示的WIFI网络的授权覆盖范围内;和/或,判断移动终端的当前时间是否在对应的授权时间信息指示的WIFI网络的授权使用时间段内。 [0075] the terminal device having the connection authority to the network the mobile terminal and the distance information satisfies authorization / authorization information corresponding to the first determination of the time or the authorization information comprises: determining whether the mobile terminal's current location information indicating the authorization of the corresponding distance the authorization WIFI network coverage; and / or WIFI network authorization of the mobile terminal determines whether the current time information indicated in the corresponding time-use authorization period.

[0076] 本实施例中,因第一授权信息中同时包括授权距离信息和授权时间信息,因此,具有连接网络权限的终端设备需要对移动终端的位置和时间均进行判断,只有移动终端的当前位置在WIFI网络的授权覆盖范围内且发送授权信息的当前时间在授权使用时间段内,才进行后续处理;否则,则拒绝该移动终端接入WIFI网络。 [0076] The current embodiment of the present embodiment, because both the first authorization information from the authorization information includes authorization and time information, therefore, has authority terminal device connected to the network requires the mobile terminal to the location and time are judged, and only the mobile terminal transmitting the current time position and the authorization information in the authorization WIFI network coverage in licensed period of time before subsequent processing; otherwise, rejecting the mobile terminal to access the WIFI network. 当然,对于只包含授权距离信息和授权时间信息中的一种的情况,只需进行相应部分的判断即可。 Of course, the case only comprise one authorization from the authorization information and the time information, and only the corresponding portion can be determined.

[0077] 其中,具有连接网络权限的终端设备在判断移动终端的当前位置是否在对应的授权距离信息指示的WIFI网络的授权覆盖范围内时,可以先获取移动终端的位置信息如GPS信息或者WIFI信号强度信息;再根据移动终端的位置信息或者WIFI信号强度信息,判断移动终端的当前位置是否在对应的授权距离信息指示的WIFI网络的授权覆盖范围内。 [0077] wherein, when the authorization coverage of a terminal device having a network connection permission in the current position determination of the mobile terminal whether a corresponding authorization distance information indicating a WIFI network, it is possible to acquire location information of the mobile terminal such as GPS information or WIFI signal strength information; then according to the location information of the mobile terminal or a WIFI signal strength information, determines the current position of the mobile terminal authorized override whether the corresponding authorization information indicating a distance range of the WIFI network. 但不限于此,其它根据移动终端的当前位置判断移动终端是否在授权距离信息指示的WIFI网络的授权覆盖范围内的方式也同样适用,如通过基站获取移动终端的位置信息,根据位置信息进行判断等。 But is not limited thereto and also applies to the other according to the current location of the mobile terminal of the embodiment determines whether the mobile terminal is authorized to cover the distance information indicative of authorization scope WIFI network, such as the location information of the mobile terminal acquired by the base station, the location information is determined according to Wait.

[0078] 当请求消息中还包括移动终端的设备信息时,具有连接网络权限的终端设备在本步骤还需要判断存储的生成第二授权信息时使用的设备信息,与接收的移动终端发送的请求消息中的设备信息是否匹配。 [0078] When the request message further includes information of the mobile terminal device, a device connected to the network information used in the present authority terminal device determination step also requires memory to generate a second authorization information with the request received by the mobile terminal the device information in the message matches. 只有在具有连接网络权限的终端设备确定存储的生成第二授权信息时使用的设备信息,与接收的移动终端发送的请求消息中的设备信息匹配时,具有连接网络权限的终端设备才进行后续步骤S210,以授权移动终端接入WIFI网络;否则,具有连接网络权限的终端设备将拒绝该移动终端接入WIFI网络。 Before a subsequent step is only used when the information in the device a second authorization information terminal device having the connection authority to determine the stored network generation, matching device information request message sent by the mobile terminal received having authority terminal device connected to the network S210, to authorize access to the mobile terminal WIFI network; otherwise, the terminal device having the connection authority to the network rejects the mobile terminal to access the WIFI network.

[0079] 而当第二授权信息中不包括移动终端的设备信息时,具有连接网络权限的终端设备允许移动终端将第二授权信息中的WIFI网络的接入信息、以及授权距离信息和/或授权时间信息共享给其它移动终端,也即,其它未直接从具有连接网络权限的终端设备接收授权信息,而是由别的移动终端处获取授权信息的这部分移动终端,同样可以使用该授权信息接入WIFI网络。 [0079] When the second authorization information does not include information of the mobile terminal device, the terminal device having the connection authority to the network access information allows the mobile terminal to the second authorization information WIFI network, and authorization information from and / or time sharing authorization information to other mobile terminals, i.e., other authorization information is not received from the terminal device having the connection authority to the network, but this part of the mobile terminal acquired by the mobile terminal authorization information at the other, also possible to use the authorization information WIFI Internet access.

[0080] 步骤S210:若具有连接网络权限的终端设备判断移动终端满足第一授权信息中对应的授权距离信息和/或授权时间信息,则对移动终端发送来的授权信息中的WIFI网络的接入信息进行解密,执行步骤S212。 [0080] Step S210: If the terminal device having the connection authority to the network is determined from the mobile terminal to meet the authorization information and / or authorization information of the first time information of the corresponding authorization, the authorization information transmitted to the mobile terminal WIFI network access the information is decrypted, step S212.

[0081] 步骤S212:当具有连接网络权限的终端设备根据解密结果确定WIFI网络的接入信息正确后,授权移动终端接入WIFI网络,结束本次流程。 [0081] Step S212: after the terminal device having the connection authority to the network access information is determined in accordance with WIFI correct decryption result, the mobile terminal authorized to access the WIFI network, terminates this procedure.

[0082] 优选地,当第一授权信息中还包括移动终端的设备信息时,在确定WIFI网络的接入信息正确的步骤之后,还包括:将接收的请求消息携带的设备信息与存储的标准设备信息进行匹配;若匹配,则确定移动终端具有设置和使用WIFI网络的权限,授权移动终端接AffIFI网络;若不匹配,则确定移动终端具有使用WIFI网络的权限,授权移动终端接入WIFI网络。 [0082] Preferably, when the first information further comprises authorization information of a mobile terminal device, the WIFI network after determining the step of the access right information, further comprising: a standard device information stored in the received request message carrying the device information matching; if the matching, it is determined that the mobile terminal has permission to set up and use of WIFI network authorizing the mobile terminals access a network AffIFI; if not matched, it is determined that the mobile terminal has authority to use the WIFI network, WIFI network access authorization of the mobile terminal . 这是因为,移动终端上可以安装控制无线路由器的设置的APP (应用),若移动终端是直接从无线路由器获取的授权信息,且该移动终端向无线路由器发送的请求消息中携带的设备信息与无线路由器中存储的标准设备信息相匹配,则该移动终端不仅可以接入WIFI网络,还可以对该WIFI网络进行设置;而如果向无线路由器发送请求消息的移动终端是从其它移动终端获取的授权信息,则即使该移动终端在请求消息中携带了其自身的设备信息,该设备信息将无法与无线路由器中存储的标准设备信息相匹配,此时,该移动终端仅能接入WIFI网络,而无法对WIFI网络进行设置。 This is because, may be installed on the mobile terminal controls the wireless router settings of the APP (application), if the mobile terminal is authorized information obtained directly from the wireless router, a device information request message and the mobile terminal transmits to the wireless router carries with standard device information stored in the wireless router matches, the mobile terminal can only access WIFI network, may also be provided for the WIFI network; and if the mobile terminal sends a request message to the wireless router is authorized obtained from other mobile terminals information, even if the mobile terminal carried in the request message of its own device information, the device information of the standard device information will not be stored in the wireless router matches this case, the mobile terminal can only access WIFI network, and unable to set the WIFI network.

[0083] 此外,在移动终端接入WIFI网络后,有可能发生网络故障导致网络中断的情况,此时,当移动终端与WIFI网络连接中断后恢复连接时,具有连接网络权限的终端设备会判断在距离中断后的设定时间段内是否再次收到移动终端发送的请求消息;若确定在设定时间段内再次收到移动终端发送的请求消息,则直接授权移动终端接入WIFI网络。 [0083] Further, after the mobile terminal accesses the WIFI network, network failure may occur leading to interruption of the network, this time, when the connection is restored after the mobile terminal and WIFI network connection is interrupted, the terminal apparatus determines connection with the network privileges after setting the distance whether it receives the interrupt request message sent by the mobile terminal again; determining if the mobile terminal receiving the request message transmitted again in the set period, the mobile terminal is authorized to access directly the WIFI network. 若WIFI网络中断将导致移动终端无法接入WIFI网络,而移动终端此时可能仍在WIFI网络的授权覆盖范围和/或授权使用时间段内,当WIFI网络恢复连接后,移动终端后再次向服务器发送相同的请求消息,请求再次接入WIFI网络,则只要该请求消息是在中断后的设定时间段内发送的,因该请求消息中携带的接入信息和授权信息与之前的相同且在设定时间段内发送,因此具有连接网络权限的终端设备将不再验证移动终端的位置和/或时间的合法性,也不再验证接入信息和正确性,直接允许该移动终端再次接入WIFI网络。 When the interrupt cause WIFI network the mobile terminal can not access the WIFI network, but this time the mobile terminal may still be authorized WIFI network coverage and / or authorized use period, when the WIFI network connection is restored again after the mobile terminal to the server sends the same request message, requesting access WIFI network again, as long as the request message is sent after setting the interrupt time period, and before the access information by the request and authorization information carried in the message, and at the same transmitting the set period, the terminal device having the connection authority to the network will not verify the legitimacy of the location of the mobile terminal and / or time, and access information is no longer verify the accuracy, allowing direct access to the mobile terminal again WIFI network. 其中,设定时间段由本领域技术人员根据实际需要灵活设置,本发明对此不作限制。 Wherein, the set time period set flexibly according to actual needs by those skilled in the art, the present invention is not limited to this.

[0084] 步骤S214:具有连接网络权限的终端设备不允许移动终端接入WIFI网络,结束本次流程。 [0084] Step S214: the terminal device having the connection authority to the network the mobile terminal is not allowed access to the WIFI network, terminates this procedure.

[0085] 通过本实施例,授权信息通过NFC技术交互,无需人工参与,可以随时更改,也无需人工记忆,方便和安全;授权信息里包括了授权距离信息和授权时间信息,可以有效的控制授权信息的使用空间和时间,有效保证了WIFI网络的使用安全。 [0085] With this embodiment, the authorization information is interactive technology the NFC, without human intervention, can be changed at any time, and without human memory, convenient and safe; authorization information to include in the authorization distance information and the authorization time information, can effectively control authority the use of spatial information and time, effectively ensuring the safe use WIFI network.

[0086] 实施例三 [0086] Example three

[0087] 参照图3,示出了根据本发明实施例三的一种移动终端连接网络的方法的步骤流程图。 [0087] Referring to FIG. 3, a flowchart illustrating steps of a method of a mobile terminal according to a third embodiment of the present invention connected to a network.

[0088] 本实施例从请求接入WIFI网络的移动终端侧对本发明的移动终端连接网络的方法进行说明,包括以下步骤: [0088] The present embodiment will be described embodiments of the present invention, a mobile terminal connected to a network access request from the mobile terminal side WIFI network, comprising the steps of:

[0089] 步骤S302:移动终端向提供WIFI网络的设备发送连接WIFI网络的请求消息。 [0089] Step S302: The mobile terminal sends a request message to provide the network connection WIFI WIFI network device.

[0090] 其中,请求消息用于请求接入WIFI网络,请求消息除包括加密后的WIFI网络的接入信息外,还包括第一授权信息,第一授权信息包括授权距离信息和授权时间信息中的一种或全部。 [0090] wherein the request message for requesting access WIFI network, a request message including access information in addition to the encrypted WIFI network, but also includes a first authorization information from the first authorization information includes authorization information and the time information of the authorization one or all of them. 授权距离信息用于指示WIFI网络的授权覆盖范围,授权时间信息用于指示WIFI网络的授权使用时间段。 Authorization information indicating authorization from WIFI network coverage, the authorization information for authorizing time indicating WIFI network usage period.

[0091] 需要说明的是,提供WIFI网络的设备可以用于供移动终端连接WIFI网络,此时,该设备可以是无线路由器或者网络热点;提供WIFI网络的设备还可以生成授权信息,在生成授权信息时,提供WIFI网络的设备可以是具有连接网络权限的终端设备如上述无线路由器或网络热点,也可以是移动终端,当是移动终端时,该移动终端可以生成临时授权信息共享给其它移动终端。 [0091] Incidentally, to provide WIFI network devices may be used for WIFI network mobile terminal is connected, this time, the device may be a wireless router or network hot spot; WIFI network providing apparatus may further generate authorization information, generates an authorization in when the information providing device WIFI network may be a network connection authority terminal device such as the wireless router or network hot spot may be a mobile terminal, when the mobile terminal, the mobile terminal may generate shared temporary authorization information to other mobile terminals .

[0092] 步骤S304:待提供WIFI网络的设备根据请求消息确定合法性后,移动终端接入WIFI网络。 [0092] Step S304: WIFI network device to be provided according to the request message to determine the legality of the mobile terminal to access the WIFI network.

[0093] 通过本实施例,无须人工在移动终端上进行了输入和设置即可接入WIFI网络,减轻了用户操作负担,提高了WIFI网络接入效率;并且,接入信息对用户透明,避免了信息泄漏,提高了WIFI网络的安全性。 [0093] With this embodiment, without manually input on a mobile terminal arranged to access and WIFI network, reducing the burden of the user operation, to improve the efficiency of the WIFI network access; and, the access information is transparent to the user, to avoid information leakage and improve the security of the WIFI network.

[0094] 实施例四 [0094] Fourth Embodiment

[0095] 参照图4,示出了根据本发明实施例四的一种移动终端连接网络的方法的步骤流程图。 [0095] Referring to Figure 4, a flowchart illustrating steps of a method of a mobile terminal according to a fourth embodiment of the present invention connected to a network.

[0096] 本实施例仍然从请求接入WIFI网络的移动终端侧对本发明的移动终端连接网络的方法进行说明,包括以下步骤: [0096] The present embodiment will be described embodiments of the method remains the mobile terminal of the present invention is connected to a network access request from the mobile terminal side WIFI network, comprising the steps of:

[0097] 步骤S402:移动终端通过NFC技术,接收具有连接网络权限的终端设备发送的第 [0097] Step S402: the mobile terminal through NFC technology, having a first receiver connected to the network terminal device transmits the authority

二授权信息。 Two licensing information.

[0098] 其中,第二授权信息用于具有连接网络权限的终端设备授权移动终端接入WIFI网络,第二授权信息除包括加密后的WIFI网络的接入信息和具有连接网络权限的终端设备的相关信息外,还包括授权距离信息和授权时间信息中的一种或全部,授权距离信息用于指示WIFI网络的授权覆盖范围,授权时间信息用于指示WIFI网络的授权使用时间段。 [0098] wherein the second authorization information for a terminal device having the connection authority to the network the mobile terminal authorized to access the WIFI network, second authorization information other WIFI network access information including encryption and the terminal device having the connection authority to the network outer related information further comprises authorization information from the authorization and time information of one or all of information indicating the authorization from the authorization WIFI network coverage, the authorization information for authorizing time indicating WIFI network usage period.

[0099] 此外,第二授权信息中还可以包括移动终端的设备信息。 [0099] In addition, second authorization information may further include information of the mobile terminal device. 当第二授权信息中包括移动终端的设备信息时,该第二授权信息仅可供该设备信息对应的移动终端接入WIFI网络,其它移动终端无法使用该授权信息接入WIFI网络。 When the second authorization information includes device information of the mobile terminal, the authorization information is available only to the second device information corresponding to a mobile terminal accessing the WIFI network, other mobile terminals can not use the WIFI network access authorization information.

[0100] 本实施例中,设定第二授权信息中包括加密后的WIFI网络的接入信息和授权距离信息,不包括授权时间信息和设备信息。 [0100] In this embodiment, the setting and the access information from the authorization information includes a WIFI network encrypted second authorization information, the authorization does not include the time information and device information. 但本领域技术人员应当明了,在实际应用中,授权信息中是否包括授权距离信息、授权时间信息和设备信息中的一种或多种,可以根据实际需要设定,当包括这些信息时的具体处理可参照本发明多个实施例中相应的部分实现。 However, it should be apparent to those skilled in the art, in practical applications, if the authorization information comprises one or more authorization distance information, time information, and the authorization device information may be set according to actual needs, including such information when specific corresponding parts may be treated to achieve a plurality of embodiments with reference to embodiments of the present invention. 当授权信息中不包括设备信息时,该授权信息可被多个移动终端共享,共同使用该授权信息接入WIFI网络。 When the authorization information is not included in the device information, the authorization information may be a plurality of mobile terminals share the common use of the WIFI network access authorization information.

[0101] 此外,移动终端也可以通过其它设备或途径与具有连接网络权限的终端设备交互,接收具有连接网络权限的终端设备发送的授权信息,而不局限于NFC技术。 [0101] Further, the mobile terminal may also have other devices by way interactive terminal or device connected to the network authority, receiving a network connection permission authorization information sent by the terminal, without being limited to NFC technology. 具有连接网络权限的终端设备可以是无线路由器、网络热点、或者可共享授权信息的移动终端。 Terminal device having the connection authority to the network may be a wireless router, a network hotspot, or may share the authorization information of the mobile terminal.

[0102] 步骤S404:移动终端从第二授权信息中获取加密后的WIFI网络的接入信息,以及授权距离信息和/或授权时间信息,使用授权距离信息和/或授权时间信息生成第一授权信息。 [0102] Step S404: WIFI network mobile terminal acquires the encrypted authorization information from the second access information, and information from the authorization and / or the authorized time information from the license information and / or time information generating first authorization authorization information.

[0103] 步骤S406:当需要接入WIFI网络时,移动终端通过NFC技术,向提供WIFI网络的设备发送连接WIFI网络的请求消息。 [0103] Step S406: WIFI network access when needed, the mobile terminal through the NFC technology, to provide a WIFI network device transmits a connection request message with WIFI. 该请求消息中携带有第一授权信息和加密后的WIFI网络的接入信息。 The request message carries the access information and the first authorization information encrypted with WIFI.

[0104] 提供WIFI网络的设备可以是无线路由器或网络热点。 [0104] provided WIFI network device may be a wireless router or network hotspot.

[0105] 步骤S408:待提供WIFI网络的设备根据请求消息确定合法性后,移动终端接入WIFI网络。 [0105] Step S408: WIFI network device to be provided according to the request message to determine the legality of the mobile terminal to access the WIFI network.

[0106] 优选地,若请求消息中还包括移动终端的设备信息时,提供WIFI网络的设备在确定合法性后,还会将接收的请求消息携带的设备信息与存储的标准设备信息进行匹配;若匹配,则确定移动终端具有设置和使用WIFI网络的权限,授权移动终端接入WIFI网络;若不匹配,则确定移动终端具有使用WIFI网络的权限,授权移动终端接入WIFI网络。 [0106] Preferably, if the request message further comprises device information of the mobile terminal, there is provided apparatus WIFI network after determining the legitimacy, also received the device information request criteria and the stored message match carried; If matching, it is determined that the mobile terminal has permission to set up and use of WIFI network, WIFI network access authorization of the mobile terminal; if not matched, it is determined that the mobile terminal has authority to use the WIFI network, WIFI network access authorization of the mobile terminal.

[0107] 步骤S410:移动终端接收其它移动终端发送的授权信息共享请求。 [0107] Step S410: the mobile terminal authorization information sharing request sent by the mobile terminal receives other.

[0108] 第二授权信息由具有连接网络权限的终端设备生成;当具有连接网络权限的终端设备生成第二授权信息时,若接收第二授权信息的移动终端的设备信息与存储的标准设备信息匹配,则第二授权信息中包括共享权限;此时,该移动终端可以通过共享权限,将第二授权信息中的加密后的WIFI网络的接入信息共享给其它移动终端。 [0108] The second authorization information generated by the terminal device having the connection authority to the network; having a connection to the network when the terminal device generates a second rights authorization information, the device information stored in the mobile terminal when receiving the second authorization information standard device information It matches the second authorization information comprising the share permissions; in this case, the mobile terminal may share permissions, WIFI network share access information after the second encrypted authorization information to other mobile terminals.

[0109]或者, [0109] Alternatively,

[0110]当第二授权信息中不包括设备信息时,该第二授权信息可以被多个移动终端共享。 [0110] When the authorization information is not included in the second information device, the second authorization information may be shared by multiple mobile terminals.

[0111] 本实施例中,以移动终端A接收到移动终端B发送的授权信息共享请求后,将授权信息共享给移动终端B的形式实现,但不限于此,在实际应用中,也可以由移动终端A主动寻找到移动终端B后,主动将授权信息发送给移动终端B的形式实现授权信息的共享。 After [0111] In this embodiment, the mobile terminal A receives the authorization information sharing request sent by the mobile terminal B, the shared authorization information to the mobile terminal B is implemented in the form of, but not limited thereto, in practical applications, can also be made after looking for the active mobile terminal a to the mobile terminals B, active form of authorization information to the mobile terminal B authorization information sharing. 另夕卜,共享授权信息的移动终端的个数不限,本实施例仅以移动终端B为例,其它从移动终端A处共享授权信息的其它移动终端,或者,从移动终端B处共享授权信息的其它移动终端的共享处理,均可参照本实施例实现。 Bu Xi number of other, mobile terminals sharing the authorization information is not limited to this embodiment only the mobile terminal B for example, other mobile terminals sharing other authorization information from the mobile terminal A, or sharing authorization from the mobile terminal B other mobile terminals sharing processing information, with reference to the present embodiment may be implemented.

[0112] 步骤S412:移动终端通过共享权限,根据授权信息共享请求,将第二授权信息中的加密后的WIFI网络的接入信息共享给其它移动终端。 [0112] Step S412: the mobile terminal share permissions, according to the authorization request information sharing, shared access to the information WIFI network in a second encrypted authorization information to other mobile terminals.

[0113] 移动终端通过共享权限,根据授权信息共享请求,将第二授权信息中的加密后的WIFI网络的接入信息共享给其它移动终端时: [0113] The mobile terminal by sharing rights, according to the authorization request information sharing, the access authorization information in the second encrypted WIFI network information to other mobile terminals sharing:

[0114] 一种可行方式是,直接将原第二授权信息中的加密后的WIFI网络的接入信息、以及授权距离信息和/或授权时间信息,发送给其它移动终端,也即,二授权信息中的接入信息、授权距离信息(如果包含有的话)、授权时间信息(如果包含有的话)等信息均不发生改变,其它移动终端享有与该移动终端相同的WIFI网络授权覆盖范围和授权使用时间段。 [0114] One possible way is direct access to the original information after a second WIFI network authorization information is encrypted, and information from the authorization and / or authorization time information transmitted to other mobile terminals, i.e., two authorization the access information in the authorization information from (if included any), the authorized time (if comprising any) other information not changed, the other mobile terminal with the mobile terminal Related same authorization WIFI network coverage and authorize the use of time.

[0115]另一种可行方式是,获取第二授权信息中的授权距离信息和/或授权时间信息;根据授权距离信息和/或授权时间信息,配置对应的临时授权距离信息和/或临时授权时间信息,其中,临时授权距离信息指示的WIFI网络覆盖范围在授权距离信息指示的覆盖范围内,临时授权时间信息指示的WIFI网络使用时间段在授权距离信息指示的时间段内;使用临时授权距离信息和/或临时授权时间信息,以及第二授权信息中的加密后的WIFI网络的接入信息,生成临时授权信息;将临时授权信息发送给请求共享授权的其它移动终端,如发送授权信息共享请求的移动终端。 [0115] Another possibility is to obtain the second authorization information from the authorization information and / or authorization time information; distance information according to the authorization and / or the authorized time information, the configuration information from the temporary authorization and / or temporary license corresponding time information, wherein the information indicating the temporary license from the WIFI network coverage within a coverage area indicated by the information from the authorization, time information indicating a temporary authorization WIFI network using period information indicating a period of time from the authorization; temporarily authorized to use distance information and / or time temporary authorization information, and access information of the second WIFI network authorization information is encrypted, generating a temporary authorization information; other mobile terminals sharing the authorization request will be sent to the temporary authorization information, such as sharing transmitting authorization information requesting mobile terminal. 也即,该移动终端会在自己的授权覆盖范围和/或授权使用时间段的基础上,进行二次设置,使共享授权信息的其它移动终端的授权进一步受限。 That is, the mobile terminal will be used in their authorization coverage and / or authorization time period based on the secondary set the authorization information is authorized to share the other mobile terminal is further restricted. 并且,针对不同的移动终端进行的二次设置可以也不相同。 And, a second setting for different mobile terminal may not the same. 当授权信息中同时包括授权覆盖范围和授权使用时间段时,也可仅针对其中的一项进行二次设置。 When authorization information including authorization when both coverage and unauthorized use period, can also be provided only for the second one of them. 但是,不管二次设置如何进行,也不管授权信息被共享过多少次,或经过多少个移动终端共享,其中的接入信息与原授权信息中的接入信息相同,不会发生改变。 However, no matter how the second set, and authorization information to be shared regardless of how many times, or after a number of mobile terminals to share the same access to information and access information in the original authorization information in it, and will not change.

[0116] 优选地,移动终端在将临时授权信息发送给请求共享授权的其它移动终端时,通过NFC技术,将临时授权信息发送给请求共享授权的其它移动终端。 When [0116] Preferably, the mobile terminal is temporarily authorized to transmit information to other mobile terminals sharing the authorization request through NFC technology, temporarily authorized to transmit information to other mobile terminals sharing authorization request.

[0117] 此外,需要说明的是,步骤S410-S412的执行不限于在步骤S408之后的方式,事实上,在移动终端获得授权信息后,也即,在步骤S402之后的任意时刻均可执行。 [0117] Further, it is noted that the steps S410-S412 is not limited to the embodiment, after performing step S408, in fact, after obtaining authorization information in a mobile terminal, i.e., at any time after the execution of step S402 can.

[0118] 通过本实施例,无须人工在移动终端上进行了输入和设置即可接入WIFI网络,减轻了用户操作负担,提高了WIFI网络接入效率;接入信息对用户透明,避免了信息泄漏,提高了WIFI网络的安全性;授权信息可以方便地在多个移动终端用户之间共享,使用方便,提高了WIFI网络接入的易操作性,进一步提高了WIFI网络接入效率。 [0118] With this embodiment, without manually input on a mobile terminal arranged to access and WIFI network, reducing the burden of the user operation, to improve the efficiency of the WIFI network access; access information transparent to the user, to avoid information leakage and improve the security of the WIFI network; authorization information can be easily shared among a plurality of mobile terminal users, easy to use, improved operability WIFI network access, to further improve the efficiency of the WIFI network access.

[0119] 实施例五 [0119] Embodiment V

[0120] 参照图5,示出了根据本发明实施例五的一种移动终端授权交互的步骤流程图。 [0120] Referring to Figure 5, a flowchart illustrating the steps of a mobile terminal according to a fifth embodiment of the present invention interact with the authorization.

[0121] 本实施例以具体实例,从提供WIFI网络的设备和移动终端交互的角度对本发明的移动终端授权时的交互流程进行说明。 [0121] In this embodiment, a specific example of the interaction process of the present invention when a mobile terminal is authorized to be described from the perspective of the mobile terminal device and the interaction will be provided with WIFI.

[0122] 本实施例的移动终端授权方法包括以下步骤: [0122] The mobile terminal authorization method according to the present embodiment includes the following steps:

[0123] 步骤S502:移动终端A与提供WIFI网络的设备B建立短距离无线连接。 [0123] Step S502: A mobile terminal establishing a short-range wireless connection with providing WIFI network device B.

[0124] 如,通过NFC技术建立短距离无线连接,提供WIFI网络的设备可以是无线路由器或网络热点。 [0124] For example, establishing a short-range wireless connection through NFC technology, WIFI network providing device may be a wireless router or network hotspot.

[0125] 步骤S504:提供WIFI网络的设备B通过建立的无线连接,根据自身保存的WIFI网络接入信息生成授权信息(包括时间有效期和有效距离),并传输给移动终端A。 [0125] Step S504: providing device B WIFI network by establishing a wireless connection, generating authorization information (including the time period and the effective distance) in accordance with its own stored WIFI network access information, and transmits to the mobile terminal A. [0126] 其中,提供WIFI网络的设备B在WIFI网络接入信息的属性上添加“时间有效期”即授权时间信息,和“有效距离”即授权距离信息,如有效期为24小时,当超过该有效时间后授权信息自动失效;有效距离为2米,当移动终端A距离服务器B或者验证设备的距离超过2米后授权信息自动失效。 [0126] wherein B WIFI network providing device is added "time period" i.e. authorized time information, and the "effective distance" that is authorized to distance information, such as valid for 24 hours on a WIFI network access attribute information, when it exceeds the effective authorization information automatically expire after time; effective distance of 2 meters, the authorization information automatically expire when the distance a from the mobile terminal device authentication server B or more than 2 meters.

[0127] 步骤S506:移动终端A接收到提供WIFI网络的设备B的授权信息后,进行保存,并提取其中的验证信息即WIFI网络接入信息(如密码、验证答案、验证字符串等)。 [0127] Step S506: the mobile terminal A receives the authorization information providing device B WIFI network, save, and to extract the authentication information, that WIFI network access information (e.g., password, authentication answer, the authentication string, etc.).

[0128] 但是,并不在屏幕上显示该验证信息(这样确保了移动终端A可以具有授权信息又不知道密码)。 [0128] However, the authentication information is not displayed on the screen (this ensures that the mobile terminal A having authorization information may not know the password).

[0129] 步骤S508:移动终端A接收到授权信息后,若该授权信息中携带了时间有效期,则开始计时,到达有效期后自动清除该授权信息;若该授权信息携带了有效距离,则启动距离传感器,检测本端与提供WIFI网络的设备B的距离或者与验证设备的距离,当距离超过有效距离后自动清除该授权信息。 [0129] Step S508: after the mobile terminal A receives the authorization information, if the authorization information carried in the time period, the start time, reaches automatically clear the authorization information is valid; if the authorization information is carried effective distance, starting from a distance sensor, and detects the local apparatus B is provided with the distance or WIFI network authentication device, when the distance exceeds a distance effective to clear the authorization information automatically.

[0130] 较佳地,为了避免误操作,当距离超过有效距离的时间不超过预定时间(如10分钟),仍认为该距离属于有效距离内。 [0130] Preferably, in order to avoid misuse, when the distance exceeds the validation distance no more than a predetermined time (e.g. 10 minutes), the distance is still considered to fall within the effective distance.

[0131] 对于移动终端A来说,当移动终端A使用该授权信息时,当验证设备为WIFI热点时,移动终端A启动连接WIFI功能后,扫描到该WIFI热点并发送连接请求,该连接请求中携带通过授权信息提取的验证信息,WIFI热点根据验证信息确定用户A的合法性;当验证设备为门禁等时,检测到具有待验证设备移动到预定距离范围内,获取验证信息验证其合法性。 [0131] For the mobile terminal A, when the mobile terminal A uses the authorization information, when the authentication device is a WIFI hotspot, the mobile terminal A starts connection WIFI function, the WIFI hotspots to scan and transmit a connection request, the connection request carries the authentication information extracted by the information of the authorization, WIFI hotspots legality authentication information is determined according to the user a; when the authentication access control apparatus is detected with the device to be authenticated moves within a predetermined distance range, acquiring the verification information to verify its legitimacy .

[0132] 同样,当授权信息中不包括移动终端A的设备信息时,该授权信息可以由移动终端A共享给其它移动终端。 [0132] Similarly, when the authorization information is not included in the device information of the mobile terminal A, the authorization information may be shared by the mobile terminal A to the other mobile terminal.

[0133] 例如,用户A去一家餐馆吃饭,在用户A使用的移动终端获得了网络访问的授权后,还可以把该授权分享给其他用户B的移动终端,当用户B的移动终端离开该餐馆的时间未超过预定时间,则用户B的移动终端再次进入餐馆网络的覆盖范围内,其网络授权依然有效。 [0133] For example, a user A to a restaurant for dinner, the user of mobile terminal A uses gained unauthorized network access after, can put the authorization to share the mobile terminal to other user B, when the mobile terminal of user B leaves the restaurant the time does not exceed the predetermined time, the mobile terminal of user B re-enters the coverage area of ​​the network of the restaurant, its network license is still valid. 其中,用户A的移动终端可以通过NFC技术将授权信息分享到用户B的移动终端,用户B的移动终端直接获取授权,而不显示密码。 Wherein, the mobile terminal may be authorized users A through NFC technology sharing information to the mobile terminal of user B, user B's mobile terminal direct access to authorization, without displaying a password.

[0134] 再例如,通过手机开门锁时,在住宅的门锁上安装密码验证设备,当手机靠近该密码验证设备的扫描区域一定距离后,验证该密码的合法性并确定是否开门。 [0134] For another example, when the mobile phone to open the door, mounted on a device password verification residential door, when a scan region at a distance from the phone to the password authentication device to verify the legitimacy of the password and determines whether to open the door. 这种场景下,用户A的手机通过NFC技术将授权信息分享到用户B的手机,用户B的手机直接获取授权,而不显示密码。 In this scenario, the mobile phone A by the user authorization information-sharing NFC technology to the phone user B, user B's mobile phone direct access authorization, without displaying a password. 该授权信息具有一定距离和时间限制,例如可以在一天内该授权信息有效,当超过该有效期后,授权信息失效。 The authorization information has a time limit and a certain distance, for example, during the day the authorization information is valid, when the period exceeds the authorization failure information.

[0135] 通过本实施例,授权信息通过NFC交互,无需人工参与,可以随时更改,也无需人工记忆,方便和安全;授权信息里面包括了有效距离和有效时间,可以有效的控制授权信息的使用空间和时间。 [0135] With this embodiment, the authorization information through NFC interaction, without human intervention, can be changed at any time, and without human memory, convenient and safe; authorization information which comprises an effective distance and the effective time can effectively control the use of authorization information space and time.

[0136] 实施例六 [0136] Sixth Embodiment

[0137] 参照图6,示出了根据本发明实施例六的一种终端设备的结构框图。 [0137] Referring to FIG 6, a block diagram illustrating a configuration of a terminal apparatus according to the six embodiment of the present invention.

[0138] 本实施例的终端设备具有连接网络权限,该终端设备包括:第一接收模块602,用于接收移动终端发送的用于接入WIFI网络的请求消息,其中,请求消息除包括加密后的WIFI网络的接入信息外,还包括第一授权信息,其中,第一授权信息授权距离信息和/或授权时间信息,授权距离信息用于指示WIFI网络的授权覆盖范围,授权时间信息用于指示WIFI网络的授权使用时间段;判断模块604,用于判断移动终端是否满足第一授权信息中对应的授权距离信息和/或授权时间信息;授权模块606,用于若判断模块604的判断结果为满足,则对WIFI网络的接入信息进行解密;当根据解密结果确定WIFI网络的接入信息正确后,授权移动终端接入WIFI网络。 [0138] the terminal device of the present embodiment has a network connection permissions, the terminal apparatus comprising: a first receiving module 602, for receiving a request message sent by the mobile terminal for accessing the WIFI network, wherein the request comprises encrypted message in addition WIFI network outside the access information, further comprising a first authorization information, wherein the first authorization information from the authorization information and / or authorization time information, the authorization information indicates coverage WIFI network authorization from the authorization information for time WIFI network authorization indication to use time periods; determining module 604 for determining whether the mobile terminal satisfies a first authorization information in the authorization information corresponding to the distance information and / or the authorized time; authorization module 606, determination module 604 for determining if the results is satisfied, then the WIFI network access information is decrypted; determining when the correct access information WIFI network according decryption result, the mobile terminal authorized to access the WIFI network.

[0139] 本实施例的终端设备用于实现前述多个方法实施例中相应的终端设备侧的移动终端授权方法,并具有相应的方法实施例的有益效果,在此不再赘述。 [0139] The present embodiment is a terminal device for implementing the method in a mobile terminal a plurality of authorization methods appropriate terminal side in the embodiment, and a corresponding method having advantageous effects of the embodiment, which is not repeated herein.

[0140] 实施例七 [0140] Seventh Embodiment

[0141] 参照图7,示出了根据本发明实施例七的一种终端设备的结构框图。 [0141] Referring to FIG. 7, a block diagram illustrating a configuration of a terminal apparatus according to embodiment seven of the present invention.

[0142] 本实施例对实施例六中的终端设备的结构进行了进一步优化,优化后的终端设备还包括:生成发送模块608,用于在第一接收模块602接收移动终端发送的用于接入WIFI网络的请求消息之前,生成第二授权信息,并通过NFC技术向移动终端发送第二授权信息,其中,第二授权信息中除包括有授权距离信息和/或所述授权时间信息外,还包括加密后的WIFI网络的接入信息和终端设备的信息。 [0142] Example embodiment of the present embodiment of the structure of the Sixth embodiment the terminal device is further optimized, the optimization terminal apparatus further comprising: generating a transmission module 608, a mobile terminal for receiving a first receiving module 602 for receiving transmitted before the WIFI network request message, generates a second authorization information, and transmits authorization information to the second mobile terminal through NFC technology, wherein the second authorization information includes, in addition to information and / or authorization information from the authorization time outside, the access information further comprises information terminal apparatus and the encrypted WIFI network.

[0143] 优化后的终端设备中,第一接收模块602,用于通过NFC技术接收移动终端发送的用于接入WIFI网络的请求消息。 After the terminal device [0143] optimization, a first receiving module 602, configured to receive a request message through NFC technology for a mobile terminal access WIFI network transmitted.

[0144] 优化后的终端设备中,判断模块604在判断移动终端是否满足授权信息中对应的授权距离信息和/或授权时间信息时,判断移动终端的当前位置是否在对应的授权距离信息指示的WIFI网络的授权覆盖范围内;和/或,判断移动终端的当前时间是否在对应的授权时间信息指示的WIFI网络的授权使用时间段内。 [0144] the terminal device after the optimization, the determining module 604 determines that the mobile terminal satisfies authorization authorization information corresponding to the information and / or authorization time information, whether the mobile terminal whether the current position in the corresponding authorization distance information indicating a distance the authorization WIFI network coverage; and / or WIFI network authorization of the mobile terminal determines whether the current time information indicated in the corresponding time-use authorization period.

[0145] 优化后的终端设备中,判断模块604在判断移动终端的当前位置是否在对应的授权距离信息指示的WIFI网络的授权覆盖范围内时,获取移动终端的位置信息或者WIFI信号强度信息;根据移动终端的位置信息或者WIFI信号强度信息,判断移动终端的当前位置是否在对应的授权距离信息指示的WIFI网络的授权覆盖范围内。 [0145] After the optimization terminal apparatus, when the authorized coverage determining module 604 at the current position determination of the mobile terminal whether a corresponding authorization distance information indicating a WIFI network, acquiring location information of the mobile terminal or a WIFI signal strength information; the location information of the mobile terminal or a WIFI signal strength information, the authorization within the coverage of the WIFI network determines whether the mobile terminal's current location information indicating the authorization of the corresponding distance.

[0146] 优化后的终端设备还包括:中断授权模块610,用于当移动终端与WIFI网络连接中断后恢复连接时,判断在距离中断后的设定时间段内是否再次收到移动终端发送的请求消息;若确定在设定时间段内再次收到移动终端发送的请求消息,则直接授权移动终端接AffIFI网络。 [0146] After the optimization terminal apparatus further comprising: an interrupt authorization module 610, a connection is restored when the mobile terminal is connected to the WIFI network interruption, after setting determines whether it receives the interrupt from the mobile terminal transmitted again request message; and determining if the mobile terminal receiving the request message transmitted again in the set period, the mobile terminal directly connected AffIFI authorization network.

[0147] 优化后的终端设备中,当请求消息中还包括移动终端的设备信息时,授权模块606还用于在确定WIFI网络的接入信息正确后之后,将接收的请求消息携带的设备信息与存储的标准设备信息进行匹配;若匹配,则确定移动终端具有设置和使用WIFI网络的权限,授权移动终端接入WIFI网络;若不匹配,则确定移动终端具有使用WIFI网络的权限,授权移动终端接入WIFI网络。 [0147] the terminal device in the optimized, when the request message further includes information of the mobile terminal device, authorization module 606 is further configured to access the device information after the information is correctly determined WIFI network, the request message received carried matching the stored information with the standard device; if the matching, it is determined that the mobile terminal has permission to set up and use of WIFI network, WIFI network access authorization of the mobile terminal; if not matched, it is determined that the mobile terminal has authority to use the WIFI network, the unlicensed mobile WIFI network terminal access.

[0148] 优化后的终端设备中,生成发送模块608在生成第二授权信息时,若接收第二授权信息的移动终端的设备信息与存储的标准设备信息匹配,则第二授权信息中包括共享权限;通过共享权限,移动终端将第二授权信息中的加密后的WIFI网络的接入信息共享给其它移动终端。 After the terminal device [0148] optimization to generate a transmission module 608 when generating the second authorization information, standard device information matches the device information stored in the mobile terminal if the received second authorization information, the authorization information comprises a shared second permissions; by sharing permissions, access information sharing mobile terminal WIFI network after a second encrypted authorization information to other mobile terminals.

[0149] 优化后的终端设备中,移动终端在将第二授权信息中的加密后的WIFI网络的接入信息共享给其它移动终端时,获取第二授权信息中的授权距离信息和/或授权时间信息;根据授权距离信息和/或授权时间信息,配置对应的临时授权距离信息和/或临时授权时间信息,其中,临时授权距离信息指示的WIFI网络覆盖范围在授权距离信息指示的覆盖范围内,临时授权时间信息指示的WIFI网络使用时间段在授权距离信息指示的时间段内;使用临时授权距离信息和/或临时授权时间信息,以及第二授权信息中的加密后的WIFI网络的接入信息,生成临时授权信息;将临时授权信息发送给请求共享授权的其它移动终端。 [0149] After optimization terminal device, the mobile terminal when the information is shared access WIFI network after the second encrypted authorization information to another mobile terminal, acquiring a second authorization information from the authorization information and / or authorization time information; and / or temporary authorization time information, wherein the temporary authorization distance information indicating a WIFI network coverage within the coverage of the authorization distance information indicating authorized in accordance with the distance information and / or the temporary authorization authorization time information, the configuration corresponding to the distance , time information indicating a temporary authorization WIFI network usage period information indicates a period of time from the authorization; temporarily authorized to use distance information and / or time temporary authorization information, and the second authorization information is encrypted WIFI network access information, generating temporary authorization information; temporarily authorized to transmit information to other mobile terminals sharing authorization request.

[0150] 本实施例的终端设备用于实现前述多个方法实施例中相应的终端设备侧的移动终端授权方法,并具有相应的方法实施例的有益效果,在此不再赘述。 [0150] The present embodiment is a terminal device for implementing the method in a mobile terminal a plurality of authorization methods appropriate terminal side in the embodiment, and a corresponding method having advantageous effects of the embodiment, which is not repeated herein.

[0151] 实施例八 [0151] Example eight

[0152] 参照图8,示出了根据本发明实施例八的一种移动终端的结构框图。 [0152] Referring to FIG. 8, a block diagram illustrating a configuration of a mobile terminal according to the eighth embodiment of the present invention.

[0153] 本实施例的移动终端包括:发送模块702,用于向提供WIFI网络的设备发送连接WIFI网络的请求消息,请求消息除包括加密后的WIFI网络的接入信息外,还包括第一授权信息,第一授权信息包括授权距离信息和/或授权时间信息,其中,授权距离信息用于指示WIFI网络的授权覆盖范围,授权时间信息用于指示WIFI网络的授权使用时间段;接入模块704,用于待提供WIFI网络的设备根据请求确定合法性后,接入WIFI网络。 [0153] The mobile terminal according to the present embodiment includes: a sending module 702, a WIFI network connection request message to the transmission device provides a WIFI network, a request message including access information in addition to the encrypted WIFI network, also comprising a first authorization information, the first information includes authorization information from the authorization and / or the authorized time information, wherein the information indicating the authorization from the authorization WIFI network coverage, time authorization information for authorizing the use of WIFI network indicating a time period; access module 704, WIFI network device for determining the legitimacy to be supplied according to the request, the access WIFI network.

[0154] 本实施例的移动终端用于实现前述多个方法实施例中相应的移动终端侧的移动终端授权方法,并具有相应的方法实施例的有益效果,在此不再赘述。 [0154] The present embodiment is a mobile terminal for implementing the method in a mobile terminal a plurality of authorization methods corresponding mobile terminal side in the embodiment, and a corresponding method having advantageous effects of the embodiment, which is not repeated herein.

[0155] 实施例九 [0155] Embodiment 9

[0156] 参照图9,示出了根据本发明实施例九的一种移动终端的结构框图。 [0156] Referring to FIG. 9, there is shown a block diagram of a mobile terminal according to a ninth embodiment of the present invention.

[0157] 本实施例对实施例八中的移动终端的结构进行了进一步优化,优化后的移动终端还包括:接收模块706,用于在发送模块702向提供WIFI网络的设备发送连接WIFI网络的请求消息之前,接收具有连接网络权限的终端设备发送的第二授权信息,其中,第二授权信息用于授权移动终端接入WIFI网络,第二授权信息除包括加密后的WIFI网络的接入信息和终端设备的信息外,还包括授权距离信息和/或授权时间信息。 [0157] Example embodiment of the present embodiment in the structure of the mobile terminal has been further optimized eight cases, optimized the mobile terminal further comprises: a receiving module 706, configured to provide a transmitting module 702 transmits WIFI network device connected with WIFI before the request message, receiving the second authorization information with the network connection permission transmitted from the terminal device, wherein the second authorization information for authorizing a mobile terminal accessing the WIFI network, a second access authorization information includes information other WIFI network is encrypted and external information terminal device, further comprising authorizing the distance information and / or authorization time information.

[0158] 优选地,第二授权信息由具有连接网络权限的终端设备生成;当具有连接网络权限的终端设备生成第二授权信息时,若接收第二授权信息的移动终端的设备信息与存储的标准设备信息匹配,则第二授权信息中包括共享权限;优化后的移动终端还包括:授权共享模块708,用于通过共享权限,将第二授权信息中的加密后的WIFI网络的接入信息共享给其它移动终端。 [0158] Preferably, the second authorization information is generated by a terminal device having the connection authority to the network; generating a second authorization information when the terminal device having the connection authority to the network, the device information stored in the mobile terminal when receiving the second authorization information standard device information matches the second authorization information comprising the share permissions; optimized mobile terminals further comprises: authorizing the sharing module 708, by sharing permissions for the WIFI network to access information after the second authorization information is encrypted shared with other mobile terminals.

[0159] 优化后的移动终端中,授权共享模块708包括:信息获取模块7082,用于通过共享权限,获取第二授权信息中的授权距离信息和/或授权时间信息;配置模块7084,用于根据授权距离信息和/或授权时间信息,配置对应的临时授权距离信息和/或临时授权时间信息,其中,临时授权距离信息指示的WIFI网络覆盖范围在授权距离信息指示的覆盖范围内,临时授权时间信息指示的WIFI网络使用时间段在授权距离信息指示的时间段内;生成模块7086,用于使用临时授权距离信息和/或临时授权时间信息,以及第二授权信息中的加密后的WIFI网络的接入信息,生成临时授权信息;共享发送模块7088,用于将临时授权信息发送给请求共享授权的其它移动终端。 [0159] After optimization of the mobile terminal, the authorization sharing module 708 includes: an information obtaining module 7082, by sharing permissions for acquiring authorization information authorizing the second distance information and / or authorization time information; configuring module 7084, for information and / or temporary authorization time information in accordance with the authorization from the information and / or the temporary authorization authorization time information, the configuration corresponding to a distance, wherein the temporary license from the information indicative of the WIFI network coverage within the coverage of the authorization from the information indicating the temporary authorization WIFI network usage time information indicating a time period in the time period from the authorization information indicates; generation module 7086, WIFI network using the distance information temporarily authorized and / or provisionally authorized time information, authorization information and the second encryption access information, generating a temporary authorization information; shared transmit module 7088, configured to send the temporary authorization information to other mobile terminals sharing authorization request.

[0160] 优化后的移动终端中,共享发送模块7088,用于通过NFC技术,将临时授权信息发送给请求共享授权的其它移动终端。 [0160] After optimization of the mobile terminal, the shared transmission module 7088, for temporarily authorized to transmit information to other mobile terminals sharing the authorization request through NFC technology.

[0161] 优化后的移动终端中,发送模块702在向提供WIFI网络的设备发送连接WIFI网络的请求消息时,通过NFC技术,向提供WIFI网络的设备发送连接WIFI网络的请求消息。 [0161] After optimization of the mobile terminal, the sending module 702 is connected while sending the request message to provide the WIFI network WIFI network device, sending a request message to provide the network connection WIFI WIFI network devices via NFC technology.

[0162] 本实施例的移动终端用于实现前述多个方法实施例中相应的移动终端侧的移动终端授权方法,并具有相应的方法实施例的有益效果,在此不再赘述。 [0162] The present embodiment is a mobile terminal for implementing the method in a mobile terminal a plurality of authorization methods corresponding mobile terminal side in the embodiment, and a corresponding method having advantageous effects of the embodiment, which is not repeated herein.

[0163] 实施例十 [0163] Embodiment 10 Embodiment

[0164] 参照图10,示出了根据本发明实施例十的一种移动终端授权系统的结构示意图。 [0164] Referring to FIG 10, shows a structural diagram of a mobile terminal according to Embodiment 10 of the authorization system embodiment of the present invention.

[0165] 本实施例的移动终端授权系统包括具有连接网络权限的终端设备802和移动终端804。 [0165] The mobile terminal according to the present embodiment includes the authorization system having a terminal device 802 and the mobile terminal 804 connected to the network permission.

[0166]其中, [0166] wherein,

[0167] 终端设备802包括:授权信息签发模块8022 (可以实现实施例七的终端设备中的生成发送模块608的功能),负责通过NFC等渠道与移动终端交互,并给该移动终端签发一个授权信息。 [0167] the terminal device 802 includes: authorization information issuing module 8022 (may implement functions of the terminal apparatus of Embodiment 7 of the generated transmission module 608 of the embodiment), is responsible for an authorization NFC channels such terminal interacting with the mobile, and to the mobile terminal issuing information. 该授权信息是一种包含距离和/或时间的授权信息,经过加密的Token,只在一定的距离和/或时间内有效。 The authorization information comprising distance and / or time of authorization information, the Token encrypted, only valid for a certain distance and / or time. 授权信息验证模块8024(可以实现实施例六和七中的第一接收模块602、判断模块604、授权模块606、中断授权模块610的功能),当终端设备如无线路由器或者网络热点接收到移动终端传输过来的授权信息后,需要对授权信息进行校验。 8024 the authorization information authentication module (receiving module may implement a first embodiment of the sixth and seventh embodiments 602, determination module 604, authorization module 606, authorization module 610 of the interrupt function), when the terminal device such as a wireless router or a mobile terminal receiving a network hotspot after transmission over the authorization information, authorization information needs to be verified. 根据授权规则的设定,有效性可以完全基于距离,也可以完全基于时间,还可以基于两者的组合。 The set authorization rules, the effectiveness can be completely based on the distance may be based solely on time, it may also be based on a combination of both. 该模块中还包括距离感应功能,如果终端设备感知到用户逐渐远离了,可以是通过位置信息如GPS信息感知到,也可以根据WIFI连接信号强弱的变化等其他信息感知到,就取消该用户的授权。 The module further includes a distance sensing, if the terminal device senses the user moving away from, as position information may be GPS information sensed may be perceived, the user can cancel the additional information according to the signal strength of the WIFI connection change authorization. 当然,如果用户突然与它们失去联系,可能是网络中断,终端设备不能判断用户是否已经离开,避免再次对用户授权,还可以通过时间来控制授权的有效性,比如30分钟内,用户再次与服务器建立连接,则之前的授权继续有效。 Of course, if you suddenly lost contact with them, it may be network outages, terminal equipment can not determine whether the user has left, again to avoid user authorization, the authorization can also be controlled by time of validity, such as within 30 minutes, the user again with the server connection is established, the previous authorization remain in force.

[0168] 移动终端804包括:授权信息传输模块8042 (实现实施例八和九中发送模块702、接入模块704的功能),把获取的授权信息上传给终端设备。 [0168] The mobile terminal 804 comprises: the authorization information transmission module 8042 (Examples VIII and IX to implement the functions of the transmitting module 702, access module 704 embodiment), to obtain authorization information uploaded to the terminal device. 授权信息可以是与设备相关的,也可以与设备无关。 Authorization information may be associated with the device, it can be device-independent. 如果与设备无关,一个移动终端获得了授权,还可以通过NFC等设备,与其他移动终端共享该授权信息。 If the device-independent, a mobile terminal obtains authorization, you may share the authorization information with other mobile terminals and other equipment through the NFC.

[0169] 本实施例的移动终端授权系统用于实现前述多个方法实施例中相应的移动终端授权方法,并具有相应的方法实施例的有益效果,在此不再赘述。 [0169] The mobile terminal according to the present embodiment of the authorization system for implementing the method of the plurality of respective mobile terminal authorization method embodiment, and a corresponding method having advantageous effects of the embodiment, which is not repeated herein.

[0170] 本发明实施例提供的一种终端设备结构示意图。 One kind of a schematic structure of a terminal apparatus according to an embodiment [0170] of the present invention. 参见图11,该终端设备可以用于实施上述实施例中提供的移动终端连接网络的方法。 Referring to Figure 11, the terminal device may be a mobile terminal for the above-described embodiments provide a network connection embodiment. 其中,该终端可以为路由器、手机、平板电脑pad、穿戴式移动设备(如智能手表)等。 Wherein, the terminal may be a router, a phone, tablet PAD, wearable mobile device (e.g., smart watch) and the like. 优选的: It preferred:

[0171] 终端设备700可以包括通信单元110、包括有一个或一个以上计算机可读存储介质的存储器120、输入单元130、显示单元140、传感器150、音频电路160、WiFi (wirelessfidelity,无线保真)模块170、包括有一个或者一个以上处理核心的处理器180、以及电源190等部件。 [0171] Terminal device 700 may include a communication unit 110, includes one or more computer-readable storage medium, a memory 120, an input unit 130, a display 140, a sensor 150, an audio circuit 160, WiFi (wirelessfidelity, wireless fidelity) unit module 170, processor 180 includes one or more processing cores, and a power supply 190 and other components. 本领域技术人员可以理解,图11中示出的终端设备结构并不构成对终端设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。 Those skilled in the art will appreciate, the figures of the terminal apparatus 11 is not shown to limit the terminal device, may include more or fewer components than shown, or a combination of some of the components, or a different arrangement of components. 其中: among them:

[0172] 通信单元110可用于收发信息或通话过程中,信号的接收和发送,该通信单元110可以为RF (Radio Frequency,射频)电路、路由器、调制解调器、等网络通信设备。 [0172] The communication unit 110 may be used during a call or send and receive information, receiving and sending signals, the communication unit 110 may be a RF (Radio Frequency, RF) circuit, a router, a modem, a network communication device and the like. 特别地,当通信单元110为RF电路时,将基站的下行信息接收后,交由一个或者一个以上处理器180处理;另外,将涉及上行的数据发送给基站。 In particular, when the communication unit 110 is an RF circuit, a base station after receiving downstream information, referred to the one or more processors 180 process; Further, the uplink data directed to the base station. 通常,作为通信单元的RF电路包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、LNA (Low Noise Amplifier,低噪声放大器)、双工器等。 Typically, the RF communication circuit unit include, but are not limited to an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM) card, a transceiver, a coupler, LNA (Low Noise Amplifier, low noise amplifier), and a duplexer. 此外,通信单元110还可以通过无线通信与网络和其他设备通信。 Further, the communication unit 110 may also communicate with other networks and devices by wireless communication. 无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS (GeneralPacket Radio Service,通用分组无线服务)、CDMA (Code Division Multiple Access,石马分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE (LongTerm Evolution,长期演进)、电子邮件、SMS (Short Messaging Service,短消息服务)等。 The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, Global System for Mobile Communications), GPRS (GeneralPacket Radio Service, General Packet Radio Service), CDMA (Code Division Multiple Access, Shima division Multiple Access), WCDMA (wideband Code division Multiple Access, wideband Code division Multiple Access), LTE (LongTerm Evolution, long Term Evolution), e-mail, SMS (short messaging service, short message service) and so on. 存储器120可用于存储软件程序以及模块,处理器180通过运行存储在存储器120的软件程序以及模块,从而执行各种功能应用以及数据处理。 The memory 120 may be used to store software programs and modules, a processor 180, to perform various functions and data processing applications in a memory, and a software program storage module 120 via running. 存储器120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端设备700的使用所创建的数据(比如音频数据、电话本等)等。 The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, at least a function of the desired application (such as a sound playback function, an image playback function, etc.); data storage area may store a data terminal device 700 using the created (such as audio data, telephone book, etc.). 此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。 In addition, memory 120 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage devices, flash memory devices, or other volatile solid-state memory device. 相应地,存储器120还可以包括存储器控制器,以提供处理器180和输入单元130对存储器120的访问。 Accordingly, the memory 120 may further include a memory controller to provide the processor 180 and the input unit 130 of the memory access 120.

[0173] 输入单元130可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。 [0173] The input unit 130 may be used to receive input numeric or character information, and generate user setting and function control for a keyboard, mouse, joystick, trackball, or the optical input signal. 优选地,输入单元130可包括触敏表面131以及其他输入设备132。 Preferably, the input unit 130 may include a touch sensitive surface 131 and other input devices 132. 触敏表面131,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面131上或在触敏表面131附近的操作),并根据预先设定的程式驱动相应的连接装置。 Touch sensitive surface 131, also known as a touch screen or a touch panel, the user may collect on or near the touch operation (such as a user finger, a pen or any other suitable object or accessory on the touch sensitive surface 131 or a touch-sensitive surface 131 close operation), and drive the corresponding connection device in accordance with a preset program. 可选的,触敏表面131可包括触摸检测装置和触摸控制器两个部分。 Alternatively, the touch-sensitive surface 131 may include a touch detection device and a touch controller. 其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。 The touch detecting means detects a user touch position, and the detection signal caused by the touch operation, the touch signal to the controller; a touch controller receives touch information from the touch detecting device, and converts it into contact coordinates, sending to processor 180 and command processor 180 can receive and execute sent. 此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面131。 Further, using resistive, capacitive, infrared and surface acoustic wave type implementations, and other touch sensitive surface 131. 除了触敏表面131,输入单元130还可以包括其他输入设备132。 In addition to the touch-sensitive surface 131, input unit 130 may further include other input device 132. 优选地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。 Preferably, the other input devices 132 may include, but are not limited to physical keyboard, function keys (such as volume control keys, key switches, etc.), a trackball, a mouse, a joystick, one or more.

[0174] 显示单元140可用于显示由用户输入的信息或提供给用户的信息以及终端设备700的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。 [0174] The display unit 140 may be used to display information input by the user or information provided to the user terminal apparatus 700 of various graphical user interfaces, graphical user interface which may be composed of graphics, text, icons, video, and any combination thereof . 显示单元140可包括显示面板141,可选的,可以采用IXD (Liquid Crystal Display,液晶显示器)、OLED (Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板141。 The display unit 140 may include a display panel 141, optionally, may be employed IXD (Liquid Crystal Display, LCD displays), OLED (Organic Light-Emitting Diode, OLED) or the like to form a display panel 141. 进一步的,触敏表面131可覆盖显示面板141,当触敏表面131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。 Further, the touch-sensitive surface 131 may cover the display panel 141, the touch-sensitive surface 131 when the detected on or near the touch operation, to the processor 180 to determine the type of touch event, then processor 180 according to a touch event provide a corresponding type of visual output on the display panel 141. 虽然在图11中,触敏表面131与显示面板141是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面131与显示面板141集成而实现输入和输出功能。 Although in FIG. 11, the touch-sensitive surface 131 and the display panel 141 as two separate components to achieve input and output functions, in some embodiments, it may be a touch-sensitive surface 131 and the display panel 141 integrated to implement the input and output functions.

[0175] 终端设备700还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。 [0175] Terminal device 700 may further include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. 优选地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在终端设备700移动到耳边时,关闭显示面板141和/或背光。 Preferably, the optical sensor may include an ambient light sensor and proximity sensor, an ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of ambient light, proximity sensor may ear to the mobile terminal device 700, the display panel 141 closed and / or a backlight. 作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端设备700还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。 As a motion sensor, the accelerometer may detect the size of the respective directions (usually three axes) acceleration may be stationary detect the magnitude and direction of gravity, it is used for identifying of a cell phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), related to vibration identification features (such as a pedometer, percussion) and the like; As for the other gyroscope sensor, a barometer, hygrometer, a thermometer, an infrared sensor terminal device 700 may also be configured in this No longer.

[0176] 音频电路160、扬声器161,传声器162可提供用户与终端设备700之间的音频接口。 [0176] Audio circuitry 160, speaker 161, a microphone 162 provide an audio interface between a user and the terminal device 700. 音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一终端设备,或者将音频数据输出至存储器120以便进一步处理。 Electrical signal circuit 160 converts the audio data may be audio received, transmitted to a speaker 161, a sound signal output from the speaker 161 is converted to; the other hand, the microphone 162 converts the sound signals into electrical signals collected by the audio circuit 160 after receiving the data into audio, then the audio processor 180 outputs the data processed by RF circuitry 110 for transmission to another terminal device such as, or outputs the audio data to the memory 120 for further processing. 音频电路160还可能包括耳塞插孔,以提供外设耳机与终端设备700的通信。 The audio circuit 160 may also include an earphone jack for peripheral earphone and the communication terminal apparatus 700.

[0177] 为了实现无线通信,该终端设备上可以配置有无线通信单元170,该无线通信单元170可以为WiFi模块。 [0177] In order to achieve wireless communication, the terminal device may be configured with a wireless communication unit 170, the wireless communication unit 170 may be a WiFi module. WiFi属于短距离无线传输技术,终端设备700通过无线通信单元170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。 WiFi is a short-range wireless transmission technology, the terminal device 700 through the wireless communication unit 170 can help a user e-mail, web browsing, and access to streaming media, etc., which provides wireless broadband Internet access for the user. 虽然图11示出了无线通信单元170,但是可以理解的是,其并不属于终端设备700的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。 Although FIG. 11 shows a wireless communication unit 170, it will be appreciated that it is not configured to be part of the terminal device 700, and can be omitted without changing the essence of the invention in the ranges as needed.

[0178] 处理器180是终端设备700的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行终端设备700的各种功能和处理数据,从而对手机进行整体监控。 [0178] The processor 180 is a control center terminal device 700 using various interfaces and circuits connected to the various parts of the entire mobile phone, by running or executing software programs stored in memory 120 and / or modules stored in memory 120 and calls data in the various functions and data processing device 700 performs the terminal, thereby to monitor the overall mobile phone. 可选的,处理器180可包括一个或多个处理核心;优选的,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。 Optionally, processor 180 may include one or more processing cores; Preferably, the processor 180 may be integrated application processor and the modem processor, wherein the application processor main processing operating system, user interface and applications , the modem processor mainly processes wireless communication. 可以理解的是,上述调制解调处理器也可以不集成到处理器180中。 It will be appreciated that the modem processor may not be integrated into the processor 180.

[0179] 终端设备700还包括给各个部件供电的电源190 (比如电池),优选的,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。 [0179] Terminal device 700 further comprises a power supply to the various components 190 (such as a battery), preferably, the power source through the power management system 180 is logically connected to the processor to manage power management system is achieved by charging, discharging, and power consumption management. 电源190还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。 The power supply 190 may also include one or more DC or AC power supply, any recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator and the like.

[0180] 尽管未示出,终端设备700还可以包括摄像头、蓝牙模块等,在此不再赘述。 [0180] Although not shown, the terminal device 700 may further include a camera, a Bluetooth module, etc., which are not repeated herein. 具体在本实施例中,终端设备的显示单元是触摸屏显示器,终端设备还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令: In the illustrated embodiment, the display unit of the terminal device is a touch screen display, the terminal device further comprises a memory, and one or more than one program, wherein the one or more programs stored in the memory, and configured to by one or a the one or more processors to execute one or more programs include instructions for performing the following operations:

[0181] 接收移动终端发送的用于接入WIFI网络的请求消息,其中,所述请求消息除包括加密后的所述WIFI网络的接入信息外,还包括第一授权信息,其中,所述第一授权信息包括授权距离信息和/或授权时间信息,所述授权距离信息用于指示所述WIFI网络的授权覆盖范围,所述授权时间信息用于指示所述WIFI网络的授权使用时间段; [0181] the receiving mobile terminal transmits a request message for access to a WIFI network, wherein the request message includes, in addition to the access information encrypted WIFI network, but also includes a first authorization information, wherein said the first information includes authorization information from the authorization and / or the authorized time information from the authorization information indicating authorization of the WIFI network coverage, time information indicating the authorization of the authorized period of use of WIFI network;

[0182] 判断所述移动终端是否满足所述第一授权信息中对应的授权距离信息和/或授权时间信息; [0182] It is determined whether the mobile terminal satisfies the authorization information corresponding to the first authorization information from the information and / or the authorized time;

[0183] 若满足,则对所述WIFI网络的接入信息进行解密; [0183] When satisfied, the access information for decrypting said WIFI network;

[0184] 当根据解密结果确定所述WIFI网络的接入信息正确后,授权所述移动终端接入所述WIFI网络。 [0184] When the WIFI network is determined according to the access information is correct decryption result, the mobile terminal authorized to access the WIFI network.

[0185]和/或 [0185] and / or

[0186] 向提供WIFI网络的设备发送连接所述WIFI网络的请求消息,所述请求消息除包括加密后的所述WIFI网络的接入信息外,还包括第一授权信息,所述第一授权信息包括授权距离信息和/或授权时间信息,其中,所述授权距离信息用于指示所述WIFI网络的授权覆盖范围,所述授权时间信息用于指示所述WIFI网络的授权使用时间段; [0186] transmits the connection request message to the provider network WIFI WIFI network device, in addition to the request message comprising the access information encrypted WIFI network, the authorization information further comprises a first, the first authorization authorization information includes distance information and / or authorization time information, wherein, the authorization information indicating authorization from the coverage area of ​​the WIFI network, time information indicating the authorization of the authorized period of use of WIFI network;

[0187] 待所述提供WIFI网络的设备根据所述请求消息确定合法性后,接入所述WIFI网络。 [0187] The apparatus to be said WIFI network providing the request message to determine the legitimacy of the WIFI network access.

[0188] 优选的,存储器还包括进行以下操作的指令: [0188] Preferably, the memory further includes instructions for:

[0189] 在接收移动终端发送的用于接入WIFI网络的请求消息的步骤之前,还包括:具有连接网络权限的终端设备生成第二授权信息,并通过近场通信NFC技术向所述移动终端发送所述第二授权信息,其中,所述第二授权信息中除包括有所述授权距离信息和/或所述授权时间信息外,还包括所述加密后的所述WIFI网络的接入信息和所述终端设备的信息; [0189] Before step WIFI access message for requesting the receiving mobile terminal network transmission, further comprising: a terminal device connected to the network authority to generate a second authorization information, and to the mobile terminal through the near field communication NFC technology transmitting the second authorization information, wherein the second authorization information in addition to distance information including the authorization and / or the authorized time information, the access information further comprises the WIFI network after the encrypted and the information terminal apparatus;

[0190] 所述接收移动终端发送的用于接入WIFI网络的请求消息的步骤包括:通过NFC技术接收所述移动终端发送的所述请求消息。 Step [0190] The mobile terminal sends a request message for access to a WIFI network comprising: a mobile terminal receiving said request message sent by the NFC technology.

[0191] 优选的,存储器还包括进行以下操作的指令: [0191] Preferably, the memory further includes instructions for:

[0192] 判断所述移动终端是否满足所述授权信息中对应的授权距离信息和/或授权时间信息的步骤包括:判断移动终端的当前位置是否在对应的授权距离信息指示的所述WIFI网络的授权覆盖范围内;和/或, [0192] determining the distance of movement authority and / or authorization information step time information corresponding to the authorization information includes a terminal satisfies: said WIFI network determines whether the mobile terminal's current location information indicating the authorization of the corresponding distance coverage within the authorization; and / or,

[0193] 判断移动终端的当前时间是否在对应的授权时间信息指示的WIFI网络的授权使用时间段内。 [0193] The mobile terminal determines whether the current time period corresponding to authorized WIFI network authorization information indicates the time.

[0194] 优选的,存储器还包括进行以下操作的指令: [0194] Preferably, the memory further includes instructions for:

[0195] 判断所述移动终端的当前位置是否在对应的所述授权距离信息指示的WIFI网络的授权覆盖范围内的步骤包括:获取移动终端的位置信息或者WIFI信号强度信息;根据移动终端的位置信息或者WIFI信号强度信息,判断移动终端的当前位置是否在对应的授权距离信息指示的WIFI网络的授权覆盖范围内。 Step of authorizing coverage [0195] The mobile terminal determines whether the current position information indicating the authorization distance corresponding to the WIFI network comprising: acquiring location information of the mobile terminal or a WIFI signal strength information; according to the position of the mobile terminal the coverage information or authorization WIFI signal strength information, the mobile terminal determines whether the current position information indicating the distance corresponding to the authorization of the WIFI network.

[0196] 优选的,存储器还包括进行以下操作的指令: [0196] Preferably, the memory further includes instructions for:

[0197] 当移动终端与WIFI网络连接中断后恢复连接时,判断在距尚中断后的设定时间段内是否再次收到移动终端发送的请求消息;若确定在设定时间段内再次收到所述移动终端发送的请求消息,则直接授权移动终端接入WIFI网络。 [0197] When the connection is restored after the mobile terminal and the WIFI network connection is interrupted, it is determined from still set after the interrupt message whether it receives a request sent by the mobile terminal again; determining if received again set period the mobile terminal sending the request message, the mobile terminal directly access authorization WIFI network.

[0198] 优选的,存储器还包括进行以下操作的指令: [0198] Preferably, the memory further includes instructions for:

[0199] 当所述请求消息中还包括所述移动终端的设备信息时,确定所述WIFI网络的接入信息正确后的步骤之后,还包括:将接收的所述请求消息携带的设备信息与存储的标准设备信息进行匹配;若匹配,则确定所述移动终端具有设置和使用WIFI网络的权限,授权所述移动终端接入所述WIFI网络;若不匹配,则确定所述移动终端具有使用WIFI网络的权限,授权所述移动终端接入所述WIFI网络。 After [0199] When the request message further comprises device information of the mobile terminal, the step of determining the access right information of the WIFI network, further comprising: receiving the device information request message carries the standard device matching the stored information; if match, determining that the mobile terminal has permission to set up and use of WIFI network, the mobile terminal authorized to access the WIFI network; if not matched, it is determined that the mobile terminal has used WIFI network permission, authorizes the mobile terminal to access the WIFI network.

[0200] 优选的,存储器还包括进行以下操作的指令: [0200] Preferably, the memory further includes instructions for:

[0201] 具有连接网络权限的终端设备生成第二授权信息时,若接收所述第二授权信息的移动终端的设备信息与存储的标准设备信息匹配,则所述第二授权信息中包括共享权限;[0202] 通过所述共享权限,所述移动终端将所述第二授权信息中的加密后的WIFI网络的接入信息共享给其他移动终端。 [0201] the terminal device having the connection authority to the network when generating the second authorization information, when receiving the second authorization information matches the device information of the standard device information stored in the mobile terminal, then the second authorization information comprising the share permissions ; [0202] by the sharing rights, shared access to the mobile information terminal WIFI network after the second encrypted authorization information to other mobile terminals.

[0203] 优选的,存储器还包括进行以下操作的指令: [0203] Preferably, the memory further includes instructions for:

[0204] 移动终端将所述第二授权信息中的加密后的WIFI网络的接入信息共享给其他移动终端的步骤包括:所述移动终端获取所述第二授权信息中的授权距离信息和/或授权时间信息;所述移动终端根据所述授权距离信息和/或授权时间信息,配置对应的临时授权距离信息和/或临时授权时间信息,其中,所述临时授权距离信息指示的WIFI网络覆盖范围在所述授权距离信息指示的覆盖范围内,所述临时授权时间信息指示的WIFI网络使用时间段在所述授权距离信息指示的时间段内;移动终端使用所述临时授权距离信息和/或临时授权时间信息,以及所述第二授权信息中的加密后的WIFI网络的接入信息,生成临时授权信息;移动终端将所述临时授权信息发送给请求共享授权的其它移动终端。 [0204] The mobile terminal sharing WIFI network access information after the second encrypted authorization information to other mobile terminals comprises the step of: authorizing the mobile terminal acquires the second authorization information and distance information / or authorized time information; a mobile terminal based on the distance information and / or authorization information in the authorization time, provisional configuration information corresponding to the distance and / or time temporary authorization information, wherein the temporary authorization information indicating a distance WIFI network coverage within the range of the authorization information indicating a distance coverage, WIFI network temporary authorization of the usage time information indicating a time period within the time period indicated by the information from the authorization; temporary authorization of the mobile terminal using the distance information and / or temporary authorization time information, and access information WIFI network after the second authorization information is encrypted, generating a temporary authorization information; a mobile terminal is temporarily authorized to send information to the other mobile terminals sharing authorization request.

[0205] 优选的,存储器还包括进行以下操作的指令: [0205] Preferably, the memory further includes instructions for:

[0206] 在所述向提供WIFI网络的设备发送连接所述WIFI网络的请求消息的步骤之前,还包括: Prior to the step of requesting message [0206] transmits the WIFI network is connected to the WIFI network providing apparatus, further comprising:

[0207] 接收具有连接网络权限的终端设备发送的第二授权信息,其中,所述第二授权信息用于授权移动终端接入WIFI网络,所述第二授权信息除包括加密后的所述WIFI网络的接入信息和所述终端设备的信息外,还包括所述授权距离信息和/或所述授权时间信息。 [0207] receiving terminal apparatus connected to the network having a second authorization authority information transmitted, wherein the second authorization information for authorizing access to the mobile terminal WIFI network, in addition to the second authorization information including the encrypted WIFI the access information to the information terminal device and a network, further comprising distance information and / or the authorization information of the authorization time.

[0208] 优选的,存储器还包括进行以下操作的指令: [0208] Preferably, the memory further includes instructions for:

[0209] 所述第二授权信息由所述具有连接网络权限的终端设备生成;当所述具有连接网络权限的终端设备生成所述第二授权信息时,若接收所述第二授权信息的移动终端的设备信息与存储的标准设备信息匹配,则所述第二授权信息中包括共享权限; [0209] The second authorization information is generated by the terminal device having the connection authority to the network; when the terminal device having the connection authority to the network generating the second authorization information, if the movement of the second receiving authorization information standard device information matches the information stored in the terminal device, the second authorization information including the share permissions;

[0210] 还包括:通过所述共享权限,将所述第二授权信息中的加密后的WIFI网络的接入信息共享给其它移动终端。 [0210] further comprising: by the share permissions, the shared access WIFI network information after the second encrypted authorization information to other mobile terminals.

[0211] 优选的,存储器还包括进行以下操作的指令: [0211] Preferably, the memory further includes instructions for:

[0212] 所述将所述第二授权信息中的加密后的WIFI网络的接入信息共享给其他移动终端的步骤包括: Step [0212] The shared access to the information in the second encrypted authorization WIFI network information to other mobile terminals comprising:

[0213] 获取所述第二授权信息中的授权距离信息和/或授权时间信息; [0213] obtaining the authorization information in the authorization information of the second distance information and / or the authorized time;

[0214] 根据所述授权距离信息和/或授权时间信息,配置对应的临时授权距离信息和/或临时授权时间信息,其中,所述临时授权距离信息指示的WIFI网络覆盖范围在所述授权距离信息指示的覆盖范围内,所述临时授权时间信息指示的WIFI网络使用时间段在所述授权距离信息指示的时间段内; [0214] The distance information and / or authorization time information, provisional configuration information corresponding to the distance and / or time temporary authorization information, wherein the temporary authorization information indicating a distance WIFI network coverage according to the authorization from the authorization within the coverage area indicated by the information, WIFI network temporary authorization of the usage period information indicates a time period indicated by the information from the authorization;

[0215] 使用所述临时授权距离信息和/或临时授权时间信息,以及所述第二授权信息中的加密后的WIFI网络的接入信息,生成临时授权信息; [0215] using the temporary authorization information and distance / time information or temporary authorization, and the authorization information of the second encrypted access information WIFI network, generating a temporary authorization information;

[0216] 将所述临时授权信息发送给请求共享授权的其它移动终端。 [0216] temporarily authorized to send the information to other mobile terminals sharing authorization request.

[0217] 优选的,存储器还包括进行以下操作的指令: [0217] Preferably, the memory further includes instructions for:

[0218] 将所述临时授权信息发送给请求共享授权的其它移动终端的步骤包括: Step [0218] transmitting the temporary authorization information to other mobile terminals sharing the authorization request comprises:

[0219] 通过近场通信NFC技术,将所述临时授权信息发送给请求共享授权的其它移动终端。 [0219] will be sent to other mobile terminals sharing the authorization request by the near field communication NFC technology temporary authorization information.

[0220] 优选的,存储器还包括进行以下操作的指令:[0221] 向提供WIFI网络的设备发送连接所述WIFI网络的请求消息的步骤包括:通过近场通信NFC技术,向所述提供WIFI网络的设备发送连接所述WIFI网络的请求消息。 [0220] Preferably, the memory further comprises instructions for: [0221] transmitting a connection request message to the provider of the WIFI network WIFI network device comprises: a near field communication (NFC) technology, to provide said WIFI network the device sends a request message to the WIFI network connection.

[0222] 优选的,该终端设备为路由器时,如图12所示,路由器1200可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上处理器(central processing units, CPU)1201 (例如,一个或一个以上处理器)和存储器1202,一个或一个以上存储应用程序1203或数据1204的存储介质1205 (例如一个或一个以上海量存储设备)。 When [0222] Preferably, the terminal device is a router 12, router 1200 may be configured or different properties due to a relatively large difference may include one or more processors (central processing units, CPU) 1201 (e.g., one or more processors) and a memory 1202, one or more application programs stored in the storage medium 1204 or data 12,051,203 (e.g., one or more mass storage devices). 其中,存储器1202和存储介质1205可以是短暂存储或持久存储。 Wherein the storage medium 1205, and memory 1202 may be transient or persistent storage memory. 存储在存储介质1205的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对路由器中的一系列指令操作。 1205 stored in the storage medium of the program may include one or more modules (not shown shown), each module may include a series of instructions for the operation of the router. 更进一步地,处理器1201可以设置为与存储介质1205通信,在路由器1200上执行存储介质1205中的一系列指令操作。 Still further, the processor 1201 may be provided to communicate with the storage medium 1205, storage medium 1205 performs a series of instructions operating on a router 1200.

[0223] 路由器1200还可以包括一个或一个以上电源1206,一个或一个以上有线或无线网络接口1207,一个或一个以上输入输出接口1208,一个或一个以上键盘或触摸屏1209,一个或一个以上指示信号灯1210和/或,一个或一个以上操作系统1211,例如ΜΙΠ、Windows ServerTM,Mac OS XTM,UnixTM, LinuxTM,FreeBSDTM 等等。 [0223] Router 1200 may also include one or supply 1206 more, one or more wired or wireless network interface 1207, one or more input and output interface 1208, one or more keyboard or touch screen 1209, one or more indicating lights 1210 and / or one or more operating system 1211, for example ΜΙΠ, Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM and so on. 其中,指示信号灯1210用于指示路由器中各个部分的状态,比如,显示联网状态,电源状态,数据传输状态,wifi状态等。 Wherein, the lights 1210 to indicate the status of each part of the router, for example, display networking state, power state, data transfer state, wifi status. 还包括一个或一个以上NFC模块1212,用于通过NFC方式传输信息。 Further comprising one or more NFC module 1212 for transmitting information over the NFC.

[0224] 本发明实施例提供了一种基于距离和/或时间的授权方案,超出距离和/或时间时,授权就失效,再次使用,需要重新授权。 Embodiment [0224] The present invention provides a distance based on the time and / or time of the authorization scheme, exceeds the distance and / or time, authorization fail, be used again, the need to re-authorize. 通过本发明实施例的授权方案,授权信息通过NFC交互,无需人工参与,可以随时更改,也无需人工记忆,方便和安全;授权信息里面包括了有效距离和/或有效时间信息,可以有效的控制授权信息的使用空间和时间。 Authorization scheme embodiment of the present invention, the authorization information through NFC interaction, without human intervention, can be changed at any time, and without human memory, convenient and safe; authorization information which includes the effective distance and / or the effective time information, can effectively control use authorization information space and time.

[0225] 本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。 [0225] In the present specification, various embodiments are described in a progressive way, differences from the embodiment and the other embodiments each of which emphasizes embodiment, the same portions similar between the various embodiments refer to each other. 对于装置和系统实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。 For embodiments of the apparatus and system, since the method of the embodiment which is substantially similar, the description is relatively simple, see Methods section of Example place related to embodiments described.

[0226] 以上对本发明所提供的一种移动终端授权方案进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 [0226] or more of a mobile terminal authorization scheme provided by the invention will be described in detail herein through specific examples of the principles and embodiments of the present invention have been set forth in the above description of embodiments merely understood that the present invention is used to help the method and the spirit; Meanwhile, those of ordinary skill in the art, according to the ideas of the present invention, there are modifications to the specific embodiments and application scope of the specification shall not be construed as limit the present invention.

Claims (29)

1.一种移动终端连接网络的方法,其特征在于,包括: 接收移动终端发送的用于接入WIFI网络的请求消息,其中,所述请求消息除包括加密后的所述WIFI网络的接入信息外,还包括第一授权信息,其中,所述第一授权信息包括授权距离信息和/或授权时间信息,所述授权距离信息用于指示所述WIFI网络的授权覆盖范围,所述授权时间信息用于指示所述WIFI网络的授权使用时间段; 判断所述移动终端是否满足所述第一授权信息中对应的授权距离信息和/或授权时间信息; 若满足,则对所述WIFI网络的接入信息进行解密; 当根据解密结果确定所述WIFI网络的接入信息正确后,授权所述移动终端接入所述WIFI网络。 A method for a mobile terminal connected to a network, characterized by comprising: receiving a request message sent by the mobile terminal for accessing the WIFI network, wherein the access request message comprises in addition to the WIFI network is encrypted extrinsic information, further comprising a first authorization information, wherein the first information includes authorization information from the authorization and / or the authorized time information from the authorization information indicating authorization of the WIFI network coverage, the authorization time information indicating authorization of the WIFI network use time periods; determining whether the mobile terminal satisfies authorizes the authorization information corresponding to the first distance information and / or authorization time information; if yes, then the WIFI network access information is decrypted; determining if the access information of the WIFI network according to the correct decryption result, the mobile terminal authorized to access the WIFI network.
2.根据权利要求1所述的方法,其特征在于, 在所述接收移动终端发送的用于接入WIFI网络的请求消息的步骤之前,还包括: 具有连接网络权限的终端设备生成第二授权信息,并通过近场通信NFC技术向所述移动终端发送所述第二授权信息,其中,所述第二授权信息中除包括有所述授权距离信息和/或所述授权时间信息外,还包括所述加密后的所述WIFI网络的接入信息和所述终端设备的信息; 所述接收移动终端发送的用于接入WIFI网络的请求消息的步骤包括:通过NFC技术接收所述移动终端发送的所述请求消息。 2. The method according to previous claim 1, wherein the step of WIFI network access request message for a mobile terminal receiving said transmitted, further comprising: a terminal device connected to the network authority second authorization information, and transmitting the authorization information to the second mobile terminal through the near field communication NFC technology, wherein, in addition to the second authorization information including the authorization information from and / or the authorized time information but also the access information comprises information terminal apparatus and the WIFI network after the encrypted; the step of receiving an access request message WIFI network transmits a mobile terminal comprises: receiving the mobile terminal through NFC technology sending the request message.
3.根据权利要求1所述的方法,其特征在于,所述判断所述移动终端是否满足所述授权信息中对应的授权距离信息和/或授权时间信息的步骤包括: 判断所述移动终端的当前位置是否在对应的所述授权距离信息指示的所述WIFI网络的授权覆盖范围内;和/或, 判断所述移动终端的当前时间是否在对应的所述授权时间信息指示的所述WIFI网络的授权使用时间段内。 3. The method according to claim 1, wherein said distance determining authorization information and / or authorization step time information corresponding to the authorization information in the mobile terminal is satisfied includes: the mobile terminal determining coverage within the authorization if the current location indicated by the information in the authorization distance corresponding to the WIFI network; and / or, the mobile terminal determines whether the current time in the time corresponding to the authorization information indicates the WIFI network authorized use period.
4.根据权利要求3所述的方法,其特征在于,所述判断所述移动终端的当前位置是否在对应的所述授权距离信息指示的所述WIFI网络的授权覆盖范围内的步骤包括: 获取所述移动终端的位置信息或者WIFI信号强度信息; 根据所述移动终端的位置信息或者WIFI信号强度信息,判断所述移动终端的当前位置是否在对应的所述授权距离信息指示的所述WIFI网络的授权覆盖范围内。 4. The method according to claim 3, wherein said step of determining authorization to override the current location of the mobile terminal from the authorization information indicating whether the corresponding range of the WIFI network comprises: obtaining the location information of the mobile terminal or a WIFI signal strength information; a mobile terminal according to the location information of the mobile terminal or a WIFI signal strength information, determines whether or not the current position from the authorization information indicates the corresponding said WIFI network within the authorized coverage.
5.根据权利要求1所述的方法,其特征在于,所述方法还包括: 当所述移动终端与所述WIFI网络连接中断后恢复连接时,判断在距离中断后的设定时间段内是否再次收到所述移动终端发送的所述请求消息; 若确定在所述设定时间段内再次收到所述移动终端发送的所述请求消息,则直接授权所述移动终端接入所述WIFI网络。 5. The method according to claim 1, wherein said method further comprises: when the connection is restored after the mobile terminal and the WIFI network connection is interrupted, it is determined whether the set time period after the interruption from again receive the request message sent by the mobile terminal; determining if the mobile terminal receiving the transmission request message again in the set period, the mobile terminal is authorized to directly access the WIFI The internet.
6.根据权利要求2所述的方法,其特征在于, 当所述请求消息中还包括所述移动终端的设备信息时,确定所述WIFI网络的接入信息正确后的步骤之后,还包括: 将接收的所述请求消息携带的设备信息与存储的标准设备信息进行匹配; 若匹配,则确定所述移动终端具有设置和使用WIFI网络的权限,授权所述移动终端接入所述WIFI网络; 若不匹配,则确定所述移动终端具有使用WIFI网络的权限,授权所述移动终端接入所述WIFI网络。 After 6. The method according to claim 2, wherein, when the request message further comprises device information of the mobile terminal when, after the step of accessing the information correctly determining WIFI network, further comprising: standard the device information stored in the received request message to match; if match, determining that the mobile terminal has permission to set up and use of WIFI network, the mobile terminal authorized to access the WIFI network; if not match, it is determined that the mobile terminal has a permission to use the WIFI network, the mobile terminal authorized to access the WIFI network.
7.根据权利要求6所述的方法,其特征在于, 具有连接网络权限的终端设备生成第二授权信息时,若接收所述第二授权信息的移动终端的设备信息与存储的标准设备信息匹配,则所述第二授权信息中包括共享权限; 通过所述共享权限,所述移动终端将所述第二授权信息中的加密后的WIFI网络的接入信息共享给其他移动终端。 7. The method according to claim 6, wherein, when generating the second authorization information, standard device information matches the device information stored upon receiving the second authorization information of the mobile terminal having authority terminal device connected to the network , then the second authorization information comprising the share permissions; by sharing the rights, shared access to the mobile information terminal WIFI network after the second encrypted authorization information to other mobile terminals.
8.根据权利要求7所述的方法,其特征在于,所述移动终端将所述第二授权信息中的加密后的WIFI网络的接入信息共享给其他移动终端的步骤包括: 所述移动终端获取所述第二授权信息中的授权距离信息和/或授权时间信息; 所述移动终端根据所述授权距离信息和/或授权时间信息,配置对应的临时授权距离ί目息和/或临时授权时间ί目息,其中,所述临时授权距尚ί目息指不的WIFI网络覆盖范围在所述授权距离信息指示的覆盖范围内,所述临时授权时间信息指示的WIFI网络使用时间段在所述授权距离信息指示的时间段内; 所述移动终端使用所述临时授权距离信息和/或临时授权时间信息,以及所述第二授权信息中的加密后的WIFI网络的接入信息,生成临时授权信息; 所述移动终端将所述临时授权信息发送给请求共享授权的其它移动终端。 8. The method according to claim 7, wherein said moving step WIFI network access information terminal after said second encrypted authorization information is shared with other mobile terminal comprising: a mobile terminal acquiring authorization information authorizing said second distance information and / or authorization time information; a mobile terminal based on the distance information and / or authorization information in the authorization time, provisional configuration information corresponding to a distance ί mesh and / or temporary authorization head ί time information, wherein the temporary license from the information entry means is still ί WIFI network coverage is not in the authorization information indicating a distance coverage, WIFI network using the temporary authorization period in the time information indicates said distance information indicative of the authorization period; the mobile terminal is temporarily authorized to use the distance information and / or time temporary authorization information, and access information WIFI network after the second authorization information is encrypted, generates a temporary authorization information; a mobile terminal is temporarily authorized to transmit the information to other mobile terminals sharing authorization request.
9.一种移动终端连接.网络的方法,其特征在于,包括: 向提供WIFI网络的设备发送连接所述WIFI网络的请求消息,所述请求消息除包括加密后的所述WIFI网络的接入信息外,还包括第一授权信息,所述第一授权信息包括授权距离信息和/或授权时间信息,其中,所述授权距离信息用于指示所述WIFI网络的授权覆盖范围,所述授权时间信息用于指示所述WIFI网络的授权使用时间段; 待所述提供WIFI网络的设备根据所述请求消息确定合法性后,接入所述WIFI网络。 9. A mobile terminal connected to a network, characterized by comprising: providing to a WIFI network device transmits a connection request message to the WIFI network, the access request message comprises in addition to the WIFI network is encrypted extrinsic information, further comprising a first authorization information, the first information includes authorization information from the authorization and / or the authorized time information, wherein, the authorization information indicating authorization from the coverage area of ​​the WIFI network, the authorization time information indicating authorization of the WIFI network use time periods; to be the providing apparatus according to the WIFI network after the request message to determine the legitimacy, WIFI access to the network.
10.根据权利要求9所述的方法,其特征在于,在所述向提供WIFI网络的设备发送连接所述WIFI网络的请求消息的步骤之前,还包括: 接收具有连接网络权限的终端设备发送的第二授权信息,其中,所述第二授权信息用于授权移动终端接入WIFI网络,所述第二授权信息除包括加密后的所述WIFI网络的接入信息和所述终端设备的信息外,还包括所述授权距离信息和/或所述授权时间信息。 10. The method according to claim 9, characterized in that, prior to the step of transmitting the connection request message to the provider of the WIFI network WIFI network device, further comprising: receiving a terminal device connected to the network transmission privilege a second authorization information, wherein the second authorization information for authorizing access to the mobile terminal WIFI network, the second authorization information for the access information of the WIFI network after the terminal device, including encryption and other information further comprising distance information and / or the authorization information of the authorization time.
11.根据权利要求10所述的方法,其特征在于,所述第二授权信息由所述具有连接网络权限的终端设备生成;当所述具有连接网络权限的终端设备生成所述第二授权信息时,若接收所述第二授权信息的移动终端的设备信息与存储的标准设备信息匹配,则所述第二授权信息中包括共享权限; 所述方法还包括:通过所述共享权限,将所述第二授权信息中的加密后的WIFI网络的接入信息共享给其它移动终端。 11. The method according to claim 10, wherein said second authorization information generated by the terminal device having the connection authority to the network; When generating the second authorization information terminal device having the connection authority to the network , the standard device information matches the information stored in the device when receiving the second authorization information of the mobile terminal, the authorization information including the second share permissions; the method further comprising: the share permissions, the WIFI network access information after said encrypted second authorization information to other mobile terminals sharing.
12.根据权利要求11所述的方法,其特征在于,所述将所述第二授权信息中的加密后的WIFI网络的接入信息共享给其他移动终端的步骤包括: 获取所述第二授权信息中的授权距离信息和/或授权时间信息; 根据所述授权距离信息和/或授权时间信息,配置对应的临时授权距离信息和/或临时授权时间信息,其中,所述临时授权距离信息指示的WIFI网络覆盖范围在所述授权距离信息指示的覆盖范围内,所述临时授权时间信息指示的WIFI网络使用时间段在所述授权距离信息指示的时间段内; 使用所述临时授权距离信息和/或临时授权时间信息,以及所述第二授权信息中的加密后的WIFI网络的接入信息,生成临时授权信息; 将所述临时授权信息发送给请求共享授权的其它移动终端。 12. The method according to claim 11, wherein said WIFI network share access information after the second encrypted authorization information to other mobile terminals comprising: obtaining the second authorization authorization information and distance information / time information or authorization; authorization based on the distance information and / or the authorized time information corresponding to the provisional authorization configuration, wherein the distance information indicating the distance the temporary authorization information and / or time temporary authorization information period WIFI network coverage within the authorization information indicating a distance coverage, WIFI network using the temporary authorization time period indicated by the information in the authorization information indicating a distance; using the distance information and the temporary authorization / time information or temporary authorization, and access information WIFI network after the second authorization information is encrypted, generating a temporary authorization information; transmitting the temporary authorization request information to the other mobile terminals sharing authorization.
13.根据权利要求11或12所述的方法,其特征在于,将所述临时授权信息发送给请求共享授权的其它移动终端的步骤包括: 通过近场通信NFC技术,将所述临时授权信息发送给请求共享授权的其它移动终端。 13. The method according to claim 11 or claim 12, wherein the temporary authorization to transmit information to other mobile terminals sharing the authorization request comprises: a near field communication NFC technology, the temporary authorization information transmitted request to other mobile terminals sharing authorization.
14.根据权利要求9所述的方法,其特征在于, 所述向提供WIFI网络的设备发送连接所述WIFI网络的请求消息的步骤包括:通过近场通信NFC技术,向所述提供WIFI网络的设备发送连接所述WIFI网络的请求消息。 Step 14. The method according to claim 9, wherein said sending said connection request message to the provider network WIFI WIFI network device comprising: a near field communication NFC technology, providing to said WIFI network connected device sends a request message to the WIFI network.
15.一种终端设备,其特征在于,所述终端设备具有连接网络权限,所述终端设备包括: 第一接收模块,用于接收移动终端发送的用于接入WIFI网络的请求消息,其中,所述请求消息除包括加密后的所述WIFI网络的接入信息外,还包括第一授权信息,其中,所述第一授权信息授权距离信息和/或授权时间信息,所述授权距离信息用于指示所述WIFI网络的授权覆盖范围,所述授权时间信息用于指示所述WIFI网络的授权使用时间段; 判断模块,用于判断所述移动终端是否满足所述第一授权信息中对应的授权距离信息和/或授权时间信息; 授权模块,用于若所述判断模块的判断结果为满足,则对所述WIFI网络的接入信息进行解密;当根据解密结果确定所述WIFI网络的接入信息正确后,授权所述移动终端接入所述WIFI网络。 15. A terminal device, characterized in that the terminal device having the connection authority network, said terminal device comprising: a first receiving module, for receiving a request message sent by the mobile terminal for accessing the WIFI network, wherein in addition to the request message comprising the access information encrypted WIFI network, but also includes a first authorization information, wherein the first authorization information from the authorization information and / or the authorized time information from the authorization information indicate authorization of the WIFI network coverage, time information indicating the authorization of the authorized period of use of WIFI network; determining means for determining whether the mobile terminal satisfies the corresponding first authorization information authorization distance information and / or authorization time information; authorization module for determining if the judgment result modules is met, the access information for decrypting said WIFI network; WIFI network when it is determined based on the decryption result then after the information is correct, the mobile terminal authorized to access the WIFI network.
16.根据权利要求15所述的终端设备,其特征在于, 所述终端设备还包括:生成发送模块,用于在所述第一接收模块接收移动终端发送的用于接入WIFI网络的请求消息之前,生成第二授权信息,并通过近场通信NFC技术向所述移动终端发送所述第二授权信息,其中,所述第二授权信息中除包括有所述授权距离信息和/或所述授权时间信息外,还包括所述加密后的所述WIFI网络的接入信息和所述终端设备的信息; 所述第一接收模块,用于通过NFC技术接收所述移动终端发送的用于接入所述WIFI网络的所述请求消息。 16. The terminal apparatus according to claim 15, wherein said terminal apparatus further comprising: generating a transmission module configured to receive a request message in the mobile terminal transmitted by the first receiving module for accessing a network WIFI before generating the second authorization information, and send the authorization information to the second mobile terminal through the near field communication NFC technology, wherein the second authorization information in addition comprises the authorization and / or the distance information authorized time information, the access information further comprises information of the terminal device and the WIFI network after the encrypted; the first receiving module, for receiving the NFC technology is used by the mobile terminal sends the access said WIFI network into the request message.
17.根据权利要求15所述的终端设备,其特征在于,所述判断模块在判断所述移动终端是否满足所述授权信息中对应的授权距离信息和/或授权时间信息时,判断所述移动终端的当前位置是否在对应的所述授权距离信息指示的所述WIFI网络的授权覆盖范围内;和/或,判断所述移动终端的当前时间是否在对应的所述授权时间信息指示的所述WIFI网络的授权使用时间段内。 17. The terminal device according to claim 15, wherein the determining module determines that the mobile terminal satisfies authorization in the authorization information corresponding to the distance information and / or authorization time information, whether the mobile whether and / or determining the mobile terminal's current time information indicates the time corresponding to the authorization; authorization within the coverage of the current position of the terminal information indicating whether to authorize a distance corresponding to the WIFI network WIFI network of authorized use period.
18.根据权利要求17所述的终端设备,其特征在于,所述判断模块在判断所述移动终端的当前位置是否在对应的所述授权距离信息指示的所述WIFI网络的授权覆盖范围内时,获取所述移动终端的位置信息或者WIFI信号强度信息;根据所述移动终端的位置信息或者WIFI信号强度信息,判断所述移动终端的当前位置是否在对应的所述授权距离信息指示的所述WIFI网络的授权覆盖范围内。 18. The terminal apparatus according to claim 17, wherein said determining the authorization within the cover module of the mobile terminal determines whether the current position information indicating the authorization distance corresponding to the range of the WIFI network acquiring the location information of the mobile terminal or a WIFI signal strength information; a mobile terminal according to the location information of the mobile terminal or a WIFI signal strength information, determines whether to authorize the current position from the information indicative of the corresponding the authorization WIFI network coverage.
19.根据权利要求15所述的终端设备,其特征在于,所述终端设备还包括: 中断授权模块,用于当所述移动终端与所述WIFI网络连接中断后恢复连接时,判断在距离中断后的设定时间段内是否再次收到所述移动终端发送的所述请求消息;若确定在所述设定时间段内再次收到所述移动终端发送的所述请求消息,则直接授权所述移动终端接入所述WIFI网络。 19. The terminal apparatus according to claim 15, wherein said terminal device further comprises: an interrupt authorization module configured to restore the connection when the mobile terminal and the rear WIFI network connection is interrupted, the interrupt is determined at a distance after the set period whether the mobile terminal receives the retransmission request message; and determining if the mobile terminal receiving the transmission request message again in the set period, the direct authorization said mobile terminal accesses said WIFI network.
20.根据权利要求16所述的终端设备,其特征在于, 当所述请求消息中还包括所述移动终端的设备信息时,所述授权模块在确定所述WIFI网络的接入信息正确后之后,将接收的所述请求消息携带的设备信息与存储的标准设备信息进行匹配;若匹配,则确定所述移动终端具有设置和使用WIFI网络的权限,授权所述移动终端接入所述WIFI网络;若不匹配,则确定所述移动终端具有使用WIFI网络的权限,授权所述移动终端接入所述WIFI网络。 WIFI module after determining the correct access information network 20. After the terminal apparatus according to claim 16, wherein, when the request message further comprises device information of the mobile terminal, the authorization the received request message matches the criteria carried the device information stored; if match, determining that the mobile terminal has permission to set up and use of WIFI network, the mobile terminal authorized to access the network WIFI ; match if the mobile terminal is determined to have permission to use the WIFI network, the mobile terminal authorized to access the WIFI network.
21.根据权利要求20所述的终端设备,其特征在于, 所述生成发送模块在生成第二授权信息时,若接收所述第二授权信息的移动终端的设备信息与存储的标准设备信息匹配,则所述第二授权信息中包括共享权限;通过所述共享权限,所述移动终端将所述第二授权信息中的加密后的WIFI网络的接入信息共享给其它移动终端。 21. The terminal apparatus according to claim 20, wherein said generating standard device information matches the device information stored in the transmission module when generating the second authorization information, when receiving the second authorization information to the mobile terminal , then the second authorization information comprising the share permissions; by sharing the rights, shared access to the mobile information terminal WIFI network after the second encrypted authorization information to other mobile terminals.
22.根据权利要求21所述的终端设备,其特征在于,所述移动终端在将所述第二授权信息中的加密后的WIFI网络的接入信息共享给其它移动终端时,获取所述第二授权信息中的授权距离信息和/或授权时间信息;根据所述授权距离信息和/或授权时间信息,配置对应的临时授权距离信息和/或临时授权时间信息,其中,所述临时授权距离信息指示的WIFI网络覆盖范围在所述授权距离信息指示的覆盖范围内,所述临时授权时间信息指示的WIFI网络使用时间段在所述授权距离信息指示的时间段内;使用所述临时授权距离信息和/或临时授权时间信息,以及所述第二授权信息中的加密后的WIFI网络的接入信息,生成所述临时授权信息;将所述临时授权信息发送给请求共享授权的其它移动终端。 22. The terminal apparatus according to claim 21, wherein the mobile terminal when the information is shared access WIFI network after the second encrypted authorization information to the other mobile terminal, said first obtaining two authorization information from the authorization information and / or authorization time information; distance information and / or authorization time information, provisional configuration information corresponding to the distance and / or time information of the authorization temporary authorization, wherein said authorization temporary distance WIFI network coverage information indicated in the authorization information indicating a distance coverage, WIFI network temporary authorization of the usage time information indicating a time period within the time period indicated by the information from the authorization; using the temporary license from the other mobile terminal sends said temporary authorization information to the shared authorization; information and / or time temporary authorization information, and access information WIFI network after the second authorization information is encrypted, to generate the temporary authorization information .
23.—种移动终端,其特征在于,包括: 发送模块,用于向提供WIFI网络的设备发送连接所述WIFI网络的请求消息,所述请求消息除包括加密后的所述WIFI网络的接入信息外,还包括第一授权信息,所述第一授权信息包括授权距离信息和/或授权时间信息,其中,所述授权距离信息用于指示所述WIFI网络的授权覆盖范围,所述授权时间信息用于指示所述WIFI网络的授权使用时间段; 接入模块,用于待所述提供WIFI网络的设备根据所述请求消息确定合法性后,接入所述WIFI网络。 23.- species mobile terminal, comprising: a sending module, configured to send a connection request message to the provider of the WIFI network WIFI network device, in addition to the access request message comprises the WIFI network is encrypted extrinsic information, further comprising a first authorization information, the first information includes authorization information from the authorization and / or the authorized time information, wherein, the authorization information indicating authorization from the coverage area of ​​the WIFI network, the authorization time information indicating authorization of the WIFI network use time periods; access module, to be used in the apparatus according to the WIFI network providing the request message to determine the legitimacy of the WIFI network access.
24.根据权利要求23所述的移动终端,其特征在于,所述移动终端还包括: 接收模块,用于接收具有连接网络权限的终端设备发送的第二授权信息,其中,所述第二授权信息用于授权移动终端接入WIFI网络,所述第二授权信息除包括加密后的所述WIFI网络的接入信息和所述终端设备的信息外,还包括所述授权距离信息和/或所述授权时间信息。 24. The mobile terminal according to claim 23, wherein said mobile terminal further comprises: a receiving module, configured to receive a second authorization information with the network connection permission transmitted from the terminal device, wherein said second authorization information for authorizing access to the mobile terminal WIFI network, the second access authorization information includes information in addition to the information terminal apparatus and the encrypted WIFI network, the distance information further includes the authorization and / or said authorization time information.
25.根据权利要求24所述的移动终端,其特征在于,所述第二授权信息由所述具有连接网络权限的终端设备生成;当所述具有连接网络权限的终端设备生成所述第二授权信息时,若接收所述第二授权信息的移动终端的设备信息与存储的标准设备信息匹配,则所述第二授权信息中包括共享权限; 所述移动终端还包括授权共享模块,用于通过所述共享权限,将所述第二授权信息中的加密后的WIFI网络的接入信息共享给其它移动终端。 25. The mobile terminal according to claim 24, wherein said second authorization information generated by the terminal device having the connection authority to the network; the terminal device when generating said connector having a second authorization network privileges information, the standard device information matches the information stored in the device when receiving the second authorization information of the mobile terminal, the authorization information including the second share permissions; the mobile terminal further comprising authorized sharing module for passing the share permissions, WIFI network share access information after the second encrypted authorization information to other mobile terminals.
26.根据权利要求25所述的移动终端,其特征在于,所述授权共享模块包括: 信息获取模块,用于通过所述共享权限,获取所述第二授权信息中的授权距离信息和/或授权时间信息; 配置模块,用于根据所述授权距离信息和/或授权时间信息,配置对应的临时授权距离信息和/或临时授权时间信息,其中,所述临时授权距离信息指示的WIFI网络覆盖范围在所述授权距离信息指示的覆盖范围内,所述临时授权时间信息指示的WIFI网络使用时间段在所述授权距离信息指示的时间段内; 生成模块,用于使用所述临时授权距离信息和/或临时授权时间信息,以及所述第二授权信息中的加密后的WIFI网络的接入信息,生成临时授权信息; 共享发送模块,用于将所述临时授权信息发送给请求共享授权的其它移动终端。 26. The mobile terminal according to claim 25, wherein the authorization sharing module comprising: an information obtaining module, configured by the share permissions, acquires authorization information authorizing said second distance information, and / or authorization time information; configuration module information and / or time temporary authorization information from the authorization information according to the temporary and / or authorization information of the authorization period, a distance corresponding configuration, wherein said WIFI network temporary authorization information indicates the distance covered within the range of the authorization information indicating a distance coverage, WIFI network temporary authorization of the usage time information indicating a time period within the time period indicated by the information from the authorization; generating module, the distance information temporarily authorized for use access information and / or time information temporary authorization, and the authorization information of the second encrypted WIFI network, generating a temporary authorization information; sharing transmitting module, configured to send the authorization information to the shared temporary authorization other mobile terminals.
27.根据权利要求25或26所述的移动终端,其特征在于, 所述共享发送模块,用于通过近场通信NFC技术,将所述临时授权信息发送给请求共享授权的其它移动终端。 27. The mobile terminal of claim 25 or claim 26, wherein the shared transmission module for near field communication NFC technology, the temporarily authorized to transmit information to other mobile terminals sharing authorization request.
28.根据权利要求23.所述的移动终端,其特征在于, 所述发送模块在向提供WIFI网络的设备发送连接所述WIFI网络的请求消息时,通过近场通信NFC技术,向所述提供WIFI网络的设备发送连接所述WIFI网络的请求消息。 28. The mobile terminal according to claim 23, wherein the transmission module is connected while sending the request message to provide the WIFI network WIFI network device, near field communication (NFC) technology, providing the WIFI network apparatus transmits the connection request message WIFI network.
29.—种终端设备,其特征在于,终端设备包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令: 接收移动终端发送的用于接入WIFI网络的请求消息,其中,所述请求消息除包括加密后的所述WIFI网络的接入信息外,还包括第一授权信息,其中,所述第一授权信息包括授权距离信息和/或授权时间信息,所述授权距离信息用于指示所述WIFI网络的授权覆盖范围,所述授权时间信息用于指示所述WIFI网络的授权使用时间段; 判断所述移动终端是否满足所述第一授权信息中对应的授权距离信息和/或授权时间信息; 若满足,则对所述WIFI网络的接入信息进行解密; 当根据解密结果确定所述WIFI网络的接入信息正确后,授权所述 29.- kinds of terminal device, wherein the terminal apparatus includes a memory, and one or more than one program, wherein the one or more programs stored in the memory and configured to execute the one or more processors by the one or more programs including instructions for performing the following operations: WIFI network access request message for receiving mobile terminal transmitted, wherein the request message in addition to the access information comprises encrypting said WIFI network, further comprising a first authorization information, wherein the first information includes authorization information from the authorization and / or the authorized time information from the authorization information indicating authorization of the WIFI network coverage, the authorization information for time indicating the authorized period of use of WIFI network; determining whether the mobile terminal satisfies authorizes the authorization information corresponding to the first distance information and / or authorization time information; if yes, the access network information to said WIFI decrypting; WIFI network when the determining result of decryption according to the access information is correct, the authorization 移动终端接入所述WIFI网络; 和/或向提供WIFI网络的设备发送连接所述WIFI网络的请求消息,所述请求消息除包括加密后的所述WIFI网络的接入信息外,还包括第一授权信息,所述第一授权信息包括授权距离信息和/或授权时间信息,其中,所述授权距离信息用于指示所述WIFI网络的授权覆盖范围,所述授权时间信息用于指示所述WIFI网络的授权使用时间段; 待所述提供WIFI网络的设备根据所述请求消息确定合法性后,接入所述WIFI网络。 WIFI network access to the mobile terminal; and / or transmitting a connection request message to the provider of the WIFI network WIFI network device, in addition to the request message comprising the access information encrypted WIFI network, but also includes a first an authorization information, the first information includes authorization information from the authorization and / or the authorized time information, wherein, the authorization information indicating authorization from the coverage area of ​​the WIFI network, the time information indicating the authorization WIFI network authorization usage period; to be the providing apparatus according to the WIFI network after the request message to determine the legitimacy, WIFI access to the network.
CN201310385160.8A 2013-08-29 2013-08-29 Mobile terminal connects the method for network, mobile terminal and terminal unit CN103476030B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310385160.8A CN103476030B (en) 2013-08-29 2013-08-29 Mobile terminal connects the method for network, mobile terminal and terminal unit

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310385160.8A CN103476030B (en) 2013-08-29 2013-08-29 Mobile terminal connects the method for network, mobile terminal and terminal unit
PCT/CN2014/076040 WO2015027712A1 (en) 2013-08-29 2014-04-23 Network access method of mobile terminal, mobile terminal, and terminal device

Publications (2)

Publication Number Publication Date
CN103476030A true CN103476030A (en) 2013-12-25
CN103476030B CN103476030B (en) 2016-12-28

Family

ID=49800698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310385160.8A CN103476030B (en) 2013-08-29 2013-08-29 Mobile terminal connects the method for network, mobile terminal and terminal unit

Country Status (2)

Country Link
CN (1) CN103476030B (en)
WO (1) WO2015027712A1 (en)

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103874164A (en) * 2014-02-28 2014-06-18 齐文钊 Method and system for connecting to WIFI (Wireless Fidelity) by NFC (Near Field Communication) and mobile terminal equipment
CN103889029A (en) * 2014-03-24 2014-06-25 深圳市云猫信息技术有限公司 Network hotspot sharing method, client side, sharing side and management server
CN103929742A (en) * 2014-04-22 2014-07-16 杭州爱纬斯电子有限公司 Method for mobile terminal to share web camera through WiFi and intelligent control device
CN104105163A (en) * 2014-07-08 2014-10-15 深圳市比巴科技有限公司 Sound wave sending method, sound wave receiving method, sound wave sending device, sound wave receiving device and sound wave system
CN104363631A (en) * 2014-10-24 2015-02-18 小米科技有限责任公司 Connection method, device and system of wireless router
WO2015027712A1 (en) * 2013-08-29 2015-03-05 小米科技有限责任公司 Network access method of mobile terminal, mobile terminal, and terminal device
CN104539617A (en) * 2014-12-26 2015-04-22 深圳市金立通信设备有限公司 Network connection control method
CN104581724A (en) * 2014-12-26 2015-04-29 深圳市金立通信设备有限公司 Terminal
CN104580175A (en) * 2014-12-26 2015-04-29 深圳市兰丁科技有限公司 Equipment authorization method and device
CN104955036A (en) * 2015-07-07 2015-09-30 北京长亭科技有限公司 Secure networking method and device in public Wi-Fi (wireless fidelity) environment
CN105162775A (en) * 2015-08-05 2015-12-16 深圳市方迪科技股份有限公司 Logging method and device of virtual machine
CN105307169A (en) * 2015-09-18 2016-02-03 腾讯科技(深圳)有限公司 Access method, device and system for guest network
CN105391770A (en) * 2015-10-13 2016-03-09 北京乐动卓越科技有限公司 Use method and use system of on-vehicle wireless network
CN105516972A (en) * 2015-12-17 2016-04-20 小米科技有限责任公司 Network connection method and device
CN105657733A (en) * 2016-01-29 2016-06-08 努比亚技术有限公司 Network stabilization control device and method
WO2016154886A1 (en) * 2015-03-31 2016-10-06 华为技术有限公司 Method, apparatus and terminal for acquiring authentication information
WO2016206169A1 (en) * 2015-06-23 2016-12-29 西安中兴新软件有限责任公司 Wireless access method, device and system, and storage medium
CN106412907A (en) * 2016-09-14 2017-02-15 广东欧珀移动通信有限公司 Network access methods and system, and related devices
CN106469279A (en) * 2016-08-30 2017-03-01 北京北信源软件股份有限公司 A kind of method and system of compression Encrypt and Decrypt
WO2017036155A1 (en) * 2015-08-29 2017-03-09 宇龙计算机通信科技(深圳)有限公司 Network access method and terminal
WO2017201828A1 (en) * 2016-05-24 2017-11-30 中兴通讯股份有限公司 Secure access method and apparatus for wireless device
WO2018040805A1 (en) * 2016-08-31 2018-03-08 华为技术有限公司 Method for establishing association in wireless local area network, terminal and access point
WO2018205064A1 (en) * 2017-05-08 2018-11-15 深圳市卓希科技有限公司 Access control method and system
CN105740662B (en) * 2014-12-09 2019-02-05 联想(北京)有限公司 A kind of information processing method and electronic equipment
WO2019037603A1 (en) * 2017-08-21 2019-02-28 上海掌门科技有限公司 Method and device for carrying out wireless connection pre-authorization for user equipment
WO2019051647A1 (en) * 2017-09-12 2019-03-21 深圳传音通讯有限公司 Method for sharing wifi password, first terminal, second terminal, and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895876A (en) * 2009-05-20 2010-11-24 阿尔卡特朗讯 Method and device for verifying user identity during connecting wireless network equipment
CN103200567A (en) * 2012-01-05 2013-07-10 中兴通讯股份有限公司 Method and system of wireless fidelity (WiFi) access

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103476030B (en) * 2013-08-29 2016-12-28 小米科技有限责任公司 Mobile terminal connects the method for network, mobile terminal and terminal unit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895876A (en) * 2009-05-20 2010-11-24 阿尔卡特朗讯 Method and device for verifying user identity during connecting wireless network equipment
CN103200567A (en) * 2012-01-05 2013-07-10 中兴通讯股份有限公司 Method and system of wireless fidelity (WiFi) access

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015027712A1 (en) * 2013-08-29 2015-03-05 小米科技有限责任公司 Network access method of mobile terminal, mobile terminal, and terminal device
CN103874164B (en) * 2014-02-28 2017-06-06 上海升途智能系统有限公司 Method, system and the mobile terminal device of WIFI are connected by NFC
CN103874164A (en) * 2014-02-28 2014-06-18 齐文钊 Method and system for connecting to WIFI (Wireless Fidelity) by NFC (Near Field Communication) and mobile terminal equipment
CN103889029A (en) * 2014-03-24 2014-06-25 深圳市云猫信息技术有限公司 Network hotspot sharing method, client side, sharing side and management server
CN103929742A (en) * 2014-04-22 2014-07-16 杭州爱纬斯电子有限公司 Method for mobile terminal to share web camera through WiFi and intelligent control device
CN103929742B (en) * 2014-04-22 2018-06-05 杭州爱纬斯电子有限公司 Mobile terminal piggybacking WiFi shares safely the method and intelligent control device of IP Camera
CN104105163A (en) * 2014-07-08 2014-10-15 深圳市比巴科技有限公司 Sound wave sending method, sound wave receiving method, sound wave sending device, sound wave receiving device and sound wave system
CN104363631A (en) * 2014-10-24 2015-02-18 小米科技有限责任公司 Connection method, device and system of wireless router
CN105740662B (en) * 2014-12-09 2019-02-05 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN104581724A (en) * 2014-12-26 2015-04-29 深圳市金立通信设备有限公司 Terminal
CN104580175A (en) * 2014-12-26 2015-04-29 深圳市兰丁科技有限公司 Equipment authorization method and device
CN104539617A (en) * 2014-12-26 2015-04-22 深圳市金立通信设备有限公司 Network connection control method
CN106416337A (en) * 2015-03-31 2017-02-15 华为技术有限公司 Method, apparatus and terminal for acquiring authentication information
WO2016154886A1 (en) * 2015-03-31 2016-10-06 华为技术有限公司 Method, apparatus and terminal for acquiring authentication information
WO2016206169A1 (en) * 2015-06-23 2016-12-29 西安中兴新软件有限责任公司 Wireless access method, device and system, and storage medium
CN104955036B (en) * 2015-07-07 2019-04-05 北京长亭科技有限公司 Safe networking method and apparatus under public Wi-Fi environment
CN104955036A (en) * 2015-07-07 2015-09-30 北京长亭科技有限公司 Secure networking method and device in public Wi-Fi (wireless fidelity) environment
CN105162775A (en) * 2015-08-05 2015-12-16 深圳市方迪科技股份有限公司 Logging method and device of virtual machine
WO2017036155A1 (en) * 2015-08-29 2017-03-09 宇龙计算机通信科技(深圳)有限公司 Network access method and terminal
CN105307169A (en) * 2015-09-18 2016-02-03 腾讯科技(深圳)有限公司 Access method, device and system for guest network
CN105307169B (en) * 2015-09-18 2018-12-28 腾讯科技(深圳)有限公司 The cut-in method of guest network, device and system
CN105391770A (en) * 2015-10-13 2016-03-09 北京乐动卓越科技有限公司 Use method and use system of on-vehicle wireless network
CN105516972B (en) * 2015-12-17 2019-07-19 小米科技有限责任公司 Method for connecting network and device
CN105516972A (en) * 2015-12-17 2016-04-20 小米科技有限责任公司 Network connection method and device
CN105657733A (en) * 2016-01-29 2016-06-08 努比亚技术有限公司 Network stabilization control device and method
CN107426730A (en) * 2016-05-24 2017-12-01 中兴通讯股份有限公司 The safety access method and device of a kind of wireless device
WO2017201828A1 (en) * 2016-05-24 2017-11-30 中兴通讯股份有限公司 Secure access method and apparatus for wireless device
CN106469279A (en) * 2016-08-30 2017-03-01 北京北信源软件股份有限公司 A kind of method and system of compression Encrypt and Decrypt
WO2018040805A1 (en) * 2016-08-31 2018-03-08 华为技术有限公司 Method for establishing association in wireless local area network, terminal and access point
CN106412907A (en) * 2016-09-14 2017-02-15 广东欧珀移动通信有限公司 Network access methods and system, and related devices
WO2018205064A1 (en) * 2017-05-08 2018-11-15 深圳市卓希科技有限公司 Access control method and system
WO2019037603A1 (en) * 2017-08-21 2019-02-28 上海掌门科技有限公司 Method and device for carrying out wireless connection pre-authorization for user equipment
WO2019051647A1 (en) * 2017-09-12 2019-03-21 深圳传音通讯有限公司 Method for sharing wifi password, first terminal, second terminal, and system

Also Published As

Publication number Publication date
WO2015027712A1 (en) 2015-03-05
CN103476030B (en) 2016-12-28

Similar Documents

Publication Publication Date Title
KR20140011496A (en) Cloud service supporting method and system based on a enhanced security
US9386045B2 (en) Device communication based on device trustworthiness
JP2012054918A (en) Wi-fi access method, access point and wi-fi access system
US9253198B2 (en) Systems and methods for geolocation-based authentication and authorization
KR101671731B1 (en) Mobile platform with sensor data security
CN103477666B (en) Mobile device is connected, is connected to vehicle and the cloud service of internet
TWI252650B (en) Computer apparatus, and method and recording medium for setting security for computer apparatus
JP6220993B2 (en) Smart hardware device control method, apparatus, program, and recording medium
US8832783B2 (en) System and method for performing secure communications
CN102149167A (en) Method for automatic pairing to a wireless network
RU2610140C2 (en) Method and apparatus for configuration and control of wireless docking
US20150180869A1 (en) Cloud-based scalable authentication for electronic devices
KR20150092873A (en) Home appliance, a network-connection system for home appliance and method of connection of home appliance to a network
CN103475996A (en) Network connecting method, network sharing method and devices
US8621483B2 (en) Methods, apparatuses and computer program products for provisioning applications to in vehicle infotainment systems with secured access
WO2014101856A1 (en) Method and apparatus of running applications, method and apparatus of authenticating users
CN103458408A (en) Network connection method and network sharing method and device
EP2985975B1 (en) Method, apparatus and system for authenticating access and computer program
US9208339B1 (en) Verifying Applications in Virtual Environments Using a Trusted Security Zone
EP2852201B1 (en) Method, device, system and storage medium for controlling access to a router
US9436819B2 (en) Securely pairing computing devices
US20150139210A1 (en) Method and apparatus for access parameter sharing
CN103476030B (en) Mobile terminal connects the method for network, mobile terminal and terminal unit
CN103634109B (en) Operation right authentication method and device
EP3108613B1 (en) Method and apparatus for authenticating client credentials

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model
CB03 Change of inventor or designer information