TWI647967B - Method, electronic device and recording medium for establishing a wireless connection by vibration - Google Patents

Method, electronic device and recording medium for establishing a wireless connection by vibration Download PDF

Info

Publication number
TWI647967B
TWI647967B TW106138066A TW106138066A TWI647967B TW I647967 B TWI647967 B TW I647967B TW 106138066 A TW106138066 A TW 106138066A TW 106138066 A TW106138066 A TW 106138066A TW I647967 B TWI647967 B TW I647967B
Authority
TW
Taiwan
Prior art keywords
electronic device
vibration
wireless connection
establishing
pairing code
Prior art date
Application number
TW106138066A
Other languages
Chinese (zh)
Other versions
TW201818773A (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 TW201818773A publication Critical patent/TW201818773A/en
Application granted granted Critical
Publication of TWI647967B publication Critical patent/TWI647967B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/30Security of mobile devices; Security of mobile applications
    • H04W12/33Security of mobile devices; Security of mobile applications using wearable devices, e.g. using a smartwatch or smart-glasses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • H04M1/72502Cordless telephones with one base station connected to a single line
    • H04M1/72505Radio link set-up procedures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • H04M1/72502Cordless telephones with one base station connected to a single line
    • H04M1/72505Radio link set-up procedures
    • H04M1/72511Searching for available channels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/50Secure pairing of devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • 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/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/65Environment-dependent, e.g. using captured environmental data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Abstract

一種藉由振動建立無線連接的方法、電子裝置和記錄媒體。在所述方法中,由第一電子裝置掃描至少一個附近的電子裝置。由第一電子裝置將配對請求發射到至少一個附近的電子裝置中的第二電子裝置中。由第二電子裝置響應於接收到配對請求而產生配對碼,並觸發具有根據配對碼的模式的振動。由第一電子裝置檢測振動且識別振動的模式以獲得配對碼。由第一電子裝置將所獲得的配對碼發射到第二電子裝置。最終,由第二電子裝置確認所述配對碼以與第一電子裝置建立無線連接。A method, an electronic device and a recording medium for establishing a wireless connection by vibration. In the method, at least one nearby electronic device is scanned by the first electronic device. A pairing request is transmitted by a first electronic device to a second electronic device among at least one nearby electronic device. The second electronic device generates a pairing code in response to receiving the pairing request, and triggers a vibration having a pattern according to the pairing code. The first electronic device detects vibration and recognizes a pattern of the vibration to obtain a pairing code. The obtained pairing code is transmitted to the second electronic device by the first electronic device. Finally, the second electronic device confirms the pairing code to establish a wireless connection with the first electronic device.

Description

藉由振動建立無線連接的方法、電子裝置和記錄媒體Method for establishing wireless connection by vibration, electronic device and recording medium

本案是有關於一種通信方法,且特別是有關於一種用於建立無線連接的方法以及電子裝置。The present invention relates to a communication method, and more particularly to a method and an electronic device for establishing a wireless connection.

隨著技術的發展,電子裝置已經變得越來越小,且功能越來越強大。當前,人可以穿戴具有各種功能的微型電子裝置,且不會感到不舒適,因而使得微型電子裝置越來越流行。通常,可穿戴裝置能夠執行一些基本功能,例如計時、計算、玩遊戲以及類似功能。其中一些能夠運行應用程式、程式或者甚至作業系統,使得那些可穿戴裝置適合應用到保健、無線通訊或健身追蹤。With the development of technology, electronic devices have become smaller and more powerful. At present, people can wear microelectronic devices with various functions without feeling uncomfortable, thus making microelectronic devices more and more popular. In general, wearable devices are capable of performing some basic functions, such as timing, computing, playing games, and similar functions. Some of them can run applications, programs or even operating systems, making those wearables suitable for healthcare, wireless communications or fitness tracking.

一些可穿戴裝置需要與例如行動電話、智慧體重計或平板電腦的其它電子裝置協調工作,且需要提前建立與電子裝置的連接。Some wearable devices need to work in coordination with other electronic devices such as mobile phones, smart scales, or tablets, and need to establish a connection with the electronic device in advance.

由於例如藍牙的無線通訊協定需要藉由輸入PIN碼來驗證,傳統的連接方法可能會因為缺乏顯示器或輸入工具而不適用於可穿戴裝置。Since wireless communication protocols such as Bluetooth need to be verified by entering a PIN code, traditional connection methods may not be suitable for wearable devices due to the lack of a display or input tools.

本發明提供一種藉由振動建立無線連接的方法以及電子裝置,能夠無線地連接可穿戴裝置或其它裝置,尤其不具有顯示器或輸入工具的可穿戴式裝置或其它裝置。The invention provides a method for establishing a wireless connection through vibration and an electronic device, which can wirelessly connect a wearable device or other device, especially a wearable device or other device without a display or input tool.

本發明提供一種藉由振動建立無線連接的方法,所述方法適用於第一電子裝置。在所述方法中,由第一電子裝置掃描至少一個附近的電子裝置。由第一電子裝置發射配對請求到至少一個附近的電子裝置中的第二電子裝置。由第一電子裝置檢測由所述第二電子裝置產生的振動,其中所述振動具有根據響應於收到配對請求而產生的配對碼的模式。由第一電子裝置識別振動的模式以獲得配對碼,並將所獲得的配對碼發射到第二電子裝置。在由第二電子裝置確認所述配對碼之後,第一電子裝置建立與第二電子裝置的無線連接。The invention provides a method for establishing a wireless connection by vibration, which method is suitable for a first electronic device. In the method, at least one nearby electronic device is scanned by the first electronic device. A pairing request is transmitted by a first electronic device to a second electronic device among at least one nearby electronic device. A vibration generated by the second electronic device is detected by the first electronic device, wherein the vibration has a pattern according to a pairing code generated in response to receiving a pairing request. The pattern of vibration is recognized by the first electronic device to obtain a pairing code, and the obtained pairing code is transmitted to the second electronic device. After the pairing code is confirmed by the second electronic device, the first electronic device establishes a wireless connection with the second electronic device.

在本發明的實例中,由第一電子裝置掃描至少一個附近的電子裝置的步驟更包括響應於檢測到具有與至少一個預定模式中的一個相匹配的特定模式的振動而掃描至少一個附近的電子裝置,其中所述振動由第二電子裝置產生。In an example of the present invention, the step of scanning at least one nearby electronic device by the first electronic device further includes scanning at least one nearby electron in response to detecting a vibration having a specific pattern matching one of the at least one predetermined pattern. The device, wherein the vibration is generated by a second electronic device.

在本發明的實例中,所述特定模式與所述根據配對碼的模式相同。In an example of the present invention, the specific pattern is the same as the pattern according to the pairing code.

在本發明的實例中,在由第一電子裝置將配對請求發射到至少一個附近的電子裝置中的第二電子裝置的步驟之前,所述方法更產生包括至少一個附近的電子裝置的裝置清單,且依序選擇裝置清單中的至少一個附近的電子裝置中的一個作為第二電子裝置。In an example of the present invention, before the step of transmitting a pairing request by a first electronic device to a second electronic device among at least one nearby electronic device, the method further generates a device list including at least one nearby electronic device, And one of the electronic devices in the vicinity of at least one of the device list is sequentially selected as the second electronic device.

在本發明的實例中,在由第一電子裝置檢測振動及識別振動的模式以獲得配對碼的步驟之前,所述方法更提示請求將第一電子裝置以及第二電子裝置中的一個放置於另一個上或將第一電子裝置及第二電子裝置兩個放置于能夠傳播振動的同一媒介上的消息。In the example of the present invention, before the steps of detecting the vibration of the first electronic device and identifying the pattern of the vibration to obtain the pairing code, the method further prompts to request that one of the first electronic device and the second electronic device be placed in another One or two messages of the first electronic device and the second electronic device are placed on the same medium capable of transmitting vibration.

在本發明的實例中,由第一電子裝置識別振動的模式以獲得配對碼的步驟包括分析振動的振幅曲線圖及頻率曲線圖中的一個或兩個來獲得配對碼。In an example of the present invention, the step of identifying the pattern of the vibration by the first electronic device to obtain the pairing code includes analyzing one or both of an amplitude graph and a frequency graph of the vibration to obtain the pairing code.

在本發明的實例中,由第一電子裝置將所獲得的配對碼發射到第二電子裝置的步驟更包括使用公開金鑰將所獲得的配對碼加密並且將所加密的配對碼藉由最初在掃描步驟中建立的通信頻道發射到第二電子裝置。In an example of the present invention, the step of transmitting the obtained pairing code to the second electronic device by the first electronic device further includes encrypting the obtained pairing code using a public key and encrypting the encrypted pairing code by The communication channel established in the scanning step is transmitted to the second electronic device.

在本發明的實例中,由第二電子裝置確定配對碼以建立與第一電子裝置的無線連接的步驟包括藉由第一電子裝置及第二電子裝置與彼此交換資料,其中所交換的資料使用由第一電子裝置及第二電子裝置認可的私密金鑰加密。In an example of the present invention, the step of determining the pairing code by the second electronic device to establish a wireless connection with the first electronic device includes exchanging data with each other through the first electronic device and the second electronic device, wherein the exchanged data is used Encrypted by a private key recognized by the first electronic device and the second electronic device.

本發明提供一種藉由振動建立無線連接的電子裝置,所述電子裝置包含通信模組、感測裝置、儲存裝置以及處理器。所述通信模組經配置以與至少一個附近的電子裝置通信。所述感測裝置經配置以檢測振動。所述儲存裝置經配置以儲存程式。所述處理器經耦接通信模組、感測裝置以及儲存裝置並且被配置成執行儲存裝置中的程式以進行以下步驟:藉由使用通信模組掃描至少一個附近的電子裝置;藉由使用通信模組將配對請求發射到至少一個附近的電子裝置中的第二電子裝置;藉由使用感測裝置檢測由第二電子裝置產生的振動,其中振動具有根據響應於接收到配對請求所產生的配對碼的模式;識別所述振動的所述模式以獲得所述配對碼;藉由使用通信模組將所獲得的配對碼發射到第二電子裝置;以及在第二電子裝置確認配對碼之後藉由使用通信模組與第二電子裝置建立無線連接。The present invention provides an electronic device for establishing a wireless connection by vibration. The electronic device includes a communication module, a sensing device, a storage device, and a processor. The communication module is configured to communicate with at least one nearby electronic device. The sensing device is configured to detect vibration. The storage device is configured to store a program. The processor is coupled to the communication module, the sensing device, and the storage device and is configured to execute a program in the storage device to perform the following steps: by using the communication module to scan at least one nearby electronic device; by using communication The module transmits a pairing request to a second electronic device of at least one nearby electronic device; by using a sensing device, a vibration generated by the second electronic device is detected, wherein the vibration has a pairing generated in response to receiving the pairing request Pattern of the code; identifying the pattern of the vibration to obtain the pairing code; transmitting the obtained pairing code to a second electronic device by using a communication module; and by confirming the pairing code by the second electronic device by The communication module is used to establish a wireless connection with the second electronic device.

在本發明的實例中,所述處理器包括響應於感測裝置檢測到具有與至少一個預定模式中的一個相匹配的特定模式的振動而掃描至少一個附近的電子裝置,其中所述振動由所述第二電子裝置產生。In an example of the present invention, the processor includes scanning at least one nearby electronic device in response to the sensing device detecting a vibration having a specific pattern matching one of the at least one predetermined pattern, wherein the vibration is caused by the The second electronic device is generated.

在本發明的實例中,所述特定模式與根據配對碼的模式相同。In an example of the present invention, the specific pattern is the same as a pattern according to a pairing code.

在本發明的實例中,所述處理器包括產生包括至少一個附近的電子裝置的裝置清單,且依序選擇裝置清單中的至少一個附近的電子裝置中的一個作為第二電子裝置。In an example of the present invention, the processor includes generating a device list including at least one nearby electronic device, and sequentially selecting one of the at least one nearby electronic device in the device list as the second electronic device.

在本發明的實例中,所述處理器更提示請求將所述電子裝置及第二電子裝置中的一個放置於另一個上或將所述電子裝置及第二電子裝置放置于能夠傳播振動的同一媒介上的消息。In an example of the present invention, the processor further prompts to request to place one of the electronic device and the second electronic device on the other or to place the electronic device and the second electronic device on the same device capable of transmitting vibration. News on the media.

在本發明的實例中,所述處理器包括分析振動的振幅曲線圖及頻率曲線圖中的一個或兩個以獲得配對碼。In an example of the present invention, the processor includes analyzing one or both of an amplitude graph and a frequency graph of the vibration to obtain a pairing code.

在本發明的實例中,所述處理器包括使用公開金鑰加密所獲得的配對碼並藉由最初由通信模組建立的通信頻道將所加密的配對碼發射到第二電子裝置。In an example of the present invention, the processor includes encrypting the obtained pairing code using a public key and transmitting the encrypted pairing code to the second electronic device through a communication channel originally established by the communication module.

在本發明的實例中,所述處理器包括藉由無線連接與第二電子裝置交換資料,其中所交換的資料使用由所述電子裝置及第二電子裝置認可的私密金鑰加密。In an example of the present invention, the processor includes exchanging data with the second electronic device through a wireless connection, wherein the exchanged data is encrypted using a private key recognized by the electronic device and the second electronic device.

本發明提供一種用於記錄電腦程式的非暫態電腦可讀記錄媒體,所述電腦程式經由電子裝置載入以執行下列步驟:掃描至少一個附近的電子裝置;將配對請求發射到所述至少一個附近的電子裝置中的第二電子裝置;檢測由所述第二電子裝置產生的振動,其中所述振動具有根據響應於接收到所述配對請求而產生的配對碼的模式;識別所述振動的所述模式以獲得所述配對碼;將所述所獲得的配對碼發射到所述第二電子裝置;以及在由所述第二電子裝置確認所述配對碼之後建立與所述第二電子裝置的無線連接。The present invention provides a non-transitory computer-readable recording medium for recording a computer program loaded by an electronic device to perform the following steps: scanning at least one nearby electronic device; and transmitting a pairing request to the at least one A second electronic device in a nearby electronic device; detecting a vibration generated by the second electronic device, wherein the vibration has a pattern according to a pairing code generated in response to receiving the pairing request; identifying the vibration of the The mode to obtain the pairing code; transmitting the obtained pairing code to the second electronic device; and establishing a connection with the second electronic device after the pairing code is confirmed by the second electronic device Wireless connection.

基於上述,在藉由振動建立無線連接的方法、電子裝置和記錄媒體中,將適用於兩個電子裝置之間的配對過程的配對碼藉由替代方式(即振動)發射,使得在建立無線連接時,兩個電子裝置中的一個可藉由識別藉此所產生的振動的模式來識別其它電子裝置。結果,即使電子裝置並不配備有顯示器或輸入工具,電子裝置仍然可在沒有繁雜程序的情況下無線連接到其它電子裝置。Based on the above, in a method, an electronic device, and a recording medium for establishing a wireless connection by vibration, a pairing code suitable for a pairing process between two electronic devices is transmitted by an alternative method (ie, vibration), so that a wireless connection is established At this time, one of the two electronic devices can identify the other electronic device by identifying a pattern of the vibration generated thereby. As a result, even if the electronic device is not equipped with a display or an input tool, the electronic device can still be wirelessly connected to other electronic devices without complicated procedures.

為讓本案的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above features and advantages of this application more comprehensible, embodiments are described below in detail with the accompanying drawings as follows.

在本發明中,廣泛用於可攜式或可穿戴裝置的振動器用作配對驗證的媒介。當從配對啟動器接收到配對請求時,配對接受器任意地產生配對碼且因此由振動器產生具有根據所產生配對碼的模式的振動。在一個實例中,所產生的配對碼可以是默認配對碼。振動模式由配對啟動器藉由直接接觸或藉由例如實心桌的表面等合適的媒介來檢測,且由安置於配對啟動器中的加速度計(即廣泛用於可攜式或可穿戴裝置的另一硬體元件)來檢測。所檢測到振動中內藏的碼經識別且發送回配對接受器以供確認。所述碼由配對接受器確認後,配對過程完成且在配對啟動器與配對接受器之間建立連接。相應地,兩個裝置之間的連接可僅由將一個裝置放置於另一個裝置上來建立。In the present invention, a vibrator widely used in a portable or wearable device is used as a medium for pairing verification. When a pairing request is received from the pairing initiator, the pairing receiver arbitrarily generates a pairing code and thus a vibration having a pattern according to the generated pairing code is generated by the vibrator. In one example, the generated pairing code may be a default pairing code. The vibration mode is detected by the paired actuator by direct contact or by a suitable medium such as the surface of a solid table, and by an accelerometer (that is widely used in portable or wearable devices) A hardware component). The code embedded in the detected vibration is identified and sent back to the paired receiver for confirmation. After the code is confirmed by the pairing receiver, the pairing process is completed and a connection is established between the pairing initiator and the pairing receiver. Accordingly, a connection between two devices can be established only by placing one device on the other device.

