CN104159218A - Network connection establishment method and device - Google Patents

Network connection establishment method and device Download PDF

Info

Publication number
CN104159218A
CN104159218A CN 201410341592 CN201410341592A CN104159218A CN 104159218 A CN104159218 A CN 104159218A CN 201410341592 CN201410341592 CN 201410341592 CN 201410341592 A CN201410341592 A CN 201410341592A CN 104159218 A CN104159218 A CN 104159218A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
mobile terminal
device
authentication information
gateway device
wearable device
Prior art date
Application number
CN 201410341592
Other languages
Chinese (zh)
Other versions
CN104159218B (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

Links

Abstract

The invention discloses a network connection establishment method and device and belongs to the field of internet technologies. The network connection establishment method comprises the following steps: building wireless connection with a mobile terminal; sending identification information corresponding to network equipment to the mobile terminal used for receiving the identification information through wireless connection; building network connection with gateway equipment according to the received identification information. According to the invention, the problems that the network connection efficiency between the terminal and a router is lower because identification password needs to be input manually by users and the operational complexity of the users is high in the related technologies can be solved; the mobile terminal can directly receive the identification information sent by wearable equipment and the identification password doesn't need to be input manually, so that the network connection efficiency between the mobile terminal and the router can be further improved; and in addition, the identification information doesn't need to be input manually, so that the operational complexity of the users is correspondingly lowered.

Description

网络连接建立方法和装置 Network connection establishment method and apparatus

技术领域 FIELD

[0001] 本公开涉及互联网技术领域,特别涉及一种网络连接建立方法和装置。 [0001] The present disclosure relates to the field of Internet technologies, and particularly relates to a method and apparatus for establishing a network connection.

背景技术 Background technique

[0002] 在移动终端请求建立与路由器之间的网络连接,进而使用无线网络时,路由器通常需要先对移动终端进行身份认证,并在认证通过之后建立无线连接。 [0002] In the mobile terminal requesting to establish a connection with the network router, and further when using a wireless network, the router typically needs to authenticate the mobile terminal, and establishes a wireless connection after authentication.

[0003] 相关的一种网络连接建立方法包括:移动终端扫描周边的无线网络,接收用户为某一无线网络输入的认证密码,发送该认证密码至路由器,路由器在检测到该认证密码是与该无线网络匹配的密码时,建立与移动终端之间的无线网络连接。 [0003] A network-related connection establishment method comprising: a wireless network of the mobile terminal scans the periphery of the receiving user authentication password entered a wireless network, the authentication code transmitted to the router, the router detects that the authentication password is wireless network passwords match, the wireless network connection is established between the mobile terminal.

[0004] 公开人在实现本公开的过程中,发现相关技术至少存在如下缺陷:由于用户需要在移动终端中手动输入认证密码,所以移动终端根据认证密码建立与路由器之间的网络连接的效率较低;并且对于用户来说,用户的操作复杂度也比较高。 [0004] Disclosure of the implementation of the present disclosure, found in the related art has at least the following disadvantages: since the user needs to manually enter the authentication password in a mobile terminal, the mobile terminal establishes the authentication password in accordance with the efficiency of the network between the router and the relatively low; and for the user, the operation complexity of the user is relatively high.

发明内容 SUMMARY

[0005] 为了解决相关技术中移动终端建立与路由器的网络连接的效率低且用户操作复杂度较高的问题,本公开提供了一种网络连接建立方法和装置。 [0005] In order to establish a connection to the low efficiency and high network router user operation complexity related art to solve the problems in the mobile terminal, the present disclosure provides a method and apparatus for establishing a network connection. 所述技术方案如下: The technical solutions are as follows:

[0006] 根据本公开实施例的第一方面,提供一种网络连接建立方法,用于可穿戴式设备中,所述方法包括: [0006] According to a first aspect of the disclosed embodiment of the present embodiment, there is provided a method for establishing a network connection, a wearable device, the method comprising:

[0007] 建立与移动终端之间的无线连接; [0007] establishing a connection with a wireless connection between the mobile terminal;

[0008] 通过所述无线连接发送对应于网关设备的认证信息至所述移动终端,所述移动终端用于接收所述认证信息,根据接收到的所述认证信息建立与所述网关设备之间的网络连接。 Terminal receiving the authentication information for establishing the gateway device according to the received authentication information between the [0008] transmitting the authentication information corresponding to the gateway device via the wireless connection to the mobile terminal, the mobile the network connection.

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

[0010] 检测所述可穿戴式设备是否满足预定条件,所述预定条件包括所述可穿戴式设备与所述移动终端之间的距离小于预定距离和/或所述可穿戴式设备接收到预定手势; [0010] The wearable detecting device satisfies a predetermined condition, the predetermined condition includes a distance between the wearable device and the mobile terminal is less than the predetermined distance and / or the wearable device receives a predetermined gesture;

[0011] 如果所述可穿戴式设备满足所述预定条件,则触发执行所述通过所述无线连接发送对应于网关设备的认证信息至所述移动终端的操作。 [0011] If the wearable device satisfies the predetermined condition, performing the operation trigger the wireless connection authentication information corresponding to the transmission gateway device to said mobile terminal through.

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

[0013] 从所述网关设备中获取所述认证信息; [0013] The authentication information acquired from the gateway device;

[0014] 存储获取到的所述认证信息。 [0014] stored in the authentication information acquired.

[0015] 可选地,所述从所述网关设备中获取所述认证信息,包括: [0015] Alternatively, the obtaining the authentication information from the gateway device comprising:

[0016] 获取所述网关设备的服务集标识SSID以及认证密码,将所述SSID以及所述认证密码作为所述认证信息。 [0016] obtaining a service set identifier SSID and password for authentication to the gateway device, the SSID and the authentication password as the authentication information.

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

[0018] 预先建立与所述网关设备之间的绑定关系。 [0018] The binding relationship between pre-established with the gateway device.

[0019] 可选地,所述预先建立与所述网关设备之间的绑定关系,包括: [0019] Alternatively, the binding relationship between the pre-established with the gateway device, comprising:

[0020] 向服务器发送可穿戴式设备标识和用户账号,所述服务器用于根据所述可穿戴式设备标识建立所述可穿戴式设备与使用所述用户账号的所述网关设备之间的绑定关系; 或, [0020] wearable transmit device identification and the user account to a server for the tie between the gateway device establishes a wearable device using the user account according to the device identification wearable given relation; or,

[0021] 通过绑定的其他电子设备向服务器发送可穿戴式设备标识和用户账号,所述服务器用于根据所述可穿戴式设备标识建立所述可穿戴式设备与使用所述用户账号的所述网关设备之间的绑定关系。 [0021] wearable transmit device identification and the user account server to other electronic devices by binding, as a server for establishing the wearable device is associated with the user account according to the device identification wearable said binding relationship between the gateway device.

[0022] 根据本公开实施例的第二方面,提供一种网络连接建立装置,用于可穿戴式设备中,所述装置包括: [0022] According to a second aspect of the disclosed embodiment of the present embodiment, there is provided a network connection establishment means for wearable devices, the apparatus comprising:

[0023] 无线连接建立模块,被配置为建立与移动终端之间的无线连接; [0023] Wireless connection establishing module, configured to connect with the wireless terminal is established between the mobile;

[0024] 信息发送模块,被配置为通过所述无线连接建立模块建立的所述无线连接发送对应于网关设备的认证信息至所述移动终端,所述移动终端用于接收所述认证信息,根据接收到的所述认证信息建立与所述网关设备之间的网络连接。 [0024] The information transmission module is configured to establish the wireless connection module to establish a wireless connection transmits authentication information to the gateway device corresponding to the mobile terminal, the mobile terminal for receiving the authentication information, according to the authentication information received to establish a network connection between the gateway device.

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

[0026] 条件检测模块,被配置为检测所述可穿戴式设备是否满足预定条件,所述预定条件包括所述可穿戴式设备与所述移动终端之间的距离小于预定距离和/或所述可穿戴式设备接收到预定手势; [0026] The condition detection module configured to detect a wearable device satisfies a predetermined condition, the predetermined condition includes a distance between the wearable device and the mobile terminal is less than and / or the predetermined distance wearable device receiving a predetermined gesture;

[0027] 操作触发模块,被配置为在所述条件检测模块的检测结果为所述可穿戴式设备满足所述预定条件时,触发执行所述通过所述无线连接发送对应于网关设备的认证信息至所述移动终端的操作。 [0027] The operation of the trigger module configured to condition when the detection result of the detection module to the wearable device satisfies the predetermined condition, the trigger execution by the wireless connection authentication information corresponding to the transmission gateway device to the operation of the mobile terminal.

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

[0029] 信息获取模块,被配置为从所述网关设备中获取所述认证信息; [0029] The information acquisition module configured to acquire the authentication information from the gateway device;

[0030] 信息存储模块,被配置为存储所述信息获取模块获取到的所述认证信息。 [0030] The information storing module configured to store the information acquiring module acquires the authentication information.

[0031] 可选地,所述信息获取模块,被配置为获取所述网关设备的服务集标识SSID以及认证密码,将所述SSID以及所述认证密码作为所述认证信息。 [0031] Alternatively, the information obtaining module, configured to obtain a service set identifier SSID of the gateway device and an authentication password, the SSID and the authentication password as the authentication information.

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

[0033] 绑定关系建立模块,被配置为预先建立与所述网关设备之间的绑定关系。 [0033] The binding relationship establishing module, configured to bind a pre-established relationship between with the gateway device.

[0034] 可选地,所述绑定关系建立模块,包括: [0034] Alternatively, the binding relationship establishing module, comprising:

[0035] 第一发送单元,被配置为向服务器发送可穿戴式设备标识和用户账号,所述服务器用于根据所述可穿戴式设备标识建立所述可穿戴式设备与使用所述用户账号的所述网关设备之间的绑定关系;或, [0035] a first transmitting unit configured to transmit wearable device identifier and a user account to a server for establishing the wearable device is associated with the user account according to the device identification wearable the binding relationship between the gateway device; or,

[0036] 第二发送单元,被配置为通过绑定的其他电子设备向服务器发送可穿戴式设备标识和用户账号,所述服务器用于根据所述可穿戴式设备标识建立所述可穿戴式设备与使用所述用户账号的所述网关设备之间的绑定关系。 [0036] a second transmitting unit configured to transmit wearable device identifier to the server via the user account and other electronic devices bound, said server for establishing said wearable device according to the device identification wearable binding relationship between the user device and using the account of the gateway.

[0037] 根据本公开实施例的第三方面,提供一种网络连接建立装置,包括: [0037] According to a third aspect of the disclosed embodiment of the present embodiment, there is provided a network connection establishment apparatus, comprising:

[0038] 处理器; [0038] processor;

[0039] 用于存储所述处理器可执行指令的存储器; [0039] The processor-executable instructions for storing a memory;

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

[0041] 建立与移动终端之间的无线连接; [0041] establishing a connection with a wireless connection between the mobile terminal;

[0042] 通过所述无线连接发送对应于网关设备的认证信息至所述移动终端,所述移动终端用于接收所述认证信息,根据接收到的所述认证信息建立与所述网关设备之间的网络连接。 Terminal receiving the authentication information for establishing the gateway device according to the received authentication information between the [0042] transmitting the authentication information corresponding to the gateway device via the wireless connection to the mobile terminal, the mobile the network connection.

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

[0044] 通过建立与移动终端之间的无线连接,进而通过建立的无线连接发送对应于网关设备的认证信息至移动终端,使得移动终端可以直接根据接收到的认证信息来请求建立与网关设备之间的网络连接,而无需用户手动输入认证密码;解决了相关技术中由于用户需要手动输入认证密码,进而使得终端建立与路由器之间的网络连接的效率较低且用户操作复杂度高的问题;达到了移动终端可以直接接收可穿戴式设备发送的认证信息,而用户无需手动输入认证密码,进而提高移动终端建立与路由器之间的网络连接的连接效率的效果。 [0044] establishing a wireless connection between the mobile terminal and then transmits the authentication information corresponding to the gateway device via a wireless connection established to the mobile terminal, the mobile terminal may directly request the establishment of the gateway device according to the received authentication information the network connection between, without requiring the user to manually enter the authentication password; solve the related art since the user needs to manually enter the authentication password, and then establishing a lower efficiency so that the terminal connection between the network router and complex problems high user operation; It reached the mobile terminal may receive the authentication information transmitted from the wearable devices directly, without the user having to manually enter the authentication password, and thus the effect of improving the efficiency of the connection between the router and the mobile terminal establishes a network connection. 同时,由于用户无需手动输入认证信息,所以上述方案也相应的降低了用户的操作复杂度。 Meanwhile, since the user does not have to manually input the authentication information, corresponding to the above solution also reduces the complexity of the user's operation.

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

附图说明 BRIEF DESCRIPTION

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

[0047] 图1是本公开各个实施例提供的网络连接建立方法所涉及一种实施环境的结构示意图。 [0047] FIG. 1 is an embodiment of the present disclosure provides various embodiments of the method for establishing a network connection diagram of an embodiment of the structure of the environment involved.

[0048] 图2是根据一示例性实施例示出的一种网络连接建立方法的流程图。 [0048] FIG 2 is a flowchart of a network connection establishment method illustrated according to an exemplary embodiment.

[0049] 图3A是根据另一示例性实施例示出的一种网络连接建立方法的流程图。 [0049] FIG 3A is a flowchart of a method for establishing a network connection in accordance with one illustrated another exemplary embodiment.

[0050] 图3B是根据另一示例性实施例示出的网络连接建立方法的另一方法流程图。 [0050] FIG. 3B is a flow diagram of another method according to another exemplary embodiment illustrates a network connection establishment method.

[0051] 图4是根据一示例性实施例示出的一种网络连接建立装置的框图。 [0051] FIG. 4 is a block diagram of establishing a connection according to one of a network diagram illustrating an exemplary embodiment.

[0052] 图5是根据另一示例性实施例示出的一种网络连接建立装置的框图。 [0052] FIG. 5 is a block diagram of a network connection is established in accordance with an illustrated embodiment of another exemplary embodiment.

[0053] 图6是根据一示例性实施例示出的一种用于网络连接建立的装置的框图。 [0053] FIG. 6 is an exemplary embodiment illustrates a block diagram of apparatus for establishing a network connection.

具体实施方式 detailed description

[0054] 这里将详细地对示例性实施例进行说明,其示例表示在附图中。 [0054] 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 consistent with all embodiments of the present invention. 相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。 Instead, they are only in the book as detailed in the appended claims, some aspects of the present invention, examples of methods and apparatus consistent phase.

[0055] 请参考图1,其示出了本公开各个实施例提供的网络连接建立方法所涉及的一种实施环境的结构示意图。 [0055] Please refer to FIG. 1, which shows a schematic structure of the various embodiments disclosed embodiments provide a network connection establishment method according to an embodiment of the present environment. 该实施环境包括:可穿戴式设备120、网关设备140和移动终端160。 This embodiment comprises Environment: 120, gateway device 140 and the mobile terminal 160 wearable device.

[0056] 其中,可穿戴式设备120,可以通过无线连接与网关设备140和移动终端160分别连接。 [0056] wherein, wearable device 120 may be connected via a wireless connection to the gateway device 140 and the mobile terminal 160, respectively. 无线连接可以为蓝牙连接、NFC(Near Field Communication,近距离无线通讯技术) 连接、红外连接或者闪光连接。 Wireless connection may be a Bluetooth connection, NFC (Near Field Communication, NFC technology) connection, an infrared connection or connection flash.

[0057] 可穿戴式设备120是能够获取对应于网关设备140的认证信息,并将认证信息发送至移动终端160的电子设备。 [0057] The wearable device 120 is capable of acquiring the authentication information corresponding to the gateway device 140, and transmits authentication information to the electronic device 160 of the mobile terminal. 在实际实现时,该电子设备可以为手环、手表、手链、项链、 戒指或者眼镜。 In actual implementation, the electronic device may be a bracelet, a watch, bracelet, necklace, ring or glasses.

[0058] 网关设备140,是指多个网络间用于提供数据转换服务的计算机系统或设备。 [0058] The gateway device 140 refers to a network among a plurality of computer systems or devices for providing a data conversion service. 网关设备140可以为路由器、交换机、防火墙或者开启路由功能的主机。 The gateway device 140 may be a router, switch, or open the firewall host routing function.

[0059] 移动终端160可以为诸如智能手机、平板电脑、电子阅读器或者笔记本电脑之类的电子设备。 [0059] 160 may be a mobile terminal such as smart phones, tablet electronic device, an electronic reader or laptop computer or the like.

[0060] 图2是根据一示例性实施例示出的一种网络连接建立方法的流程图,本实施例以该网络连接建立方法用于图1所示的可穿戴式设备120中来举例说明,如图2所示,该网络连接建立方法可以包括以下步骤。 [0060] FIG 2 is an exemplary embodiment wearable devices for network connections shown a flowchart of the method for establishing, in the present embodiment of the method for establishing the network connection 120 of Figure 1 to illustrate, As shown in FIG 2, the network connection establishment method includes the following steps.

[0061] 在步骤201中,建立与移动终端之间的无线连接。 [0061] In step 201, the wireless connection is established between the mobile terminal.

[0062] 在步骤202中,通过无线连接发送对应于网关设备的认证信息至移动终端,移动终端用于接收认证信息,根据接收到的认证信息建立与网关设备之间的网络连接。 [0062] In step 202, via a wireless connection transmits the authentication information to the gateway device corresponding to the mobile terminal, receiving authentication information for a mobile terminal, according to the network connection between the received authentication information and to establish the gateway device.

[0063] 综上所述,本公开实施例中提供的网络连接建立方法,通过建立与移动终端之间的无线连接,进而通过建立的无线连接发送对应于网关设备的认证信息至移动终端,使得移动终端可以直接根据接收到的认证信息来请求建立与网关设备之间的网络连接,而无需用户手动输入认证密码;解决了相关技术中由于用户需要手动输入认证密码,进而使得终端建立与路由器之间的网络连接的效率较低且用户操作复杂度高的问题;达到了移动终端可以直接接收可穿戴式设备发送的认证信息,而用户无需手动输入认证密码,进而提高移动终端建立与路由器之间的网络连接的连接效率的效果。 [0063] In summary, embodiments of the present disclosure provides method for establishing a network connection, a wireless connection established between the mobile terminal and then transmits the authentication information corresponding to the gateway device via a wireless connection established to the mobile terminal, such that the mobile terminal according to the authentication information directly to the received request to establish a connection between the network and the gateway device, without requiring the user to manually enter the authentication password; solve the related art since the user needs to manually enter the authentication password, and further such that the terminal establishes and routers low efficiency of the network connection between the user and complex problems of high operation; reached the mobile terminal may receive the authentication information transmitted from the wearable devices directly, without the user having to manually enter the authentication password, thereby improving established between the router and the mobile terminal effect ligation efficiency of network connections. 同时,由于用户无需手动输入认证信息,所以上述方案也相应的降低了用户的操作复杂度。 Meanwhile, since the user does not have to manually input the authentication information, corresponding to the above solution also reduces the complexity of the user's operation.

[0064] 图3A是根据一示例性实施例示出的一种网络连接建立方法的流程图,本实施例以该网络连接建立方法用于图1所示的可穿戴式设备120中来举例说明,如图3A所示,该网络连接建立方法可以包括以下步骤。 [0064] FIG 3A is a wearable device for the network connections shown a flowchart of the method for establishing, in the present embodiment of the method for establishing the network connection 120 of Figure 1 to illustrate embodiments according to an exemplary embodiment, 3A, the network connection establishment method includes the following steps.

[0065] 在步骤301中,建立与网关设备之间的绑定关系; [0065] In step 301, a binding relationship established between the gateway device;

[0066] 为了后续步骤的执行,可穿戴式设备可以建立与网关设备之间的绑定关系。 [0066] In order to perform the subsequent steps, wearable device may establish a binding relationship between the gateway device.

[0067] 在实际实现时,本步骤可以包括如下两种可能的实现方式: [0067] In actual implementation, this step may include the following two possible ways:

[0068] 在第一种可能的实现方式中, [0068] In a first possible implementation manner,

[0069] 可穿戴式设备向服务器发送可穿戴式设备标识和用户账号,服务器用于根据可穿戴式设备标识建立可穿戴式设备与使用用户账号的网关设备之间的绑定关系; [0069] The wearable device transmits wearable device identification and the user account server, to establish a binding relationship between the gateway device wearable devices using the user account according wearable device identifier;

[0070] 可穿戴式设备可以发送可穿戴式设备标识和用户账号至服务器,服务器接收到可穿戴式设备标识和用户账号之后,将可穿戴式设备标识所指示的可穿戴式设备与使用该用户账号的其他电子设备比如网关设备进行绑定。 [0070] The wearable device may send a wearable device identifier and a user account to a server after the server receives the wearable device identifier and a user account, the wearable device wearable device identifier indicated using the user account of other electronic devices such as a gateway device for binding.

[0071] 在第二种可能的实现方式中, [0071] In a second possible implementation manner,

[0072] 通过绑定的其他电子设备向服务器发送可穿戴式设备标识和用户账号,服务器用于根据可穿戴式设备标识建立可穿戴式设备与使用用户账号的网关设备之间的绑定关系。 [0072] The wearable device transmitting user account identification and other electronic devices to the server via the binding, the server for establishing a binding relationship between the gateway device wearable devices using the user account according to the wearable device identification.

[0073] 当可穿戴式设备已经与其他电子设备进行绑定时,可穿戴式设备还可以通过绑定的其他电子设备发送可穿戴设备标识和用户账户至服务器,这样服务器同样可以将可穿戴式设备标识所对应的可穿戴式设备与使用用户账号的网关设备进行绑定。 [0073] When the wearable device is already bound to other electronic devices, wearable devices may also be wearable device identifier and a user account to another server by sending a binding of the electronic device, so that the server can also be wearable device identifier corresponding to wearable devices using the user account gateway device for binding.

[0074] 需要说明的是,可穿戴式设备还可以通过其他方式与网关设备进行绑定,本实施例只是以上述两种绑定方式为例,对其实际使用的实现方式并不做限定。 [0074] Incidentally, wearable devices may also be other ways to bind with the gateway device, the present embodiments are to bind the two ways as an example, its implementation does not restrict practical use.

[0075] 在步骤302中,从网关设备中获取认证信息。 [0075] acquires the authentication information from the gateway device in step 302.

[0076] 在可穿戴式设备建立与网关设备之间的绑定关系之后,可穿戴式设备可以从绑定的网关设备中获取认证信息。 [0076], wearable device may obtain the authentication information from the gateway device after binding of the binding relationship between the wearable device establishes the gateway device. 在本实施例中,当网关设备为路由器时,可穿戴式设备可以获取路由器的SSID (Service Set Identifier,服务集标识)以及认证密码,将SSID以及认证密码作为认证信息。 In the present embodiment, when the gateway device is a router, wearable device may acquire routers SSID (Service Set Identifier, Service Set Identifier) ​​and an authentication password, the SSID and the authentication password as authentication information.

[0077] 在步骤303中,存储获取到的认证信息。 [0077] In step 303, it stores the acquired authentication information.

[0078] 在步骤304中,建立与移动终端之间的无线连接。 [0078] In step 304, the wireless connection is established between the mobile terminal.

[0079] 当用户想要使用移动终端连接网关设备进而在移动终端中使用无线网络进行上网时,用户可以首先使用可穿戴式设备建立与移动终端之间的无线连接。 [0079] When a user wants to use the mobile terminal further connected to the gateway device to access the Internet using a wireless network in a mobile terminal, the user may first use the wearable device to establish a wireless connection between the mobile terminal. 比如,用户使用可穿戴式设备建立与移动终端之间的蓝牙连接。 For example, the user uses the wearable devices establishing a Bluetooth connection between the mobile terminal.

[0080] 在步骤305中,通过无线连接发送对应于网关设备的认证信息至移动终端,移动终端用于接收认证信息,根据接收到的认证信息建立与网关设备之间的网络连接。 [0080] In step 305, through a wireless connection to send authentication information to the gateway device corresponding to the mobile terminal, receiving authentication information for a mobile terminal, according to the network is established between the authentication information received from the gateway device is connected.

[0081] 在可穿戴式设备建立与移动终端之间的无线连接之后,可穿戴式设备可以通过已经建立的无线连接发送对应于网关设备的认证信息至移动终端。 [0081] After the wireless connection between the wearable device establishes a mobile terminal, wearable authentication information transmitting device may be connected to the gateway device corresponding to the mobile terminal through a wireless already established. 相应的,移动终端可以接收认证信息,并在接收到认证信息之后,根据接收到的认证信息建立与网关设备之间的网络连接。 Accordingly, the mobile terminal may receive the authentication information, and after receiving the authentication information, to establish a network connection between the gateway device based on the authentication information received.

[0082] 比如,移动终端接收到SSID以及认证密码之后,移动终端可以发送认证密码至SSID所对应的路由器,在路由器对认证密码认证通过之后,建立路由器与移动终端之间的网络连接。 After [0082] For example, the mobile terminal receives the SSID and the authentication password, mobile terminal may transmit the authentication code corresponding to the SSID router, the router after the authentication password authentication, establishing a network connection between the router and the mobile terminal. 此后,移动终端即可使用无线网络进行上网。 Thereafter, the mobile terminal can use a wireless network to access the Internet.

[0083] 需要说明的是,在可穿戴式设备建立与移动终端之间的闪光连接时,可穿戴式设备可以直接通过在光信号中携带认证信息,进而通过发送光信号的方式发送认证信息至移动终端,本实施例对此并不做限定。 [0083] Incidentally, when the flash connection between the wearable device establishes a mobile terminal, wearable devices directly via the authentication information carried in the optical signal, and further transmits authentication information by sending the optical signal to mobile terminal, the present embodiment does not restrict this embodiment.

[0084] 需要说明的是,步骤301至步骤303是步骤304之前的步骤,在实际实现时,步骤301至步骤303可以只执行一次,也可以执行多次,本实施例对此并不做限定。 [0084] Incidentally, steps 301 to 303 is a step prior to step 304, in actual implementation, steps 301 to 303 may be performed only once, may be performed multiple times, this embodiment of the present embodiment does not restrict .

[0085] 此外,在本实施例的一个应用场景中,小花将手环与家里的路由器绑定,并且手环已经获取到路由器的SSID以及认证密码,则当小花的朋友小明去小花家做客时,小花可以携带手环做出画圈的手势,当手环接收到画圈的手势时,手环可以尝试建立与处于手环周边的小明手机之间的蓝牙连接。 [0085] Further, in an application scenario of this embodiment, florets bracelet with home router binding, and the hand ring has acquired router SSID and the authentication password, then when florets friend Bob to floret house guest , flowers can carry bracelet circle to make a gesture, when receiving the bracelet circle gesture, bracelet can try to establish a Bluetooth connection with the ring in hand around Xiaoming phone. 当蓝牙连接建立之后,手环通过蓝牙连接发送SSID和认证密码至小明的手机,小明的手机接收到SSID以及认证密码之后,发送认证密码至SSID所对应的路由器,路由器对认证密码进行认证,并在认证通过之后,建立与小明手机之间的网络连接。 After the Bluetooth connection is established, the bracelet via Bluetooth transmission SSID and the authentication password to Bob's phone, Bob's mobile phone after receiving the SSID and the authentication password, and transmits the authentication password to the router SSID corresponding router authentication password for authentication, and after authentication, establish a network connection between Xiaoming phone. 在上述过程中,小明可以不用执行任何输入操作而使得手机能够连接无线网络,提高了网络连接的建立效率,并且同时也降低了用户的操作复杂度。 In the above process, Bob can not perform any input operation so that the phone can be connected to the wireless network to improve the efficiency of establishing a network connection, and also reduces the complexity of the user's operation.

[0086] 综上所述,本公开实施例中提供的网络连接建立方法,通过建立与移动终端之间的无线连接,进而通过建立的无线连接发送对应于网关设备的认证信息至移动终端,使得移动终端可以直接根据接收到的认证信息来请求建立与网关设备之间的网络连接,而无需用户手动输入认证密码;解决了相关技术中由于用户需要手动输入认证密码,进而使得终端建立与路由器之间的网络连接的效率较低且用户操作复杂度高的问题;达到了移动终端可以直接接收可穿戴式设备发送的认证信息,而用户无需手动输入认证密码,进而提高移动终端建立与路由器之间的网络连接的连接效率的效果。 [0086] In summary, embodiments of the present disclosure provides method for establishing a network connection, a wireless connection established between the mobile terminal and then transmits the authentication information corresponding to the gateway device via a wireless connection established to the mobile terminal, such that the mobile terminal according to the authentication information directly to the received request to establish a connection between the network and the gateway device, without requiring the user to manually enter the authentication password; solve the related art since the user needs to manually enter the authentication password, and further such that the terminal establishes and routers low efficiency of the network connection between the user and complex problems of high operation; reached the mobile terminal may receive the authentication information transmitted from the wearable devices directly, without the user having to manually enter the authentication password, thereby improving established between the router and the mobile terminal effect ligation efficiency of network connections. 同时,由于用户无需手动输入认证信息,所以上述方案也相应的降低了用户的操作复杂度。 Meanwhile, since the user does not have to manually input the authentication information, corresponding to the above solution also reduces the complexity of the user's operation.

[0087] 需要说明的是,请参考图3B,在可穿戴式设备发送认证信息至移动终端之前,可穿戴式设备还可以执行如下步骤: [0087] Incidentally, referring to FIG. 3B, before the wearable device transmits authentication information to the mobile terminal, wearable devices may also perform the following steps:

[0088] 在步骤306中,检测可穿戴式设备是否满足预定条件。 [0088] In step 306, the detection wearable devices satisfies a predetermined condition.

[0089] 其中,预定条件包括可穿戴式设备与移动终端之间的距离小于预定距离和/或可穿戴式设备接收到预定手势。 [0089] wherein the predetermined condition includes a distance between the wearable device and the mobile terminal is less than the predetermined distance and / or wearable device receives the predefined gesture.

[0090] 在实际实现时,本步骤可以包括如下两种检测方式中的至少一种: [0090] In actual implementation, this step may comprise detecting at least one of the following two ways:

[0091] 第一种: [0091] The first:

[0092] 检测可穿戴式设备与移动终端之间的距离是否小于预定阈值。 [0092] The distance between the detected wearable device and the mobile terminal is smaller than a predetermined threshold value.

[0093] 在实际实现时,可穿戴式设备可以实时扫描周边的移动终端,当可穿戴式设备能够扫描到移动终端时,可穿戴式设备可以判定与移动终端之间的距离小于预定阈值,也即可穿戴式设备满足预定条件。 The distance between [0093] In actual implementation, wearable device may be a mobile terminal real-time scanning periphery, when the wearable device is capable of scanning the mobile terminal, wearable device may determine that the mobile terminal is less than a predetermined threshold value, to wearable devices satisfies a predetermined condition.

[0094] 第二种: [0094] The second:

[0095] 检测可穿戴式设备是否接收到预定手势。 [0095] The wearable device detecting whether a predetermined gesture.

[0096] 当用户想要发送可穿戴式设备中的认证信息至移动终端时,用户可以携带可穿戴式设备做出预定手势,当可穿戴式设备接收到预定手势时,可穿戴式设备可以判定可穿戴式设备满足预定条件。 [0096] When a user wants to send authentication information wearable apparatus to the mobile terminal, a user may carry a wearable device makes a predetermined gesture, the wearable device when a predetermined gesture is received, the device may determine wearable wearable devices satisfies a predetermined condition. 比如,当用户手带手环画了一个圈时,手环可以判定接收到预定手势,此时可以确定满足预定条件。 For example, when a user's hand with hand draw a circle ring, bracelet may determine that a predetermined gesture is received at this time may be determined to satisfy the predetermined condition.

[0097] 在步骤307中,如果可穿戴式设备满足预定条件,则可穿戴式设备可以触发执行通过无线连接发送对应于网关设备的认证信息至移动终端的操作。 [0097] In step 307, if the wearable device satisfies a predetermined condition, wearable devices may trigger operations performed by a wireless connection transmits the authentication information to the gateway device corresponding to the mobile terminal.

[0098] 需要说明的是,为了降低可穿戴式设备在建立与移动终端之间的无线连接时需要耗用的无线资源,在实际实现时,步骤306和步骤307可以是在步骤304之前执行的步骤, 也即在可穿戴式设备满足预定条件时,可穿戴式设备才会建立与移动终端之间的无线连接,本实施例对此并不做限定。 [0098] Incidentally, in order to reduce wearable devices required for consumption between the wireless connection with the mobile terminal to establish a radio resource, in actual implementation, step 306 and step 307 may be performed before step 304 step, i.e. when the wearable device satisfies a predetermined condition, the wearable device will establish a connection with a wireless connection between the mobile terminal, the present embodiment does not restrict this embodiment.

[0099] 下述为本公开装置实施例,可以用于执行本公开方法实施例。 [0099] The following embodiments of the present disclosed apparatus embodiment, the present disclosure may be used to perform the method embodiment. 对于本公开装置实施例中未披露的细节,请参照本公开方法实施例。 For details of the embodiment of the present disclosure means not disclosed embodiment, please refer to embodiments of the present disclosure methods.

[0100] 图4是根据一示例性实施例示出的一种网络连接建立装置的框图,如图4所示,该网络连接建立装置可以包括但不限于:无线连接建立模块410和信息发送模块420。 [0100] FIG. 4 is shown connected to the network in accordance with one exemplary embodiment of a block diagram of a build, as shown in FIG. 4, establishing the network connection means may include, but are not limited to: wireless connection establishing module 410 and the information sending module 420 .

[0101] 无线连接建立模块410,被配置为建立与移动终端之间的无线连接; [0101] module 410 to establish a wireless connection, a wireless connection is arranged between the mobile terminal is established;

[0102] 信息发送模块420,被配置为通过无线连接建立模块410建立的无线连接发送对应于网关设备的认证信息至移动终端,移动终端用于接收认证信息,根据接收到的认证信息建立与网关设备之间的网络连接。 [0102] information sending module 420, configured to establish a wireless module 410 via a wireless connection establishment transmits the authentication information to the gateway device corresponding to the mobile terminal, receiving authentication information for a mobile terminal, and to establish the gateway to the received authentication information network connections between devices.

[0103] 综上所述,本公开实施例中提供的网络连接建立装置,通过建立与移动终端之间的无线连接,进而通过建立的无线连接发送对应于网关设备的认证信息至移动终端,使得移动终端可以直接根据接收到的认证信息来请求建立与网关设备之间的网络连接,而无需用户手动输入认证密码;解决了相关技术中由于用户需要手动输入认证密码,进而使得终端建立与路由器之间的网络连接的效率较低且用户操作复杂度高的问题;达到了移动终端可以直接接收可穿戴式设备发送的认证信息,而用户无需手动输入认证密码,进而提高移动终端建立与路由器之间的网络连接的连接效率的效果。 [0103] In summary, embodiments of the present disclosure provides means to establish a network connection, a wireless connection established between the mobile terminal and then transmits the authentication information corresponding to the gateway device via a wireless connection established to the mobile terminal, such that the mobile terminal according to the authentication information directly to the received request to establish a connection between the network and the gateway device, without requiring the user to manually enter the authentication password; solve the related art since the user needs to manually enter the authentication password, and further such that the terminal establishes and routers low efficiency of the network connection between the user and complex problems of high operation; reached the mobile terminal may receive the authentication information transmitted from the wearable devices directly, without the user having to manually enter the authentication password, thereby improving established between the router and the mobile terminal effect ligation efficiency of network connections. 同时,由于用户无需手动输入认证信息,所以上述方案也相应的降低了用户的操作复杂度。 Meanwhile, since the user does not have to manually input the authentication information, corresponding to the above solution also reduces the complexity of the user's operation.

[0104] 图5是根据一示例性实施例示出的一种网络连接建立装置的框图,如图5所示,该网络连接建立装置可以包括但不限于:无线连接建立模块510和信息发送模块520。 [0104] FIG. 5 is an exemplary embodiment of a network connection establishment is shown a block diagram of apparatus, shown in Figure 5, to establish the network connection means may include, but are not limited to: wireless connection establishing module 510 and the information sending module 520 .

[0105] 无线连接建立模块510,被配置为建立与移动终端之间的无线连接; [0105] module 510 to establish a wireless connection, a wireless connection is arranged between the mobile terminal is established;

[0106] 信息发送模块520,被配置为通过无线连接建立模块510建立的无线连接发送对应于网关设备的认证信息至移动终端,移动终端用于接收认证信息,根据接收到的认证信息建立与网关设备之间的网络连接。 [0106] information sending module 520, configured to establish a wireless module 510 via a wireless connection establishment transmits the authentication information to the gateway device corresponding to the mobile terminal, receiving authentication information for a mobile terminal, and to establish the gateway to the received authentication information network connections between devices.

[0107] 在本实施例的第一种可能的实现方式中,装置还包括: [0107] In a first possible implementation of this embodiment of the present embodiment, the device further comprising:

[0108] 条件检测模块530,被配置为检测可穿戴式设备是否满足预定条件,预定条件包括可穿戴式设备与移动终端之间的距离小于预定距离和/或可穿戴式设备接收到预定手势; [0108] condition detection module 530, configured to detect a wearable device satisfies a predetermined condition, the predetermined condition including a distance between the wearable device and the mobile terminal is less than the predetermined distance and / or wearable device receiving a predetermined gesture;

[0109] 操作触发模块540,被配置为在条件检测模块530的检测结果为可穿戴式设备满足预定条件时,触发执行通过无线连接发送对应于网关设备的认证信息至移动终端的操作。 [0109] Operation trigger module 540, configured to detect when the condition detection module 530 is a result of wearable devices satisfies a predetermined condition, the trigger operation performed by a wireless connection transmits the authentication information to the gateway device corresponding to the mobile terminal.

[0110] 在本实施例的第二种可能的实现方式中,装置还包括: [0110] In a second embodiment according to the present embodiment possible implementation, the apparatus further comprising:

[0111] 信息获取模块550,被配置为从网关设备中获取认证信息; [0111] information obtaining module 550, configured to obtain the authentication information from the gateway device;

[0112] 信息存储模块560,被配置为存储信息获取模块550获取到的认证信息。 [0112] information storing module 560, configured to store information obtaining module 550 obtains authentication information.

[0113] 在本实施例的第三种可能的实现方式中,信息获取模块550,被配置为获取网关设备的服务集标识SSID以及认证密码,将SSID以及认证密码作为认证信息。 [0113] A third possible implementation manner in the present embodiment, the information obtaining module 550, configured to obtain a service set identifier SSID gateway device and an authentication password, the SSID and the authentication password as authentication information.

[0114] 在本实施例的第四种可能的实现方式中,装置还包括: [0114] In a fourth embodiment according to the present embodiment possible implementation, the apparatus further comprising:

[0115] 绑定关系建立模块570,被配置为预先建立与网关设备之间的绑定关系。 [0115] binding relationship establishing module 570, configured to pre-established relationship between the binding and the gateway device.

[0116] 在本实施例的第五种可能的实现方式中,绑定关系建立模块570,包括: [0116] In a fifth possible embodiment of the implementation of this embodiment, the binding relationship establishing module 570, comprising:

[0117] 第一发送单元571,被配置为向服务器发送可穿戴式设备标识和用户账号,服务器用于根据可穿戴式设备标识建立可穿戴式设备与使用用户账号的网关设备之间的绑定关系;或, [0117] a first transmitting unit 571, configured to transmit wearable device identification and the user account server, a gateway device for establishing a binding between the wearable device is associated with a user account according to the device identification wearable relations; or,

[0118] 第二发送单元572,被配置为通过绑定的其他电子设备向服务器发送可穿戴式设备标识和用户账号,服务器用于根据可穿戴式设备标识建立可穿戴式设备与使用用户账号的网关设备之间的绑定关系。 [0118] The second sending unit 572, configured to transmit wearable device identifier to the server via the user account and other electronic devices bound for establishing server wearable devices using the user account according to the device identification wearable binding relationship between the gateway device.

[0119] 综上所述,本公开实施例中提供的网络连接建立装置,通过建立与移动终端之间的无线连接,进而通过建立的无线连接发送对应于网关设备的认证信息至移动终端,使得移动终端可以直接根据接收到的认证信息来请求建立与网关设备之间的网络连接,而无需用户手动输入认证密码;解决了相关技术中由于用户需要手动输入认证密码,进而使得终端建立与路由器之间的网络连接的效率较低且用户操作复杂度高的问题;达到了移动终端可以直接接收可穿戴式设备发送的认证信息,而用户无需手动输入认证密码,进而提高移动终端建立与路由器之间的网络连接的连接效率的效果。 [0119] In summary, embodiments of the present disclosure provides means to establish a network connection, a wireless connection established between the mobile terminal and then transmits the authentication information corresponding to the gateway device via a wireless connection established to the mobile terminal, such that the mobile terminal according to the authentication information directly to the received request to establish a connection between the network and the gateway device, without requiring the user to manually enter the authentication password; solve the related art since the user needs to manually enter the authentication password, and further such that the terminal establishes and routers low efficiency of the network connection between the user and complex problems of high operation; reached the mobile terminal may receive the authentication information transmitted from the wearable devices directly, without the user having to manually enter the authentication password, thereby improving established between the router and the mobile terminal effect ligation efficiency of network connections. 同时,由于用户无需手动输入认证信息,所以上述方案也相应的降低了用户的操作复杂度。 Meanwhile, since the user does not have to manually input the authentication information, corresponding to the above solution also reduces the complexity of the user's operation.

[0120] 关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。 [0120] For the above-described embodiment apparatus, wherein each module performs a specific operation of the embodiment has been described in detail in an embodiment relating to the method, and will not be here described in detail.

[0121] 图6是根据一示例性实施例示出的一种用于建立网络连接的装置600的框图。 [0121] FIG. 6 is an exemplary embodiment in accordance with an exemplary embodiment is shown a block diagram of a device 600 for establishing network connection. 例如,装置600可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。 For example, device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, medical equipment, fitness equipment, personal digital assistant.

[0122] 参照图6,装置600可以包括以下一个或多个组件:处理组件602,存储器604,电源组件606,多媒体组件608,音频组件610,输入/输出(I/O)的接口612,传感器组件614, 以及通信组件616。 [0122] Referring to FIG. 6, apparatus 600 may include one or more components: a processing component 602, memory 604, power module 606, the multimedia component 608, audio components 610, input / output (I / O) interface 612, a sensor assembly 614, and a communication component 616.

[0123] 处理组件602通常控制装置600的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。 [0123] Processing component 602 generally controls the overall operation of device 600, such as a display, a telephone call, a data communication operation, camera operations and recording operations associated. 处理组件602可以包括一个或多个处理器618来执行指令,以完成上述的方法的全部或部分步骤。 Processing component 602 may include one or more processors 618 to execute instructions, to perform all or part of the steps of the method described above. 此外,处理组件602可以包括一个或多个模块, 便于处理组件602和其他组件之间的交互。 Moreover, processing component 602 may include one or more modules, facilitates the interaction between the processing component 602 and other components. 例如,处理组件602可以包括多媒体模块,以方便多媒体组件608和处理组件602之间的交互。 For example, the processing component may include a multimedia module 602 to facilitate interaction between the component 608 and the multimedia component 602 process.

[0124] 存储器604被配置为存储各种类型的数据以支持在装置600的操作。 [0124] The memory 604 is configured to store various types of data to support the operation of the device 600. 这些数据的示例包括用于在装置600上操作的任何应用程序或方法的指令,联系人数据,电话簿数据, 消息,图片,视频等。 The example of the data comprising any application instructions on the device or method of operation of a 600, contact data, phonebook data, messages, pictures, videos and the like. 存储器604可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPR0M),可擦除可编程只读存储器(EPROM),可编程只读存储器(PR0M),只读存储器(R0M),磁存储器,快闪存储器,磁盘或光盘。 The memory 604 may be implemented by any type of volatile or non-volatile storage devices, or combinations thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPR0M), an erasable programmable Read Only memory (EPROM), programmable read-only memory (PR0M), read-only memory (R0M), magnetic memory, flash memory, magnetic or optical disk.

