CN105743891A - Networking method and device, server and router - Google Patents

Networking method and device, server and router Download PDF

Info

Publication number
CN105743891A
CN105743891A CN201610056605.1A CN201610056605A CN105743891A CN 105743891 A CN105743891 A CN 105743891A CN 201610056605 A CN201610056605 A CN 201610056605A CN 105743891 A CN105743891 A CN 105743891A
Authority
CN
China
Prior art keywords
network
account
terminal
router
visitor
Prior art date
Application number
CN201610056605.1A
Other languages
Chinese (zh)
Inventor
陈勇
Original Assignee
北京小米移动软件有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京小米移动软件有限公司 filed Critical 北京小米移动软件有限公司
Priority to CN201610056605.1A priority Critical patent/CN105743891A/en
Publication of CN105743891A publication Critical patent/CN105743891A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00Arrangements for user-to-user messaging in packet-switching networks, e.g. e-mail or instant messages
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Real-time or near real-time messaging, e.g. instant messaging [IM] interacting with other applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for supporting authentication of entities communicating through a packet data network
    • H04L63/0815Network architectures or network communication protocols for network security for supporting authentication of entities communicating through a packet data network providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for supporting authentication of entities communicating through a packet data network
    • H04L63/0876Network architectures or network communication protocols for network security for supporting authentication of entities communicating through a packet data network based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • 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

Abstract

The invention provides a networking method and device, a server and a router. The networking method comprises the steps: when a network account of a visitor and a network account of a router administrator art not of a friend relationship, transmitting a request for querying a valid terminal identifier to the router; based on the valid terminal identifier returned by the router, determining a network account corresponding to the valid terminal identifier; when the network account of the visitor and any one determined network account are of the friend relationship, transmitting a networking request to the router, so that network connection is performed between the router and a terminal of the visitor. Due to applications of the embodiments of the invention, a problem that networking steps of a terminal of a visitor, the network account of which is not of the friend relationship with the network account of the administrator, are tedious in the correlation techniques is solved, the speed of network connection is improved, a networking flow of the visitor is simplified, and user experience is optimized.

Description

上网方法、装置、服务器及路由器 Internet access methods, devices, servers and routers

技术领域 FIELD

[0001]本公开涉及网络通信技术领域,尤其涉及一种上网方法、装置、服务器及路由器。 [0001] The present disclosure relates to network communication technologies, and in particular, to a method for Internet access, devices, servers and routers.

背景技术 Background technique

[0002]微信好友WiFi(Wireless Fidelity,无线保真)功能是基于微信社交关系的上网方式,通过设置独立的访客网络,只要与被访路由器的管理员互为微信好友,不用输入密码就能直接通过认证,使用WiFi网络。 [0002] micro letter friends WiFi (Wireless Fidelity, wireless fidelity) is a function of access based on social relationships micro letter, by setting a separate guest network, as long as the micro-channel mutual friends and administrators interviewed router, do not type a password to direct certified, using a WiFi network. 相关技术中,对于与路由器管理员未互相加为微信好友的访客,或者其他家庭成员的微信好友访客,仍需要通过输入密码,或与管理员的微信互加好友等方式进行联网,操作繁琐,用户体验较差。 The related art, for the router administrator does not add to each other for visitors micro message friends or micro letter friends visitors of other family members, still need to enter a password, or micro-channel administrator of mutual add friends, etc. networking, complicated operation, poor user experience.

发明内容 SUMMARY

[0003]为克服相关技术中存在的问题,本公开提供了上网方法、装置、服务器及路由器。 [0003] In order to overcome the problems in the related art, the present disclosure provides a method for Internet access, devices, servers and routers.

[0004]根据本公开实施例的第一方面,提供一种上网方法,包括: [0004] According to a first aspect of the disclosed embodiment of the present embodiment, there is provided a method for Internet access, comprising:

[0005]在访客的网络账号与路由器管理员的网络账号不是好友关系时,向所述路由器发送查询有效终端标识的请求; [0005] When guest network router administrator account and the account is not a buddy relationship network, terminal identification valid Send request to the router;

[0006]基于所述路由器回复的有效终端标识,确定与所述有效终端标识对应的网络账号; [0006] Based on the valid terminal reply router identification, and determining the terminal identifier corresponding to the active network account;

[0007]在所述访客的网络账号与确定的任一网络账号为好友关系时,向所述路由器发送上网请求,以使所述路由器与所述访客的终端建立网络连接。 [0007] When the visitor's web account to a friend relationship with any of the determined network account, send a request to the access router, the router so that the terminal and establish a network connection to the guest.

[0008]可选的,所述方法还包括: [0008] Optionally, the method further comprising:

[0009]接收携带有访客的网络账号及路由器标识的登录请求; [0009] receiving a login request carries the network router identifies the account and visitors;

[0010]基于所述访客的网络账号进行登录,并查询与所述路由器标识绑定的管理员的网络账号; [0010] based on the visitor's log network accounts, and query the router identifies the binding of a network administrator account;

[0011]判断所述访客的网络账号与所述管理员的网络账号是否为好友关系。 [0011] determine the visitor's account with the network administrator of the network account whether the relationship between friends.

[0012]可选的,所述方法还包括: [0012] Optionally, the method further comprising:

[0013]接收网络账号所登录的终端的终端标识; Terminal [0013] The login account receiver network terminal identifier;

[0014]绑定所述网络账号及所述终端标识; [0014] Binding of the network account and the terminal identifier;

[0015]存储所绑定的所述网络账号与所述终端标识的对应关系。 [0015] storing the correspondence relationship binding the account of the network terminal identity.

[0016]可选的,所述基于所述路由器回复的有效终端标识,确定与所述有效终端标识对应的网络账号,包括: [0016] Alternatively, the terminal identifier of the router based on the effective response, and determining the terminal identifier corresponding to the active network account, comprising:

[0017]基于所述路由器回复的有效终端标识,查询所述对应关系,得到与所述有效终端标识对应的网络账号。 [0017] Based on the router valid terminal identification reply, querying the corresponding relationship, the active terminal obtained network identifier corresponding to the account.

[0018] 可选的,所述向所述路由器发送上网请求,包括: [0018] Optionally, transmitting the access request to the router, comprising:

[0019]向所述路由器发送携带有所述访客的终端标识的上网请求。 [0019] The router transmits the request carries the access terminal identifier of the guest.

[0020]可选的,所述有效终端标识包括认证用户的终端标识,以及设定时间段内与所述路由器建立网络连接的访客的终端标识。 [0020] Alternatively, the active terminal identifier of the terminal identification includes authenticating a user, and the set period with the visitor router to establish network connection terminal identifier.

[0021]根据本公开实施例的第二方面,提供一种上网方法,包括: [0021] According to a second aspect of the disclosed embodiment of the present embodiment, there is provided a method for Internet access, comprising:

[0022]基于服务器发送的查询请求返回查询到的有效终端标识,以使所述服务器确定与所述有效终端标识对应的网络账号; [0022] Based on the query request sent by the server to query returns a valid terminal identification, so that the server determines the terminal identification corresponding to the active network account;

[0023]接收所述服务器在访客的网络账号与对应于所述有效终端标识的任一网络账号为好友关系时发送的上网请求; [0023] receiving the visitor's web server account corresponding to the active terminal identifier when any access request transmitted to a friendship network account;

[0024]基于所述上网请求与所述访客的终端建立网络连接。 [0024] establishing a network connection with the guest terminal based on the access request.

[0025]可选的,所述基于服务器发送的查询请求返回查询到的有效终端标识,包括: [0025] Alternatively, the active terminal based on a query to the query request sent by the server to return an identification, comprising:

[0026]接收服务器发送的查询请求; [0026] query request sent by a server;

[0027]基于所述查询请求查询有效终端标识,所述有效终端标识包括认证用户的终端标识,以及设定时间段内与所述路由器建立网络连接的访客的终端标识; [0027] identifying valid query based on the query request terminal identifier, the terminal identifier of the terminal comprises a valid user identification and the establishment of the network connection terminal visitor router to the set period;

[0028]将查询的所述有效终端标识发送给所述服务器。 [0028] The active terminal transmits a query identifier to the server.

[0029]可选的,所述基于所述上网请求与所述访客的终端建立网络连接,包括: [0029] Alternatively, the Internet based on the request to establish a network connection with the guest terminal, comprising:

[0030]提取所述上网请求中携带的访客的终端标识; Terminal carried visitor [0030] extracts the access request identifier;

[0031 ]基于所述终端标识与所述访客的终端建立网络连接。 [0031] establishing a network connection terminal based on the terminal identifier and the visitor.

[0032]根据本公开实施例的第三方面,提供一种上网装置,包括: [0032] According to a third aspect of the disclosed embodiment of the present embodiment, there is provided a device on the Internet, comprising:

[0033]第一查询模块,被配置为在访客的网络账号与路由器管理员的网络账号不是好友关系时,向所述路由器发送查询有效终端标识的请求; [0033] The first query module is configured as a visitor network router administrator account and the account is not a friend relationship network, the router sends the query request to a valid terminal identification;

[0034]确定模块,被配置为基于所述路由器回复的有效终端标识,确定与所述有效终端标识对应的网络账号; [0034] The determination module configured to respond based on the effective terminal identifier of the router, determining the terminal identifier corresponding to the active network account;

[0035]第一网络连接模块,被配置为在所述访客的网络账号与确定的任一网络账号为好友关系时,向所述路由器发送上网请求,以使所述路由器与所述访客的终端建立网络连接。 [0035] The first network connection module, configured to the visitor's web account and the terminal is determined as any network account friend relationship, sending access request to the router, the router so that the visitors establish a network connection.

[0036] 可选的,所述装置还包括: [0036] Optionally, the apparatus further comprising:

[0037]第一接收模块,被配置为接收携带有访客的网络账号及路由器标识的登录请求; [0037] a first receiving module, configured to receive a carrying network account login request, and the router identifier of the visitor;

[0038]第二查询模块,被配置为基于所述访客的网络账号进行登录,并查询与所述路由器标识绑定的管理员的网络账号; [0038] The second query module is configured to log on to the network based on the guest account, and query the router identifies the binding of a network administrator account;