圖1是說明根據本發明的實例的藉由振動建立無線連接的方法的示意圖的實例。參看圖1,智慧型手機14首先啟動例如藍牙或其它無線協定的無線通訊模組,以掃描附近的裝置並且因此搜尋智慧腕帶12。智慧型手機14接著將配對請求發送到智慧腕帶12,以使得智慧腕帶12能夠重複觸發特定模式的振動。振動模式由智慧型手機14藉由直接接觸來檢測,例如,如圖1中所示,將智慧腕帶12放置在智慧型手機14上,或經由固體媒介(例如類似硬木桌的堅固表面)有效地感測振動,並且執行安置於智慧型手機14中的加速度計的監測軟體以識別振動所固有的碼,例如根據由加速度計檢測到的振動的振動振幅、振動頻率及/或振動持續時間。在實例中,由用於檢測智慧型手機14的運動的加速度計及/或其它感測器檢測到的振動的振動振幅、振動頻率及/或振動持續時間可展示於智慧型手機14的顯示器上。在另一實例中,振幅曲線圖、振動頻率及/或振動持續時間可轉變且展示為根據所檢測的振幅曲線圖的模式、序列數位碼或其它格式。最終,智慧型手機14將所識別碼發射到智慧腕帶12以供確認及驗證,且因此與智慧腕帶12建立無線連接。FIG. 1 is an example of a schematic diagram illustrating a method of establishing a wireless connection by vibration according to an example of the present invention. Referring to FIG. 1, the smart phone 14 first activates a wireless communication module such as Bluetooth or other wireless protocols to scan for nearby devices and therefore search for the smart wristband 12. The smart phone 14 then sends a pairing request to the smart wristband 12 so that the smart wristband 12 can repeatedly trigger a specific pattern of vibration. The vibration mode is detected by the smartphone 14 through direct contact, for example, as shown in FIG. 1, the smart wristband 12 is placed on the smartphone 14 or is effective through a solid medium (such as a solid surface similar to a hardwood table) Ground vibrations are sensed, and the monitoring software of the accelerometer disposed in the smartphone 14 is executed to identify codes inherent to the vibration, such as the vibration amplitude, frequency, and / or duration of the vibration based on the vibration detected by the accelerometer. In an example, the vibration amplitude, frequency, and / or duration of the vibration detected by the accelerometer and / or other sensors used to detect the motion of the smartphone 14 may be displayed on the display of the smartphone 14 . In another example, the amplitude graph, frequency of vibration, and / or duration of the vibration may be transformed and displayed as a pattern, serial number, or other format according to the detected amplitude graph. Finally, the smart phone 14 transmits the identification code to the smart wristband 12 for confirmation and verification, and thus establishes a wireless connection with the smart wristband 12.