[0125] 电源组件606为装置600的各种组件提供电力。 [0125] Power assembly 606 to various components of the device 600 to provide power. 电源组件606可以包括电源管理系统,一个或多个电源,及其他与为装置600生成、管理和分配电力相关联的组件。 Power supply assembly 606 may include a power management system, one or more power sources, and the other is generating apparatus 600, management and distribution of components associated with the power.

[0126] 多媒体组件608包括在所述装置600和用户之间的提供一个输出接口的屏幕。 [0126] Display assembly 608 includes means 600 provided between the screen and a user interface output. 在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。 In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). 如果屏幕包括触摸面板, 屏幕可以被实现为触摸屏,以接收来自用户的输入信号。 If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. 触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。 The touch panel includes one or more touch sensors to sense touch, a gesture on the touch panel and sliding. 所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。 The touch sensor may sense not only a touch or sliding motion of the boundary, but also detecting the touch or sliding correlation operation duration and pressure. 在一些实施例中,多媒体组件608包括一个前置摄像头和/或后置摄像头。 In some embodiments, the multimedia component 608 includes a front camera and / or the rear camera. 当装置600处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。 When the device 600 is in operating mode, such as a shooting mode or video mode, front camera and / or the rear camera may receive an external multimedia data. 每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。 Each of the front camera and the rear camera may be a fixed optical system or a lens having a focal length and optical zoom capability.