[0039]判断模块,被配置为判断所述访客的网络账号与所述管理员的网络账号是否为好友关系。 [0039] The determination module configured to determine whether the visitor's web account and the network administrator account whether the buddy relationship.

[0040] 可选的,所述装置还包括: [0040] Optionally, the apparatus further comprising:

[0041]第二接收模块,被配置为接收网络账号所登录的终端的终端标识; [0041] a second receiving module, configured to receive a terminal of the network account login identifier of the terminal;

[0042]绑定模块,被配置为绑定所述网络账号及所述终端标识; [0042] Binding module configured to bind the network account and the terminal identifier;

[0043]存储模块,被配置为存储所绑定的所述终端标识与所述网络账号的对应关系。 [0043] The storage module is configured to store a correspondence relationship is bound to the terminal identification of the network account.

[0044]可选的,所述确定模块包括: [0044] Optionally, the determining module comprises:

[0045]确定子模块,被配置为基于所述路由器回复的有效终端标识,查询所述对应关系,得到与所述有效终端标识对应的网络账号。 [0045] The determination sub-module configured to identify the terminal based on the effective reply router, a query to the corresponding relationship obtained with the active terminal identification corresponding to the network account.

[0046]可选的,所述第一网络连接模块包括: [0046] Optionally, the first network connection module comprising:

[0047]第一发送子模块,被配置为向所述路由器发送携带有所述访客的终端标识的上网请求。 [0047] The first sending sub-module, configured to transmit to the router carrying the visitor access terminal identifier request.

[0048]可选的,所述有效终端标识包括认证用户的终端标识,以及设定时间段内与所述路由器建立网络连接的访客的终端标识。 [0048] Alternatively, the active terminal identifier of the terminal identification includes authenticating a user, and the set period with the visitor router to establish network connection terminal identifier.

[0049]根据本公开实施例的第四方面,提供一种上网装置,包括: [0049] According to a fourth aspect of the disclosed embodiment of the present embodiment, there is provided a device on the Internet, comprising:

[0050]发送模块,被配置为基于服务器发送的查询请求返回查询到的有效终端标识,以使所述服务器确定与所述有效终端标识对应的网络账号; [0050] The transmitting module is configured based on the query request sent by the server to query returns a valid terminal identification, so that the server determines the terminal identification corresponding to the active network account;

[0051]第三接收模块,被配置为接收所述服务器在访客的网络账号与对应于所述有效终端标识的任一网络账号为好友关系时发送的上网请求; [0051] The third receiving module, configured to receive an access request by the server at the time of visitor's web account corresponding to the active terminal identifier is any of a friendship network account;

[0052]第二网络连接模块,被配置为基于所述上网请求与所述访客的终端建立网络连接。 [0052] The second network connection module, configured to establish a network connection with the guest terminal based on the access request.

[0053]可选的,所述发送模块包括: [0053] Optionally, the sending module comprises:

[0054]接收子模块,被配置为接收服务器发送的查询请求; [0054] The receiving sub-module, configured to receive a query request sent by the server;

[0055]查询子模块,被配置为基于所述查询请求查询有效终端标识,所述有效终端标识包括认证用户的终端标识,以及设定时间段内与所述路由器建立网络连接的访客的终端标识; [0055] The query sub-module, the query request valid query terminal identifier identifying the terminal identifier of the terminal comprises a valid user authentication, and the set period the visitor router to establish a network connection terminal is configured based on the identity of ;

[0056]第二发送子模块,被配置为将查询的所述有效终端标识发送给所述服务器。 [0056] The second sending sub-module, configured to query the active terminal identification to the server.

[0057]可选的,所述第二网络连接模块包括: [0057] Optionally, the second network connection module comprising:

[0058]提取子模块,被配置为提取所述上网请求中携带的访客的终端标识; [0058] extracting sub-module configured to extract the terminal visitor access identifier carried in the request;

[0059]建立子模块,被配置为基于所述终端标识与所述访客的终端建立网络连接。 [0059] The creation module configured to establish a network connection to the terminal based on the terminal identifier and the visitor.

[0060]根据本公开实施例的第五方面,提供一种服务器,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为: [0060] According to a fifth aspect of the disclosed embodiment of the present embodiment, there is provided a server comprising: a processor; processor-executable instructions for storing a memory; wherein the processor is configured to:

[0061]在访客的网络账号与路由器管理员的网络账号不是好友关系时,向所述路由器发送查询有效终端标识的请求; [0061] When guest network router administrator account and the account is not a buddy relationship network, terminal identification valid Send request to the router;

[0062]基于所述路由器回复的有效终端标识,确定与所述有效终端标识对应的网络账号; [0062] Based on the valid terminal reply router identification, and determining the terminal identifier corresponding to the active network account;

[0063]在所述访客的网络账号与确定的任一网络账号为好友关系时,向所述路由器发送上网请求,以使所述路由器与所述访客的终端建立网络连接。 [0063] When the visitor's web account to a friend relationship with any of the determined network account, send a request to the access router, the router so that the terminal and establish a network connection to the guest.

[0064]根据本公开实施例的第六方面,提供一种路由器,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为: [0064] According to a sixth aspect of the disclosed embodiment of the present embodiment, there is provided a router comprising: a processor; processor-executable instructions for storing a memory; wherein the processor is configured to:

[0065]基于服务器发送的查询请求返回查询到的有效终端标识,以使所述服务器确定与所述有效终端标识对应的网络账号; [0065] Based on the query request sent by the server to query returns a valid terminal identification, so that the server determines the terminal identification corresponding to the active network account;

[0066]接收所述服务器在访客的网络账号与对应于所述有效终端标识的任一网络账号为好友关系时发送的上网请求; [0066] receiving the visitor's web server account corresponding to the active terminal identifier when any access request transmitted to a friendship network account;

[0067]基于所述上网请求与所述访客的终端建立网络连接。 [0067] establishing a network connection with the guest terminal based on the access request.

[0068]本公开的实施例提供的技术方案可以包括以下有益效果: [0068] The present embodiment provides a technical solution of the disclosure may comprise the following advantageous effects:

[0069]本公开中服务器可以在访客的网络账号与路由器管理员的网络账号不是好友关系时,获取路由器上的有效终端标识,并确定与有效终端标识对应的网络账号,在访客的网络账号与任一有效终端标识对应的网络账号为好友关系时,使得访客的终端与路由器建立网络连接,从而解决了相关技术中与管理员的网络账号不是好友关系的访客的终端上网步骤繁琐的问题,提高了网络连接的速度,简化了访客的上网流程,优化了用户体验。 [0069] In the present disclosure when the guest server network router administrator account and not the network account friend relationship, to obtain a valid terminal identification on the router, and determines a valid terminal identification corresponding to the network account, the account number and the guest network any valid terminal identification corresponding network account is friendship, so that the terminal and the router visitors to establish a network connection, so as to solve the related art terminal with a visitor network administrator account is not a buddy relationship complicated issue of access steps to improve the speed of the network connection, simplifying the visitor's Internet processes, optimize the user experience.

[0070]本公开中路由器与管理员用户的网络账号具有绑定关系,服务器可以在接收到携带有访客的网络账号及路由器标识的登录请求时,查询与路由器标识绑定的管理员的网络账号,从而判断访客与路由器管理员是否为网络好友关系。 When the [0070] This router administrator user account has a network of public relations binding, the server can carry a registration request to the network router identifies the account and receiving visitors, query router identifies the binding of a network administrator account in order to determine whether the visitor router for the network administrator friendship.

[0071]本公开中服务器中可以预先存储网络账号与该网络账号所登录的终端的终端标识的对应关系,从而可以基于终端标识查找到对应的网络账号,以便基于网络账号的关系确定是否能够上网,方便用户的上网流程。 [0071] The present server disclosure may be pre-stored network account correspondence between the terminal to the network account of the registered terminal identification, which can find the corresponding network account based on the terminal identity to determine whether access to the Internet-based networks account , user-friendly online process.

[0072]本公开中路由器可以在访客的网络账号与对应于有效终端标识的任一网络账号为好友关系时,与该访客的终端建立网络连接,从而方便局域网的认证用户的好友接入网络,为用户快速上网提供了方便,简化了用户的上网操作,优化了用户体验。 When [0072] the present disclosure may be a visitor router network account number and terminal identification corresponds to a valid account any network as a friend, and setting up a network connection to the visitor's terminal, thereby facilitating authentication of the user access network LAN friends, users with fast Internet provides a convenient, simplifying the user's Internet operation, optimizing the user experience.

[0073 ]本公开中路由器中可以存储有效终端标识,包括认证用户的终端标识及有效期内的访客的终端标识,以便在访客的网络账号与有效终端标识对应的网络账号具有好友关系时,能够方便的快捷的实现上网。 When the [0073] present router disclosure may store a valid terminal identification, including a terminal identity authenticating a user terminal identifier and visitors within the validity period, so as to have the buddy relationship in the visitor's web account and valid terminal identification corresponding to the network account, to facilitate the quick implementation of the Internet.

[0074]本公开中路由器可以基于上网请求中携带的访客的终端标识,准确的确定要上网的终端,并与该终端快速建立网络连接,为用户提供方便。 [0074] The present disclosure may be based on access router carried in the request of the guest terminal identifier, the terminal is to accurately determine the Internet, and to quickly establish network connection with the terminal, the user convenience.

[0075]应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。 [0075] It should be understood that both the foregoing general description and the details described hereinafter are merely exemplary and explanatory and are not intended to limit the present disclosure.

附图说明 BRIEF DESCRIPTION

[0076]此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。 [0076] The accompanying drawings, which are incorporated herein and constitute a part of this specification, illustrate embodiments consistent with the principles of the embodiments of the present disclosure, and together with the description serve to explain the present disclosure.

[0077]图1是本公开根据一示例性实施例示出的一种上网方法流程图。 [0077] FIG. 1 is a flowchart illustrating the present disclosure is shown in accordance with an access method of an exemplary embodiment.

[0078]图2是本公开根据一示例性实施例示出的另一种上网方法流程图。 [0078] FIG. 2 is another Internet present disclosure illustrated in accordance with an exemplary embodiment of a method flowchart.