詳細地說,圖2是說明根據本發明的實例的藉由振動建立無線連接的系統的方塊圖。參看圖2,本實例的用於建立無線連接的系統20包含第一電子裝置22及第二電子裝置24。在一個實例中,第一電子裝置22可以如圖1中所示的智慧型手機14形式實施,且第二電子裝置24可以如圖1中所示的智慧腕帶12的形式實施。但是,在其它實例中,第一電子裝置22也可能是不限於本實例的個人數位助理(PDA)、平板電腦、筆記型電腦、智慧體重計或任何其它種類的可攜式裝置。第二電子裝置24也可能是以心率帶、眼鏡、耳機、頭盔、面罩、項鍊、戒指、手環、衣服、腰帶、髮夾或鞋子等形式實施的能夠由用戶穿戴的可穿戴式裝置,也並不限於本實例。第一電子裝置22包含通信模組222、感測裝置224、儲存裝置226以及處理器228,且第二電子裝置24包含通信模組242、振動裝置244以及處理器246。前述裝置的功能分別描述於下文中。In detail, FIG. 2 is a block diagram illustrating a system for establishing a wireless connection by vibration according to an example of the present invention. Referring to FIG. 2, the system 20 for establishing a wireless connection in this example includes a first electronic device 22 and a second electronic device 24. In one example, the first electronic device 22 may be implemented in the form of a smart phone 14 as shown in FIG. 1, and the second electronic device 24 may be implemented in the form of a smart wristband 12 as shown in FIG. 1. However, in other examples, the first electronic device 22 may also be a personal digital assistant (PDA), a tablet computer, a notebook computer, a smart scale, or any other kind of portable device that is not limited to this example. The second electronic device 24 may also be a wearable device implemented by a user in the form of a heart rate belt, glasses, headphones, helmet, mask, necklace, ring, bracelet, clothes, belt, hair clip, or shoes, etc. It is not limited to this example. The first electronic device 22 includes a communication module 222, a sensing device 224, a storage device 226, and a processor 228, and the second electronic device 24 includes a communication module 242, a vibration device 244, and a processor 246. The functions of the aforementioned devices are described below, respectively.

通信裝置222及通信裝置242可分別是用於與彼此通信的無線通訊裝置,且可支援(但不限於)以下無線傳輸技術中的至少一個:全球行動通信系統(GSM)、個人電話系統(PHS)、通用封包無線服務(GPRS)、分碼多重擷取(CDMA)、寬頻分碼多重擷取(WCDMA)、無線保真(Wi-Fi)、全球互通微波存取(WiMAX)、長期演進(LTE)、藍牙、低功耗藍牙(BLE)、紅外線(IR)、無線射頻識別(RFID)或近場通信(NFC)。 The communication device 222 and the communication device 242 may be wireless communication devices for communicating with each other, and may support (but are not limited to) at least one of the following wireless transmission technologies: Global System for Mobile Communications (GSM), Personal Telephone System (PHS ), General Packet Wireless Service (GPRS), Code Division Multiple Acquisition (CDMA), Wideband Division Code Multiple Acquisition (WCDMA), Wireless Fidelity (Wi-Fi), Global Interoperable Microwave Access (WiMAX), Long Term Evolution ( LTE), Bluetooth, Bluetooth low energy (BLE), infrared (IR), radio frequency identification (RFID), or near field communication (NFC).

感測裝置224可以是加速度感測器、重力感測器(G感測器)或可檢測第一電子裝置22的振動的任何其它感測器,但不限於此。 The sensing device 224 may be an acceleration sensor, a gravity sensor (G sensor), or any other sensor that can detect the vibration of the first electronic device 22, but is not limited thereto.

儲存裝置226是例如靜止或可移動隨機存取記憶體(RAM)、唯讀記憶體(ROM)、快閃記憶體、硬碟或任何其它類似裝置中的一個或組合,及記錄可由處理器228執行的程式的裝置。儲存裝置226可進一步儲存已經與第一電子裝置22建立無線連接的電子裝置的配對資訊。 The storage device 226 is, for example, one or a combination of static or removable random access memory (RAM), read-only memory (ROM), flash memory, hard disk, or any other similar device, and the records may be recorded by the processor 228 The device that runs the program. The storage device 226 may further store pairing information of an electronic device that has established a wireless connection with the first electronic device 22.

