TWI571158B - Communication method and networked device for establishing p2p connections with nfc module - Google Patents

Communication method and networked device for establishing p2p connections with nfc module Download PDF

Info

Publication number
TWI571158B
TWI571158B TW104133896A TW104133896A TWI571158B TW I571158 B TWI571158 B TW I571158B TW 104133896 A TW104133896 A TW 104133896A TW 104133896 A TW104133896 A TW 104133896A TW I571158 B TWI571158 B TW I571158B
Authority
TW
Taiwan
Prior art keywords
connection
network
near field
field communication
communication module
Prior art date
Application number
TW104133896A
Other languages
Chinese (zh)
Other versions
TW201714477A (en
Inventor
曾羽平
Original Assignee
物聯智慧科技(深圳)有限公司
物聯智慧股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 物聯智慧科技(深圳)有限公司, 物聯智慧股份有限公司 filed Critical 物聯智慧科技(深圳)有限公司
Priority to TW104133896A priority Critical patent/TWI571158B/en
Application granted granted Critical
Publication of TWI571158B publication Critical patent/TWI571158B/en
Publication of TW201714477A publication Critical patent/TW201714477A/en

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Description

利用近場通訊模組建立點對點連線之通訊方法及其連網裝置 Communication method for establishing point-to-point connection by using near field communication module and network device thereof

本發明係關於一種建立點對點連線之通訊方法及其連網裝置,尤指一種利用近場通訊模組建立點對點連線之通訊方法及其連網裝置。 The invention relates to a communication method for establishing a point-to-point connection and a network connection device thereof, in particular to a communication method for establishing a point-to-point connection using a near field communication module and a network connection device thereof.

隨著科技進步與網路的普及,網路已變成現代人生活中不可或缺的一部分。目前市面上、家庭中、辦公處所或公共場所中,都有越來越多的電子裝置可連接網路,藉以提供使用者更方便的操作或利用方式。 With the advancement of technology and the popularity of the Internet, the Internet has become an indispensable part of modern life. At present, more and more electronic devices are connected to the network in the market, in the home, in the office or in the public places, so as to provide a more convenient operation or utilization mode for the user.

以往,連網裝置在安裝時需搭配網路線的配線設置。越來越多的連網裝置導致網路配線越來越複雜,而實體線路的擴充,除了需增加硬體設施(例如集線器)之外,線路的安排與鋪設需要花費更多的時間與精神。 In the past, the networked device was installed with the wiring settings of the network route. More and more networked devices have become more and more complicated for network wiring, and the expansion of physical lines requires more time and effort than the addition of hardware facilities (such as hubs).

為了解決配線的問題,目前業界多使用無線網路技術。利用無線路由器建立一無線區域網路,於連網裝置中設置無線網路模組,並與無線路由器建立連線即可正常運作。 In order to solve the wiring problem, the wireless network technology is currently used in the industry. A wireless router is used to establish a wireless local area network, and a wireless network module is set in the networked device, and a connection is established with the wireless router to operate normally.

連網裝置連接無線網路後,使用者若欲與連網裝置進行點對點連線,尚需取得連網裝置的唯一識別碼。一般而言,為了方便使用者取得唯一識別碼,連網裝置的生產廠商通常會將唯一識別碼標示於連網裝置 的外殼。使用者完成連網裝置的裝設之後,只需在電腦或智慧型手機輸入連網裝置的唯一識別碼,即可透過連線伺服器與連網裝置進行點對點連線。 After the networked device is connected to the wireless network, if the user wants to connect to the networked device point-to-point, it is necessary to obtain the unique identification code of the networked device. In general, in order to facilitate the user to obtain a unique identification code, the manufacturer of the networked device usually marks the unique identification code on the networked device. The outer shell. After the user completes the installation of the networked device, it is only necessary to input the unique identification code of the networked device on the computer or the smart phone, and the connection server can be connected to the network device through the connection point.

但,這種唯一識別碼的標示方式為開放式標示,只要是能接近連網裝置的人,即可取得其唯一識別碼,並可與之進行點對點連線,因此具有安全上的疑慮。 However, the unique identification code is marked with an open type. As long as it is close to the networked device, it can obtain its unique identification code and can be connected point-to-point with it, thus having security concerns.

此外,使用無線網路之連網裝置於安裝時,需先使用網路線連接電腦,利用電腦開啟連網裝置內建的網頁介面,藉以設定無線網路的連線資訊。若連網裝置未設置網路插孔,則其內建無線網路模組需具備WiFi Direct/WPS等機制。安裝者需先將連網裝置設定在WiFi Direct/WPS模式,使用具有無線網路功能的電腦,以無線網路依連網裝置說明書之設定指示連接連網裝置,再開啟連網裝置內建的網頁介面進行設定。 In addition, when using the wireless network connection device, you need to use the network route to connect to the computer, and use the computer to open the web interface built into the network device to set the connection information of the wireless network. If the network device does not have a network jack, the built-in wireless network module needs to have a mechanism such as WiFi Direct/WPS. The installer needs to set the networked device in WiFi Direct/WPS mode, use the computer with wireless network function, connect the networked device with the setting instructions of the wireless network dependent network device manual, and then open the built-in network device. The web interface is set.

前述使用具有無線網路功能之連網裝置,雖然可解決網路線配線施工的問題,但要令連網裝置連接無線網路,不僅連網裝置需要設置額外的硬體支援,還需進行複雜的程序與設定才能完成。 Although the above-mentioned networked device with wireless network function can solve the problem of network route wiring construction, in order to connect the networked device to the wireless network, not only the network device needs to be provided with additional hardware support, but also requires complicated The program and settings can be completed.

因此,如何設計一種安裝及設定方便快速,並可提高安全性,且可降低總體成本的系統、方法及裝置,實為業界亟待解決的課題。 Therefore, how to design a system, method and device that is convenient and quick to install and set, can improve safety, and can reduce the overall cost is an urgent problem to be solved in the industry.

本發明之一目的,在於提供一種建立點對點連線之通訊方法及其連網裝置,利用近場通訊模組傳送唯一識別碼,可快速完成安裝、設定並進行點對點連線。 An object of the present invention is to provide a communication method for establishing a point-to-point connection and a network connection device thereof, which can transmit, set and perform point-to-point connection quickly by transmitting a unique identification code by using a near field communication module.

本發明之又一目的,在於提供一種利用近場通訊模組建立點對點連線之通訊方法及其連網裝置,尤指一種利用近場通訊模組建立點對 點連線之通訊方法及其連網裝置,其安裝及設定方便快速,並可提高安全性,且可降低總體成本。 Another object of the present invention is to provide a communication method for establishing a point-to-point connection by using a near field communication module and a network connection device thereof, and more particularly, to establish a point pair by using a near field communication module. The point-to-line communication method and its networking device are convenient and quick to install and set, and can improve safety and reduce overall cost.

為達成上述目的,本發明提供一種利用近場通訊模組建立點對點連線之通訊方法,包含:令一連網裝置經由一網際網路連線至一連線伺服器,並由該連線伺服器登錄該連網裝置之一唯一識別碼於該連線伺服器之一連網裝置列表中;令一用戶裝置之一近場通訊模組與該連網裝置之一近場通訊模組建立通訊通道,使該用戶裝置取得該連網裝置之一唯一識別碼;該用戶裝置經由該網際網路傳送包含該唯一識別碼之一連線請求訊號至該連線伺服器;該連線伺服器接收該連線請求訊號並取得該唯一識別碼,根據該連網裝置列表,通知對應於該唯一識別碼之該連網裝置;該連網伺服器將該用戶裝置之一連線資訊傳送至該連網裝置,並將該連網裝置之一連線資訊傳送至該用戶裝置;及該用戶裝置與該連網裝置通過所得之該連線資訊進行點對點連線。 In order to achieve the above object, the present invention provides a communication method for establishing a point-to-point connection by using a near field communication module, which comprises: connecting a network device to a connection server via an internet connection, and the connection server Locating one of the networked devices with a unique identification code in a list of networked devices of the connection server; establishing a communication channel between a near field communication module of one of the user devices and a near field communication module of the networked device; Having the user device obtain a unique identification code of the networked device; the user device transmits a connection request signal including the unique identification code to the connection server via the Internet; the connection server receives the connection Line requesting a signal and obtaining the unique identification code, and notifying the networked device corresponding to the unique identification code according to the networked device list; the networked server transmitting the connection information of one of the user devices to the networked device And transmitting, by the user equipment, the connection information to the user equipment; and the user equipment and the network connection device perform point-to-point connection through the obtained connection information.

在本發明之一實施例中,其中該連網裝置經由該網際網路連線至該連線伺服器之步驟包含有:該用戶裝置取得一無線路由器之一服務設定識別碼;該用戶裝置之該近場通訊模組與該連網裝置之該近場通訊模組建立連線並取得該連網裝置之該唯一識別碼時,該用戶裝置將該服務設定識別碼傳送至該連網裝置;及該連網裝置根據所接收之該服務設定識別碼與該無線路由器進行連線,並經由該網際網路連線至該連線伺服器。 In an embodiment of the present invention, the step of connecting the network device to the connection server via the Internet includes: the user device obtaining a service setting identifier of a wireless router; the user device When the near field communication module establishes a connection with the near field communication module of the networked device and obtains the unique identification code of the networked device, the user device transmits the service setting identification code to the networked device; And the network device is connected to the wireless router according to the received service setting identifier, and is connected to the connection server via the Internet.

本發明尚提供一種利用近場通訊模組建立點對點連線之連網裝置,包含:一處理單元,用以控制該連網裝置之運作,並執行網路連線,及連線至一連線伺服器,並傳送該連網裝置之一唯一識別碼到該連線 伺服器;一近場通訊模組,用以提供近場通訊功能,該近場通訊模組可傳送該唯一識別碼至具有近場通訊功能之一用戶裝置;及一網路介面模組,連接該處理單元,用以提供網路連線功能。 The invention further provides a network connection device for establishing a point-to-point connection by using a near field communication module, comprising: a processing unit for controlling the operation of the network connection device, performing network connection, and connecting to a connection a server and transmitting a unique identification code of the network device to the connection a near field communication module for providing a near field communication function, the near field communication module transmitting the unique identification code to a user device having a near field communication function; and a network interface module, connecting The processing unit is configured to provide a network connection function.

在本發明之一實施例中,其中該網路介面模組為一無線網路模組;該近場通訊模組連接該處理單元,可接收該用戶裝置傳送之一無線路由器之一服務設定識別碼,該處理單元以該服務設定識別碼透過該網路介面模組執行與該無線路由器之網路連線,並藉由該無線路由器連接一網際網路及該連線伺服器。 In an embodiment of the invention, the network interface module is a wireless network module; the near field communication module is connected to the processing unit, and can receive a service setting identification of one of the wireless routers transmitted by the user device. The processing unit performs a connection with the wireless router through the network interface module by using the service setting identifier, and connects an internet network and the connection server by using the wireless router.

101‧‧‧連網裝置連接連線伺服器並登錄網路位址及UID 101‧‧‧ Networking device connected to the connection server and log in to the network address and UID

103‧‧‧用戶裝置靠近連網裝置利用NFC模組取得UID 103‧‧‧User device close to the network device to obtain UID using NFC module

105‧‧‧用戶裝置通過網際網路傳送連線請求訊號至連線伺服器 105‧‧‧User device transmits connection request signal to the connection server via the Internet

107‧‧‧連線伺服器根據UID通知連網裝置,並傳送連線資訊至連網裝置及用戶裝置 107‧‧‧The connection server notifies the network connection device according to the UID, and transmits the connection information to the network connection device and the user device.

109‧‧‧用戶裝置與連網裝置利用所得的連線資訊進行點對點連線 109‧‧‧User equipment and network equipment use the connection information to make point-to-point connection

201‧‧‧連線伺服器 201‧‧‧Connected server

203‧‧‧連網裝置列表 203‧‧‧List of networked devices

24‧‧‧網際網路 24‧‧‧Internet

26‧‧‧連網裝置 26‧‧‧Networking device

261‧‧‧近場通訊模組 261‧‧‧ Near Field Communication Module

268‧‧‧通訊通道 268‧‧‧Communication channel

28‧‧‧用戶裝置 28‧‧‧User device

281‧‧‧近場通訊模組 281‧‧‧ Near Field Communication Module

283‧‧‧連線設定模組 283‧‧‧Connection setting module

301‧‧‧取得無線路由器之SSID及密碼 301‧‧‧Get the SSID and password of the wireless router

303‧‧‧利用NFC模組傳送SSID及密碼並取得UID 303‧‧‧Using the NFC module to transmit the SSID and password and obtain the UID

305‧‧‧連網裝置與無線路由器連線並連接網際網路 305‧‧‧Connected devices connected to wireless routers and connected to the Internet

307‧‧‧連網裝置連接連線伺服器並登錄網路位址及UID 307‧‧‧Connected device connected to the connection server and logged in to the network address and UID

309‧‧‧用戶裝置通過網際網路傳送連線請求訊號至連線伺服器 309‧‧‧User device transmits connection request signal to the connection server via the Internet

311‧‧‧連線伺服器根據UID通知連網裝置,並傳送連線資訊至連網裝置及用戶裝置 311‧‧‧Connected server notifies the networked device according to the UID, and transmits the connection information to the networked device and user device

313‧‧‧用戶裝置與連網裝置利用所得的連線資訊進行點對點連線 313‧‧‧User devices and network devices use the connection information to make point-to-point connections

42‧‧‧無線路由器 42‧‧‧Wireless Router

421‧‧‧訊號涵蓋範圍 421‧‧‧ Signal coverage

46‧‧‧連網裝置 46‧‧‧Networking device

463‧‧‧無線網路模組 463‧‧‧Wireless network module

468‧‧‧通訊通道 468‧‧‧Communication channel

50‧‧‧連網裝置 50‧‧‧Networking device

52‧‧‧處理單元 52‧‧‧Processing unit

54‧‧‧近場通訊模組 54‧‧‧ Near Field Communication Module

541‧‧‧唯一識別碼 541‧‧‧ unique identification code

543‧‧‧記憶單元 543‧‧‧ memory unit

56‧‧‧網路介面模組 56‧‧‧Network Interface Module

58‧‧‧記憶體 58‧‧‧ memory

第1圖:係本發明建立點對點連線之通訊方法一實施例之流程圖。 Fig. 1 is a flow chart showing an embodiment of a communication method for establishing a point-to-point connection according to the present invention.

第2圖:係應用本發明之系統配置一實施例之示意圖。 Figure 2 is a schematic illustration of an embodiment of a system configuration in which the present invention is applied.

第3圖:係本發明建立點對點連線之通訊方法另一實施例之流程圖。 Figure 3 is a flow chart showing another embodiment of the communication method for establishing a point-to-point connection according to the present invention.

第4圖:係應用本發明之系統配置另一實施例之示意圖。 Figure 4 is a schematic illustration of another embodiment of a system configuration in which the present invention is applied.

第5圖:係本發明連網裝置一實施例之構造示意圖。 Fig. 5 is a schematic view showing the construction of an embodiment of the networked device of the present invention.

請參閱第1圖及第2圖,分別為本發明利用近場通訊模組建立點對點連線之通訊方法一實施例之流程圖及應用本發明之系統配置之示意圖。 Please refer to FIG. 1 and FIG. 2 , which are respectively a flowchart of an embodiment of a communication method for establishing a point-to-point connection by using a near field communication module, and a schematic diagram of a system configuration to which the present invention is applied.

本發明利用近場通訊模組建立點對點連線之通訊方法,首先令一連網裝置26經由網際網路24連線至一連線伺服器201,並於連線伺服器201之連網裝置列表203中登錄其唯一識別碼,如步驟101。在本發明之一實 施例中,該連網裝置26於連網裝置列表203中登錄之資訊尚包含有其網路位址。 The present invention utilizes a near field communication module to establish a point-to-point communication method. First, a network device 26 is connected to a connection server 201 via the Internet 24, and is connected to the network connection device 203 of the connection server 201. Log in to its unique identifier, as in step 101. In one of the present inventions In the embodiment, the information registered by the networking device 26 in the network device list 203 still includes its network address.

令用戶裝置28靠近連網裝置26,並利用用戶裝置28之近場通訊模組281與連網裝置26之近場通訊模組261建立連線,然後取得連網裝置26之唯一識別碼(UID),如步驟103。用戶裝置28取得連網裝置26之唯一識別碼後,可於連接網際網路24時,通過網際網路24傳送包含有該唯一識別碼之一連線請求訊號至連線伺服器201,如步驟105。在本發明之一實施例中,該連網裝置26設有一安全密碼,用以提高連線的安全性。當用戶裝置28欲與連網裝置26建立點對點連線時,需輸入該安全密碼,經驗證無誤後,才可建立點對點連線。在本發明之一實施例中,用戶裝置28於取得該唯一識別碼時,可同時取得該安全密碼。前述令用戶裝置28靠近連網裝置26,係指令兩者處於近場通訊(NFC)模組之感應範圍內。 The user device 28 is brought close to the network device 26, and the near field communication module 281 of the network device 26 is used to establish a connection with the near field communication module 261 of the network device 26, and then the unique identification code (UID) of the network device 26 is obtained. ), as in step 103. After the user device 28 obtains the unique identification code of the network connection device 26, when the Internet device 24 is connected, the connection information signal including the one of the unique identification codes is transmitted to the connection server 201 through the Internet 24, as steps. 105. In an embodiment of the invention, the networking device 26 is provided with a security code to improve the security of the connection. When the user device 28 wants to establish a point-to-point connection with the network connection device 26, the security password needs to be input, and after the verification is correct, the point-to-point connection can be established. In an embodiment of the present invention, when the user device 28 obtains the unique identification code, the security password can be obtained at the same time. The proximity of the user device 28 to the networking device 26 is such that both are within the sensing range of the Near Field Communication (NFC) module.