[0079]图3是本公开根据一示例性实施例示出的一种上网方法流程图。 [0079] FIG. 3 is a flow chart of the present disclosure is shown in accordance with an access method of an exemplary embodiment.

[0080]图4是本公开根据一示例性实施例示出的另一种上网方法流程图。 [0080] FIG. 4 is another Internet present disclosure illustrated in accordance with an exemplary embodiment of a method flowchart.

[0081]图5是本公开根据一示例性实施例示出的一种上网方法的应用场景示意图。 [0081] FIG. 5 is one kind of Internet access method of the present application scenario shown in a schematic diagram in accordance with an exemplary embodiment of the disclosed embodiments.

[0082]图6是本公开根据一示例性实施例示出的一种上网装置框图。 [0082] FIG. 6 is a block diagram of the present disclosure one kind of Internet access device illustrated in accordance with an exemplary embodiment.

[0083]图7是本公开根据一示例性实施例示出的另一种上网装置框图。 [0083] FIG. 7 is a block diagram of another apparatus disclosed in the Internet according to the illustrated exemplary embodiment.

[0084]图8是本公开根据一示例性实施例示出的另一种上网装置框图。 [0084] FIG 8 that the present disclosure according to an exemplary embodiment illustrates a block diagram of another Internet device.

[0085]图9是本公开根据一示例性实施例示出的另一种上网装置框图。 [0085] FIG. 9 is a block diagram of another apparatus disclosed in the Internet according to the illustrated exemplary embodiment.

[0086]图10是本公开根据一示例性实施例示出的另一种上网装置框图。 [0086] FIG. 10 is a block diagram of another apparatus of the present disclosure illustrated in the Internet according to an exemplary embodiment.

[0087]图11是本公开根据一示例性实施例示出的一种上网装置框图。 [0087] FIG. 11 is a block diagram of the present disclosure one kind of Internet access device illustrated in accordance with an exemplary embodiment.

[0088]图12是本公开根据一示例性实施例示出的另一种上网装置框图。 [0088] FIG. 12 is an exemplary of the present disclosure in accordance with an exemplary embodiment illustrates a block diagram of another Internet device.

[0089]图13是本公开根据一示例性实施例示出的另一种上网装置框图。 [0089] FIG. 13 is an exemplary of the present disclosure in accordance with an exemplary embodiment illustrates a block diagram of another Internet device.

[0090]图14是本公开根据一示例性实施例示出的一种用于上网装置的一结构示意图。 [0090] FIG. 14 is a schematic structural view of the present disclosure according to an exemplary embodiment illustrates an apparatus for the Internet.

[0091]图15是本公开根据一示例性实施例示出的一种用于上网装置的一结构示意图。 [0091] FIG. 15 is a schematic structural view of the present disclosure according to an exemplary embodiment illustrates an apparatus for the Internet.

具体实施方式 Detailed ways

[0092]这里将详细地对示例性实施例进行说明,其示例表示在附图中。 [0092] The exemplary embodiments herein be described in detail embodiments of which are illustrated in the accompanying drawings. 下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。 When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. 以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。 The following exemplary embodiments described in the exemplary embodiments do not represent the disclosed embodiment consistent with all the present embodiment. 相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。 Instead, they are only in the book as detailed in the appended claims, some aspects of the present disclosure examples of apparatus and methods consistent phase.

[0093]在本公开使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开。 [0093] The terms used in the present disclosure are merely for the purpose of describing particular embodiments and is not intended to limit the present disclosure. 在本公开和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。 In the singular forms used in the present disclosure and the appended claims "an", "the" and "the" are intended to include the plural forms unless the context clearly dictates otherwise. 还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。 It should also be understood that, as used herein, the term "and / or" refers to and includes any or all possible combinations of one or more of the associated listed items.

[0094]应当理解,尽管在本公开可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。 [0094] It should be appreciated that the disclosure may be employed although the terms first, second, third and the like in the present description to a variety of information, but this information should not be limited by these terms. 这些术语仅用来将同一类型的信息彼此区分开。 These terms are only used to distinguish one another region of the same type of information. 例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。 For example, without departing from the scope of the present disclosure, the first information may also be referred to as second information, and, similarly, the second information may also be referred to as first information. 取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。 Depending on the context, as used herein, the term "if" may be construed as "...... when the" or "when ......" or "in response to the determination."

[0095] 如图1所示,图1是根据一示例性实施例示出的一种上网方法流程图,该方法可以用于服务器中,该方法可以包括以下步骤: [0095] As shown in FIG. 1, FIG. 1 in accordance with an access method is illustrated a flowchart of an exemplary embodiment, the method may be used in a server, the method may comprise the steps of:

[0096]步骤101、在访客的网络账号与路由器管理员的网络账号不是好友关系时,向路由器发送查询有效终端标识的请求。 [0096] In step 101, when the visitor's account and network router network administrator account is not a friend relationship, effective terminal identification Send request to the router.

[0097]本公开中的服务器可以包括社交网络软件的服务器,如微信服务器、QQ服务器等。 [0097] The present disclosure may include a social network server software, the server, such as micro communication server, QQ server or the like.

[0098]本公开中的路由器作为一种智能路由设备,其不仅具有传统的路由功能,还可以进一步包括独立操作系统和磁盘,该磁盘的存储空间大小可以根据需要灵活设置,例如,设置为1T。 [0098] The present disclosure router as an intelligent routing device, which not only has the conventional routing function may further include a separate operating system and disk, the disk storage space may be set flexibly according to need, for example, is set to 1T .

[0099]本公开中的终端可以是任何具有上网功能的智能终端,例如,可以具体为手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)等。 [0099] The present disclosure terminal can be any Internet-enabled smart terminal, for example, may be embodied as a mobile phone, tablet PC, PDA (Personal Digital Assistant, personal digital assistants) and so on. 其中,终端可以通过无线局域网接入路由器,并通过路由器访问公网上的服务器。 Wherein, the terminal can access the wireless LAN router and access to the public network via a router server.

[0100]步骤102、基于路由器回复的有效终端标识,确定与有效终端标识对应的网络账号。 [0100] Step 102, based on the effective responses of the router terminal identification, to determine the effective terminal identification corresponding to the network account.

[0101]步骤103、在访客的网络账号与确定的任一网络账号为好友关系时,向路由器发送上网请求,以使路由器与访客的终端建立网络连接。 [0101] Step 103, when a friend relationship, sending a request to the access router according to any visitor's web account and determining a network account, so that the terminal with a visitor router to establish network connections.

[0102]上述实施例中,服务器可以在访客的网络账号与路由器管理员的网络账号不是好友关系时,获取路由器上的有效终端标识,并确定与有效终端标识对应的网络账号,在访客的网络账号与任一有效终端标识对应的网络账号为好友关系时,使得访客的终端与路由器建立网络连接,从而解决了相关技术中与管理员的网络账号不是好友关系的访客的终端上网步骤繁琐的问题,提高了网络连接的速度,方便访客上网,优化了用户体验。 [0102] In the above embodiment, when the guest server may be a network router administrator account and not the network account friend relationship, to obtain a valid terminal identification on the router, and determines a valid terminal identification corresponding to the network account, in the visitor network when a valid terminal identification corresponding network account as a friend relationship with any of the accounts, so that the terminal and the router visitors to establish a network connection, in order to address the relationship of related technologies and network administrator account is not a friend of the visitor's Internet terminal step tedious problem improve the speed of the network connection, easy for visitors to access and optimize the user experience.

[0103]如图2所示,图2是根据一示例性实施例示出的另一种上网方法流程图,该方法可以用于服务器中,该方法可以包括以下步骤: [0103] As shown in FIG. 2, FIG. 2 is another flowchart illustrating access method according to an exemplary embodiment, the method may be used in a server, the method may comprise the steps of:

[0104]步骤201、接收到携带有访客的网络账号及路由器标识的登录请求。 [0104] Step 201 receives the login request carries the visitor router identifier and the network account.

[0105]本公开实施例中,该服务器以微信服务器为例进行说明。 [0105] Example embodiments of the present disclosure, the micro-server communication server as an example.

[0106]当访客的终端请求连接该区域的WiFi时,路由器会向终端推送门户(Portal)页面,该Portal页面上加载有加密的路由器ID(identificat1n,标识),终端上显示该Portal页面,并显示用于用户一键上网的功能模块,例如显示“通过微信一键上网”,用户点击该模块之后,终端通过Portal页面向路由器请求自身的标识,例如MAC地址;然后路由器回复该访客终端的MAC(Media Access Control,媒体访问控制)地址,终端跳转到微信App(Applicat1n,应用),并基于访客的微信网络账号进行微信登录,该登录请求中携带有访客的微信账号以及路由器标识。 [0106] When a visitor terminal requests a WiFi connection to the area, the router will push the terminal portal (Portal) page, loading the encrypted router ID (identificat1n, identifies) the Portal page, displaying the Portal page on the terminal, and displaying a user a key function module Internet access, for example "via micro channel a key to the Internet", then the user clicks on the module, the terminal requests its identity to the router through the Portal page, such as a MAC address; router then replies MAC of the guest terminal (media access Control, media access control) address, the terminal jumps to the micro-channel App (Applicat1n, applications), and micro-channel log-based visitor microcells network account, the login request carries a visitor microcells account and a router identifier.

[0107]步骤202、基于访客的网络账号登录微信,并基于路由器标识查询与路由器标识绑定的管理员的网络账号。 [0107] In step 202, the network-based network account login account micro-channel visitors, and identify the query-based router and the router administrator to identify the binding.

[0108]本公开步骤中,微信服务器中预先存储有各微信账号及微信账号所登录过的终端的终端标识,例如一个微信号曾通过多个终端登录,那么微信服务器可以获取相应的终端标识及微信账号,并对应的进行绑定和存储。 [0108] The present disclosure step, the micro-channel server stores in advance the terminal of each micro-channel account and the micro-channel account logs off the terminal identifier, for example a micro signal has a plurality of terminals logged in, the micro-channel server may obtain the appropriate terminal identification and micro-channel account and the corresponding binding and storage. 具体可以包括:接收网络账号所登录的终端的终端标识;绑定该网络账号及该网络账号所登录的终端标识;存储所绑定的终端标识与网络账号的对应关系。 It may include: a terminal receiving a network account of the registered identifier of the terminal; bound to the network terminal and the network account of the registered account identifier; storing the corresponding relationship between the binding terminal identification and the network account. 因而通过该路由器标识,能够查找到路由器所绑定的管理员的微信账号。 Thus through the router identification, the router can find bound administrator WeChat account.