振動裝置244是振動電動機,例如線圈振動電動機、圓柱振動電動機或另一類型的振動電動機或能夠產生振動的任何裝置,所述振動能夠容置於第二電子裝置的殼體中,且由振動裝置244產生的振動的振動振幅、振動頻率及/或振動持續時間可由處理器246控制。在一個實例中,振動裝置244也可以是能夠伴隨聲音創建而產生振動的揚聲器,所述裝置並不限制於本實例中。 The vibration device 244 is a vibration motor, such as a coil vibration motor, a cylindrical vibration motor, or another type of vibration motor, or any device capable of generating vibrations that can be housed in a housing of a second electronic device, and is controlled by the vibration device. The vibration amplitude, frequency, and / or duration of the vibration generated by 244 may be controlled by the processor 246. In one example, the vibration device 244 may also be a speaker capable of generating vibrations along with sound creation, and the device is not limited to this example.

處理器228及處理器246可分別是例如中央處理單元(CPU)、通用或專用可程式化微處理器、數位訊號處理器(DSP)、可程式化控制器、特殊應用積體電路(ASIC)或任何其它類似裝置或以上裝置的組合。處理器228及處理器246用於執行程式從而執行用於如本發明中所示的藉由振動建立無線連接的方法。 The processor 228 and the processor 246 may be, for example, a central processing unit (CPU), a general-purpose or special-purpose programmable microprocessor, a digital signal processor (DSP), a programmable controller, and an application-specific integrated circuit (ASIC). Or any other similar device or combination of the above. The processor 228 and the processor 246 are used to execute programs to execute a method for establishing a wireless connection by vibration as shown in the present invention.

圖3是說明根據本發明的實例的藉由振動建立無線連接 的方法的流程圖。參看圖2及3,本實例的方法適用於圖2中所說明的系統20且所述方法的詳細步驟將參見系統20的各元件描述於下文中。 FIG. 3 illustrates establishing a wireless connection by vibration according to an example of the present invention Flowchart of the method. 2 and 3, the method of this example is applicable to the system 20 illustrated in FIG. 2 and the detailed steps of the method will be described below with reference to the various elements of the system 20.

首先,第一電子裝置22掃描附近的電子裝置(步驟S302)。詳細地說,為了開始配對過程,使用者可啟動第二電子裝置24的通信模組242以將第二電子裝置24置於能夠由其它電子裝置搜索的可發現模式且進一步啟動第一電子裝置22的通信模組222以將第一電子裝置22置於能夠掃描附近的第一電子裝置22的電子裝置的掃描模式中。位於通信模組222的掃描範圍內的電子裝置可被檢測到且展示為第一電子裝置22的顯示器(未圖示)上的裝置清單。在一個實例中,第一電子裝置22的射頻(RF)功率將被控制以限制掃描附近裝置的掃描範圍。 First, the first electronic device 22 scans nearby electronic devices (step S302). In detail, in order to start the pairing process, the user may activate the communication module 242 of the second electronic device 24 to place the second electronic device 24 in a discoverable mode that can be searched by other electronic devices and further activate the first electronic device 22 The communication module 222 is placed in a scanning mode of the electronic device capable of scanning the first electronic device 22 in the vicinity. The electronic devices within the scanning range of the communication module 222 can be detected and displayed as a device list on a display (not shown) of the first electronic device 22. In one example, the radio frequency (RF) power of the first electronic device 22 will be controlled to limit the scanning range of scanning nearby devices.

接著,第一電子裝置22將配對請求發射到經掃描的附近的電子裝置中的第二電子裝置24(步驟S304)。詳細地說,在一個實例中,使用者可從第一電子裝置22的顯示器上所展示的經掃描裝置清單選擇第二電子裝置24作為配對的目標。在另一實例中,第一電子裝置22的處理器228可自動地從經掃描的裝置清單依序選擇用於配對的第二電子裝置24。在又另一實例中,處理器228可選擇裝置清單中的所有電子裝置用於配對。第一電子裝置22的處理器228可在掃描過程中藉由最初由通信模組242建立的通信頻道將配對請求發射到所選擇的電子裝置。 Next, the first electronic device 22 transmits a pairing request to the second electronic device 24 among the scanned nearby electronic devices (step S304). In detail, in one example, the user may select the second electronic device 24 as the target of pairing from the scanned device list displayed on the display of the first electronic device 22. In another example, the processor 228 of the first electronic device 22 may automatically select the second electronic device 24 for pairing sequentially from the scanned device list. In yet another example, the processor 228 may select all electronic devices in the device list for pairing. The processor 228 of the first electronic device 22 may transmit a pairing request to the selected electronic device through a communication channel originally established by the communication module 242 during the scanning process.

第二電子裝置24響應於接收配對請求而產生配對碼且觸發具有根據此配對碼的模式的振動(步驟S306)。詳細地說,響應於接收到由第一電子裝置22發射的配對請求,第二電子裝置24的處理器246可隨機地產生數字且使用此數字作為配對碼來確定振動的模式,且最終驅動振動裝置244產生具有所確定的模式的振動。The second electronic device 24 generates a pairing code in response to receiving the pairing request and triggers a vibration having a pattern according to the pairing code (step S306). In detail, in response to receiving a pairing request transmitted by the first electronic device 22, the processor 246 of the second electronic device 24 may randomly generate a number and use this number as a pairing code to determine the mode of vibration, and finally drive the vibration The device 244 generates a vibration having a determined pattern.

應注意,在配對之前,第一電子裝置22及/或第二電子裝置24可提示請求使用者將第二電子裝置24放置於第一電子裝置22上,或反之亦然以作出實體接觸,或將第一電子裝置22及第二電子裝置24放置於同一平臺或物體上的消息使得第一電子裝置22可藉由感測裝置224直接地或間接地感測由第二電子裝置24的振動裝置244產生的振動。It should be noted that prior to pairing, the first electronic device 22 and / or the second electronic device 24 may prompt the user to request that the second electronic device 24 be placed on the first electronic device 22 or vice versa for physical contact, or The message that the first electronic device 22 and the second electronic device 24 are placed on the same platform or object enables the first electronic device 22 to directly or indirectly sense the vibration device of the second electronic device 24 through the sensing device 224. 244 vibration.

第一電子裝置22接著檢測振動且識別振動的模式以獲得配對碼(步驟S308)。詳細地說,第一電子裝置22的處理器228可藉由感測裝置224檢測第一電子裝置22的振動且接著藉由分析振動的振幅曲線圖、頻率曲線圖及/或持續時間的曲線圖來識別振動的模式以便獲得根據預定標準或規則的配對碼。The first electronic device 22 then detects the vibration and recognizes the pattern of the vibration to obtain a pairing code (step S308). In detail, the processor 228 of the first electronic device 22 may detect the vibration of the first electronic device 22 by the sensing device 224 and then analyze the amplitude curve, frequency curve, and / or duration curve of the vibration by analyzing the vibration To identify the pattern of vibration in order to obtain a pairing code according to a predetermined standard or rule.

第一電子裝置22將獲得的配對碼發射到第二電子裝置24(步驟S310)。詳細地說,第一電子裝置22的處理器228可藉由最初由通信模組222建立的通信頻道發射使用公開金鑰加密的或不加密的配對碼。The first electronic device 22 transmits the obtained pairing code to the second electronic device 24 (step S310). In detail, the processor 228 of the first electronic device 22 may transmit a pairing code encrypted or unencrypted using a public key through a communication channel originally established by the communication module 222.

最終,第二電子裝置24確認配對碼以與第一電子裝置22建立無線連接(步驟S312)。詳細地說,第二電子裝置24的處理器246可藉由通信模組242接收從第一電子裝置22發射的配對碼且接著將接收到的配對碼與藉此產生的配對碼相比較。當配對碼相匹配時,處理器246確認發射配對碼的第一電子裝置22為用於連接的目標並且因此藉由通信模組242與第一電子裝置22建立無線連接。在建立無線連接之後,第一電子裝置22及第二電子裝置24可與彼此交換資料,其中所述資料可使用兩方認可的私密金鑰加密,以便提供用於資料發射的安全方式。Finally, the second electronic device 24 confirms the pairing code to establish a wireless connection with the first electronic device 22 (step S312). In detail, the processor 246 of the second electronic device 24 may receive the pairing code transmitted from the first electronic device 22 through the communication module 242 and then compare the received pairing code with the pairing code generated thereby. When the pairing codes match, the processor 246 confirms that the first electronic device 22 transmitting the pairing code is the target for the connection and therefore establishes a wireless connection with the first electronic device 22 through the communication module 242. After the wireless connection is established, the first electronic device 22 and the second electronic device 24 can exchange data with each other, wherein the data can be encrypted using a private key recognized by both parties in order to provide a secure method for data transmission.