在本發明之一實施例中,連網裝置26之安全密碼可與唯一識別碼一起儲存於該近場通訊模組261或連網裝置26之記憶體中。當用戶裝置28靠近連網裝置26時,可利用近場通訊模組281及261建立通訊通道(即兩近場通訊模組形成連線),並取得該唯一識別碼與安全密碼,供建立點對點連線使用。 In an embodiment of the present invention, the security code of the network device 26 can be stored in the memory of the near field communication module 261 or the network device 26 together with the unique identification code. When the user device 28 is close to the network device 26, the near field communication modules 281 and 261 can be used to establish a communication channel (ie, the two near field communication modules form a connection), and the unique identification code and the security password are obtained for establishing a point-to-point connection. Connected to use.

連線伺服器201接收連線請求訊號並取得該唯一識別碼後,根據該唯一識別碼查詢連網裝置列表203,取得對應該唯一識別碼之連網裝置26之網路位址,通知該連網裝置26該用戶裝置28的連線請求,將用戶裝置28之連線資訊傳送至連網裝置26,並將連網裝置26之連線資訊傳送至用戶裝置28,如步驟107。用戶裝置28與連網裝置26即可利用所得之連線資訊 進行點對點(peer-to-peer,P2P)連線,如步驟109。 After receiving the connection request signal and obtaining the unique identification code, the connection server 201 queries the networked device list 203 according to the unique identification code, obtains the network address of the network device 26 corresponding to the unique identification code, and notifies the connection The network device 26 requests the connection of the user device 28 to transmit the connection information of the user device 28 to the network device 26, and transmits the connection information of the network device 26 to the user device 28, as shown in step 107. The user device 28 and the networking device 26 can utilize the obtained connection information. Perform a peer-to-peer (P2P) connection, as in step 109.