[0109]步骤203、判断访客的网络账号与管理员的网络账号是否为好友关系。 [0109] In step 203, to determine the network administrator account with visitors network account whether the relationship between friends.

[0110]步骤204、如果判断为访客的网络账号与管理员的网络账号为好友关系,则向路由器发送上网请求,以使路由器与访客的终端建立网络连接。 [0110] Step 204, it is determined if the buddy relationship, transmits the Internet access request to the router for the network administrator account and the account of the guest network, so that the terminal with a visitor router to establish network connections.

[0111] 其中,该上网请求中携带有访客终端的MAC地址。 [0111] wherein the access request carries the MAC address of the guest terminal.

[0112] 实际上,微信服务器向路由器服务器发送上网请求,该上网请求中携带有路由器标识和访客终端的MAC地址,路由器服务器向路由器标识对应的路由器发送上网指示,该上网指示中携带有访客终端的MAC地址,路由器基于该上网指示与MAC地址对应的访客终端建立网络连接。 [0112] In fact, the micro-channel server sends the access request to the router server, the access request carries the MAC address of a router identifier and the guest terminal, the router the router server corresponding to the router identifier transmitting Internet indication, the Internet indicating carries guest terminal MAC address, the router establishes a network connection based on the Internet indicating the MAC address of the guest terminal.

[0113]步骤205、如果判断为访客的网络账号与管理员的网络账号不是好友关系,则向路由器发送查询有效终端标识的请求。 [0113] Step 205, if it is determined that the network administrator account and not the visitor's web account friend relationship, sending the query is valid terminal identification request to the router.

[0114]其中,有效终端标识可以包括认证用户的终端标识,例如对于家庭局域网而言,家庭成员即认证用户;有效终端标识还可以包括有效的访客的终端标识,也就是说通过认证的访客接入到路由器的网络之后,该访客终端的标识可以在路由器中存储设定时长,例如七天,超过该设定时长的访客终端的标识会被清除。 [0114] wherein the active terminal identification may comprise authenticating a user terminal identifier, for example, a home LAN, the family user that is authenticated; valid terminal identification may further include a terminal identifier valid visitors, that is certified by the visitor access after into a network router, the identifier of the guest terminal may be longer when stored in the router is set, for example, seven days of the identified length exceeds a guest terminal set will be cleared.

[0115]步骤206、接收路由器返回的有效终端标识。 [0115] Step 206, the terminal receiving router returns a valid identification.

[0116]步骤207、基于接收的有效终端标识,查询预存储的终端标识与网络账号的对应关系,得到与有效终端标识对应的网络账号。 [0116] Step 207, based on the effective received by the terminal identification, the query pre-stored corresponding relationship between the network identifier and the account number of the terminal to obtain the terminal identifier and a corresponding network valid account.

[0117]基于步骤202的说明部分可知,微信服务器中预存储有微信账号及对应的终端标识,例如一个微信账号在多台终端上登录过,那么可以存储该微信账号与该多台终端标识的对应关系。 [0117] Step based on 202 Description section understood, micro communication server pre-stored in a micro-channel account and a corresponding terminal identifier, e.g. a micro-channel account logged in on more than one terminal, it may store the micro-channel account identifier to the plurality of terminal correspondence.

[0118]步骤208、判断访客的网络账号与查询到的网络账号是否为好友关系。 [01] Step 208, to determine a visitor's web account and account queries to the network whether the relationship between friends.

[0119]步骤209、在访客的网络账号与查询到的任一网络账号为好友关系时,向路由器发送上网请求,以使路由器与访客的终端建立网络连接。 [0119] Step 209, when the visitor's account relationships with a network query to a network account any friends, send a request to the access router, the router so that the terminal establish a network connection with the visitor.

[0120]本公开实施例中,只要访客的网络账号与路由器中存储的有效网络标识对应的任一网络账号为好友关系,那么该访客的终端即可接入路由器网络,从而方便家庭成员的好友访问家庭局域网,及各种局域网中的认证用户的好友访问局域网,方便了用户上网,优化了用户体验。 [0120] Example embodiments of the present disclosure, as long as a valid network identification visitor router network account stored in the corresponding account of any network friend relationship, then the guest terminal access to the network router, so as to facilitate friends of family members home LAN access, and authentication of users to access a variety of local area network LAN's friend, the Internet facilitates the user to optimize the user experience.

[0121]步骤210、在访客的网络账号与查询到的网络账号都不为好友关系时,向用户发送提醒消息。 [0121] Step 210, when a visitor's web account and account queries to the network not as a friend relationship, send a reminder message to the user.

[0122]该提醒消息的内容可以是提醒用户以其他方式上网,等。 [0122] the content of the message alert to remind the user may otherwise be the Internet, and the like. 以便用户及时通过其他方式接入网络。 Otherwise the user to access the network in a timely manner.

[0123]如图3所示,图3是根据一示例性实施例示出的一种上网方法流程图,该方法可以用于路由器中,该方法可以包括以下步骤: [0123] As shown in FIG. 3, FIG. 3 is a flowchart illustrating method of access in accordance with an exemplary embodiment, the method may be used in a router, the method may comprise the steps of:

[0124]步骤301、基于服务器发送的查询请求返回查询到的有效终端标识,以使服务器确定与有效终端标识对应的网络账号。 [0124] Step 301, the terminal returns a valid query request to query the server based on the transmitted identification to enable the server to determine the effective terminal identification corresponding to the network account.

[0125]本公开步骤中,路由器在接收到服务器发送的查询请求时,可查询有效终端标识,包括认证用户的终端标识,成功通过认证并接入网络的访客的终端标识,其中访客的终端标识有一定的有效期,例如该有效期设置为7天,也就是7天之内成功接入网络的访客的终端标识。 [0125] The present disclosure step, the router upon receiving the query request sent by the server, the terminal identifier can be found effective, comprising authenticating a user terminal identifier, terminal identifier and authenticated successfully visitor access network, wherein the terminal identification visitors have a certain duration, for example, the validity period is set to 7 days, which is a successful access to the network within 7 days guest terminal identification. 对于家庭局域网而言,认证用户可以为家庭成员;对于商家局域网而言,认证用户可以包括员工;对于公司局域网而言,认证用户可以为职员。 For the home network, the user can be authenticated for family members; local area networks for businesses, authenticated users can include employees; for the company's local area network, the user can be authenticated for staff.

[0126]步骤302、接收服务器在访客的网络账号与对应于有效终端标识的任一网络账号为好友关系时发送的上网请求。 [0126] Step 302, the server receives the access request transmitted when a visitor's web account with any of a network terminal identifier corresponds to a valid account for the buddy relationship.

[0127]本公开步骤中,结合图2所示实施例的描述可知,在服务器确定访客的网络账号与对应于有效终端标识的任一网络账号为好友关系时,会发送上网请求。 [0127] The present disclosure step, in conjunction with FIG. 2 understood description of the embodiments, the network determines that the guest account with any of a network terminal identifier corresponds to a valid account to a friend relationship, the server sends a request to the Internet.

[0128]步骤303、基于上网请求与访客的终端建立网络连接。 [0128] Step 303, to establish a network connection based on the Internet terminal with a visitor's request.

[0129]上述实施例中,路由器可以在访客的网络账号与对应于有效终端标识的任一网络账号为好友关系时,与该访客的终端建立网络连接,从而方便局域网的认证用户的好友接入网络,为用户快速上网提供了方便,简化了用户的操作,优化了用户体验。 [0129] In the above embodiment, the router may be a visitor's web account corresponding to either a network account is valid terminal identification friend relationship, establish a network connection with the visitor's terminal, so as to facilitate the user's friends LAN access authentication network for Internet users to quickly provide a convenient, simplifies user operation, optimizing the user experience.

[0130]如图4所示,图4是根据一示例性实施例示出的另一种上网方法流程图,该方法可以用于路由器中,该方法可以包括以下步骤: [0130] As shown in FIG. 4, FIG. 4 is another access method shown in a flowchart of an exemplary embodiment, the method may be used in a router, the method may comprise the steps of:

[0131]步骤401、接收服务器发送的查询请求。 [0131] Step 401, a query request sent by a server.

[0132] 步骤402、基于查询请求查询有效终端标识。 [0132] Step 402, the query is valid based on the query request terminal identification.

[0133]其中,路由器所查询的该有效终端标识包括认证用户的终端标识,以及处于有效期内的接入网络成功的访客的终端标识。 [0133] wherein the active router queries the terminal identification includes authenticating a user terminal identifier, terminal identifier and an access network is within the validity period of successful visitors.

[0134]步骤403、将查询的有效终端标识发送给服务器。 [0134] Step 403, the effective terminal ID to query the server.

[0135]步骤404、接收服务器在访客的网络账号与对应于所述有效终端标识的任一网络账号为好友关系时发送的上网请求。 [0135] Step 404, the server receives the access request transmitted when a visitor's web account corresponding to the active terminal identification of any network account friend relationship.

[0136]其中该上网请求中携带有访客的终端标识。 [0136] wherein the request carries the access terminal identifier visitors.

[0137]步骤405、提取该上网请求中携带的访客的终端标识。 [0137] Step 405, extracts the visitor access request carries terminal identifier.

[0138]步骤406、基于终端标识与访客的终端建立网络连接。 [0138] Step 406, network connection is established based on the terminal identifier and terminal visitors.

[0139]如图5所示,图5是本公开根据一示例性实施例示出的一种上网方法的应用场景示意图。 As shown in [0139] FIG. 5, FIG. 5 is a schematic diagram of an application scenario of the present access method of one kind is shown an exemplary embodiment of the present disclosure. 在图5所示的场景中,包括:作为服务器的微信服务器,路由器以及智能手机。 In the scenario shown in FIG. 5, comprising: a micro-server, communication server, router, and smart phones.