應注意,第一電子裝置22與第二電子裝置24之間建立無線連接之後,處理器228可進一步將第二電子裝置24的例如服務設定識別符(SSID)、裝置ID的配對資訊或配對碼儲存於儲存裝置226中,使得下次第二電子裝置24位於通信模組222的範圍內時,第一電子裝置22可在不經由配對過程的情況下自動地與第二電子裝置24建立無線連接。It should be noted that after the wireless connection is established between the first electronic device 22 and the second electronic device 24, the processor 228 may further include the pairing information or pairing code of the second electronic device 24, such as a service setting identifier (SSID), a device ID, or the like. Stored in the storage device 226, so that the next time the second electronic device 24 is within the range of the communication module 222, the first electronic device 22 can automatically establish a wireless connection with the second electronic device 24 without going through the pairing process. .

還應注意,在前述實例中,無線連接的建立藉由啟動作為配對啟動器的第一電子裝置上的掃描程式來觸發。但是,在另一實例中,所述建立也可由第二電子裝置觸發。舉例來說,在圖1中所展示的情形下,用戶首先啟動智慧型手機14以便觸發與智慧腕帶12的無線連接的建立。但是,由於連接智慧腕帶12的用戶最可能想要使用它,因此可在用戶啟動智慧腕帶12的情況下觸發建立。也就是說,智慧腕帶12可在被用戶啟動之後立即觸發振動,且所述振動可產生具有能夠被智慧型手機14識別的特定模式,使得每當使用者將振動的智慧腕帶12放置在智慧型手機14上時,智慧型手機14可識別特定模式且接著自動地觸發用於建立如前述實例中所示的無線連接的程式。It should also be noted that in the foregoing example, the establishment of the wireless connection is triggered by launching a scan program on the first electronic device as a paired initiator. However, in another example, the establishment may also be triggered by a second electronic device. For example, in the scenario shown in FIG. 1, the user first activates the smartphone 14 in order to trigger the establishment of a wireless connection with the smart wristband 12. However, since a user connected to the smart wristband 12 is most likely to want to use it, the establishment may be triggered when the user activates the smart wristband 12. That is, the smart wristband 12 can trigger a vibration immediately after being activated by the user, and the vibration can generate a specific pattern that can be recognized by the smartphone 14 so that whenever the user places the vibrating smart wristband 12 on the When on the smartphone 14, the smartphone 14 can recognize a specific mode and then automatically trigger a program for establishing a wireless connection as shown in the previous example.

詳細地說,圖4是說明根據本發明的實例的藉由振動建立無線連接的方法的流程圖。參看圖2及4,本實例的方法適用於圖2中所說明的系統20且所述方法的詳細步驟將參看系統20的各元件描述於下文中。In detail, FIG. 4 is a flowchart illustrating a method of establishing a wireless connection by vibration according to an example of the present invention. 2 and 4, the method of this example is applicable to the system 20 illustrated in FIG. 2 and the detailed steps of the method will be described below with reference to the various elements of the system 20.

首先,第一電子裝置22藉由使用感測裝置224檢測具有與至少一個預定模式中的一個相匹配的特定模式的振動,其中振動是由第二電子裝置24產生(步驟S402)。詳細地說,由於第一電子裝置22的感測裝置224(例如G感測器)在第一電子裝置22開啟之後始終工作,周圍所產生的任何振動會即刻被第一電子裝置22檢測到。基於事先儲存於儲存裝置226中的振動的預訂模式,第一電子裝置22可藉由將所檢測模式與所儲存的預定模式匹配而識別出具有特定模式的振動。預定模式可收錄或編碼有待配對的電子裝置的資訊,例如電子裝置的品牌、SSID、裝置ID、序號,本實例並不限於此。First, the first electronic device 22 detects a vibration having a specific pattern matching one of at least one predetermined pattern by using the sensing device 224, wherein the vibration is generated by the second electronic device 24 (step S402). In detail, since the sensing device 224 (such as a G sensor) of the first electronic device 22 always works after the first electronic device 22 is turned on, any vibration generated around it will be immediately detected by the first electronic device 22. Based on a predetermined pattern of vibrations stored in the storage device 226 in advance, the first electronic device 22 may identify a vibration having a specific pattern by matching the detected pattern with the stored predetermined pattern. The predetermined mode can record or encode information of the electronic device to be paired, such as the brand, SSID, device ID, and serial number of the electronic device. This example is not limited to this.

響應於檢測到具有與一個預定模式相匹配的特定模式的振動,第一電子裝置22藉由使用通信模組222掃描附近的電子裝置(步驟S404),且接著將配對請求發射到所掃描的附近的電子裝置中的第二電子裝置24(步驟S406)。上文所描述的步驟S404及S406與先前實例的步驟S302及S304相同或類似,且因此不在本文中重複詳細內容。In response to detecting a vibration having a specific pattern matching a predetermined pattern, the first electronic device 22 scans a nearby electronic device by using the communication module 222 (step S404), and then transmits a pairing request to the scanned nearby The second electronic device 24 of the electronic devices (step S406). Steps S404 and S406 described above are the same as or similar to steps S302 and S304 of the previous example, and therefore the details are not repeated herein.

響應於接收到配對請求,第二電子裝置24可產生配對碼且觸發具有根據所述配對碼的模式的振動(步驟S408)。應注意,在一個實例中,根據所述配對碼而產生的振動的模式可與使用者啟動第二電子裝置24時所產生的振動的特定模式不同。但是,在另一實例中,根據配對碼的模式可與特定模式相同。也就是說,在被使用者啟動之後,第二電子裝置24可使振動裝置244保持一直產生具有特定模式的振動直到配對過程完成為止,本實例並不限於此。In response to receiving the pairing request, the second electronic device 24 may generate a pairing code and trigger a vibration having a pattern according to the pairing code (step S408). It should be noted that, in one example, a pattern of the vibration generated according to the pairing code may be different from a specific pattern of the vibration generated when the user activates the second electronic device 24. However, in another example, the pattern according to the pairing code may be the same as the specific pattern. That is, after being activated by the user, the second electronic device 24 can keep the vibration device 244 to generate a vibration with a specific pattern until the pairing process is completed, and this example is not limited to this.

第一電子裝置22接著檢測振動且識別振動的模式以獲得配對碼(步驟S410),並且將所獲得的配對碼發射到第二電子裝置24(步驟S412)。最終,第二電子裝置24確認配對碼以與第一電子裝置22建立無線連接(步驟S414)。上文所描述的步驟S410到S414與先前實例的步驟S308到S312相同或類似,且因此不在本文中重複詳細內容。The first electronic device 22 then detects the vibration and recognizes the pattern of the vibration to obtain a pairing code (step S410), and transmits the obtained pairing code to the second electronic device 24 (step S412). Finally, the second electronic device 24 confirms the pairing code to establish a wireless connection with the first electronic device 22 (step S414). Steps S410 to S414 described above are the same as or similar to steps S308 to S312 of the previous example, and therefore the details are not repeated herein.

基於上文,使用者可僅啟動第二電子裝置24(例如可穿戴式裝置)並且將其放置在第一電子裝置22(例如行動電話)上,且接著兩個裝置在幾秒之後將自動地與彼此連接。結果,實現連接兩個裝置的便利及安全方式。Based on the above, the user can only activate the second electronic device 24 (eg, a wearable device) and place it on the first electronic device 22 (eg, a mobile phone), and then the two devices will automatically Connect with each other. As a result, a convenient and safe way to connect the two devices is achieved.