[0127] 音频组件610被配置为输出和/或输入音频信号。 [0127] Audio component 610 is configured to output and / or input audio signal. 例如,音频组件610包括一个麦克风(MIC),当装置600处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。 For example, an audio component 610 includes a microphone (the MIC), when the device 600 is in operating mode, such as a call mode, recording mode and voice recognition mode, the microphone configured to receive an external audio signal. 所接收的音频信号可以被进一步存储在存储器604或经由通信组件616发送。 The received audio signal may be transmitted further or stored in the memory 604 via the communications component 616. 在一些实施例中,音频组件610还包括一个扬声器,用于输出音频信号。 In some embodiments, an audio component 610 further includes a speaker for outputting an audio signal.

[0128] I/0接口612为处理组件602和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。 [0128] I / 0 interface 612 provides an interface between the processing component 602 and a peripheral interface module, said peripheral interface module may be a keyboard, click wheels, and so the button is. 这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。 These buttons may include, but are not limited to: home button, volume button, start button and the lock button.

[0129] 传感器组件614包括一个或多个传感器,用于为装置600提供各个方面的状态评估。 [0129] The sensor assembly 614 includes one or more sensors for providing the status of various aspects of the evaluation device 600. 例如,传感器组件614可以检测到装置600的打开/关闭状态,组件的相对定位,例如所述组件为装置600的显示器和小键盘,传感器组件614还可以检测装置600或装置600 一个组件的位置改变,用户与装置600接触的存在或不存在,装置600方位或加速/减速和装置600的温度变化。 For example, the sensor assembly means 614 can detect the open / closed state, the relative positioning assembly 600, for example, the assembly 600 is a display apparatus and a keypad, the sensor assembly 614 may also be a component of the position change means 600 or means 600 detects , absence of user contact with the device 600 or not present, the temperature change 600 orientation or acceleration / deceleration device 600 and device. 传感器组件614可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。 The sensor assembly 614 may include a proximity sensor, configured to in the absence of any physical contact to detect the presence of nearby objects. 传感器组件614还可以包括光传感器,如CMOS或C⑶图像传感器,用于在成像应用中使用。 The sensor assembly 614 may further include a light sensor, such as a CMOS image sensor or C⑶, for use in imaging applications. 在一些实施例中,该传感器组件614还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。 In some embodiments, the sensor assembly 614 may further include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