[0140]微信服务器接收到携带有访客A的微信账号A及路由器标识的登录请求;基于微信账号A进行登录,并查询与路由器标识绑定的管理员的微信账号B;判断微信账号A与微信账号B是否为好友关系,在微信账号A与微信账号B不为好友关系时,向路由器发送查询有效终端标识的请求;路由器查询家庭成员的终端标识,以及处于有效期内的成功接入局域网的访客的终端标识,将查询到的这些有效终端标识发送给微信服务器,微信服务器基于路由器回复的有效终端标识,查找预存储的微信账号与该微信账号所登录过的终端的终端标识的对应关系,确定与有效终端标识对应的微信账号;在微信账号A与确定的任一微信账号为好友关系时,向路由器发送携带有自身MAC地址的上网请求,路由器接收到该上网请求,与该智能手机建立网络连接。 [0140] Micro channel server receives the login request WeChat account A and the router identifier carries Visitor A; log on WeChat account A, and queries the administrator of the router identifies the binding of the micro-channel account B; Analyzing micro channel account A micro channel account B whether a buddy relationship, when the micro-channel account a and micro-channel account B is not a friend relationship, the router sends a query request is valid terminal identification; router query terminal identification of family members, as well as in the success of access within the validity period LANs visitors the terminal identification, the query to these active terminal identification sent to the micro-channel server correspondence between the terminal identification of the micro-channel server valid terminal identification router replies based lookup pre-stored in the micro-channel account the micro-channel account logs off the terminal, is determined effective terminal identifier corresponding to the micro-channel account; when the micro-channel account a and determining any of a micro-channel account as a friend relationship, sending access request carries its own MAC address to the router, the router receives the access request, establishing a network with the smart phone connection.

[0141]在图5所示应用场景中,实现上网的具体过程可以参见前述对图1-4中的描述,在此不再赘述。 [0141] In the application scenario shown in FIG. 5, the specific realization process of the Internet can be found described in FIGS. 1-4, are not repeated here.

[0142]与前述上网方法实施例相对应,本公开还提供了上网装置及其所应用的服务器及路由器的实施例。 [0142] Example corresponding to the aforementioned access method, the present disclosure also provides an embodiment of apparatus and Internet servers and routers applied.

[0143]如图6所示,图6是本公开根据一示例性实施例示出的一种上网装置框图,该装置可以应用于服务器中,并用于执行图1所示实施例的方法,该装置可以包括:第一查询模块610、确定模块620和第一网络连接模块630。 [0143] As shown in FIG. 6, FIG. 6 is a block diagram of the present disclosure one kind of Internet access device illustrated in accordance with an exemplary embodiment, the apparatus may be applied to a server, and executes the method of Example 1, the apparatus It may include: a first query module 610, a first determining module 620 and a network connection module 630.

[0144]第一查询模块610,被配置为在访客的网络账号与路由器管理员的网络账号不是好友关系时,向路由器发送查询有效终端标识的请求; [0144] The first query module 610, when the guest is configured in relation to the network administrator's account and the router network account is not a friend, a valid terminal identification Send request to the router;

[0145]确定模块620,被配置为基于路由器回复的有效终端标识,确定与有效终端标识对应的网络账号; [0145] determination module 620, configured to reply to the router based on the effective terminal identifier, the terminal identifier corresponding to the effective determination of the network account;

[0146]第一网络连接模块630,被配置为在确定模块620确定为访客的网络账号与确定的任一网络账号为好友关系时,向路由器发送上网请求,以使路由器与所述访客的终端建立网络连接。 [0146] first network connection module 630, configured to determining module 620 determines the network as a guest account when determining any network account for the friend relationship, sending access request to the router, the router so that the terminal of the visitors establish a network connection.

[0147]上述实施例中,服务器可以在访客的网络账号与路由器管理员的网络账号不是好友关系时,获取路由器上的有效终端标识,并确定与有效终端标识对应的网络账号,在访客的网络账号与任一有效终端标识对应的网络账号为好友关系时,使得访客的终端与路由器建立网络连接,从而解决了相关技术中与管理员的网络账号不是好友关系的访客的终端上网步骤繁琐的问题,提高了网络连接的速度,简化了访客的上网流程,优化了用户体验。 [0147] In the above embodiment, when the guest server may be a network router administrator account and not the network account friend relationship, to obtain a valid terminal identification on the router, and determines a valid terminal identification corresponding to the network account, in the visitor network when a valid terminal identification corresponding network account as a friend relationship with any of the accounts, so that the terminal and the router visitors to establish a network connection, in order to address the relationship of related technologies and network administrator account is not a friend of the visitor's Internet terminal step tedious problem improve the speed of the network connection, simplifying the visitor's Internet processes, optimize the user experience.

[0148]如图7所示,图7是本公开根据一示例性实施例示出的另一种上网装置框图,该实施例在前述图6所示实施例的基础上,该装置还可以包括:第一接收模块640、第二查询模块650和判断模块660。 [0148] As shown in FIG. 7, FIG. 7 of the present disclosure is in accordance with an exemplary embodiment illustrates a block diagram of another access device, this embodiment is based on the embodiment shown in FIG. 6 in the embodiment, the apparatus may further comprise: a first receiving module 640, a second query module 650 and a determining module 660.

[0149]第一接收模块640,被配置为接收携带有访客的网络账号及路由器标识的登录请求; [0149] a first receiving module 640, configured to receive a network carrying a visitor router identifier and an account registration request;

[0150]第二查询模块650,被配置为基于第一接收模块640接收的访客的网络账号进行登录,并查询与路由器标识绑定的管理员的网络账号; [0150] The second query module 650 is configured to log on to a network account visitors received by a first receiving module 640, and queries the administrator of the router identifies the binding of the network account;

[0151]判断模块660,被配置为判断第一接收模块640接收的访客的网络账号与第二查询模块650查询的管理员的网络账号是否为好友关系。 [0151] a determination module 660, a network administrator account is configured to determine a first receiving module 640 receives the visitor's web account and the second query module 650 queries whether the buddy relationship.

[0152]上述实施例中,路由器与管理员用户的网络账号具有绑定关系,服务器可以在接收到携带有访客的网络账号及路由器标识的登录请求时,查询与路由器标识绑定的管理员的网络账号,从而判断访客与路由器管理员是否为网络好友关系。 When [0152] the above-described embodiment, the router network administrator user account has a binding relationship, the server may be received in a visitor network carrying the account identifier and the login request router, the router queries the administrator identifies the binding of network account, in order to determine whether the visitor router for the network administrator friendship.

[0153]如图8所示,图8是本公开根据一示例性实施例示出的另一种上网装置框图,该实施例在前述图6所示实施例的基础上,该装置还可以包括:第二接收模块670、绑定模块680和存储模块690。 [0153] As shown in FIG 8 that the present disclosure according to an exemplary embodiment illustrates a block diagram of another Internet device 8, this embodiment is based on the embodiment shown in FIG. 6 in the embodiment, the apparatus may further comprise: a second receiving module 670, a binding module 680 and a memory module 690.

[0154]第二接收模块670,被配置为接收网络账号所登录的终端的终端标识; [0154] The second receiving module 670, the terminal end is configured to receive the network identification of the registered account;

[0155]绑定模块680,被配置为绑定网络账号及第二接收模块670接收的终端标识; [0155] Binding module 680, configured to bind the network account and the terminal receiving module 670 receives a second identifier;

[0156]存储模块690,被配置为存储绑定模块680所绑定的终端标识与网络账号的对应关系O [0156] a storage module 690, configured to store the binding module 680 bound terminal identification and the network account correspondence between O

[0157]上述实施例中,服务器中可以预先存储网络账号及该网络账号所登录的终端的终端标识的对应关系,从而可以基于终端标识查找到对应的网络账号,以便基于网络账号的关系确定是否能够上网,方便用户的上网流程。 [0157] the above-described embodiments, the server may be pre correspondence relationship between the terminal identifier storage network account and the network account of the registered terminal, which can be based on the terminal identification finds the corresponding network account, in order to determine whether based networks account access to the Internet, user-friendly online process.

[0158]如图9所示,图9是本公开根据一示例性实施例示出的另一种上网装置框图,该实施例在前述图8所示实施例的基础上,确定模块620可以包括:确定子模块621。 [0158] As shown in FIG. 9, FIG. 9 of the present disclosure is in accordance with an exemplary embodiment illustrates a block diagram of another access device, this embodiment is based on the embodiment shown in FIG. 8, the determining module 620 may include: determination sub-module 621.

[0159]确定子模块621,被配置为基于路由器回复的有效终端标识,查询存储模块670存储的对应关系,得到与有效终端标识对应的网络账号。 [0159] determination sub-module 621, configured to respond based on the effective terminal identifier of the router, the corresponding relationship storage module 670 stores the query, the terminal corresponding to the identifier to obtain the effective network account.

[0160]如图10所示,图10是本公开根据一示例性实施例示出的另一种上网装置框图,该实施例在前述图6所不实施例的基础上,第一网络连接模块630可以包括:第一发送子模块631。 [0160] As shown in FIG. 10, FIG. 10 of the present disclosure is in accordance with an exemplary embodiment illustrates a block diagram of another access device, which is not based on the embodiment of the preceding embodiment in FIG. 6, the first network connection module 630 It may include: a first sending sub-module 631.

[0161]第一发送子模块631,被配置为向路由器发送携带有访客的终端标识的上网请求。 [0161] The first sending sub-module 631, configured to send a visitor carrying the terminal identification of the Internet access request to the router.

[0162]在上述任一实施例的基础上,有效终端标识包括认证用户的终端标识,以及设定时间段内与路由器建立网络连接的访客的终端标识。 [0162] In any of the above embodiments based on the embodiment, the terminal identifier comprises a valid terminal identification of the user authentication, and the set period the router establishes a network connection with the terminal identification of the visitor.

[0163]上述实施例中,服务器可以向路由器发送携带有访客的终端标识的上网请求,从而便于路由器准确与访客的终端建立网络连接。 [0163] In the above-described embodiment, the server may send a request to the router carrying terminal identifier Internet visitors, thereby facilitating accurate router establishing a network connection terminal visitors.