本案另提供一種非暫態電腦可讀記錄媒體,其中記錄電腦程式,該電腦程式是用以執行上述藉由振動建立無線連接的方法的各個步驟,此電腦程式是由多數個程式碼片段所組成的(例如建立組織圖程式碼片段、簽核表單程式碼片段、設定程式碼片段、以及部署程式碼片段),並且這些程式碼片段在載入電子裝置中並執行之後,即可完成上述方法的步驟。This case also provides a non-transitory computer-readable recording medium in which a computer program is recorded. The computer program is used to perform each step of the method for establishing a wireless connection by vibration. The computer program is composed of a plurality of code fragments. (Such as creating organization chart code snippets, signing form code snippets, setting up code snippets, and deploying code snippets), and these code snippets can be loaded into an electronic device and executed to complete the method described above. step.

基於上文,在藉由振動建立無線連接的方法、電子裝置和記錄媒體中,具有特殊模式的振動被用以作為識別待連接的電子裝置的配對參考。因此,兩個電子裝置可藉由僅將一個放置於另一個上或將兩個一起放在同一平臺上而自動配對並連接。結果,使用電子裝置的現有元件即可實現簡單且方便的無線連接建立方式。Based on the above, in a method, an electronic device, and a recording medium for establishing a wireless connection by vibration, a vibration having a special pattern is used as a pairing reference to identify the electronic device to be connected. Therefore, two electronic devices can be automatically paired and connected by placing only one on the other or placing the two together on the same platform. As a result, a simple and convenient way to establish a wireless connection can be achieved using existing components of the electronic device.

雖然本案已以實施例揭露如上,然其並非用以限定本案,任何所屬技術領域中具有通常知識者,在不脫離本案的精神和範圍內,當可作些許的更動與潤飾,故本案的保護範圍當視後附的申請專利範圍所界定者為準。Although this case has been disclosed as above with examples, it is not intended to limit this case. Any person with ordinary knowledge in the technical field can make some modifications and retouching without departing from the spirit and scope of this case, so the protection of this case The scope shall be determined by the scope of the attached patent application.

12‧‧‧智慧腕帶12‧‧‧ Smart Wristband

14‧‧‧智慧型手機14‧‧‧ Smartphone

20‧‧‧系統20‧‧‧System

22‧‧‧第一電子裝置22‧‧‧The first electronic device

24‧‧‧第二電子裝置24‧‧‧Second electronic device

222‧‧‧通信模組222‧‧‧Communication Module

224‧‧‧感測裝置224‧‧‧Sensing device

226‧‧‧儲存裝置226‧‧‧Storage device

228‧‧‧處理器228‧‧‧Processor

242‧‧‧通信模組242‧‧‧Communication Module

244‧‧‧振動裝置244‧‧‧Vibration device

246‧‧‧處理器246‧‧‧Processor

S302~S312、S402~S414‧‧‧步驟S302 ~ S312, S402 ~ S414‧‧‧steps

圖1是說明根據本發明的實例的藉由振動建立無線連接的方法的示意圖的實例。 圖2是說明根據本發明的實例的藉由振動建立無線連接的系統的方塊圖。 圖3是說明根據本發明的實例的藉由振動建立無線連接的方法的流程圖。 圖4是說明根據本發明的實例的藉由振動建立無線連接的方法的流程圖。FIG. 1 is an example of a schematic diagram illustrating a method of establishing a wireless connection by vibration according to an example of the present invention. FIG. 2 is a block diagram illustrating a system for establishing a wireless connection by vibration according to an example of the present invention. FIG. 3 is a flowchart illustrating a method of establishing a wireless connection by vibration according to an example of the present invention. FIG. 4 is a flowchart illustrating a method of establishing a wireless connection by vibration according to an example of the present invention.

Claims (17)