在本發明之一實施例中,用戶裝置28之連線資訊包含用戶裝置28之網路位址,連網裝置26之連線資訊包含連網裝置26之網路位址。 In an embodiment of the invention, the connection information of the user device 28 includes the network address of the user device 28, and the connection information of the network device 26 includes the network address of the network device 26.

在本發明之一實施例中,當連網裝置26與用戶裝置28分別位於不同的區域網路時,連線伺服器201接收用戶裝置28所傳送的連線請求訊號後,執行打洞(hole punching)技術,分別傳送打洞連線訊號至連網裝置26與用戶裝置28。用戶裝置28與連網裝置26即可利用打洞連線訊號中所包含的連線資訊進行點對點連線。 In an embodiment of the present invention, when the networking device 26 and the user device 28 are respectively located in different regional networks, the connection server 201 receives the connection request signal transmitted by the user device 28, and performs hole punching (hole The punching technology transmits the hole connection signal to the networking device 26 and the user device 28, respectively. The user device 28 and the networking device 26 can perform point-to-point connection by using the connection information included in the hole connection signal.

請參閱第3圖及第4圖,分別為本發明利用近場通訊模組建立點對點連線之通訊方法另一實施例之流程圖及利用本發明之系統配置另一實施例之示意圖。本實施例之方法與系統配置適用於連網裝置46具有無線網路模組463而尚未連接網路之狀態。 Please refer to FIG. 3 and FIG. 4, which are respectively a flow chart of another embodiment of a communication method for establishing a point-to-point connection by using a near field communication module, and a schematic diagram of another embodiment of a system configuration using the present invention. The method and system configuration of this embodiment is applicable to the state in which the networking device 46 has the wireless network module 463 and is not yet connected to the network.

本實施例之通訊方法,首先利用用戶裝置28取得一無線路由器42之服務設定識別碼(SSID),如步驟301。在本發明之一實施例中,該無線路由器42可設定一連線密碼,用以提高無線網路的安全性。使用者可利用用戶裝置28於取得無線路由器42之服務設定識別碼時同時取得連線密碼。 In the communication method of this embodiment, the service setting identifier (SSID) of the wireless router 42 is first obtained by the user device 28, as in step 301. In an embodiment of the invention, the wireless router 42 can set a connection password to improve the security of the wireless network. The user device 28 can simultaneously obtain the connection password when the user device 28 obtains the service setting identifier of the wireless router 42.

令用戶裝置28靠近連網裝置46,並使用戶裝置28之近場通訊模組281與連網裝置46之近場通訊模組261建立通訊通道,然後將無線路由器42之服務設定識別碼傳送至連網裝置46,並取得連網裝置46之唯一識別碼,如步驟303。在本發明之一實施例中,用戶裝置28將無線路由器42之服務設定識別碼傳送至連網裝置46及取得連網裝置46之唯一識別碼之動作, 可選擇為同時或依序進行,不受揭露於同一步驟所限制。 The user device 28 is brought close to the networking device 46, and the near field communication module 281 of the user device 28 establishes a communication channel with the near field communication module 261 of the networking device 46, and then transmits the service setting identification code of the wireless router 42 to The network device 46 is configured to obtain the unique identification code of the network device 46, as in step 303. In an embodiment of the present invention, the user device 28 transmits the service setting identification code of the wireless router 42 to the network connection device 46 and obtains the unique identification code of the network connection device 46. It can be selected to be performed simultaneously or sequentially, and is not limited by the same steps.

連網裝置46取得服務設定識別碼後,根據該服務設定識別碼與無線路由器42建立連線,經由無線路由器42連接網際網路24,如步驟305。連網裝置46連接至網際網路24後,即根據預設之程序連接至連線伺服器201,由連線伺服器201將該連網裝置46之唯一識別碼與網路位址登錄於連線伺服器201之連網裝置列表203中,如步驟307。 After the network connection device 46 obtains the service setting identification code, it establishes a connection with the wireless router 42 according to the service setting identification code, and connects to the Internet 24 via the wireless router 42, as shown in step 305. After the network connection device 46 is connected to the Internet 24, it is connected to the connection server 201 according to a preset program, and the connection server 201 registers the unique identification code of the network connection device 46 with the network address. In the network device list 203 of the line server 201, as in step 307.

用戶裝置28取得連網裝置36之唯一識別碼後,通過網際網路24傳送包含該唯一識別碼之一連線請求訊號至連線伺服器201,如步驟309。連線伺服器201接收連線請求訊號並取得該唯一識別碼後,根據該唯一識別碼查詢連網裝置列表203,取得對應該唯一識別碼之連網裝置46之網路位址,並通知該連網裝置46,連線伺服器201將用戶裝置28之連線資訊傳送至連網裝置46,並將連網裝置46之連線資訊傳送至用戶裝置28,如步驟311。用戶裝置28與連網裝置46即可利用所接收之連線資訊進行點對點連線,如步驟313。 After the user device 28 obtains the unique identification code of the network device 36, it transmits a connection request signal including the unique identification code to the connection server 201 via the Internet 24, as shown in step 309. After receiving the connection request signal and obtaining the unique identification code, the connection server 201 queries the networked device list 203 according to the unique identification code, obtains the network address of the network device 46 corresponding to the unique identification code, and notifies the network address. The networking device 46, the connection server 201 transmits the connection information of the user device 28 to the networking device 46, and transmits the connection information of the networking device 46 to the user device 28, as in step 311. The user device 28 and the networking device 46 can perform point-to-point connection using the received connection information, as in step 313.

在本發明之一實施例中,用戶裝置28可選擇為一電腦、一筆記型電腦、一平板電腦、一智慧型手機、一個人數位助理或一媒體播放器之其中之一。使用者可於用戶裝置28中選擇以軟體、應用程式、韌體或電路模組的方式獲取無線路由器42之服務設定識別碼及密碼,亦可由使用者手動輸入至用戶裝置28中。 In an embodiment of the present invention, the user device 28 can be selected as one of a computer, a notebook computer, a tablet computer, a smart phone, a number of person assistants, or a media player. The user device 28 can select the service setting identifier and password of the wireless router 42 in the form of a software, an application, a firmware or a circuit module, or can be manually input to the user device 28 by the user.

在本發明之一實施例中,連網裝置26、46可選擇為一網路攝影機、一監視器、一收音器、一感測器、一網路硬碟或一智慧家電之其中之一。 In an embodiment of the present invention, the networking device 26, 46 can be selected as one of a network camera, a monitor, a radio, a sensor, a network hard disk, or a smart home appliance.

請參閱第5圖,為本發明利用近場通訊模組建立點對點連線之連網裝置50一實施例之構造示意圖。如圖所示,本發明之連網裝置50包含有一處理單元52、一近場通訊模組54及一網路介面模組56。 Please refer to FIG. 5 , which is a schematic structural diagram of an embodiment of a network connection device 50 for establishing a point-to-point connection using a near field communication module. As shown, the networking device 50 of the present invention includes a processing unit 52, a near field communication module 54 and a network interface module 56.

其中,處理單元52連接網路介面模組56,用以控制連網裝置50之運作,執行網路連線,以及於連接網際網路後連線至連線伺服器,並傳送該連網裝置50之唯一識別碼541到該連線伺服器,由連線伺服器登錄該連網裝置50之唯一識別碼541。近場通訊模組54用以提供近場通訊功能,可於具有近場通訊功能之用戶裝置靠近時,利用近場通訊模組54建立通訊通道(即近場通訊模組之間的連線),並將唯一識別碼541傳送至該用戶裝置。網路介面模組56用以提供網路連線功能。在本發明之一實施例中,該連網裝置50可設置一安全密碼,供用戶裝置連線時進行驗證。 The processing unit 52 is connected to the network interface module 56 for controlling the operation of the network device 50, performing network connection, and connecting to the connection server after connecting to the Internet, and transmitting the network device. A unique identification code 541 of 50 is sent to the connection server, and the connection identifier 541 is registered by the connection server. The near field communication module 54 is configured to provide a near field communication function, and the near field communication module 54 can be used to establish a communication channel (ie, a connection between the near field communication modules) when the user device having the near field communication function approaches. And transmitting the unique identification code 541 to the user device. The network interface module 56 is used to provide network connection functions. In an embodiment of the present invention, the network device 50 can be configured with a security password for verification when the user device is connected.

在本發明之一實施例中,該網路介面模組56為一無線網路模組。該近場通訊模組54連接該處理單元52,可於與用戶裝置之近場通訊模組建立連線時,接收用戶裝置傳送之無線路由器之服務設定識別碼。處理單元52根據近場通訊模組54所接收之服務設定識別碼,控制網路介面模組56與無線路由器建立連線,並藉由無線路由器連接網際網路與連線伺服器。 In an embodiment of the invention, the network interface module 56 is a wireless network module. The near field communication module 54 is connected to the processing unit 52, and can receive the service setting identification code of the wireless router transmitted by the user equipment when establishing a connection with the near field communication module of the user equipment. The processing unit 52 controls the network interface module 56 to establish a connection with the wireless router according to the service setting identifier received by the near field communication module 54, and connects the Internet and the connection server through the wireless router.

在本發明之一實施例中,該連網裝置50可設置一記憶體58,連接處理單元52,用以儲存資料。其中,該連網裝置50之唯一識別碼541與安全密碼可選擇儲存於該近場通訊模組54或該記憶體58中,並於與用戶裝置之近場通訊模組建立連線時,將唯一識別碼541與安全密碼傳送至用戶裝置。其中,該記憶體58為一非揮發性記憶體。 In an embodiment of the present invention, the networking device 50 can be provided with a memory 58 connected to the processing unit 52 for storing data. The unique identification code 541 and the security password of the network device 50 can be stored in the near field communication module 54 or the memory 58 and connected to the near field communication module of the user device. The unique identification code 541 and the secure password are transmitted to the user device. The memory 58 is a non-volatile memory.

在本發明之一實施例中,近場通訊模組54與處理單元52之間 的連接可選擇為電性連接或通訊連接。 In an embodiment of the invention, between the near field communication module 54 and the processing unit 52 The connection can be selected as an electrical connection or a communication connection.

在本發明之一實施例中,近場通訊模組54可設有一儲存單元543,該連網裝置50之唯一識別碼541及安全密碼可儲存於該儲存單元543中。 In an embodiment of the present invention, the near field communication module 54 can be provided with a storage unit 543, and the unique identification code 541 and the security code of the network device 50 can be stored in the storage unit 543.

在本發明之一實施例中,該網路介面模組56可為一有線網路模組。在本實施例中,連網裝置50可經由網路介面模組56直接連接一區域網路或網際網路,並經由該區域網路或網際網路連線至連線伺服器。 In an embodiment of the invention, the network interface module 56 can be a wired network module. In this embodiment, the networking device 50 can be directly connected to a regional network or the Internet via the network interface module 56, and connected to the connection server via the regional network or the Internet.

在本發明之一實施例中,該連網裝置50可選擇為一攝影裝置、一監視器、一收音裝置、一感測器、一儲存裝置及其組合式之其中之一。 In an embodiment of the invention, the networking device 50 can be selected as one of a camera device, a monitor, a sound pickup device, a sensor, a storage device, and a combination thereof.

在本發明之一實施例中,該近場通訊模組54可為一近場通訊晶片。 In an embodiment of the invention, the near field communication module 54 can be a near field communication chip.

以上所述者,僅為本發明之實施例而已,並非用來限定本發明實施之範圍,即凡依本發明申請專利範圍所述之形狀、構造、特徵、方法及精神所為之均等變化與修飾,均應包括於本發明之申請專利範圍內。 The above is only the embodiment of the present invention, and is not intended to limit the scope of the present invention, that is, the equivalent changes and modifications of the shapes, structures, features, methods and spirits described in the claims of the present invention. All should be included in the scope of the patent application of the present invention.

101‧‧‧連網裝置連接連線伺服器並登錄網路位址及UID 101‧‧‧ Networking device connected to the connection server and log in to the network address and UID

103‧‧‧用戶裝置靠近連網裝置利用NFC模組取得UID 103‧‧‧User device close to the network device to obtain UID using NFC module

105‧‧‧用戶裝置通過網際網路傳送連線請求訊號至連線伺服器 105‧‧‧User device transmits connection request signal to the connection server via the Internet

107‧‧‧連線伺服器根據UID通知連網裝置,並傳送連線資訊至連網裝置及用戶裝置 107‧‧‧The connection server notifies the network connection device according to the UID, and transmits the connection information to the network connection device and the user device.

109‧‧‧用戶裝置與連網裝置利用所得的連線資訊進行點對點連線 109‧‧‧User equipment and network equipment use the connection information to make point-to-point connection

Claims (12)

一種利用近場通訊模組建立點對點連線之通訊方法,包含:令一連網裝置經由一網際網路連線至一連線伺服器,並由該連線伺服器登錄該連網裝置之一唯一識別碼於該連線伺服器之一連網裝置列表中;令一用戶裝置之一近場通訊模組與該連網裝置之一近場通訊模組建立通訊通道,使該用戶裝置取得該連網裝置之一唯一識別碼;該用戶裝置經由該網際網路傳送包含該唯一識別碼之一連線請求訊號至該連線伺服器;該連線伺服器接收該連線請求訊號並取得該唯一識別碼,根據該連網裝置列表,通知對應於該唯一識別碼之該連網裝置;該連線伺服器將該用戶裝置之一連線資訊傳送至該連網裝置,並將該連網裝置之一連線資訊傳送至該用戶裝置;及該用戶裝置與該連網裝置通過所得之該連線資訊進行點對點連線。 A communication method for establishing a point-to-point connection by using a near field communication module, comprising: causing a network device to connect to a connection server via an internet connection, and registering one of the network devices by the connection server The identification code is in a list of network devices of the connection server; a near field communication module of a user device establishes a communication channel with a near field communication module of the network device, so that the user device obtains the network connection a unique identification code of the device; the user device transmits a connection request signal including the one of the unique identification codes to the connection server via the Internet; the connection server receives the connection request signal and obtains the unique identification And, according to the network device list, notifying the network device corresponding to the unique identifier; the connection server transmitting the connection information of one of the user devices to the network device, and connecting the network device A connection information is transmitted to the user device; and the user device and the network device perform point-to-point connection through the obtained connection information. 如申請專利範圍第1項所述之通訊方法,該用戶裝置於利用其近場通訊模組與該連網裝置之近場通訊模組建立連線,取得該唯一識別碼時,同時取得該連網裝置之一安全密碼。 For the communication method described in claim 1, the user device establishes a connection with the near field communication module of the network device by using the near field communication module, and obtains the connection when the unique identification code is obtained. A secure password for one of the network devices. 如申請專利範圍第1項所述之通訊方法,其中當該連網裝置與該用戶裝置分別位於不同之區域網路時,其點對點連線包含打洞技術。 The communication method according to claim 1, wherein when the network device and the user device are respectively located in different regional networks, the point-to-point connection includes a hole punching technique. 如申請專利範圍第1項所述之通訊方法,其中該連網裝置經由該網際網路連線至該連線伺服器之步驟包含有:該用戶裝置取得一無線路由器之一服務設定識別碼;該用戶裝置之該近場通訊模組與該連網裝置之該近場通訊模組建立連線並取得該連網裝置之該唯一識別碼時,該用戶裝置亦將該服務設 定識別碼傳送至該連網裝置;及該連網裝置根據所接收之該服務設定識別碼與該無線路由器進行連線,並經由該網際網路連線至該連線伺服器。 The communication method of claim 1, wherein the step of connecting the network device to the connection server via the Internet includes: the user device obtaining a service setting identifier of a wireless router; When the near field communication module of the user device establishes a connection with the near field communication module of the network device and obtains the unique identification code of the network device, the user device also sets the service The identification code is transmitted to the network device; and the network device is connected to the wireless router according to the received service setting identifier, and is connected to the connection server via the Internet. 如申請專利範圍第4項所述之通訊方法,該用戶裝置於取得該服務設定識別碼時,亦取得該無線路由器之一連線密碼,並於該用戶裝置之該近場通訊模組與該連網裝置之該近場通訊模組建立連線時,傳送該服務設定識別碼與該連線密碼至該連網裝置。 For the communication method described in claim 4, the user device obtains a connection password of the wireless router when acquiring the service setting identification code, and the near field communication module of the user device When the near field communication module of the networked device establishes a connection, the service setting identification code and the connection password are transmitted to the networked device. 如申請專利範圍第1項所述之通訊方法,其中該連網裝置經由該網際網路連線至該連線伺服器,該連線伺服器將該連網裝置之該唯一識別碼登錄於該連網裝置列表時,亦登錄該連網裝置之網路位址。 The communication method of claim 1, wherein the network device is connected to the connection server via the Internet, and the connection server registers the unique identification code of the network device When the device list is connected, the network address of the networked device is also registered. 一種利用近場通訊模組建立點對點連線之連網裝置,包含:一處理單元,用以控制該連網裝置之運作,並執行網路連線,及連線至一連線伺服器,並傳送該連網裝置之一唯一識別碼及一連線資訊到該連線伺服器;一近場通訊模組,用以提供近場通訊功能,該近場通訊模組可傳送該唯一識別碼至具有近場通訊功能之一用戶裝置;及一網路介面模組,連接該處理單元,用以提供網路連線功能;其中,該處理單元根據接收到該連線伺服器所傳送之該用戶裝置之一連線資訊,與該用戶裝置進行點對點連線。 A networking device for establishing a point-to-point connection by using a near field communication module, comprising: a processing unit for controlling operation of the networked device, performing network connection, and connecting to a connection server, and Transmitting one of the networked device unique identification code and a connection information to the connection server; a near field communication module for providing a near field communication function, the near field communication module transmitting the unique identification code to a user device having a near field communication function; and a network interface module connected to the processing unit for providing a network connection function; wherein the processing unit receives the user transmitted according to the connection server One of the devices connects the information and makes a point-to-point connection with the user device. 如申請專利範圍第7項所述之連網裝置,其中該網路介面模組為一無線網路模組;該近場通訊模組連接該處理單元,可接收該用戶裝置傳送之一無線路由器之一服務設定識別碼,該處理單元以該服務設定識別碼透過該網路介面模組執行與該無線路由器之網路連線,並藉由該無線路由器連接一網際網路及該連線伺服器。 The network device of claim 7, wherein the network interface module is a wireless network module; the near field communication module is connected to the processing unit, and the user device can receive one of the wireless routers. One service setting identifier, the processing unit uses the service setting identifier to perform network connection with the wireless router through the network interface module, and connects an internet network and the connection servo through the wireless router Device. 如申請專利範圍第7項所述之連網裝置,其中該連網裝置之該近場通訊模組亦可傳送一安全密碼至該用戶裝置。 The network device as claimed in claim 7, wherein the near field communication module of the network device can also transmit a security code to the user device. 如申請專利範圍第9項所述之連網裝置,尚包含有一記憶體,連接該處理單元,其中該唯一識別碼及該安全密碼可儲存於該記憶體。 The network device as claimed in claim 9 further comprising a memory connected to the processing unit, wherein the unique identification code and the security code are stored in the memory. 如申請專利範圍9項所述之連網裝置,其中當該近場通訊模組具有儲存單元時,該唯一識別碼及該安全密碼可儲存於該近場通訊模組之該儲存單元中。 The network device as claimed in claim 9 , wherein when the near field communication module has a storage unit, the unique identification code and the security password can be stored in the storage unit of the near field communication module. 如申請專利範圍第7項所述之連網裝置,其中該網路介面模組為一有線網路模組,連接一區域網路或一網際網路。 The network device of claim 7, wherein the network interface module is a wired network module connected to a regional network or an internet network.
TW104133896A 2015-10-15 2015-10-15 Communication method and networked device for establishing p2p connections with nfc module TWI571158B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104133896A TWI571158B (en) 2015-10-15 2015-10-15 Communication method and networked device for establishing p2p connections with nfc module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104133896A TWI571158B (en) 2015-10-15 2015-10-15 Communication method and networked device for establishing p2p connections with nfc module

Publications (2)

Publication Number Publication Date
TWI571158B true TWI571158B (en) 2017-02-11
TW201714477A TW201714477A (en) 2017-04-16

Family

ID=58608308

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104133896A TWI571158B (en) 2015-10-15 2015-10-15 Communication method and networked device for establishing p2p connections with nfc module

Country Status (1)

Country Link
TW (1) TWI571158B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120214444A1 (en) * 2011-02-15 2012-08-23 Research In Motion Limited System and Method for Identity Management for Mobile Devices
US20130310108A1 (en) * 2012-05-17 2013-11-21 Liveu Ltd. Multi-modem communication using virtual identity modules
CN103428808A (en) * 2012-05-16 2013-12-04 诺基亚公司 Method and apparatus for controlling network access to guest apparatus based on presence of hosting apparatus
CN103945507A (en) * 2013-01-22 2014-07-23 诺基亚公司 Method, apparatus, and computer program product for power save control for tethering connections
US20140317242A1 (en) * 2013-04-23 2014-10-23 Samsung Electronics Co., Ltd. Electronic device and method of registering personal cloud apparatus in user portal server thereof
US20150029333A1 (en) * 2013-07-26 2015-01-29 Sonix Technology Co., Ltd. Network surveillance system, wireless network surveillance apparatus and setting method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120214444A1 (en) * 2011-02-15 2012-08-23 Research In Motion Limited System and Method for Identity Management for Mobile Devices
CN103428808A (en) * 2012-05-16 2013-12-04 诺基亚公司 Method and apparatus for controlling network access to guest apparatus based on presence of hosting apparatus
US20130310108A1 (en) * 2012-05-17 2013-11-21 Liveu Ltd. Multi-modem communication using virtual identity modules
CN103945507A (en) * 2013-01-22 2014-07-23 诺基亚公司 Method, apparatus, and computer program product for power save control for tethering connections
US20140317242A1 (en) * 2013-04-23 2014-10-23 Samsung Electronics Co., Ltd. Electronic device and method of registering personal cloud apparatus in user portal server thereof
US20150029333A1 (en) * 2013-07-26 2015-01-29 Sonix Technology Co., Ltd. Network surveillance system, wireless network surveillance apparatus and setting method thereof

Also Published As

Publication number Publication date
TW201714477A (en) 2017-04-16

Similar Documents

Publication Publication Date Title
US11889453B2 (en) Method and apparatus for registering wireless device in wireless communication system
US10595347B2 (en) Systems and methods for coupling wireless devices
JP6254747B2 (en) Information providing method, apparatus, program, and recording medium
WO2017148308A1 (en) Method, apparatus and system for accessing network by internet-of-things device
TWI544825B (en) Communication system for establishing p2p connections and the corresponding devices using the same
CN104168269B (en) Safety connects method for building up, Apparatus and system
TW201442524A (en) Configuring secure wireless networks
KR20140068240A (en) Automatic configuration of a wireless device
US20150373538A1 (en) Configuring Secure Wireless Networks
TWI462604B (en) Wireless network client-authentication system and wireless network connection method thereof
JP2015095827A5 (en)
US10389581B2 (en) Access-point controller discovery via an intermediary
WO2017088795A1 (en) Method and device for controlling smart appliance
JP2013255219A (en) Method and apparatus for accessing internet
TWI571158B (en) Communication method and networked device for establishing p2p connections with nfc module
JP6270491B2 (en) Authentication method and authentication system
TW201620268A (en) Smart appliance control method and system
US9781757B2 (en) Connection information sharing server, a method of sharing connection information, and a program for connection information sharing server
WO2016146036A1 (en) Information sharing method, mobile terminal and information sharing system
JP2018182572A (en) Mobile terminal, communication system, communication method, and program
JP6474377B2 (en) Registration system and registration method
JP2016129030A (en) Communication system, network storage, server device, and program
JP6200380B2 (en) Authentication support system and operation method thereof
JP2017163243A (en) Connection control device of radio communication device
TW201446023A (en) System and method for monitoring using network