[0164] 上述图6至图10示出的上网装置实施例可以应用在服务器中。 Internet access device [0164] 6 to 10 above illustrated embodiments may be applied in the server.

[0165]如图11所示,图11是本公开根据一示例性实施例示出的一种上网装置框图,该装置可以应用于路由器中,并用于执行上述图3所示的方法,该装置可以包括:发送模块710、第三接收模块720和第二网络连接模块730。 [0165] As shown in FIG. 11, FIG. 11 is a block diagram of apparatus according to the present disclosure one kind of Internet access according to an exemplary embodiment illustrated exemplary embodiment, the apparatus may be applied to the router, and performing the above method shown in FIG. 3, the apparatus can be comprising: a sending module 710, a third receiving module 720 and the second network connection module 730.

[0166]发送模块710,被配置为基于服务器发送的查询请求返回查询到的有效终端标识,以使服务器确定与有效终端标识对应的网络账号; [0166] sending module 710, configured to query a valid terminal returns a query request sent by the server based on the identity of the server to determine that the terminal identification corresponding to the effective network account;

[0167]第三接收模块720,被配置为接收服务器在访客的网络账号与对应于发送模块710发送的有效终端标识的任一网络账号为好友关系时发送的上网请求; [0167] The third receiving module 720, configured to receive a request sent by the server to the Internet when a visitor's web account corresponding relationship to the transmission module 710 transmits a valid terminal identification of a network account any friends;

[0168]第二网络连接模块730,被配置为基于第三接收模块720接收的上网请求与访客的终端建立网络连接。 [0168] second network connection module 730, configured to establish a network connection based on the terminal access request received by the third receiving module 720 and visitors.

[0169]上述实施例中,路由器可以在访客的网络账号与对应于有效终端标识的任一网络账号为好友关系时,与该访客的终端建立网络连接,从而方便局域网的认证用户的好友接入网络,为用户快速上网提供了方便,简化了用户的上网操作,优化了用户体验。 [0169] In the above embodiment, the router may be a visitor's web account corresponding to either a network account is valid terminal identification friend relationship, establish a network connection with the visitor's terminal, so as to facilitate the user's friends LAN access authentication network for Internet users to quickly provide a convenient, simplifying the user's Internet operation, optimizing the user experience.

[0170]如图12所示,图12是本公开根据一示例性实施例示出的另一种上网装置框图,该实施例在前述图11所示实施例的基础上,发送模块710可以包括:接收子模块711、查询子模块712和第二发送子模块713。 [0170] As shown, FIG. 12 of the present disclosure is in accordance with an exemplary embodiment illustrates a block diagram of another access device 12, this embodiment is based on the embodiment shown in FIG. 11, the transmitting module 710 may comprise: receiving sub-module 711, a query sub-module 712 and a second sending sub-module 713.

[0171]接收子模块711,被配置为接收服务器发送的查询请求; [0171] receiving submodule 711, configured to receive a query request sent by the server;

[0172]查询子模块712,被配置为基于接收子模块711接收的查询请求查询有效终端标识,该有效终端标识包括认证用户的终端标识,以及设定时间段内与路由器建立网络连接的访客的终端标识; [0172] query sub-module 712 is configured based on the query request receiving submodule 711 effectively received query terminal identifier, the terminal identifier comprises a valid authenticating a user terminal identifier, and establishing a network connection visitor router set period terminal identification;

[0173]第二发送子模块713,被配置为将查询子模块712查询到的有效终端标识发送给服务器。 [0173] The second sending sub-module 713, configured to query sub-module 712 to query a valid terminal identification sent to the server.

[0174]上述实施例中,路由器中可以存储有效终端标识,包括认证用户的终端标识及有效期内的访客的终端标识,以便在访客的网络账号与有效终端标识对应的网络账号具有好友关系时,能够方便的快捷的实现上网。 When [0174] the above-described embodiment, the router may store a valid terminal identification, including authenticating the user terminal identifier and visitors within the validity period a terminal identification, to identify the corresponding network account having the buddy relationship in the visitor's web account and active terminals, can achieve fast and convenient Internet access.

[0175]如图13所示,图13是本公开根据一示例性实施例示出的另一种上网装置框图,该实施例在前述图11所示实施例的基础上,第二网络连接模块730可以包括:提取子模块731和建立子模块732。 [0175] As shown in FIG. 13, FIG. 13 of the present disclosure is in accordance with an exemplary embodiment illustrates a block diagram of another access device, on the basis of the foregoing embodiment shown in FIG. 11, the second network connection module 730 of the embodiment of Example It may include: extracting sub-module 731 and the establishment of sub-module 732.

[0176]提取子模块731,被配置为提取上网请求中携带的访客的终端标识; [0176] extracting sub-module 731, configured to extract the terminal access request carries the identifier of the visitor;

[0177]建立子模块732,被配置为基于提取子模块731提取的终端标识与访客的终端建立网络连接。 [0177] To establish sub-module 732, configured to establish a network connection based on the terminal extracting sub-module 731 and the extracted terminal identifier visitors.

[0178]上述实施例中,路由器可以基于上网请求中携带的访客的终端标识,准确的确定要上网的终端,并与该终端快速建立网络连接,为用户提供方便。 [0178] In the above embodiment, the router may be based on a terminal identifier carried in the request Internet visitors, accurate determination of the terminal to the Internet, and to quickly establish network connection with the terminal, the user convenience.

[0179] 上述图11-13示出的上网装置实施例可以应用在路由器中。 Internet access device [0179] FIG 11-13 show the above-described embodiments may be applied in the router.

[0180]上述装置中各个单元的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。 [0180] The means to achieve functions and effects of the process of each unit specific detailed implementation process of corresponding steps of the above method, not described herein again.

[0181]对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。 [0181] For the apparatus of the embodiment, since a method which substantially corresponds to the embodiment, the portion of the embodiment of the method embodiments to be described where relevant. 以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。 It means the above-described embodiments are merely illustrative, as a unit wherein the separate parts may be or may not be physically separate, parts displayed as units may be or may not be physical units, i.e. may be located a place, or they may be distributed to multiple network units. 可以根据实际的需要选择其中的部分或者全部模块来实现本公开方案的目的。 Part or all of the modules may be selected according to actual needs to achieve the object of the present disclosure program. 本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。 Those of ordinary skill in the art without creative efforts, can be understood and implemented.

[0182]与图6相应的,本公开还提供一种服务器,所述服务器包括有处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为: [0182] FIG 6 Accordingly, the present disclosure further provides a server, said server comprising a processor; processor-executable instructions for storing a memory; wherein the processor is configured to:

[0183]在访客的网络账号与路由器管理员的网络账号不是好友关系时,向所述路由器发送查询有效终端标识的请求; [0183] When guest network router administrator account and the account is not a buddy relationship network, terminal identification valid Send request to the router;

[0184]基于所述路由器回复的有效终端标识,确定与所述有效终端标识对应的网络账号; [0184] Based on the valid terminal reply router identification, and determining the terminal identifier corresponding to the active network account;

[0185]在所述访客的网络账号与确定的任一网络账号为好友关系时,向所述路由器发送上网请求,以使所述路由器与所述访客的终端建立网络连接。 [0185] When the visitor's web account to a friend relationship with any of the determined network account, send a request to the access router, the router so that the terminal and establish a network connection to the guest.

[0186]与图7相应的,本公开还提供一种路由器,该路由器包括有处理器;用于存储处理器可执行指令的存储器; [0186] FIG. 7 Accordingly, the present disclosure further provides a router that comprises a processor; a memory storing processor-executable instructions;

[0187]其中,所述处理器被配置为: [0187] wherein the processor is configured to:

[0188]基于服务器发送的查询请求返回查询到的有效终端标识,以使所述服务器确定与所述有效终端标识对应的网络账号; [0188] Based on the query request sent by the server to query returns a valid terminal identification, so that the server determines the terminal identification corresponding to the active network account;

[0189]接收所述服务器在访客的网络账号与对应于所述有效终端标识的任一网络账号为好友关系时发送的上网请求; [0189] receiving the visitor's web server account corresponding to the active terminal identifier when any access request transmitted to a friendship network account;

[0190]基于所述上网请求与所述访客的终端建立网络连接。 [0190] establishing a network connection with the guest terminal based on the access request.

[0191]如图14所示,图14是根据一示例性实施例示出的一种用于上网装置1400的一结构示意图(服务器侧)。 As shown in [0191] As shown in FIG 14, FIG 14 is an exemplary embodiment in accordance with an exemplary embodiment illustrating a schematic structure of a (server-side) means 1400 for Internet access. 例如,装置1400可以被提供为一路由设备。 For example, device 1400 may be provided as a routing device. 参照图14,装置1400包括处理组件1422,其进一步包括一个或多个处理器,以及由存储器1432所代表的存储器资源,用于存储可由处理部件1422的执行的指令,例如应用程序。 Referring to Figure 14, device 1400 includes a processing component 1422, which further includes one or more processors, memory resources, and 1432 represented by a memory for storing instructions for execution by a processing means 1422, such as an application. 存储器1432中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。 Stored in application memory 1432 may include one or more modules each corresponding to a set of instructions. 此外,处理组件1422被配置为执行指令,以执行上述访问网页的方法。 Moreover, processing component 1422 is configured to execute instructions to perform the above-described method of accessing the web page.

[0192] 装置1400还可以包括一个电源组件1426被配置为执行装置1400的电源管理,一个有线或无线网络接口1450被配置为将装置1400连接到网络,和一个输入输出(I/O)接口1458。 [0192] Apparatus 1400 may further include a power supply assembly 1426 is configured to power management execution device 1400, a wired or wireless network interface 1450 is configured to connect the device 1400 to the network, and an input-output (I / O) interfaces 1458 . 装置1400可以操作基于存储在存储器1432的操作系统,例如Windows ServerTM,MacOS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。 Apparatus 1400 can operate based on an operating system stored in the memory 1432, for example, Windows ServerTM, MacOS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.

