TWI753012B - Network connection method of smart device, smart device and mobile client - Google Patents

Network connection method of smart device, smart device and mobile client Download PDF

Info

Publication number
TWI753012B
TWI753012B TW106130938A TW106130938A TWI753012B TW I753012 B TWI753012 B TW I753012B TW 106130938 A TW106130938 A TW 106130938A TW 106130938 A TW106130938 A TW 106130938A TW I753012 B TWI753012 B TW I753012B
Authority
TW
Taiwan
Prior art keywords
connection
smart device
information
wifi
mobile client
Prior art date
Application number
TW106130938A
Other languages
Chinese (zh)
Other versions
TW201817273A (en
Inventor
焦雷
尹歡密
李佳佳
Original Assignee
開曼群島商創新先進技術有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 開曼群島商創新先進技術有限公司 filed Critical 開曼群島商創新先進技術有限公司
Publication of TW201817273A publication Critical patent/TW201817273A/en
Application granted granted Critical
Publication of TWI753012B publication Critical patent/TWI753012B/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Abstract

本申請公開一種智慧裝置的連網方法、智慧裝置及移動客戶端,其中根據本申請一個實施例的智慧裝置的連網方法包括:提供數位物件唯一標識符DOI,其中所述DOI包含智慧裝置的第一連接配置資訊,以使移動客戶端透過掃描所述DOI獲取所述第一連接配置資訊,並根據所述第一連接配置資訊與所述智慧裝置建立第一連接;透過所述第一連接接收所述移動客戶端發送的所述智慧裝置的第二連接設定資訊;根據所述第二連接設定資訊建立第二連接。透過本申請能夠極大簡化智慧裝置的網路初始化設定操作。The present application discloses a method for networking a smart device, a smart device, and a mobile client, wherein the method for networking a smart device according to an embodiment of the present application includes: providing a digital object unique identifier DOI, wherein the DOI includes the data of the smart device. first connection configuration information, so that the mobile client obtains the first connection configuration information by scanning the DOI, and establishes a first connection with the smart device according to the first connection configuration information; through the first connection receiving second connection setting information of the smart device sent by the mobile client; establishing a second connection according to the second connection setting information. The present application can greatly simplify the network initialization setting operation of the smart device.

Description

智慧裝置的連網方法、智慧裝置及移動客戶端Network connection method of smart device, smart device and mobile client

本申請係關於計算機技術領域,尤其關於一種智慧裝置的連網方法、智慧裝置及移動客戶端。The present application relates to the field of computer technology, and in particular, to a method for networking a smart device, a smart device, and a mobile client.

近年來,智能機器人、智能音響等智慧裝置已被廣泛應用於生產和生活的許多領域。這些智慧裝置在網路初始化設定時往往需要對照說明書或自行學習開啟方式,例如在進行網路初始設定時從設備的發現和連接、到帳號設定都需要複雜的說明指導才能讓用戶明白大概的操作步驟,進行一步步填入資訊的複雜初始化設定和網路帳號設定。   綜上所述,對於沒有實體鍵盤和虛擬鍵盤的智慧裝置來說,網路初始化操作繁瑣和複雜,給用戶帶來極大不便,因此有必要提出改進的技術手段解決上述問題。In recent years, smart devices such as smart robots and smart speakers have been widely used in many fields of production and life. These smart devices often need to refer to the manual or learn the opening method when initializing the network. For example, when initializing the network, from the discovery and connection of the device to the account setting, complex instructions are required to let the user understand the general operation. Step by step, perform complex initialization settings and network account settings with step-by-step filling in information. To sum up, for smart devices without physical keyboards and virtual keyboards, the network initialization operation is cumbersome and complicated, which brings great inconvenience to users. Therefore, it is necessary to propose improved technical means to solve the above problems.

本申請的主要目的在於提供一種智慧裝置的連網方法、智慧裝置及移動客戶端,以解決現有技術存在的智慧裝置網路初始化設定操作複雜的問題。   為了解決上述問題,根據本申請實施例提供一種智慧裝置的連網方法,其包括:提供數位物件唯一標識符DOI,其中所述DOI包含智慧裝置的第一連接配置資訊,以使移動客戶端透過掃描所述DOI獲取所述第一連接配置資訊,並根據所述第一連接配置資訊與所述智慧裝置建立第一連接;透過所述第一連接接收所述移動客戶端發送的所述智慧裝置的第二連接設定資訊;根據所述第二連接設定資訊建立第二連接。   其中,還包括:檢測所述智慧裝置是否已建立第二連接,若否則執行所述提供DOI的步驟。   其中,所述第一連接包括:藍牙連接或近距離無線通訊技術連接。   其中,所述第二連接為WiFi連接。   其中,還包括:在智慧裝置的第二連接建立成功後,斷開與所述移動客戶端之間的第一連接。   根據本申請實施例還提供一種智慧裝置的連網方法,其包括:掃描智慧裝置提供的DOI,獲取所述DOI包含的所述智慧裝置的第一連接配置資訊;   根據所述第一連接配置資訊與所述智慧裝置建立第一連接;獲取為所述智慧裝置設定的第二連接設定資訊;透過所述第一連接將所述第二連接設定資訊發送至所述智慧裝置,以使所述智慧裝置根據所述第二連接設定資訊建立第二連接。   其中,所述第一連接包括:藍牙連接或近距離無線通訊技術連接。   其中,所述第二連接為WiFi連接。   其中,還包括:在智慧裝置的第二連接建立成功後,斷開與所述智慧裝置之間的第一連接。   根據本申請實施例還提供一種智慧裝置,其包括:DOI提供單元,用於提供DOI,其中所述DOI包含智慧裝置的第一連接配置資訊,以使移動客戶端透過掃描所述DOI獲取所述第一連接配置資訊,並根據所述第一連接配置資訊與所述智慧裝置建立第一連接;接收單元,用於透過所述第一連接接收所述移動客戶端發送的所述智慧裝置的第二連接設定資訊;第二連接單元,用於根據所述第二連接設定資訊建立第二連接。   其中,還包括:檢測單元,用於檢測所述智慧裝置是否已建立第二連接,若否則由所述DOI提供單元提供DOI。   其中,所述第一連接包括:藍牙連接或近距離無線通訊技術連接。   其中,所述第二連接為WiFi連接。   其中,還包括:第一斷開單元,用於在智慧裝置的第二連接建立成功後,斷開與所述移動客戶端之間的第一連接。   根據本申請實施例還提供一種移動客戶端,其包括:掃描單元,用於掃描智慧裝置提供的DOI,獲取所述DOI包含的智慧裝置的第一連接配置資訊;第一連接單元,用於根據所述第一連接配置資訊與所述智慧裝置建立第一連接;獲取單元,用於獲取為所述智慧裝置設定的第二連接設定資訊;發送單元,用於透過所述第一連接將所述第二連接設定資訊發送至所述智慧裝置,以使所述智慧裝置根據所述第二連接設定資訊建立第二連接。   其中,所述第一連接包括:藍牙連接或近距離無線通訊技術連接。   其中,所述第二連接為WiFi連接。   其中,還包括:第二斷開單元,用於在所述智慧裝置的第二連接建立成功後,斷開與所述智慧裝置之間的第一連接。   根據本申請的技術方案,移動客戶端透過掃描數位物件唯一標識符的方式與智慧裝置自動進行近距離無線通信連接,並透過所述近距離無線通信連接將移動客戶端為智慧裝置設定的WiFi網路設定資訊發送至所述智慧裝置,從而使所述智慧裝置建立WiFi連接,透過本申請極大簡化了智慧裝置的網路初始化設定操作。The main purpose of the present application is to provide a method for connecting a smart device to a network, a smart device and a mobile client, so as to solve the problem of complicated network initialization and setting operation of the smart device in the prior art. In order to solve the above problems, according to an embodiment of the present application, a method for networking a smart device is provided, which includes: providing a digital object unique identifier DOI, wherein the DOI includes the first connection configuration information of the smart device, so that the mobile client can pass Scan the DOI to obtain the first connection configuration information, and establish a first connection with the smart device according to the first connection configuration information; receive the smart device sent by the mobile client through the first connection the second connection setting information; establish a second connection according to the second connection setting information. Among them, it also includes: detecting whether the smart device has established a second connection, and if otherwise, executing the step of providing DOI. Wherein, the first connection includes: Bluetooth connection or short-range wireless communication technology connection. Wherein, the second connection is a WiFi connection. Wherein, it also includes: after the second connection of the smart device is successfully established, disconnecting the first connection with the mobile client. According to an embodiment of the present application, there is also provided a method for networking a smart device, which includes: scanning a DOI provided by a smart device to obtain first connection configuration information of the smart device included in the DOI; according to the first connection configuration information establishing a first connection with the smart device; acquiring second connection setting information set for the smart device; sending the second connection setting information to the smart device through the first connection, so that the smart device The device establishes a second connection according to the second connection setting information. Wherein, the first connection includes: Bluetooth connection or short-range wireless communication technology connection. Wherein, the second connection is a WiFi connection. Wherein, it also includes: after the second connection of the smart device is successfully established, disconnecting the first connection with the smart device. According to an embodiment of the present application, a smart device is further provided, which includes: a DOI providing unit configured to provide a DOI, wherein the DOI includes first connection configuration information of the smart device, so that a mobile client can obtain the DOI by scanning the DOI. a first connection configuration information, and establishes a first connection with the smart device according to the first connection configuration information; a receiving unit is configured to receive the first connection of the smart device sent by the mobile client through the first connection Two connection setting information; a second connection unit for establishing a second connection according to the second connection setting information. Wherein, it also includes: a detection unit for detecting whether the smart device has established a second connection, and if otherwise, the DOI providing unit provides DOI. Wherein, the first connection includes: Bluetooth connection or short-range wireless communication technology connection. Wherein, the second connection is a WiFi connection. Wherein, it also includes: a first disconnecting unit, used for disconnecting the first connection with the mobile client after the second connection of the smart device is successfully established. According to an embodiment of the present application, there is also provided a mobile client, which includes: a scanning unit for scanning a DOI provided by a smart device to obtain first connection configuration information of the smart device included in the DOI; a first connection unit for scanning according to the DOI The first connection configuration information establishes a first connection with the smart device; an acquiring unit is used to acquire second connection setting information set for the smart device; a sending unit is used to send the smart device through the first connection The second connection setting information is sent to the smart device, so that the smart device establishes a second connection according to the second connection setting information. Wherein, the first connection includes: Bluetooth connection or short-range wireless communication technology connection. Wherein, the second connection is a WiFi connection. Wherein, it also includes: a second disconnecting unit, used for disconnecting the first connection with the smart device after the second connection of the smart device is successfully established. According to the technical solution of the present application, the mobile client automatically connects with the smart device by scanning the unique identifier of the digital object, and connects the mobile client to the WiFi network set by the smart device through the short-range wireless communication connection. The network setting information is sent to the smart device, so that the smart device can establish a WiFi connection. Through the present application, the network initialization setting operation of the smart device is greatly simplified.

為使本申請的目的、技術方案和優點更加清楚,下面將結合本申請具體實施例及相應的附圖對本申請技術方案進行清楚、完整地描述。顯然,所描述的實施例僅是本申請一部分實施例,而不是全部的實施例。基於本申請中的實施例,本領域普通技術人員在沒有做出創造性勞動前提下所獲得的所有其他實施例,都屬於本申請保護的範圍。   以下結合附圖,詳細說明本申請各實施例提供的技術方案。   在描述本申請的技術方案之前,首先對根據本申請實施例的應用環境進行簡單描述。具體地,根據本申請實施例的應用環境包括智慧裝置和移動客戶端。其中,所述智慧裝置包括有近距離無線通信模組和WiFi模組,此外還可以包括有顯示螢幕和語音模組。在實際應用中,所述智慧裝置可以是智能機器人或智能音箱等智慧裝置,一般情況下,這些智慧裝置不具有實體或虛擬鍵盤等輸入裝置,因此不能夠透過鍵盤直接設定智慧裝置的WiFi網路環境。   所述移動客戶端至少包括有近距離無線通信模組和WiFi模組,作為指定的客戶端,所述移動終端具備實體或虛擬鍵盤等輸入裝置,用於幫助或替代智慧裝置設定WiFi網路環境。其中,所述移動客戶端可以是智能手機或平板電腦等設備。在本申請的其他實施例中,所述近距離無線通信模組可以是藍牙模組、NFC模組或紅外線模組等,本申請對此不進行限制。   下面參考圖1,圖1是根據本申請一個實施例的連網方法的流程圖,透過在智慧裝置側進行描述。如圖1所示,該連網方法包括:   步驟S102,提供DOI(數位物件唯一標識符),其中所述DOI包含智慧裝置的第一連接配置資訊,以使移動客戶端透過掃描所述DOI獲取所述第一連接配置資訊,並根據所述第一連接配置資訊與所述智慧裝置建立第一連接。   在執行本步驟之前,首先判斷所述智慧裝置是否已建立第二連接,若沒有建立第二連接則執行所述提供二維碼的步驟。在具體實施中,智慧裝置可以具有顯示螢幕等顯示裝置,智慧裝置透過顯示螢幕將其預先儲存的包含有該智慧裝置的第一連接配置資訊的DOI顯示出來,以便指定的移動客戶端透過掃描DOI的方式獲取到所述第一連接配置資訊,從而所述移動客戶端根據所述第一連接配置資訊與智慧裝置建立近距離無線通信連接。其中,所述DOI可以是二維碼或條碼等。   在本申請實施例中,所述第一連接可以是藍牙連接、NFC連接或紅外線連接等近距離無線通信連接。例如,在所述第一連接為藍牙連接的情況下,所述第一連接配置資訊為藍牙配對資訊,所述藍牙配對資訊進一步包含智慧裝置的標識資訊和MAC地址資訊,而並不包含PIN碼(個人識別碼)資訊,也就是說在藍牙配對過程中不需要輸入PIN碼就可以完成配對,這樣能夠簡化藍牙連接建立過程。在本申請的其他實施例中,如果智慧裝置不具有顯示螢幕等顯示裝置,也可以透過將預先獲取的實體二維碼標籤黏貼在智慧裝置表面的方式提供二維碼資訊。   步驟S104,透過所述第一連接接收所述移動客戶端發送的所述智慧裝置的第二連接設定資訊。   在智慧裝置與移動客戶端建立第一連接後,移動客戶端將其預先獲取的所述智慧裝置的第二連接設定資訊,透過第一連接發送至所述智慧裝置。在本申請實施例中,所述第二連接設定資訊為智慧裝置的WiFi網路初始化設定資訊,具體可以包括WiFi網路名稱和密碼等資訊。   步驟S106,根據所述第二連接設定資訊建立第二連接。   透過上述實施例,移動客戶端透過掃描DOI的方式與智慧裝置自動進行第一連接,並透過所述第一連接將移動客戶端為智慧裝置設定的第二網路設定資訊發送至所述智慧裝置,從而使所述智慧裝置建立第二連接。例如,移動客戶端透過掃描二維碼的方式與智慧裝置自動進行藍牙連接,並透過所述藍牙連接將移動客戶端為智慧裝置設定的WiFi網路設定資訊發送至所述智慧裝置,從而使所述智慧裝置建立WiFi連接。   圖2是根據本申請另一實施例的連網方法的流程圖,透過在移動客戶端側進行描述。如圖2所示,該方法包括:   步驟S202,掃描智慧裝置提供的DOI,獲取所述DOI包含的所述智慧裝置的第一連接配置資訊。   移動客戶端啟用掃描程式掃描智慧裝置提供的DOI,解析該DOI獲取其包含的智慧裝置的第一連接配置資訊。下面以第一連接為藍牙連接為例詳細描述本實施例。具體地,所述第一連接配置資訊為藍牙配對資訊,所述藍牙配對資訊進一步包含智慧裝置的標識資訊(ID)和MAC地址資訊,所述藍牙配對資訊中並不包含PIN碼,也就是說在藍牙配對過程中並不需要使用PIN碼資訊。   步驟S204,根據所述第一連接配置資訊與所述智慧裝置建立第一連接。   承上述例子,移動客戶端根據所述藍牙配對資訊中包含的設備ID和MAC地址搜索到智慧裝置,並建立藍牙物理連接。需要說明,在藍牙配對過程中僅需要設備ID和MAC地址、並不需要輸入PIN碼即可完成配對過程,由此極大地簡化了藍牙連接建立步驟。   步驟S206,獲取為所述智慧裝置設定的第二連接設定資訊。   承上述例子,移動客戶端進入智慧裝置的WiFi設定界面,用戶在該WiFi設定界面設定智慧裝置的WiFi設定資訊,例如包括WiFi網路名稱和密碼等資訊。在本申請實施例中,由具備(實體或虛擬)鍵盤輸入裝置的移動客戶端為不具備鍵盤輸入裝置的智慧裝置設定WiFi網路的設定資訊。   步驟S208,透過所述第一連接將所述第二連接設定資訊發送至所述智慧裝置,以使所述智慧裝置根據所述第二連接設定資訊建立第二連接。   承上述例子,移動客戶端透過之前已經建立的藍牙連接將WiFi設定資訊發送至智慧裝置,這樣智慧裝置就能夠根據該WiFi設定資訊建立WiFi連接。在智慧裝置的WiFi連接建立成功後,斷開移動客戶端與智慧裝置之間的藍牙連接。   透過上述實施例,移動客戶端透過掃描DOI的方式與智慧裝置自動進行近距離無線通信連接,並透過所述近距離無線通信連接將移動客戶端為智慧裝置設定的WiFi網路設定資訊發送至所述智慧裝置,從而使所述智慧裝置建立WiFi連接。   下面結合圖3描述上述步驟的具體過程,在本實施例中以DOI為二維碼,第一連接為藍牙連接為例進行描述。如圖3所示,該方法包括:   步驟S302,在智慧裝置首次進行網路設定或初始化時,判斷智慧裝置是否已建立WiFi連接,若沒有建立WiFi連接則繼續執行後續步驟。在具體判斷時,若智慧裝置未開啟WiFi網路(或無線局域網)或未與WiFi網路進行帳戶綁定,則判定智慧裝置未建立WiFi連接。   步驟S304,智慧裝置提供二維碼,其中所述二維碼包含智慧裝置的藍牙配對資訊。如果智慧裝置具有顯示螢幕等顯示裝置,則可以透過顯示螢幕將預先儲存的包含有該智慧裝置的藍牙配對資訊的二維碼顯示出來;若智慧裝置不具有顯示螢幕,則可以透過將預先獲取的實體二維碼標籤黏貼在智慧裝置表面的方式提供二維碼。總而言之,本申請對於智慧裝置提供二維碼的方式不進行限定。   步驟S306,移動客戶端掃描所述二維碼,獲取所述二維碼包含的智慧裝置的藍牙配對資訊。具體地,移動客戶端啟用掃描程式掃描所述二維碼,解析該二維碼獲取到其包含的智慧裝置的藍牙配對資訊。其中,所述藍牙配對資訊中僅包含智慧裝置的標識資訊(ID)和MAC地址資訊,並不包含PIN碼,也就是說在藍牙配對過程中並不需要使用PIN碼資訊。   步驟S308,移動客戶端根據藍牙配對資訊與智慧裝置建立藍牙連接。具體地,移動客戶端和智慧裝置均開啟藍牙功能,移動客戶端根據所述藍牙配對資訊中包含的設備ID和MAC地址搜索到智慧裝置,並建立藍牙物理連接。需要說明的是,在藍牙配對過程中僅需要設備ID和MAC地址、並不需要輸入PIN碼即可完成配對過程,由此實現了快速的藍牙連接。   在實際實施中,當移動客戶端透過掃碼獲取到智慧裝置的藍牙配對資訊後,其後自動進行藍牙配對以及藍牙連接,也就是說,掃描二維碼之後的藍牙配對過程對於用戶來說是無感知的操作,用戶並不需要關心具體的藍牙配對過程是如何進行的。   步驟S310,移動客戶端獲取為所述智慧裝置設定的WiFi設定資訊。具體地,移動客戶端進入智慧裝置的WiFi設定界面,用戶在該WiFi設定界面設定智慧裝置的WiFi設定資訊。所述WiFi設定資訊是指能夠將智慧裝置連接到指定WiFi網路所需的各項資訊,例如可以包括:開啟WiFi網路、選擇WiFi網路、以及設定密碼等資訊。然後,移動客戶端獲取到上述用戶為智慧裝置設定的各項WiFi設定資訊。   步驟S312,移動客戶端透過藍牙連接將所述WiFi設定資訊發送至智慧裝置。   步驟S314,智慧裝置根據所述WiFi設定資訊建立WiFi連接。   步驟S316,斷開移動客戶端與智慧裝置之間的藍牙連接,並且移動客戶端與智慧裝置關閉藍牙功能,本流程結束。   圖4是根據本申請實施例的智慧裝置40的結構框圖,如圖4所示,該智慧裝置40包括:   DOI提供單元41,用於提供DOI,其中所述DOI包含智慧裝置的第一連接配置資訊,以使移動客戶端透過掃描所述DOI獲取所述第一連接配置資訊,並根據所述第一連接配置資訊與所述智慧裝置建立第一連接。在實際實施中,智慧裝置可以透過顯示螢幕等顯示裝置將預先儲存的包含有該智慧裝置的第一連接配置資訊的DOI顯示出來;或者還可以透過將預先獲取的實體DOI標籤黏貼在智慧裝置表面的方式提供DOI,本申請對此不進行限制。在本申請實施例中,所述第一連接可以是藍牙連接、NFC連接或紅外線連接等近距離無線通信連接。   接收單元42,用於透過所述第一連接接收所述移動客戶端發送的所述智慧裝置的第二連接設定資訊。在智慧裝置與移動客戶端建立第一連接後,移動客戶端將其預先獲取的所述智慧裝置的第二連接設定資訊,透過第一連接發送至所述智慧裝置。其中,所述第二連接設定資訊為智慧裝置的網路初始化設定資訊。在所述第二連接為WiFi連接的情況下,第二連接設定資訊可以包括WiFi網路名稱和密碼等資訊。   第二連接單元43,用於根據所述第二連接設定資訊建立第二連接。在智慧裝置的第二連接建立成功之後,由斷開單元(未示出)斷開與所述移動客戶端之間的第一連接。   繼續參考圖4,所述智慧裝置40還包括有:   檢測單元44,用於檢測所述智慧裝置是否已建立第二連接,若否則由所述DOI提供單元41提供DOI。   圖5是根據本申請實施例的移動客戶端50的結構框圖,如圖5所示,該移動客戶端50包括:   掃描單元51,用於掃描智慧裝置提供的DOI,獲取所述DOI包含的智慧裝置的第一連接配置資訊。移動客戶端啟用掃描程式掃描智慧裝置提供的DOI,解析該DOI獲取其包含的智慧裝置的第一連接配置資訊。下面以第一連接為藍牙連接為例詳細描述。在所述第一連接為藍牙連接的情況下,所述第一連接配置資訊為藍牙配對資訊,所述藍牙配對資訊中僅包含智慧裝置的標識資訊(ID)和MAC地址資訊,所述藍牙配對資訊中並不包含PIN碼,也就是說在藍牙配對過程中並不需要使用PIN碼資訊。   第一連接單元52,用於根據所述第一連接配置資訊與所述智慧裝置建立第一連接。具體地,移動客戶端根據所述藍牙配對資訊中包含的設備ID和MAC地址搜索到智慧裝置,並建立藍牙物理連接。需要說明,在藍牙配對過程中僅需要設備ID和MAC地址、並不需要輸入PIN碼即可完成配對過程,由此極大地簡化了藍牙連接建立步驟。   獲取單元53,用於獲取為所述智慧裝置設定的第二連接設定資訊。在第二連接為WiFi連接的情況下,移動客戶端進入智慧裝置的WiFi設定界面,用戶在該WiFi設定界面設定智慧裝置的WiFi設定資訊,例如包括WiFi網路名稱和密碼等資訊。在本申請實施例中,由具備(實體或虛擬)鍵盤輸入裝置的移動客戶端為不具備鍵盤輸入裝置的智慧裝置設定WiFi網路的設定資訊。   發送單元54,用於透過所述第一連接將所述第二連接設定資訊發送至所述智慧裝置,以使所述智慧裝置根據所述第二連接設定資訊建立第二連接。移動客戶端透過之前已經建立的藍牙連接將WiFi設定資訊發送至智慧裝置,這樣智慧裝置就能夠根據該WiFi設定資訊建立WiFi連接。在智慧裝置的第二連接建立成功後,由斷開單元(未示出)斷開移動客戶端與智慧裝置之間的第一連接。   本申請的方法的操作步驟與裝置的結構特徵對應,可以相互參照,不再一一贅述。   綜上所示,根據本申請的上述實施例,移動客戶端透過掃描數位物件唯一標識符的方式與智慧裝置自動進行近距離無線通信連接,並透過所述近距離無線通信連接將移動客戶端為智慧裝置設定的WiFi網路設定資訊發送至所述智慧裝置,從而使所述智慧裝置建立WiFi連接,透過本申請極大簡化了智慧裝置的網路初始化設定操作。   本領域內的技術人員應明白,本發明的實施例可提供為方法、系統、或計算機程式產品。因此,本發明可採用完全硬體實施例、完全軟體實施例、或結合軟體和硬體方面的實施例的形式。而且,本發明可採用在一個或多個其中包含有計算機可用程式代碼的計算機可用儲存媒體(包括但不限於磁碟記憶體、CD-ROM、光學記憶體等)上實施的計算機程式產品的形式。   本發明是參照根據本發明實施例的方法、設備(系統)、和計算機程式產品的流程圖和/或方框圖來描述的。應理解可由計算機程式指令實現流程圖和/或方框圖中的每一流程和/或方框、以及流程圖和/或方框圖中的流程和/或方框的結合。可提供這些計算機程式指令到通用計算機、專用計算機、嵌入式處理機或其他可編程資料處理設備的處理器以產生一個機器,使得透過計算機或其他可編程資料處理設備的處理器執行的指令產生用於實現在流程圖一個流程或多個流程和/或方框圖一個方框或多個方框中指定的功能的裝置。   這些計算機程式指令也可儲存在能引導計算機或其他可編程資料處理設備以特定方式工作的計算機可讀記憶體中,使得儲存在該計算機可讀記憶體中的指令產生包括指令裝置的製造品,該指令裝置實現在流程圖一個流程或多個流程和/或方框圖一個方框或多個方框中指定的功能。   這些計算機程式指令也可裝載到計算機或其他可編程資料處理設備上,使得在計算機或其他可編程設備上執行一系列操作步驟以產生計算機實現的處理,從而在計算機或其他可編程設備上執行的指令提供用於實現在流程圖一個流程或多個流程和/或方框圖一個方框或多個方框中指定的功能的步驟。   在一個典型的配置中,計算設備包括一個或多個處理器(CPU)、輸入/輸出介面、網路介面和記憶體。   記憶體可能包括計算機可讀媒體中的非永久性記憶體,隨機存取記憶體(RAM)和/或非易失性記憶體等形式,如唯讀記憶體(ROM)或快閃記憶體(flash RAM)。記憶體是計算機可讀媒體的示例。   計算機可讀媒體包括永久性和非永久性、可移動和非可移動媒體可以由任何方法或技術來實現資訊儲存。資訊可以是計算機可讀指令、資料結構、程式的模組或其他資料。計算機的儲存媒體的例子包括,但不限於相變記憶體(PRAM)、靜態隨機存取記憶體(SRAM)、動態隨機存取記憶體(DRAM)、其他類型的隨機存取記憶體(RAM)、唯讀記憶體(ROM)、電可擦除可編程唯讀記憶體(EEPROM)、快閃記憶體或其他記憶體技術、唯讀光碟唯讀記憶體(CD-ROM)、數位多功能光碟(DVD)或其他光學儲存、磁盒式磁帶,磁帶磁碟儲存或其他磁性儲存設備或任何其他非傳輸媒體,可用於儲存可以被計算設備訪問的資訊。按照本文中的界定,計算機可讀媒體不包括暫存電腦可讀媒體(transitory media),如調製的資料信號和載波。   還需要說明的是,術語“包括”、“包含”或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、商品或者設備不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、商品或者設備所固有的要素。在沒有更多限制的情況下,由語句“包括一個……”限定的要素,並不排除在包括所述要素的過程、方法、商品或者設備中還存在另外的相同要素。   以上所述僅為本申請的實施例而已,並不用於限制本申請。對於本領域技術人員來說,本申請可以有各種更改和變化。凡在本申請的精神和原理之內所作的任何修改、等同替換、改進等,均應包含在本申請的申請專利範圍之內。 In order to make the objectives, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application. The technical solutions provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings. Before describing the technical solutions of the present application, the application environment according to the embodiments of the present application is briefly described first. Specifically, the application environment according to the embodiment of the present application includes a smart device and a mobile client. The smart device includes a short-range wireless communication module and a WiFi module, and may also include a display screen and a voice module. In practical applications, the smart device may be a smart device such as a smart robot or a smart speaker. Generally, these smart devices do not have input devices such as physical or virtual keyboards, so the WiFi network of the smart device cannot be directly set through the keyboard. surroundings. The mobile client includes at least a short-range wireless communication module and a WiFi module. As a designated client, the mobile terminal has an input device such as a physical or virtual keyboard, which is used to help or replace the smart device to set the WiFi network environment. . Wherein, the mobile client may be a device such as a smart phone or a tablet computer. In other embodiments of the present application, the short-range wireless communication module may be a Bluetooth module, an NFC module, or an infrared module, etc., which is not limited in this application. Referring next to FIG. 1 , FIG. 1 is a flowchart of a networking method according to an embodiment of the present application, which is described on the side of a smart device. As shown in FIG. 1 , the networking method includes: Step S102 , providing a DOI (Digital Object Unique Identifier), wherein the DOI includes the first connection configuration information of the smart device, so that the mobile client can obtain it by scanning the DOI the first connection configuration information, and establish a first connection with the smart device according to the first connection configuration information. Before executing this step, first determine whether the smart device has established a second connection, and if the second connection has not been established, execute the step of providing a two-dimensional code. In a specific implementation, the smart device may have a display device such as a display screen, and the smart device displays the pre-stored DOI containing the first connection configuration information of the smart device through the display screen, so that the designated mobile client can scan the DOI The first connection configuration information is acquired by the method, so that the mobile client establishes a short-range wireless communication connection with the smart device according to the first connection configuration information. Wherein, the DOI may be a two-dimensional code or a barcode or the like. In this embodiment of the present application, the first connection may be a short-range wireless communication connection such as a Bluetooth connection, an NFC connection, or an infrared connection. For example, when the first connection is a Bluetooth connection, the first connection configuration information is Bluetooth pairing information, and the Bluetooth pairing information further includes the identification information and MAC address information of the smart device, but does not include the PIN code (Personal Identification Number) information, which means that the pairing can be completed without entering a PIN code during the Bluetooth pairing process, which simplifies the Bluetooth connection establishment process. In other embodiments of the present application, if the smart device does not have a display device such as a display screen, the two-dimensional code information can also be provided by pasting a pre-acquired physical two-dimensional code label on the surface of the smart device. Step S104, receiving the second connection setting information of the smart device sent by the mobile client through the first connection. After the smart device establishes the first connection with the mobile client, the mobile client sends the second connection setting information of the smart device acquired in advance to the smart device through the first connection. In the embodiment of the present application, the second connection setting information is WiFi network initialization setting information of the smart device, which may specifically include information such as WiFi network name and password. Step S106, establishing a second connection according to the second connection setting information. Through the above embodiment, the mobile client automatically makes a first connection with the smart device by scanning the DOI, and sends the second network setting information set by the mobile client for the smart device to the smart device through the first connection , so that the smart device establishes a second connection. For example, the mobile client automatically performs a Bluetooth connection with the smart device by scanning the QR code, and sends the WiFi network setting information set by the mobile client for the smart device to the smart device through the Bluetooth connection, so that all The smart device establishes a WiFi connection. FIG. 2 is a flowchart of a networking method according to another embodiment of the present application, which is described on the mobile client side. As shown in FIG. 2 , the method includes: Step S202 , scanning a DOI provided by a smart device to obtain first connection configuration information of the smart device included in the DOI. The mobile client activates the scanner to scan the DOI provided by the smart device, and analyzes the DOI to obtain the first connection configuration information of the smart device included in the DOI. The present embodiment is described in detail below by taking the first connection being a Bluetooth connection as an example. Specifically, the first connection configuration information is Bluetooth pairing information, the Bluetooth pairing information further includes identification information (ID) and MAC address information of the smart device, and the Bluetooth pairing information does not include a PIN code, that is, PIN code information is not required during the Bluetooth pairing process. Step S204, establishing a first connection with the smart device according to the first connection configuration information. Following the above example, the mobile client searches for the smart device according to the device ID and MAC address included in the Bluetooth pairing information, and establishes a Bluetooth physical connection. It should be noted that in the Bluetooth pairing process, only the device ID and MAC address are required, and the PIN code is not required to complete the pairing process, which greatly simplifies the steps of establishing a Bluetooth connection. Step S206, acquiring second connection setting information set for the smart device. Following the above example, the mobile client enters the WiFi setting interface of the smart device, and the user sets the WiFi setting information of the smart device on the WiFi setting interface, for example, including information such as WiFi network name and password. In the embodiment of the present application, the setting information of the WiFi network is set for the smart device without the keyboard input device by the mobile client with the (physical or virtual) keyboard input device. Step S208 , sending the second connection setting information to the smart device through the first connection, so that the smart device establishes a second connection according to the second connection setting information. Following the above example, the mobile client sends the WiFi setting information to the smart device through the previously established Bluetooth connection, so that the smart device can establish a WiFi connection according to the WiFi setting information. After the WiFi connection of the smart device is successfully established, the Bluetooth connection between the mobile client and the smart device is disconnected. Through the above-mentioned embodiment, the mobile client automatically connects with the smart device by scanning the DOI, and sends the WiFi network setting information set by the mobile client for the smart device to the smart device through the short-range wireless communication connection. the smart device, so that the smart device can establish a WiFi connection. The specific process of the above steps is described below with reference to FIG. 3 . In this embodiment, DOI is a two-dimensional code and the first connection is a Bluetooth connection as an example for description. As shown in FIG. 3 , the method includes: Step S302 , when the smart device performs network setting or initialization for the first time, it is determined whether the smart device has established a WiFi connection, and if the WiFi connection has not been established, the subsequent steps are continued. In the specific determination, if the smart device has not opened the WiFi network (or wireless local area network) or has not been bound with the WiFi network account, it is determined that the smart device has not established a WiFi connection. Step S304, the smart device provides a two-dimensional code, wherein the two-dimensional code includes the Bluetooth pairing information of the smart device. If the smart device has a display device such as a display screen, the pre-stored QR code containing the Bluetooth pairing information of the smart device can be displayed through the display screen; if the smart device does not have a display screen, the pre-acquired QR code can be displayed on the display screen The QR code is provided by sticking the physical QR code label on the surface of the smart device. All in all, this application does not limit the manner in which the smart device provides the two-dimensional code. Step S306, the mobile client scans the two-dimensional code to obtain the Bluetooth pairing information of the smart device contained in the two-dimensional code. Specifically, the mobile client activates a scanning program to scan the two-dimensional code, and parses the two-dimensional code to obtain the Bluetooth pairing information of the smart device contained in the two-dimensional code. Wherein, the Bluetooth pairing information only includes the identification information (ID) and MAC address information of the smart device, and does not include the PIN code, that is to say, the PIN code information does not need to be used in the Bluetooth pairing process. Step S308, the mobile client establishes a Bluetooth connection with the smart device according to the Bluetooth pairing information. Specifically, both the mobile client and the smart device enable the Bluetooth function, and the mobile client searches for the smart device according to the device ID and MAC address included in the Bluetooth pairing information, and establishes a Bluetooth physical connection. It should be noted that in the Bluetooth pairing process, only the device ID and MAC address are required, and the PIN code is not required to complete the pairing process, thereby realizing a fast Bluetooth connection. In actual implementation, after the mobile client obtains the Bluetooth pairing information of the smart device by scanning the code, it automatically performs Bluetooth pairing and Bluetooth connection. Unaware operation, the user does not need to care how the specific Bluetooth pairing process is performed. Step S310, the mobile client obtains WiFi setting information set for the smart device. Specifically, the mobile client enters the WiFi setting interface of the smart device, and the user sets the WiFi setting information of the smart device on the WiFi setting interface. The WiFi setting information refers to various information required to connect the smart device to a designated WiFi network, for example, it may include information such as: enabling a WiFi network, selecting a WiFi network, and setting a password. Then, the mobile client obtains various WiFi setting information set by the user for the smart device. Step S312, the mobile client sends the WiFi setting information to the smart device through the Bluetooth connection. Step S314, the smart device establishes a WiFi connection according to the WiFi setting information. In step S316, the Bluetooth connection between the mobile client and the smart device is disconnected, and the mobile client and the smart device turn off the Bluetooth function, and the process ends. FIG. 4 is a structural block diagram of a smart device 40 according to an embodiment of the present application. As shown in FIG. 4 , the smart device 40 includes: a DOI providing unit 41 configured to provide a DOI, wherein the DOI includes a first connection of the smart device configuration information, so that the mobile client obtains the first connection configuration information by scanning the DOI, and establishes a first connection with the smart device according to the first connection configuration information. In actual implementation, the smart device can display the pre-stored DOI containing the first connection configuration information of the smart device through a display device such as a display screen; or can also paste the pre-obtained physical DOI label on the surface of the smart device The DOI is provided by the method, which is not limited in this application. In this embodiment of the present application, the first connection may be a short-range wireless communication connection such as a Bluetooth connection, an NFC connection, or an infrared connection. The receiving unit 42 is configured to receive the second connection setting information of the smart device sent by the mobile client through the first connection. After the smart device establishes the first connection with the mobile client, the mobile client sends the second connection setting information of the smart device acquired in advance to the smart device through the first connection. Wherein, the second connection setting information is network initialization setting information of the smart device. When the second connection is a WiFi connection, the second connection setting information may include information such as WiFi network name and password. The second connection unit 43 is configured to establish a second connection according to the second connection setting information. After the second connection of the smart device is successfully established, the first connection with the mobile client is disconnected by a disconnecting unit (not shown). Continuing to refer to FIG. 4 , the smart device 40 further includes: a detection unit 44 for detecting whether the smart device has established a second connection, and if otherwise, the DOI providing unit 41 provides DOI. FIG. 5 is a structural block diagram of a mobile client 50 according to an embodiment of the present application. As shown in FIG. 5 , the mobile client 50 includes: a scanning unit 51, configured to scan the DOI provided by the smart device, and obtain the DOI contained in the DOI. The first connection configuration information of the smart device. The mobile client activates the scanner to scan the DOI provided by the smart device, and analyzes the DOI to obtain the first connection configuration information of the smart device included in the DOI. The following describes in detail by taking the first connection as a Bluetooth connection as an example. In the case where the first connection is a Bluetooth connection, the first connection configuration information is Bluetooth pairing information, the Bluetooth pairing information only includes identification information (ID) and MAC address information of the smart device, and the Bluetooth pairing information The information does not contain a PIN code, which means that the PIN code information is not required during the Bluetooth pairing process. The first connection unit 52 is configured to establish a first connection with the smart device according to the first connection configuration information. Specifically, the mobile client searches for the smart device according to the device ID and MAC address included in the Bluetooth pairing information, and establishes a Bluetooth physical connection. It should be noted that in the Bluetooth pairing process, only the device ID and MAC address are required, and the PIN code is not required to complete the pairing process, which greatly simplifies the steps of establishing a Bluetooth connection. The obtaining unit 53 is configured to obtain the second connection setting information set for the smart device. When the second connection is a WiFi connection, the mobile client enters the WiFi setting interface of the smart device, and the user sets the WiFi setting information of the smart device on the WiFi setting interface, for example, including information such as WiFi network name and password. In the embodiment of the present application, the setting information of the WiFi network is set for the smart device without the keyboard input device by the mobile client with the (physical or virtual) keyboard input device. The sending unit 54 is configured to send the second connection setting information to the smart device through the first connection, so that the smart device establishes a second connection according to the second connection setting information. The mobile client sends the WiFi setting information to the smart device through the previously established Bluetooth connection, so that the smart device can establish a WiFi connection according to the WiFi setting information. After the second connection of the smart device is successfully established, the first connection between the mobile client and the smart device is disconnected by a disconnecting unit (not shown). The operation steps of the method of the present application correspond to the structural features of the apparatus, which can be referred to each other, and will not be repeated one by one. To sum up, according to the above-mentioned embodiments of the present application, the mobile client automatically performs a short-range wireless communication connection with the smart device by scanning the unique identifier of the digital object, and the mobile client is connected to the smart device through the short-range wireless communication connection. The WiFi network setting information set by the smart device is sent to the smart device, so that the smart device can establish a WiFi connection. Through the present application, the network initialization setting operation of the smart device is greatly simplified. As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) having computer-usable program code embodied therein . The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each process and/or block in the flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram. These computer program instructions may also be stored in computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, The instruction means implements the functions specified in the flow or flows of the flowcharts and/or the block or blocks of the block diagrams. These computer program instructions can also be loaded on a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams. In a typical configuration, a computing device includes one or more processors (CPUs), an input/output interface, a network interface, and memory. Memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in the form of computer-readable media, such as read-only memory (ROM) or flash memory ( flash RAM). Memory is an example of a computer-readable medium. Computer-readable media includes both permanent and non-permanent, removable and non-removable media, and can be implemented by any method or technology for storage of information. Information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM) , Read-Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash Memory or Other Memory Technologies, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, magnetic cassettes, magnetic tape storage or other magnetic storage devices or any other non-transmission media that may be used to store information that can be accessed by computing devices. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves. It should also be noted that the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device comprising a series of elements includes not only those elements, but also Other elements not expressly listed, or which are inherent to such a process, method, article of manufacture, or apparatus are also included. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article of manufacture, or device that includes the element. The above descriptions are merely examples of the present application, and are not intended to limit the present application. Various modifications and variations of this application are possible for those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the scope of the patent application of this application.