[0130] 通信组件616被配置为便于装置600和其他设备之间有线或无线方式的通信。 [0130] Communication component 616 is configured to communicate between the device 600 and other devices facilitate wired or wireless manner. 装置600可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。 Device 600 may access the wireless network-based communications standards, such as WiFi, 2G or 3G, or combinations thereof. 在一个示例性实施例中,通信组件616经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。 In one exemplary embodiment, communications module 616 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. 在一个示例性实施例中,所述通信组件616还包括近场通信(NFC)模块,以促进短程通信。 In one exemplary embodiment, the communication assembly 616 further includes a near field communication (NFC) module to facilitate short-range communications. 例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。 For example, the NFC module can be based on radio frequency identification (RFID) technology, infrared data association (IrDA), ultra wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0131] 在示例性实施例中,装置600可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。 [0131] In an exemplary embodiment, the apparatus 600 may be substituted with one or more application specific integrated circuits (ASIC), a digital signal processor (DSP), digital signal processing devices (DSPDs), programmable logic devices (PLD), a field programmable gate array (the FPGA), a controller, a microcontroller, a microprocessor, or other electronic components to achieve, for performing the above method.

[0132] 在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器504,上述指令可由装置500的处理器518执行以完成上述方法。 [0132] In an exemplary embodiment, further comprising instructions provided a non-transitory computer-readable storage medium such as a memory comprising instructions 504, 518 the command executed by the device processor 500 to perform the method described above. 例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、 软盘和光数据存储设备等。 For example, the non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), CD-ROM, magnetic tapes, floppy disks, and optical data storage devices.