[0193]如图15所示,图15是根据一示例性实施例示出的一种用于上网装置1500的一结构示意图(路由器侧)。 [0193] As shown in FIG. 15, FIG. 15 is an exemplary embodiment shown in a schematic structural diagram of a method for Internet access (router side) of the apparatus 1500. 例如,装置1500可以被提供为一路由设备。 For example, it means 1500 may be provided as a routing device. 参照图15,装置1500包括处理组件1522,其进一步包括一个或多个处理器,以及由存储器1532所代表的存储器资源,用于存储可由处理部件1522的执行的指令,例如应用程序。 Referring to Figure 15, apparatus 1500 includes a processing component 1522, which further includes one or more processors, memory resources, and 1532 represented by a memory for storing instructions for execution by a processing means 1522, such as an application. 存储器1532中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。 Stored in application memory 1532 may include one or more modules each corresponding to a set of instructions. 此外,处理组件1522被配置为执行指令,以执行上述访问网页的方法。 Moreover, processing component 1522 is configured to execute instructions to perform the above-described method of accessing the web page.

[0194] 装置1500还可以包括一个电源组件1526被配置为执行装置1500的电源管理,一个有线或无线网络接口1550被配置为将装置1500连接到网络,和一个输入输出(I/O)接口1558。 [0194] The apparatus 1500 may further include a power supply assembly 1526 is configured to power management execution means 1500, a wired or wireless network interface 1550 is configured to 1500 connected to the network device, and an input-output (I / O) interfaces 1558 . 装置1500可以操作基于存储在存储器1532的操作系统,例如Windows ServerTM,MacOS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。 Apparatus 1500 may operate based on an operating system stored in the memory 1532, for example, Windows ServerTM, MacOS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.

[0195]本公开实施例还提供了一种非临时性计算机可读存储介质,当所述存储介质中的指令由服务器的处理器执行时,使得服务器能够执行一种上网方法,所述方法包括: [0195] Example embodiments of the present disclosure further provides a non-transitory computer-readable storage medium, when the storage medium is executed by a processor of a server, the Internet enables the server to perform a method, said method comprising :

[0196]在访客的网络账号与路由器管理员的网络账号不是好友关系时,向所述路由器发送查询有效终端标识的请求; [0196] When guest network router administrator account and the account is not a buddy relationship network, terminal identification valid Send request to the router;

[0197]基于所述路由器回复的有效终端标识,确定与所述有效终端标识对应的网络账号; [0197] Based on the valid terminal reply router identification, and determining the terminal identifier corresponding to the active network account;

[0198]在所述访客的网络账号与确定的任一网络账号为好友关系时,向所述路由器发送上网请求,以使所述路由器与所述访客的终端建立网络连接。 [0198] When the visitor's web account to a friend relationship with any of the determined network account, send a request to the access router, the router so that the terminal and establish a network connection to the guest.

[0199]本公开实施例还提供了一种非临时性计算机可读存储介质,当所述存储介质中的指令由路由器的处理器执行时,使得路由器能够执行一种上网方法,所述方法包括: [0199] Example embodiments of the present disclosure further provides a non-transitory computer-readable storage medium, when the storage medium is executed by a processor, a router, allowing access router to perform a method, said method comprising :

[0200]基于服务器发送的查询请求返回查询到的有效终端标识,以使所述服务器确定与所述有效终端标识对应的网络账号; [0200] Based on the query request sent by the server to query returns a valid terminal identification, so that the server determines the terminal identification corresponding to the active network account;

[0201]接收所述服务器在访客的网络账号与对应于所述有效终端标识的任一网络账号为好友关系时发送的上网请求; [0201] receiving the visitor's web server account corresponding to the active terminal identifier when any access request transmitted to a friendship network account;

[0202]基于所述上网请求与所述访客的终端建立网络连接。 [0202] establishing a network connection with the guest terminal based on the access request.

[0203]本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。 [0203] Those skilled in the art upon consideration of the specification and practice of the invention disclosed herein, will readily appreciate other embodiments of the present disclosure. 本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。 The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure, these variations, uses, or adaptations following the general principles of the present disclosure and include the common general knowledge in the art of the present disclosure is not disclosed in the conventional techniques or . 说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。 The specification and examples be considered as exemplary only, the true scope and spirit of the present disclosure being indicated by the following claims.

[0204]以上所述仅为本公开的较佳实施例而已,并不用以限制本公开,凡在本公开的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本公开保护的范围之内。 [0204] The present disclosure of the above embodiments are only preferred embodiments only, not intended to limit the present disclosure, within the spirit and principles of the present disclosure, any changes made, equivalent substitutions and improvements should be included within the scope of protection of the present disclosure.

Claims (20)