一種藉由振動與第二電子裝置建立無線連接的方法,適用於第一電子裝置,所述方法包括: 由所述第一電子裝置掃描至少一個附近的電子裝置; 將配對請求發射到所述至少一個附近的電子裝置中的所述第二電子裝置; 檢測由所述第二電子裝置產生的振動,其中所述振動具有根據響應於接收到所述配對請求而產生的配對碼的模式; 識別所述振動的所述模式以獲得所述配對碼; 將所述所獲得的配對碼發射到所述第二電子裝置;以及 在由所述第二電子裝置確認所述配對碼之後建立與所述第二電子裝置的無線連接。A method for establishing a wireless connection with a second electronic device by vibration, applicable to a first electronic device, the method comprising: scanning at least one nearby electronic device by the first electronic device; and transmitting a pairing request to the at least one The second electronic device in a nearby electronic device; detecting vibration generated by the second electronic device, wherein the vibration has a pattern according to a pairing code generated in response to receiving the pairing request; identifying the Said mode of vibration to obtain said pairing code; transmitting said obtained pairing code to said second electronic device; and establishing a connection with said first electronic device after said pairing code is confirmed by said second electronic device Wireless connection of two electronic devices. 如申請專利範圍第1項所述的建立無線連接的方法,其中由所述第一電子裝置掃描所述至少一個附近的電子裝置的步驟更包括: 響應於檢測到具有與至少一個預定模式中的一個相匹配的特定模式的振動而掃描所述至少一個附近的電子裝置,其中所述振動是由所述第二電子裝置產生。The method for establishing a wireless connection according to item 1 of the scope of patent application, wherein the step of scanning the at least one nearby electronic device by the first electronic device further comprises: Scanning the at least one nearby electronic device with a specific pattern of vibrations, wherein the vibration is generated by the second electronic device. 如申請專利範圍第2項所述的建立無線連接的方法,其中所述特定模式與所述根據所述配對碼的模式相同。The method for establishing a wireless connection according to item 2 of the scope of patent application, wherein the specific mode is the same as the mode according to the pairing code. 如申請專利範圍第1項所述的建立無線連接的方法,其中在將配對請求發射到所述至少一個附近的電子裝置中的所述第二電子裝置的步驟之前,所述方法更包括: 產生包括所述至少一個附近的電子裝置的裝置清單;以及 依序選擇所述裝置清單中的所述至少一個附近的電子裝置中的一個作為所述第二電子裝置。The method of establishing a wireless connection according to item 1 of the patent application scope, wherein before the step of transmitting a pairing request to the second electronic device of the at least one nearby electronic device, the method further includes: generating A device list including the at least one nearby electronic device; and one of the at least one nearby electronic device in the device list is sequentially selected as the second electronic device. 如申請專利範圍第1項所述的建立無線連接的方法,其中在檢測所述振動及識別所述振動的所述模式以獲得所述配對碼的步驟之前,所述方法更包括: 提示請求將所述第一電子裝置及所述第二電子裝置中的一個放置於另一個上,將所述第一電子裝置放置於所述第二電子裝置上,將所述第二電子裝置放置於所述第一電子裝置上,或將所述第一電子裝置及所述第二電子裝置兩個放置於能夠傳播所述振動的同一媒介上的消息。The method for establishing a wireless connection according to item 1 of the scope of patent application, wherein before the steps of detecting the vibration and identifying the pattern of the vibration to obtain the pairing code, the method further includes: prompting to request to One of the first electronic device and the second electronic device is placed on the other, the first electronic device is placed on the second electronic device, and the second electronic device is placed on the A message on the first electronic device, or the first electronic device and the second electronic device are both placed on the same medium capable of transmitting the vibration. 如申請專利範圍第1項所述的建立無線連接的方法,其中藉由所述第一電子裝置識別所述振動的所述模式以獲得所述配對碼的步驟包括: 分析所述振動的振動振幅、振動頻率、振動持續時間中的一或多個以獲得所述配對碼。The method for establishing a wireless connection according to item 1 of the scope of patent application, wherein the step of obtaining the pairing code by identifying the pattern of the vibration by the first electronic device includes: analyzing the vibration amplitude of the vibration One or more of a vibration frequency and a vibration duration to obtain the pairing code. 如申請專利範圍第1項所述的建立無線連接的方法,其中將所述所獲得的配對碼發射到所述第二電子裝置的步驟更包括: 使用公開金鑰加密所述所獲得的配對碼並且將所述加密的配對碼藉由最初在所述掃描步驟中所建立的通信頻道發射到所述第二電子裝置。The method for establishing a wireless connection according to item 1 of the scope of patent application, wherein the step of transmitting the obtained pairing code to the second electronic device further comprises: using a public key to encrypt the obtained pairing code And transmitting the encrypted pairing code to the second electronic device through the communication channel originally established in the scanning step. 如申請專利範圍第1項所述的建立無線連接的方法,其中在由所述第二電子裝置確認所述配對碼之後與所述第二電子裝置建立無線連接的步驟包括: 與所述第二電子裝置交換資料,其中所述交換的資料使用所述第一電子裝置及所述第二電子裝置認可的私密金鑰加密。The method for establishing a wireless connection according to item 1 of the scope of patent application, wherein the step of establishing a wireless connection with the second electronic device after the pairing code is confirmed by the second electronic device includes: The electronic device exchanges data, wherein the exchanged data is encrypted using a private key recognized by the first electronic device and the second electronic device. 一種藉由振動建立無線連接的電子裝置,所述電子裝置包括: 通信模組,與至少一個附近的電子裝置通信; 感測裝置,檢測振動; 儲存裝置,儲存程式;以及 處理器,耦接所述通信模組、所述感測裝置以及所述儲存裝置並且被配置成執行所述儲存裝置中的所述程式以執行: 使用所述通信模組掃描所述至少一個附近的電子裝置; 使用所述通信模組將配對請求發射到所述至少一個附近的電子裝置中的第二電子裝置; 使用所述感測裝置檢測由所述第二電子裝置產生的所述振動,其中所述振動具有根據響應於接收到所述配對請求所產生的配對碼的模式; 識別所述振動的所述模式以獲得所述配對碼; 使用所述通信模組將所述所獲得的配對碼發射到所述第二電子裝置;以及 在所述第二電子裝置確認所述配對碼之後,使用所述通信模組與所述第二電子裝置建立無線連接。An electronic device that establishes a wireless connection through vibration, the electronic device includes: a communication module that communicates with at least one nearby electronic device; a sensing device that detects vibration; a storage device that stores a program; and a processor that is coupled to the office The communication module, the sensing device, and the storage device are configured to execute the program in the storage device to execute: use the communication module to scan the at least one nearby electronic device; use the The communication module transmits a pairing request to a second electronic device of the at least one nearby electronic device; using the sensing device to detect the vibration generated by the second electronic device, wherein the vibration has a basis In response to receiving a pattern of a pairing code generated by the pairing request; identifying the pattern of the vibration to obtain the pairing code; transmitting the obtained pairing code to the first using the communication module Two electronic devices; and after the second electronic device confirms the pairing code, using the communication module and the second electronic device Establish a wireless connection. 如申請專利範圍第9項所述的建立無線連接的電子裝置,其中所述處理器包括響應於所述感測裝置檢測到具有與至少一個預定模式中的一個相匹配的特定模式的振動而掃描所述至少一個附近的電子裝置,其中所述振動是由所述第二電子裝置產生的。The electronic device for establishing a wireless connection according to item 9 of the patent application scope, wherein the processor includes scanning in response to the sensing device detecting a vibration having a specific pattern matching one of at least one predetermined pattern The at least one nearby electronic device, wherein the vibration is generated by the second electronic device. 如申請專利範圍第10項所述的建立無線連接的電子裝置,其中所述特定模式與所述根據所述配對碼的模式相同。The electronic device for establishing a wireless connection according to item 10 of the scope of patent application, wherein the specific mode is the same as the mode according to the pairing code. 如申請專利範圍第10項所述的建立無線連接的電子裝置,其中所述處理器包括產生包括所述至少一個附近的電子裝置的裝置清單,且依序選擇所述裝置清單中的所述至少一個附近的電子裝置中的一個作為所述第二電子裝置。The electronic device for establishing a wireless connection as described in claim 10, wherein the processor includes generating a device list including the at least one nearby electronic device, and sequentially selecting the at least one of the device list One of the nearby electronic devices serves as the second electronic device. 如申請專利範圍第10項所述的建立無線連接的電子裝置,其中所述處理器更提示請求將所述第一電子裝置及所述第二電子裝置中的一個放置於另一個上,將所述第一電子裝置放置於所述第二電子裝置上,將所述第二電子裝置放置於所述第一電子裝置上,或將所述電子裝置及所述第二電子裝置兩個放置於能夠傳播所述振動的同一媒介上的消息。The electronic device for establishing a wireless connection according to item 10 of the scope of patent application, wherein the processor further prompts to request that one of the first electronic device and the second electronic device be placed on the other, and The first electronic device is placed on the second electronic device, the second electronic device is placed on the first electronic device, or both the electronic device and the second electronic device are Spread the message on the same medium as the vibration. 如申請專利範圍第10項所述的建立無線連接的電子裝置,其中所述處理器包括分析所述振動的振動振幅、振動頻率、振動持續時間中的一或多個以獲得所述配對碼。The electronic device for establishing a wireless connection as described in claim 10, wherein the processor includes analyzing one or more of a vibration amplitude, a vibration frequency, and a vibration duration of the vibration to obtain the pairing code. 如申請專利範圍第10項所述的建立無線連接的電子裝置,其中所述處理器包括使用公開金鑰加密所述所獲得的配對碼並藉由最初由所述通信模組建立的通信頻道將所述加密的配對碼發射到所述第二電子裝置。The electronic device for establishing a wireless connection as described in claim 10, wherein the processor includes encrypting the obtained pairing code using a public key and using a communication channel originally established by the communication module to The encrypted pairing code is transmitted to the second electronic device. 如申請專利範圍第10項所述的建立無線連接的電子裝置,其中所述處理器包括藉由所述無線連接與所述第二電子裝置交換資料,其中所述交換的資料是使用由所述電子裝置及所述第二電子裝置認可的私密金鑰加密的。The electronic device for establishing a wireless connection according to item 10 of the patent application scope, wherein the processor includes exchanging data with the second electronic device through the wireless connection, wherein the exchanged data is obtained by using the The electronic device and the private key recognized by the second electronic device are encrypted. 一種非暫時性電腦可讀記錄媒體,其記錄由電子裝置載入的程式,從而執行如下步驟: 掃描至少一個附近的電子裝置; 將配對請求發射到所述至少一個附近的電子裝置中的第二電子裝置; 檢測由所述第二電子裝置產生的振動,其中所述振動具有根據響應於接收到所述配對請求而產生的配對碼的模式; 識別所述振動的所述模式以獲得所述配對碼; 將所述所獲得的配對碼發射到所述第二電子裝置;以及 在由所述第二電子裝置確認所述配對碼之後建立與所述第二電子裝置的無線連接。A non-transitory computer-readable recording medium records a program loaded by an electronic device to perform the following steps: scanning at least one nearby electronic device; and transmitting a pairing request to a second one of the at least one nearby electronic device An electronic device; detecting a vibration generated by the second electronic device, wherein the vibration has a pattern according to a pairing code generated in response to receiving the pairing request; identifying the pattern of the vibration to obtain the pairing Transmitting the obtained pairing code to the second electronic device; and establishing a wireless connection with the second electronic device after the pairing code is confirmed by the second electronic device.
TW106138066A 2016-11-04 2017-11-03 Method, electronic device and recording medium for establishing a wireless connection by vibration TWI647967B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201662417331P 2016-11-04 2016-11-04
US62/417,331 2016-11-04

Publications (2)

Publication Number Publication Date
TW201818773A TW201818773A (en) 2018-05-16
TWI647967B true TWI647967B (en) 2019-01-11

Family

ID=62065006

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106138066A TWI647967B (en) 2016-11-04 2017-11-03 Method, electronic device and recording medium for establishing a wireless connection by vibration

Country Status (3)

Country Link
US (1) US10616941B2 (en)
CN (1) CN108024011B (en)
TW (1) TWI647967B (en)

Families Citing this family (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109069712A (en) 2016-05-13 2018-12-21 史密夫及内修公开有限公司 Enable the wound monitoring and therapy devices of sensor
US11324424B2 (en) 2017-03-09 2022-05-10 Smith & Nephew Plc Apparatus and method for imaging blood in a target region of tissue
US11690570B2 (en) 2017-03-09 2023-07-04 Smith & Nephew Plc Wound dressing, patch member and method of sensing one or more wound parameters
CA3059516A1 (en) 2017-04-11 2018-10-18 Smith & Nephew Plc Component positioning and stress relief for sensor enabled wound dressings
US11791030B2 (en) 2017-05-15 2023-10-17 Smith & Nephew Plc Wound analysis device and method
AU2018288530B2 (en) 2017-06-23 2024-03-28 Smith & Nephew Plc Positioning of sensors for sensor enabled wound monitoring or therapy
GB201804502D0 (en) 2018-03-21 2018-05-02 Smith & Nephew Biocompatible encapsulation and component stress relief for sensor enabled negative pressure wound therapy dressings
GB201809007D0 (en) 2018-06-01 2018-07-18 Smith & Nephew Restriction of sensor-monitored region for sensor-enabled wound dressings
AU2018312883A1 (en) 2017-08-10 2020-02-20 Smith & Nephew Plc Positioning of sensors for sensor enabled wound monitoring or therapy
GB201718870D0 (en) 2017-11-15 2017-12-27 Smith & Nephew Inc Sensor enabled wound therapy dressings and systems
GB201804971D0 (en) 2018-03-28 2018-05-09 Smith & Nephew Electrostatic discharge protection for sensors in wound therapy
WO2019048624A1 (en) 2017-09-10 2019-03-14 Smith & Nephew Plc Systems and methods for inspection of encapsulation and components in sensor equipped wound dressings
GB201718859D0 (en) 2017-11-15 2017-12-27 Smith & Nephew Sensor positioning for sensor enabled wound therapy dressings and systems
WO2019063481A1 (en) 2017-09-27 2019-04-04 Smith & Nephew Plc Ph sensing for sensor enabled negative pressure wound monitoring and therapy apparatuses
EP3687396A1 (en) 2017-09-28 2020-08-05 Smith & Nephew plc Neurostimulation and monitoring using sensor enabled wound monitoring and therapy apparatus
CN111343950A (en) 2017-11-15 2020-06-26 史密夫及内修公开有限公司 Integrated wound monitoring and/or therapy dressing and system implementing sensors
US10405165B2 (en) * 2017-11-22 2019-09-03 Microsoft Technology Licensing, Llc Quick pair
WO2019162272A1 (en) 2018-02-21 2019-08-29 T.J.Smith And Nephew, Limited Monitoring of body loading and body position for the treatment of pressure ulcers or other injuries
US20190350021A1 (en) 2018-05-14 2019-11-14 Honeywell International Inc. Physical contact detection for device pairing
EP3804452A1 (en) 2018-06-04 2021-04-14 T.J. Smith & Nephew, Limited Device communication management in user activity monitoring systems
US10917180B2 (en) 2018-07-24 2021-02-09 Comcast Cable Communications, Llc Controlling vibration output from a computing device
GB2592508B (en) 2018-09-12 2022-08-31 Smith & Nephew Device, apparatus and method of determining skin perfusion pressure
GB201820927D0 (en) 2018-12-21 2019-02-06 Smith & Nephew Wound therapy systems and methods with supercapacitors
US11265656B2 (en) 2019-12-10 2022-03-01 Starkey Laboratories, Inc. Pairing system and method for ear-worn devices
CN111246458B (en) * 2020-01-08 2024-02-27 广东小天才科技有限公司 Secure pairing method and device of wearable device, electronic book device and storage medium
CN114339710A (en) * 2020-10-09 2022-04-12 华为技术有限公司 Wireless connection method and device, electronic equipment and readable storage medium
CN115211820A (en) * 2021-04-15 2022-10-21 Oppo广东移动通信有限公司 Awakening method and device of electronic accessory, wearable device and electronic accessory
CN113132963B (en) * 2021-04-20 2022-09-06 合肥星空物联信息科技有限公司 Pairing method suitable for intelligent skipping rope

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060094402A1 (en) * 2004-11-03 2006-05-04 Samsung Electronics Co., Ltd. Security monitoring method in bluetooth device
US20120190299A1 (en) * 2011-01-25 2012-07-26 Sony Ericsson Mobile Communications Japan, Inc. Connection method for near field communication
US20150198939A1 (en) * 2014-01-13 2015-07-16 Barbara Ander System and Method for Alerting a User

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008039561A (en) * 2006-08-04 2008-02-21 Nec Saitama Ltd Information communication terminal with acceleration sensor
US9467850B2 (en) * 2007-12-31 2016-10-11 Intel Corporation Handheld device association via shared vibration
CN102204225B (en) * 2008-09-05 2013-12-11 Sk电信有限公司 Mobile communication terminal that delivers vibration information, and method thereof
US20100278345A1 (en) * 2009-05-04 2010-11-04 Thomas Matthieu Alsina Method and apparatus for proximity based pairing of mobile devices
KR101718091B1 (en) 2011-02-01 2017-04-04 삼성전자주식회사 Apparatus and method for bidirectional pairing between devices
CN103178875B (en) 2011-12-20 2016-09-14 国民技术股份有限公司 A kind of communication apparatus, communication system and method being realized communication by contact
US9131333B2 (en) 2011-12-30 2015-09-08 Linkedin Corporation Systems and methods for mobile device pairing
TWI547808B (en) 2012-04-20 2016-09-01 緯創資通股份有限公司 Information exchange method and information exchange system
JP6331528B2 (en) * 2014-03-17 2018-05-30 株式会社リコー Authentication system and authentication method
WO2017054103A1 (en) * 2015-09-28 2017-04-06 Intel Corporation Pairing electronic devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060094402A1 (en) * 2004-11-03 2006-05-04 Samsung Electronics Co., Ltd. Security monitoring method in bluetooth device
US20120190299A1 (en) * 2011-01-25 2012-07-26 Sony Ericsson Mobile Communications Japan, Inc. Connection method for near field communication
US20150198939A1 (en) * 2014-01-13 2015-07-16 Barbara Ander System and Method for Alerting a User

Also Published As

Publication number Publication date
CN108024011A (en) 2018-05-11
CN108024011B (en) 2020-07-31
US10616941B2 (en) 2020-04-07
US20180132287A1 (en) 2018-05-10
TW201818773A (en) 2018-05-16

Similar Documents

Publication Publication Date Title
TWI647967B (en) Method, electronic device and recording medium for establishing a wireless connection by vibration
EP2290846B1 (en) Wireless device monitoring system
KR101491392B1 (en) Indirect device communication
US9509515B2 (en) Method and apparatus for registering devices capable of device-to-device communication in server
KR20180030642A (en) METHOD, APPARATUS AND SYSTEM FOR PROCESSING ORDER INFORMATION
US9071330B2 (en) Peer-to-peer communication initiated by shared physical experience
CN106255102B (en) Terminal equipment identification method and related equipment
CN108763895B (en) Image processing method and device, electronic equipment and storage medium
CN106550361B (en) Data transmission method, equipment and computer readable storage medium
JP5811274B2 (en) Terminal device, communication method, program, and communication system
JP6509331B2 (en) Information transmission method, apparatus and system
JP6544950B2 (en) Authentication support system
CN107480495B (en) Unlocking method of mobile terminal and related product
CN106060098A (en) Processing method, processing device and processing system for verification codes
RU2693920C1 (en) Establishing a secret shared between a first communication device and at least one second communication device
JP6486228B2 (en) Communication apparatus, control method, and program
JP2016032280A (en) Communication device, control method thereof, and program
CN106066965B (en) Encryption method, encryption device and encryption system
JP6582477B2 (en) Wireless communication apparatus, wireless communication method and program
US20170265209A1 (en) Control apparatus, terminal apparatus and position verification system
JP6071745B2 (en) Wireless communication network construction terminal, wireless communication network participation terminal, wireless communication system, wireless communication method, and program
EP3040918A1 (en) System for locating of lost items
JP6064709B2 (en) Wireless communication terminal, wireless communication method, and program
KR101592070B1 (en) Method for Security Relaying by using Code Image
Arno et al. Vibration-based Key Exchange among Multiple Smart Devices on the Desk