[0133] 应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。 [0133] It should be appreciated that the present invention is not limited to the above has been described and illustrated in the drawings precise structure, and may be carried out without departing from the scope of the various modifications and changes. 本发明的范围仅由所附的权利要求来限制。 Scope of the invention be limited only by the appended claims.

Claims (13)

  1. 1. 一种网络连接建立方法,其特征在于,用于可穿戴式设备中,所述方法包括: 建立与移动终端之间的无线连接; 通过所述无线连接发送对应于网关设备的认证信息至所述移动终端,所述移动终端用于接收所述认证信息,根据接收到的所述认证信息建立与所述网关设备之间的网络连接。 CLAIMS 1. A method for establishing a network connection, characterized in that, for the wearable device, the method comprising: establishing a wireless connection between the mobile terminal; transmitting the authentication information corresponding to the gateway device via a wireless connection to the the mobile terminal, the mobile terminal for receiving the authentication information, to establish a network connection between the gateway apparatus according to the authentication information received.
  2. 2. 根据权利要求1所述的方法,其特征在于,所述方法还包括: 检测所述可穿戴式设备是否满足预定条件,所述预定条件包括所述可穿戴式设备与所述移动终端之间的距离小于预定距离和/或所述可穿戴式设备接收到预定手势; 如果所述可穿戴式设备满足所述预定条件,则触发执行所述通过所述无线连接发送对应于网关设备的认证信息至所述移动终端的操作。 2. The method according to claim 1, wherein said method further comprises: detecting whether the wearable device satisfies a predetermined condition, said predetermined condition comprises the wearable device and the mobile terminals it is smaller than the distance between the predetermined distance and / or the wearable device receiving a predetermined gesture; if the wearable device satisfies the predetermined condition is triggered by the execution of the wireless connection to the gateway device sends a corresponding authentication information to operate the mobile terminal.
  3. 3. 根据权利要求1所述的方法,其特征在于,所述方法还包括: 从所述网关设备中获取所述认证信息; 存储获取到的所述认证信息。 3. The method according to claim 1, wherein said method further comprises: obtaining the authentication information from the gateway device; storing the acquired authentication information.
  4. 4. 根据权利要求3所述的方法,其特征在于,所述从所述网关设备中获取所述认证信息,包括: 获取所述网关设备的服务集标识SSID以及认证密码,将所述SSID以及所述认证密码作为所述认证信息。 4. The method according to claim 3, wherein the obtaining the authentication information from the gateway device, comprising: obtaining the service set identifier SSID gateway device and an authentication password, and the SSID the authentication password as the authentication information.
  5. 5. 根据权利要求2至4任一所述的方法,其特征在于,所述方法还包括: 预先建立与所述网关设备之间的绑定关系。 The method according to any one of 2-1 according to claim 4, characterized in that, said method further comprising: a binding relationship between the pre-established with the gateway device.
  6. 6. 根据权利要求5所述的方法,其特征在于,所述预先建立与所述网关设备之间的绑定关系,包括: 向服务器发送可穿戴式设备标识和用户账号,所述服务器用于根据所述可穿戴式设备标识建立所述可穿戴式设备与使用所述用户账号的所述网关设备之间的绑定关系;或, 通过绑定的其他电子设备向服务器发送可穿戴式设备标识和用户账号,所述服务器用于根据所述可穿戴式设备标识建立所述可穿戴式设备与使用所述用户账号的所述网关设备之间的绑定关系。 6. The method according to claim 5, wherein the binding relationship between pre-established with the gateway device, comprising: transmitting wearable device identification and the user account to a server for binding relationship between the gateway device establishes the wearable device is associated with the user account based on the wearable device identifier; or wearable device transmits to the server identified by the other electronic device binding and a user account, the server is configured to establish a binding relationship between the wearable device is associated with the user account to the gateway device according to the wearable device identification.
  7. 7. -种网络连接建立装置,其特征在于,用于可穿戴式设备中,所述装置包括: 无线连接建立模块,被配置为建立与移动终端之间的无线连接; 信息发送模块,被配置为通过所述无线连接建立模块建立的所述无线连接发送对应于网关设备的认证信息至所述移动终端,所述移动终端用于接收所述认证信息,根据接收到的所述认证信息建立与所述网关设备之间的网络连接。 7. - it is establishing a network connection types, wherein, for wearable devices, the apparatus comprising: a wireless connection establishing module, configured to connect with the wireless terminal is established between the mobile; information sending module, configured to establishing the wireless connection module to establish the wireless connection transmits authentication information to the gateway device corresponding to the mobile terminal, the mobile terminal for receiving the authentication information, establishing through the authentication according to information received network connection between the gateway device.
  8. 8. 根据权利要求7所述的装置,其特征在于,所述装置还包括: 条件检测模块,被配置为检测所述可穿戴式设备是否满足预定条件,所述预定条件包括所述可穿戴式设备与所述移动终端之间的距离小于预定距离和/或所述可穿戴式设备接收到预定手势; 操作触发模块,被配置为在所述条件检测模块的检测结果为所述可穿戴式设备满足所述预定条件时,触发执行所述通过所述无线连接发送对应于网关设备的认证信息至所述移动终端的操作。 8. The apparatus according to claim 7, wherein said apparatus further comprises: a condition detecting module configured to detect a wearable device satisfies a predetermined condition, said predetermined condition comprises the wearable the distance between the device and the mobile terminal is less than the predetermined distance and / or the wearable device receives a predetermined gesture; operation trigger module configured to detect a result of the condition detection module for the wearable devices satisfies the predetermined condition, performing the operation trigger the wireless connection authentication information corresponding to the transmission gateway device to said mobile terminal through.
  9. 9. 根据权利要求7所述的装置,其特征在于,所述装置还包括: 信息获取模块,被配置为从所述网关设备中获取所述认证信息; 信息存储模块,被配置为存储所述信息获取模块获取到的所述认证信息。 9. The apparatus according to claim 7, wherein said apparatus further comprises: an information acquisition module configured to acquire the authentication information from the gateway device; information storing module configured to store the information acquisition module acquires the authentication information.
  10. 10. 根据权利要求9所述的装置,其特征在于, 所述信息获取模块,被配置为获取所述网关设备的服务集标识SSID以及认证密码,将所述SSID以及所述认证密码作为所述认证信息。 10. The apparatus according to claim 9, wherein said information acquisition module configured to acquire the service set identifier SSID gateway device and an authentication password, the SSID and the password as the authentication Certification Information.
  11. 11. 根据权利要求8至10任一所述的装置,其特征在于,所述装置还包括: 绑定关系建立模块,被配置为预先建立与所述网关设备之间的绑定关系。 11. The apparatus according to any one of claims 8 to 10, characterized in that said apparatus further comprising: a binding relationship establishing module, configured to bind a pre-established relationship between with the gateway device.
  12. 12. 根据权利要求11所述的装置,其特征在于,所述绑定关系建立模块,包括: 第一发送单元,被配置为向服务器发送可穿戴式设备标识和用户账号,所述服务器用于根据所述可穿戴式设备标识建立所述可穿戴式设备与使用所述用户账号的所述网关设备之间的绑定关系;或, 第二发送单元,被配置为通过绑定的其他电子设备向服务器发送可穿戴式设备标识和用户账号,所述服务器用于根据所述可穿戴式设备标识建立所述可穿戴式设备与使用所述用户账号的所述网关设备之间的绑定关系。 12. The apparatus as claimed in claim 11, wherein the binding relationship establishing module, comprising: a first transmitting unit configured to transmit wearable device identifier and a user account to a server for binding relationship between the gateway device establishes the wearable device is associated with the user account based on the wearable device identifier; or a second sending unit, configured to bind to other electronic devices by transmitting wearable device identifier and a user account to a server for the binding relationship between the gateway device establishes the wearable device is associated with the user account based on the identification wearable device.
  13. 13. -种网络连接建立装置,其特征在于,包括: 处理器; 用于存储处理器可执行指令的存储器; 其中,所述处理器被配置为: 建立与移动终端之间的无线连接; 通过所述无线连接发送对应于网关设备的认证信息至所述移动终端,所述移动终端用于接收所述认证信息,根据接收到的所述认证信息建立与所述网关设备之间的网络连接。 13. - establishing a network connection types, characterized by comprising: a processor; processor-executable instructions for storing a memory; wherein the processor is configured to: establish a wireless connection between the mobile terminal; by transmitting the wireless connection authentication information to the gateway device corresponding to the mobile terminal, the mobile terminal for receiving the authentication information, to establish a network connection between the gateway apparatus according to the authentication information received.
CN 201410341592 2014-07-17 2014-07-17 Network connection establishment method and apparatus CN104159218B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201410341592 CN104159218B (en) 2014-07-17 2014-07-17 Network connection establishment method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201410341592 CN104159218B (en) 2014-07-17 2014-07-17 Network connection establishment method and apparatus

Publications (2)

Publication Number Publication Date
CN104159218A true true CN104159218A (en) 2014-11-19
CN104159218B CN104159218B (en) 2016-04-06

Family

ID=51884604

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201410341592 CN104159218B (en) 2014-07-17 2014-07-17 Network connection establishment method and apparatus

Country Status (1)

Country Link
CN (1) CN104159218B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486815A (en) * 2014-11-24 2015-04-01 广东欧珀移动通信有限公司 Backup and automatic connection method and backup and automatic connection system for hotspot information
CN104812092A (en) * 2015-03-23 2015-07-29 小米科技有限责任公司 Networking method and device of intelligent equipment
CN105045690A (en) * 2015-07-10 2015-11-11 小米科技有限责任公司 Terminal test method and apparatus
CN105101339A (en) * 2015-08-18 2015-11-25 小米科技有限责任公司 Use permission obtaining method and device
CN105159105A (en) * 2015-08-13 2015-12-16 小米科技有限责任公司 Work method and device of intelligent electric appliance
CN105245507A (en) * 2015-09-23 2016-01-13 宇龙计算机通信科技(深圳)有限公司 Communication link establishing method and device
CN105634928A (en) * 2016-02-16 2016-06-01 北京小米移动软件有限公司 Social reminding method and device based on wearable device
WO2016107030A1 (en) * 2014-12-30 2016-07-07 小米科技有限责任公司 Notification information display method and apparatus
WO2016150156A1 (en) * 2015-03-24 2016-09-29 华为技术有限公司 Method and apparatus for data interaction between gateways
KR101895743B1 (en) * 2015-08-18 2018-10-04 시아오미 아이엔씨. A method and apparatus for obtaining permissions

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1976308A (en) * 2005-11-30 2007-06-06 索尼株式会社 Wireless communication system, setting information providing method, setting information obtaining method, and computer program
CN102144421A (en) * 2008-09-15 2011-08-03 索尼爱立信移动通讯有限公司 WLAN connection facilitated via near field communication
EP2434789A1 (en) * 2010-09-27 2012-03-28 Research In Motion Limited Method and mobile communication device for transmitting configuration data for network access between mobile communication devices over a local link

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1976308A (en) * 2005-11-30 2007-06-06 索尼株式会社 Wireless communication system, setting information providing method, setting information obtaining method, and computer program
CN102144421A (en) * 2008-09-15 2011-08-03 索尼爱立信移动通讯有限公司 WLAN connection facilitated via near field communication
EP2434789A1 (en) * 2010-09-27 2012-03-28 Research In Motion Limited Method and mobile communication device for transmitting configuration data for network access between mobile communication devices over a local link

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486815A (en) * 2014-11-24 2015-04-01 广东欧珀移动通信有限公司 Backup and automatic connection method and backup and automatic connection system for hotspot information
WO2016107030A1 (en) * 2014-12-30 2016-07-07 小米科技有限责任公司 Notification information display method and apparatus
CN104812092A (en) * 2015-03-23 2015-07-29 小米科技有限责任公司 Networking method and device of intelligent equipment
CN106162634A (en) * 2015-03-24 2016-11-23 华为技术有限公司 Method and device for interacting data among gateways
WO2016150156A1 (en) * 2015-03-24 2016-09-29 华为技术有限公司 Method and apparatus for data interaction between gateways
CN105045690A (en) * 2015-07-10 2015-11-11 小米科技有限责任公司 Terminal test method and apparatus
CN105045690B (en) * 2015-07-10 2018-05-08 小米科技有限责任公司 Method and apparatus for testing a terminal
CN105159105A (en) * 2015-08-13 2015-12-16 小米科技有限责任公司 Work method and device of intelligent electric appliance
KR101895743B1 (en) * 2015-08-18 2018-10-04 시아오미 아이엔씨. A method and apparatus for obtaining permissions
CN105101339A (en) * 2015-08-18 2015-11-25 小米科技有限责任公司 Use permission obtaining method and device
EP3133851A1 (en) * 2015-08-18 2017-02-22 Xiaomi Inc. Method and device for acquiring using authority
CN105245507A (en) * 2015-09-23 2016-01-13 宇龙计算机通信科技(深圳)有限公司 Communication link establishing method and device
CN105634928A (en) * 2016-02-16 2016-06-01 北京小米移动软件有限公司 Social reminding method and device based on wearable device

Also Published As

Publication number Publication date Type
CN104159218B (en) 2016-04-06 grant

Similar Documents

Publication Publication Date Title
CN104468837A (en) Intelligent device binding method and device
CN104038263A (en) Method and device for establishing Bluetooth connection
CN104159226A (en) Network connection method and device
CN104714414A (en) Smart home equipment control method and device and electronic equipment
CN104540184A (en) Equipment networking method and device
CN104159255A (en) Method of sharing network among terminals and device
CN104735057A (en) Sharing device control right method and device
CN104460365A (en) Equipment control method and device
CN104378801A (en) Method and device for having access to wireless network
CN104580401A (en) Connecting method and device
CN104302014A (en) Method and device for connecting terminal with Wi-Fi hotspot
CN104683938A (en) Configuration method and device for intelligent equipment
CN104539735A (en) Method and device of establishing friendly relationship
CN104660685A (en) Method and device for obtaining equipment information
CN104079962A (en) Method and device for pushing recommendation information
CN104038536A (en) Plug apparatus and communication method
CN104159218A (en) Network connection establishment method and device
CN104834665A (en) Target picture acquiring method and device
CN103986821A (en) Method, equipment and system for carrying out parameter adjustment
CN105093948A (en) Intelligent device control method, terminal, and server
CN103888614A (en) Method and device for call forwarding
CN105071473A (en) USB charging method and device
CN104780155A (en) Method and device for binding equipment
CN104469714A (en) Short message sending method and device
CN104468329A (en) Member adding method and device based on instant messaging

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model