40‧‧‧智慧裝置41‧‧‧DOI提供單元42‧‧‧接收單元43‧‧‧第二連接單元44‧‧‧檢測單元50‧‧‧移動客戶端51‧‧‧掃描單元52‧‧‧第一連接單元53‧‧‧獲取單元54‧‧‧發送單元40‧‧‧Smart Device 41‧‧‧DOI Providing Unit 42‧‧‧Receiving Unit 43‧‧‧Second Connection Unit 44‧‧‧Detecting Unit 50‧‧‧Mobile Client 51‧‧‧Scanning Unit 52‧‧‧ The first connection unit 53‧‧‧acquisition unit 54‧‧‧sending unit

此處所說明的附圖用來提供對本申請的進一步理解,構成本申請的一部分,本申請的示意性實施例及其說明用於解釋本申請,並不構成對本申請的不當限定。在附圖中:   圖1是根據本申請一個實施例的連網方法的流程圖;   圖2是根據本申請另一實施例的連網方法的流程圖;   圖3是根據本申請又一實施例的連網方法的流程圖;   圖4是根據本申請實施例的智慧裝置的結構框圖;   圖5是根據本申請實施例的移動客戶端的結構框圖。The drawings described herein are used to provide further understanding of the present application and constitute a part of the present application. The schematic embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation of the present application. In the drawings: Fig. 1 is a flowchart of a networking method according to an embodiment of the present application; Fig. 2 is a flowchart of a networking method according to another embodiment of the present application; Fig. 3 is a flowchart of another embodiment of the present application Fig. 4 is a structural block diagram of a smart device according to an embodiment of the present application; Fig. 5 is a structural block diagram of a mobile client according to an embodiment of the present application.

Claims (12)

一種智慧裝置的連網方法,其特徵在於,包括:檢測智慧裝置是否已建立WiFi連接;若該智慧裝置未建立WiFi連接,則透過該智慧裝置的顯示螢幕顯示數位物件唯一標識符DOI,其中該DOI包含該智慧裝置的第一連接配置資訊,以使移動客戶端透過掃描該DOI獲取該第一連接配置資訊,並根據該第一連接配置資訊與該智慧裝置建立第一連接,其中在該第一連接是藍牙連接時,該第一連接配置資訊作為藍牙配對資訊,該藍牙配對資訊包含該智慧裝置的標識資訊和MAC地址資訊,且無論如何都不在該藍牙配對資訊中包含個人識別碼(PIN碼)資訊;透過該第一連接接收該移動客戶端發送的該智慧裝置的WiFi網路初始化設定資訊;根據該WiFi網路初始化設定資訊建立WiFi連接。 A method for networking a smart device, comprising: detecting whether the smart device has established a WiFi connection; if the smart device has not established a WiFi connection, displaying a digital object unique identifier DOI through a display screen of the smart device, wherein the The DOI includes the first connection configuration information of the smart device, so that the mobile client obtains the first connection configuration information by scanning the DOI, and establishes a first connection with the smart device according to the first connection configuration information, wherein in the first connection configuration information When a connection is a Bluetooth connection, the first connection configuration information is used as Bluetooth pairing information, and the Bluetooth pairing information includes the identification information and MAC address information of the smart device, and does not include a personal identification code (PIN) in the Bluetooth pairing information. code) information; receive the WiFi network initialization setting information of the smart device sent by the mobile client through the first connection; establish a WiFi connection according to the WiFi network initialization setting information. 根據請求項1所述的方法,其中,該第一連接包括:藍牙連接或近距離無線通訊技術連接。 The method according to claim 1, wherein the first connection comprises: a Bluetooth connection or a short-range wireless communication technology connection. 根據請求項1所述的方法,其中,還包括:在智慧裝置的WiFi連接建立成功後,斷開與該移動客戶端之間的第一連接。 The method according to claim 1, further comprising: disconnecting the first connection with the mobile client after the WiFi connection of the smart device is successfully established. 一種智慧裝置的連網方法,其特徵在於,包括:掃描智慧裝置提供的DOI,獲取該DOI包含的該智慧裝置的第一連接配置資訊;其中,該智慧裝置當前未建立WiFi連接;根據該第一連接配置資訊與該智慧裝置建立第一連接,其中在該第一連接是藍牙連接時,該第一連接配置資訊作為藍牙配對資訊,該藍牙配對資訊包含該智慧裝置的標識資訊和MAC地址資訊,且無論如何都不在該藍牙配對資訊中包含PIN碼資訊;獲取移動客戶端為該智慧裝置設定的WiFi網路初始化設定資訊;透過該第一連接將該WiFi網路初始化設定資訊發送至該智慧裝置,以使該智慧裝置根據該WiFi網路初始化設定資訊建立WiFi連接。 A method for networking a smart device, comprising: scanning a DOI provided by the smart device to obtain first connection configuration information of the smart device contained in the DOI; wherein the smart device does not currently establish a WiFi connection; according to the first connection configuration information of the smart device A connection configuration information establishes a first connection with the smart device, wherein when the first connection is a Bluetooth connection, the first connection configuration information is used as Bluetooth pairing information, and the Bluetooth pairing information includes the identification information and MAC address information of the smart device , and do not include PIN code information in the Bluetooth pairing information anyway; obtain the WiFi network initialization setting information set by the mobile client for the smart device; send the WiFi network initialization setting information to the smart device through the first connection device, so that the smart device can establish a WiFi connection according to the WiFi network initialization setting information. 根據請求項4所述的方法,其中,該第一連接包括:藍牙連接或近距離無線通訊技術連接。 The method according to claim 4, wherein the first connection comprises: a Bluetooth connection or a short-range wireless communication technology connection. 根據請求項4所述的方法,其中,還包括:在智慧裝置的WiFi連接建立成功後,斷開與該智慧裝置之間的第一連接。 The method according to claim 4, further comprising: after the WiFi connection of the smart device is successfully established, disconnecting the first connection with the smart device. 一種智慧裝置,其特徵在於,包括:檢測單元,用於檢測該智慧裝置是否已建立WiFi連 接;DOI提供單元,用於在該智慧裝置未建立WiFi連接時,透過該智慧裝置的顯示螢幕顯示DOI,其中該DOI包含該智慧裝置的第一連接配置資訊,以使移動客戶端透過掃描該DOI獲取該第一連接配置資訊,並根據該第一連接配置資訊與該智慧裝置建立第一連接,其中在該第一連接是藍牙連接時,該第一連接配置資訊作為藍牙配對資訊,該藍牙配對資訊包含該智慧裝置的標識資訊和MAC地址資訊,且無論如何都不在該藍牙配對資訊中包含PIN碼資訊;接收單元,用於透過該第一連接接收該移動客戶端發送的該智慧裝置的WiFi網路初始化設定資訊;第二連接單元,用於根據該WiFi網路初始化設定資訊建立WiFi連接。 A smart device, characterized in that it includes: a detection unit for detecting whether the smart device has established a WiFi connection The DOI providing unit is used to display the DOI through the display screen of the smart device when the smart device does not establish a WiFi connection, wherein the DOI includes the first connection configuration information of the smart device, so that the mobile client can scan the DOI obtains the first connection configuration information, and establishes a first connection with the smart device according to the first connection configuration information, wherein when the first connection is a Bluetooth connection, the first connection configuration information is used as Bluetooth pairing information, and the Bluetooth The pairing information includes the identification information and MAC address information of the smart device, and does not include PIN code information in the Bluetooth pairing information anyway; the receiving unit is used for receiving the information of the smart device sent by the mobile client through the first connection. WiFi network initialization setting information; the second connection unit is used for establishing WiFi connection according to the WiFi network initialization setting information. 根據請求項7所述的智慧裝置,其中,該第一連接包括:藍牙連接或近距離無線通訊技術連接。 The smart device according to claim 7, wherein the first connection includes: a Bluetooth connection or a short-range wireless communication technology connection. 根據請求項7所述的智慧裝置,其中,還包括:第一斷開單元,用於在智慧裝置的WiFi連接建立成功後,斷開與該移動客戶端之間的第一連接。 The smart device according to claim 7, further comprising: a first disconnecting unit, configured to disconnect the first connection with the mobile client after the WiFi connection of the smart device is successfully established. 一種移動客戶端,其特徵在於,包括:掃描單元,用於掃描智慧裝置提供的DOI,獲取該 DOI包含的該智慧裝置的第一連接配置資訊;其中,該智慧裝置當前未建立WiFi連接;第一連接單元,用於根據該第一連接配置資訊與該智慧裝置建立第一連接,其中在該第一連接是藍牙連接時,該第一連接配置資訊作為藍牙配對資訊,該藍牙配對資訊包含該智慧裝置的標識資訊和MAC地址資訊,且無論如何都不在該藍牙配對資訊中包含PIN碼資訊;獲取單元,用於獲取該移動客戶端為該智慧裝置設定的WiFi網路初始化設定資訊;發送單元,用於透過該第一連接將該WiFi網路初始化設定資訊發送至該智慧裝置,以使該智慧裝置根據該WiFi網路初始化設定資訊建立WiFi連接。 A mobile client is characterized by comprising: a scanning unit for scanning DOI provided by a smart device, and obtaining the DOI provided by a smart device. The first connection configuration information of the smart device included in the DOI; wherein, the smart device does not currently establish a WiFi connection; a first connection unit is used to establish a first connection with the smart device according to the first connection configuration information, wherein in the When the first connection is a Bluetooth connection, the first connection configuration information is used as Bluetooth pairing information, and the Bluetooth pairing information includes the identification information and MAC address information of the smart device, and does not include PIN code information in the Bluetooth pairing information anyway; an acquiring unit for acquiring the WiFi network initialization setting information set by the mobile client for the smart device; a sending unit for sending the WiFi network initialization setting information to the smart device through the first connection, so that the The smart device establishes a WiFi connection according to the WiFi network initialization setting information. 根據請求項10所述的移動客戶端,其中,該第一連接包括:藍牙連接或近距離無線通訊技術連接。 The mobile client according to claim 10, wherein the first connection includes a Bluetooth connection or a short-range wireless communication technology connection. 根據請求項10所述的移動客戶端,其中,還包括:第二斷開單元,用於在該智慧裝置的WiFi連接建立成功後,斷開與該智慧裝置之間的第一連接。 The mobile client according to claim 10, further comprising: a second disconnecting unit, configured to disconnect the first connection with the smart device after the WiFi connection of the smart device is successfully established.
TW106130938A 2016-10-26 2017-09-11 Network connection method of smart device, smart device and mobile client TWI753012B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201610950743.4A CN106888108A (en) 2016-10-26 2016-10-26 The networking methods of smart machine, smart machine and mobile client
CN201610950743.4 2016-10-26
??201610950743.4 2016-10-26

Publications (2)

Publication Number Publication Date
TW201817273A TW201817273A (en) 2018-05-01
TWI753012B true TWI753012B (en) 2022-01-21

Family

ID=59176816

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106130938A TWI753012B (en) 2016-10-26 2017-09-11 Network connection method of smart device, smart device and mobile client

Country Status (3)

Country Link
CN (1) CN106888108A (en)
TW (1) TWI753012B (en)
WO (1) WO2018077084A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106888108A (en) * 2016-10-26 2017-06-23 阿里巴巴集团控股有限公司 The networking methods of smart machine, smart machine and mobile client
CN109246851A (en) * 2018-10-30 2019-01-18 歌尔科技有限公司 A kind of processing method of bluetooth connection, equipment and storage medium
CN113839843B (en) * 2021-11-25 2022-03-29 深圳中科德能科技有限公司 Intelligent device discovery method, device, medium and block chain system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102595643A (en) * 2010-11-19 2012-07-18 罗技欧洲股份有限公司 System and method used for connection and pairing of wireless devices
CN103748863A (en) * 2011-07-05 2014-04-23 苹果公司 Configuration of accessories for wireless network access
CN103763786A (en) * 2014-01-20 2014-04-30 梅平 Equipment pairing method, terminal and system
US20140273820A1 (en) * 2013-03-14 2014-09-18 Motorola Mobility Llc Automatic user notification, with quick response (qr) code generation following failed nfc device pairing
CN104683940A (en) * 2015-03-05 2015-06-03 丰唐物联技术(深圳)有限公司 Bluetooth connection switching method and system
CN104994595A (en) * 2015-05-29 2015-10-21 北京奇虎科技有限公司 Cell phone terminal and intelligent hardware networking control method thereof
CN105516975A (en) * 2015-11-26 2016-04-20 上海科勒电子科技有限公司 Wireless connection method, master device, slave device and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9548813B2 (en) * 2012-09-04 2017-01-17 Universal Electronics Inc. System and method for provision of appliance control functionality to a smart device
CN103369035A (en) * 2013-06-24 2013-10-23 四川长虹电器股份有限公司 Two dimensional code-based intelligent household electrical appliance communication method
CN104202799B (en) * 2014-07-29 2018-01-09 福建星网锐捷通讯股份有限公司 A kind of method of WIFI smart machines zero configuration access wireless network
CN104954974A (en) * 2015-06-23 2015-09-30 惠州Tcl移动通信有限公司 Bluetooth pairing method and system for connection between mobile terminal and intelligent equipment
CN105426173A (en) * 2015-10-30 2016-03-23 四川长虹电器股份有限公司 Method for rapidly configuring air conditioner based on two-dimensional code
CN106888108A (en) * 2016-10-26 2017-06-23 阿里巴巴集团控股有限公司 The networking methods of smart machine, smart machine and mobile client

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102595643A (en) * 2010-11-19 2012-07-18 罗技欧洲股份有限公司 System and method used for connection and pairing of wireless devices
CN103748863A (en) * 2011-07-05 2014-04-23 苹果公司 Configuration of accessories for wireless network access
US20140273820A1 (en) * 2013-03-14 2014-09-18 Motorola Mobility Llc Automatic user notification, with quick response (qr) code generation following failed nfc device pairing
CN103763786A (en) * 2014-01-20 2014-04-30 梅平 Equipment pairing method, terminal and system
CN104683940A (en) * 2015-03-05 2015-06-03 丰唐物联技术(深圳)有限公司 Bluetooth connection switching method and system
CN104994595A (en) * 2015-05-29 2015-10-21 北京奇虎科技有限公司 Cell phone terminal and intelligent hardware networking control method thereof
CN105516975A (en) * 2015-11-26 2016-04-20 上海科勒电子科技有限公司 Wireless connection method, master device, slave device and system

Also Published As

Publication number Publication date
TW201817273A (en) 2018-05-01
WO2018077084A1 (en) 2018-05-03
CN106888108A (en) 2017-06-23

Similar Documents

Publication Publication Date Title
US10366214B2 (en) Method and device for establishing wireless connection
JP6480481B2 (en) Device connection apparatus and method in portable terminal
US20200177599A1 (en) Network connection method, hotspot terminal and management terminal
CN105744466B (en) A kind of connection method of Bluetooth device and bluetooth equipment
WO2019052532A1 (en) Information interaction method, apparatus and device for internet of things device
TWI753012B (en) Network connection method of smart device, smart device and mobile client
US11191111B2 (en) Bluetooth connection establishment method, device and system
US20160073249A1 (en) System and method for discovering a wireless device
KR102366312B1 (en) Electronic device for performing reconnection of near field communication and method for controlling thereof
WO2013162996A1 (en) Automatic configuration of electronic devices
CN104394600A (en) Method and device for transmitting files
US11212276B2 (en) Single pairing for multiple technologies
WO2017101186A1 (en) Method for establishing wireless connection for application of user equipment
CN110753334A (en) Bluetooth communication method, device and equipment with Bluetooth communication function
WO2017166508A1 (en) Data processing method and device
WO2017219282A1 (en) Method for establishing connection between intelligent terminal and fitness equipment, intelligent terminal, and server
KR102373548B1 (en) Electronic device and method for connecting local communication
WO2016029842A1 (en) Multi-terminal interactive communication method, terminal and computer storage medium
US10542387B2 (en) Reducing connection time in direct wireless interaction
WO2016202205A1 (en) Device connection method, apparatus, and system
WO2019019280A1 (en) Method for internet of things terminal to encrypt data according to time periods, and apparatus
CN109451878A (en) Unmanned plane indicating means and device
US20150365133A1 (en) Touch and Talk Auto-Configuring of Video Conferences Using Near Field Communication (NFC)
JP6195865B2 (en) Data transmission device, data transmission method, and program for data transmission device
CN108093403A (en) Access the method, apparatus and storage medium of wireless network