1.一种上网方法,其特征在于,包括: 在访客的网络账号与路由器管理员的网络账号不是好友关系时,向所述路由器发送查询有效终端标识的请求; 基于所述路由器回复的有效终端标识,确定与所述有效终端标识对应的网络账号; 在所述访客的网络账号与确定的任一网络账号为好友关系时,向所述路由器发送上网请求,以使所述路由器与所述访客的终端建立网络连接。 An access method, characterized by comprising: a network account at the visitor router network administrator account is not a buddy relationship, Send request to the valid terminal identification router; active terminal based on the reply to the router identification, and determining the terminal identifier corresponding to the active network account; the visitor's web account when determining any network account for the friend relationship, sending access request to the router, the router so that the visitors terminal establish a network connection.
2.根据权利要求1所述的方法,其特征在于,所述方法还包括: 接收携带有访客的网络账号及路由器标识的登录请求; 基于所述访客的网络账号进行登录,并查询与所述路由器标识绑定的管理员的网络账号; 判断所述访客的网络账号与所述管理员的网络账号是否为好友关系。 2. The method according to claim 1, wherein said method further comprises: receiving a visitor network carrying account login request, and the router identifier; login account based on the visitor network, and the query router identifies the binding of a network administrator account; determining whether the visitor's account with the network administrator of the network account whether the relationship between friends.
3.根据权利要求1所述的方法,其特征在于,所述方法还包括: 接收网络账号所登录的终端的终端标识; 绑定所述网络账号及所述终端标识; 存储所绑定的所述网络账号与所述终端标识的对应关系。 3. The method according to claim 1, wherein said method further comprises: receiving network terminal identification account of the registered terminal; binding account and the network identifier of the terminal; storing the binding said correspondence relationship with the network terminal identity account.
4.根据权利要求3所述的方法,其特征在于,所述基于所述路由器回复的有效终端标识,确定与所述有效终端标识对应的网络账号,包括: 基于所述路由器回复的有效终端标识,查询所述对应关系,得到与所述有效终端标识对应的网络账号。 4. The method according to claim 3, wherein the terminal identifier of the router based on the effective response, and determining the terminal identifier corresponding to the active network account, comprising: a terminal identifier of the router based on the valid reply , querying the corresponding relationship, the active terminal obtained network identifier corresponding to the account.
5.根据权利要求1所述的方法,其特征在于,所述向所述路由器发送上网请求,包括: 向所述路由器发送携带有所述访客的终端标识的上网请求。 5. The method according to claim 1, wherein said transmission request to the access router, comprising: transmitting to the router carries the visitor requesting access terminal identifier.
6.根据权利要求1-5任一项所述的方法,其特征在于,所述有效终端标识包括认证用户的终端标识,以及设定时间段内与所述路由器建立网络连接的访客的终端标识。 6. The method according to any one of claims 1 to 5, wherein the terminal identifier comprises a valid authenticating a user terminal identifier and the set period with the visitor router to establish network connection terminal identifier .
7.一种上网方法,其特征在于,包括: 基于服务器发送的查询请求返回查询到的有效终端标识,以使所述服务器确定与所述有效终端标识对应的网络账号; 接收所述服务器在访客的网络账号与对应于所述有效终端标识的任一网络账号为好友关系时发送的上网请求; 基于所述上网请求与所述访客的终端建立网络连接。 A method for the Internet, characterized by comprising: terminal identification query to return a valid query request sent by the server based on the server to determine the terminal identifier corresponding to the active network account; receiving the guest server any access request transmitted when a network account for the buddy relationship network account corresponding to the active terminal identifier; establishing a network connection with the guest terminal based on the access request.
8.根据权利要求7所述的方法,其特征在于,所述基于服务器发送的查询请求返回查询到的有效终端标识,包括: 接收服务器发送的查询请求; 基于所述查询请求查询有效终端标识,所述有效终端标识包括认证用户的终端标识,以及设定时间段内与所述路由器建立网络连接的访客的终端标识; 将查询的所述有效终端标识发送给所述服务器。 8. The method according to claim 7, characterized in that, based on the query request sent by the server to return query valid terminal identification, comprising: receiving a query request sent by the server; identifying valid query based on the query request terminal, the active terminal identifier comprises authenticating a user terminal identifier and the set period of the visitor router to establish network connection terminal identifier; the active terminals of the query identifier to the server.
9.根据权利要求7所述的方法,其特征在于,所述基于所述上网请求与所述访客的终端建立网络连接,包括: 提取所述上网请求中携带的访客的终端标识; 基于所述终端标识与所述访客的终端建立网络连接。 9. The method according to claim 7, characterized in that said Internet based on the request to establish a network connection with the guest terminal, comprising: extracting the access request carries an identifier of the guest terminal; based on the terminal identification of the guest terminal establish a network connection.
10.一种上网装置,其特征在于,包括: 第一查询模块,被配置为在访客的网络账号与路由器管理员的网络账号不是好友关系时,向所述路由器发送查询有效终端标识的请求; 确定模块,被配置为基于所述路由器回复的有效终端标识,确定与所述有效终端标识对应的网络账号; 第一网络连接模块,被配置为在所述访客的网络账号与确定的任一网络账号为好友关系时,向所述路由器发送上网请求,以使所述路由器与所述访客的终端建立网络连接。 10. An access device comprising: a first query module is configured to, when a visitor's web account and router network administrator account is not a buddy relationship, the router sends the query request to a valid terminal identification; determination module configured to identify a router based on the active terminal of the reply, determining the terminal identifier corresponding to the active network account; first network connection module configured as a network according to any of the visitor's web account and determined when the account is a friend relationship, sending access request to the router, the router so that the terminal and establish a network connection to the guest.
11.根据权利要求10所述的装置,其特征在于,所述装置还包括: 第一接收模块,被配置为接收携带有访客的网络账号及路由器标识的登录请求; 第二查询模块,被配置为基于所述访客的网络账号进行登录,并查询与所述路由器标识绑定的管理员的网络账号; 判断模块,被配置为判断所述访客的网络账号与所述管理员的网络账号是否为好友关系O 11. The apparatus according to claim 10, wherein said apparatus further comprises: a first receiving module, configured to receive a registration request carries the identifier of the router and the network account of the visitor; second query module, configured to be based on the visitor's network account login, and query the router identifies the binding of a network administrator account; a determination module configured to determine the visitor's account with the network administrator whether the network account O friendship
12.根据权利要求10所述的装置,其特征在于,所述装置还包括: 第二接收模块,被配置为接收网络账号所登录的终端的终端标识; 绑定模块,被配置为绑定所述网络账号及所述终端标识; 存储模块,被配置为存储所绑定的所述网络账号与所述终端标识的对应关系。 12. The apparatus according to claim 10, wherein said apparatus further comprises: a second receiving module configured to receive a terminal identification network account of the registered terminal; binding module, configured to bind the said network account and the terminal identifier; correspondence relationship storage module configured to store said network is bound with the terminal identification of the account.
13.根据权利要求12所述的装置,其特征在于,所述确定模块包括: 确定子模块,被配置为基于所述路由器回复的有效终端标识,查询所述对应关系,得到与所述有效终端标识对应的网络账号。 13. The apparatus as claimed in claim 12, wherein said determining module comprises: a determining sub-module is configured based on the router valid terminal identification reply, querying the corresponding relationship, the active terminal obtained corresponding to the identifier of the network account.
14.根据权利要求10所述的装置,其特征在于,所述第一网络连接模块包括: 第一发送子模块,被配置为向所述路由器发送携带有所述访客的终端标识的上网请求。 14. The apparatus according to claim 10, wherein said first network connection module comprises: a first sending sub-module, configured to send a request carrying the guest access terminal identifier to the router.
15.根据权利要求10-14任一项所述的装置,其特征在于,所述有效终端标识包括认证用户的终端标识,以及设定时间段内与所述路由器建立网络连接的访客的终端标识。 15. The apparatus according to any one of claims 10-14, wherein the terminal identifier comprises a valid authenticating a user terminal identifier and the set period with the visitor router to establish network connection terminal identifier .
16.一种上网装置,其特征在于,包括: 发送模块,被配置为基于服务器发送的查询请求返回查询到的有效终端标识,以使所述服务器确定与所述有效终端标识对应的网络账号; 第三接收模块,被配置为接收所述服务器在访客的网络账号与对应于所述有效终端标识的任一网络账号为好友关系时发送的上网请求; 第二网络连接模块,被配置为基于所述上网请求与所述访客的终端建立网络连接。 16. An access device, comprising: a sending module, configured to query a valid terminal returns a query request sent by the server based on the identity of the server to determine the terminal identifier corresponding to the active network account; a third receiving module, configured to receive the visitor's web server account corresponding to the active terminal identification account of any network access request sent by a buddy relationship; second network connection module configured to, based on the said access request to establish a network connection with the terminal of the guest.
17.根据权利要求16所述的装置,其特征在于,所述发送模块包括: 接收子模块,被配置为接收服务器发送的查询请求; 查询子模块,被配置为基于所述查询请求查询有效终端标识,所述有效终端标识包括认证用户的终端标识,以及设定时间段内与所述路由器建立网络连接的访客的终端标识;第二发送子模块,被配置为将查询的所述有效终端标识发送给所述服务器。 17. The apparatus according to claim 16, wherein the sending module comprises: a receiving sub-module configured to receive a query request sent by the server; query sub-module configured to query the query request based on a valid termination identifier, the terminal identifier comprises a valid authenticating a user terminal identifier and terminal identifier of the router and establish a set period visitor network connection; and a second sending sub-module, configured to query the identification of a valid termination sent to the server.
18.根据权利要求16所述的装置,其特征在于,所述第二网络连接模块包括: 提取子模块,被配置为提取所述上网请求中携带的访客的终端标识; 建立子模块,被配置为基于所述终端标识与所述访客的终端建立网络连接。 18. The apparatus according to claim 16, wherein said second network connection module comprising: a sub-extraction module configured to extract the access terminal identifier carried in the request of the visitor; creation module configured to establishing a network connection to the terminal based on the terminal identifier and the visitor.
19.一种服务器,其特征在于,包括:处理器;用于存储处理器可执行指令的存储器; 其中,所述处理器被配置为: 在访客的网络账号与路由器管理员的网络账号不是好友关系时,向所述路由器发送查询有效终端标识的请求;基于所述路由器回复的有效终端标识,确定与所述有效终端标识对应的网络账号; 在所述访客的网络账号与确定的任一网络账号为好友关系时,向所述路由器发送上网请求,以使所述路由器与所述访客的终端建立网络连接。 19. A server, comprising: a processor; processor-executable instructions for storing a memory; wherein the processor is configured to: guest network router administrator account and the account is not a friend in the network when the relationship between the router sends a query to the request is valid terminal identification; terminal identifier of the router based on the valid response, and determining the terminal identifier corresponding to the active network account; in any of the visitor's web account and determine a network when the account is a friend relationship, sending access request to the router, the router so that the terminal and establish a network connection to the guest.
20.一种路由器,其特征在于,包括:处理器;用于存储处理器可执行指令的存储器; 其中,所述处理器被配置为: 基于服务器发送的查询请求返回查询到的有效终端标识,以使所述服务器确定与所述有效终端标识对应的网络账号; 接收所述服务器在访客的网络账号与对应于所述有效终端标识的任一网络账号为好友关系时发送的上网请求; 基于所述上网请求与所述访客的终端建立网络连接。 20. A router, comprising: a processor; processor-executable instructions for storing a memory; wherein the processor is configured to: request returns a valid identifier of the terminal to query the server sends a query based, causing the server to determine the terminal identifier corresponding to the active network account; receiving the visitor's web server account corresponding to the active terminal identification account of any network access request sent by a buddy relationship; based said access request to establish a network connection with the terminal of the guest.
CN201610056605.1A 2016-01-27 2016-01-27 Networking method and device, server and router CN105743891A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610056605.1A CN105743891A (en) 2016-01-27 2016-01-27 Networking method and device, server and router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610056605.1A CN105743891A (en) 2016-01-27 2016-01-27 Networking method and device, server and router

Publications (1)

Publication Number Publication Date
CN105743891A true CN105743891A (en) 2016-07-06

Family

ID=56247714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610056605.1A CN105743891A (en) 2016-01-27 2016-01-27 Networking method and device, server and router

Country Status (1)

Country Link
CN (1) CN105743891A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018219125A1 (en) * 2017-05-27 2018-12-06 华为技术有限公司 Wifi network access method, apparatus and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340526A (en) * 2010-07-20 2012-02-01 中国联合网络通信集团有限公司 Method and system for issuing directed information and home gateway
CN103369715A (en) * 2013-07-03 2013-10-23 福建富士通信息软件有限公司 WIFI (Wireless Fidelity) e-Touch implementing method for mobile terminal
WO2014096954A2 (en) * 2012-12-21 2014-06-26 Orange A method and device to connect to a wireless network
CN104363631A (en) * 2014-10-24 2015-02-18 小米科技有限责任公司 Connection method, device and system of wireless router
CN104871203A (en) * 2012-10-24 2015-08-26 脸谱公司 Network access based on social-networking information
US9178883B2 (en) * 2012-12-12 2015-11-03 SocialSign.in, Inc. Leveraging online identities to grant access to private networks

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340526A (en) * 2010-07-20 2012-02-01 中国联合网络通信集团有限公司 Method and system for issuing directed information and home gateway
CN104871203A (en) * 2012-10-24 2015-08-26 脸谱公司 Network access based on social-networking information
US9178883B2 (en) * 2012-12-12 2015-11-03 SocialSign.in, Inc. Leveraging online identities to grant access to private networks
WO2014096954A2 (en) * 2012-12-21 2014-06-26 Orange A method and device to connect to a wireless network
CN103369715A (en) * 2013-07-03 2013-10-23 福建富士通信息软件有限公司 WIFI (Wireless Fidelity) e-Touch implementing method for mobile terminal
CN104363631A (en) * 2014-10-24 2015-02-18 小米科技有限责任公司 Connection method, device and system of wireless router

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018219125A1 (en) * 2017-05-27 2018-12-06 华为技术有限公司 Wifi network access method, apparatus and system

Similar Documents

Publication Publication Date Title
EP2878115B1 (en) Online user account login method and server system implementing the method
US20130074167A1 (en) Authenticating Linked Accounts
US20080301303A1 (en) Virtual network connection apparatus, system, method for controlling connection of a virtual network and computer-readable storage medium
US9049207B2 (en) Asset detection system
CN103001856B (en) An information sharing method and system for instant messaging client and server
CN101771677B (en) Method for providing resource for access user, server and system thereof
US8955036B2 (en) System asset repository management
ES2701926T3 (en) Method and system to verify an account operation
US8819233B2 (en) System and method using a web proxy-server to access a device having an assigned network address
CN104980412B (en) A kind of applications client, server-side and corresponding portal authentication method
US9801057B2 (en) Wireless network access technology
US20070055731A1 (en) System and method for secure communications utilizing really simple syndication protocol
US20130254858A1 (en) Encoding an Authentication Session in a QR Code
CA2881167C (en) Authorization method, apparatus, and system
CN102664871B (en) A method for processing intelligent terminal address book
US9762586B2 (en) System and method for controlling mutual access of smart devices
CN102546914A (en) Automatic login system based on smart phone and control method
CN104104654B (en) A kind of setting Wifi access rights, the method and apparatus of Wifi certifications
CN104283843B (en) A kind of method, apparatus and system that user logs in
CN102368764B (en) For performing communication via multiple points of a method, system and client
CN103888324A (en) Electronic device, personal cloud apparatus, personal cloud system and method for registering personal cloud apparatus
EP2898420B1 (en) A data-sharing method, terminal, server, and system
CN102547556A (en) Adding method of user association relationship, mobile terminal and server
CN104079543A (en) Method, device and system for obtaining intelligent home system monitoring permissions
JP2006527432A (en) Login method with multiple identifiers for instant messaging system

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination