TWI558245B - Method and system for searching nearby apparatus - Google Patents

Method and system for searching nearby apparatus Download PDF

Info

Publication number
TWI558245B
TWI558245B TW104114721A TW104114721A TWI558245B TW I558245 B TWI558245 B TW I558245B TW 104114721 A TW104114721 A TW 104114721A TW 104114721 A TW104114721 A TW 104114721A TW I558245 B TWI558245 B TW I558245B
Authority
TW
Taiwan
Prior art keywords
identification code
code set
server
value
signal strength
Prior art date
Application number
TW104114721A
Other languages
Chinese (zh)
Other versions
TW201640935A (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 TW104114721A priority Critical patent/TWI558245B/en
Priority to US14/810,491 priority patent/US9609583B2/en
Application granted granted Critical
Publication of TWI558245B publication Critical patent/TWI558245B/en
Publication of TW201640935A publication Critical patent/TW201640935A/en
Priority to US15/428,160 priority patent/US9749943B2/en
Priority to US15/428,157 priority patent/US9838955B2/en

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Description

搜尋近端裝置的方法及系統 Method and system for searching for near-end devices

本發明是有關於一種搜尋近端裝置的方法,且特別是有關於一種藉由比對裝置所偵測到之熱點集合的相似度以判定是否彼此為近端裝置的方法及系統。 The present invention relates to a method of searching for a near-end device, and more particularly to a method and system for determining whether or not each other is a near-end device by comparing similarities of hotspot sets detected by the device.

隨著科技的發展及時代的進步,筆記型電腦、智慧型手機以及平板電腦等裝置已然成為人們生活中不可或缺的一部分。而由於行動裝置的普及,各種裝置間的互動及其應用變得日趨重要。目前使用者不只僅侷限於單一裝置上的操作,有更多的使用情境可以讓兩台以上的裝置彼此互動。裝置間彼此的互動也不只侷限於單一使用者的裝置,更可延伸到使用者的朋友、家人、同事等等。 With the development of technology and the advancement of the times, devices such as notebook computers, smart phones and tablets have become an indispensable part of people's lives. Due to the popularity of mobile devices, interactions between various devices and their applications have become increasingly important. At present, users are not only limited to operations on a single device, but more usage scenarios allow more than two devices to interact with each other. The interaction between devices is not limited to a single user device, but also extends to the user's friends, family, colleagues, and the like.

在裝置能夠共同互動以前,如何讓兩個或多個裝置找到彼此便是首要步驟,也是目前很多裝置互動軟體重要的一環。目前有很多的軟體在搜尋的時候會採用全球定位系統(Global Positioning System,GPS)的定位資訊、藍芽或子網路的資訊,作為配對的依據。 Before the devices can interact together, how to get two or more devices to find each other is the first step, and it is also an important part of many device interaction software. There are a lot of software that will use the global positioning system when searching. Positioning System, GPS) positioning information, Bluetooth or subnet information as a basis for pairing.

然而,使用GPS定位資訊或藍芽配對時,裝置上需配置有相應的晶片,例如GPS晶片或藍芽晶片,以支援裝置的偵測。當在使用藍芽進行配對時,還需要使用者開啟藍芽才能夠進行搜尋,造成使用上的不方便。若在公共場合下使用子網路資訊偵測裝置,則可能會搜尋到相當多的裝置,無法有效的過濾掉不在附近的裝置。 However, when using GPS positioning information or Bluetooth pairing, the device needs to be equipped with a corresponding chip, such as a GPS chip or a Bluetooth chip, to support the detection of the device. When using Bluetooth to pair, it is also necessary for the user to enable the Bluetooth to search, which is inconvenient to use. If the subnet information detecting device is used in a public place, a considerable number of devices may be searched for, and it is impossible to effectively filter out devices that are not nearby.

由上述可知,習知的作法中都存在一定的缺陷,因而可能使得裝置的配對有所限制。換言之,如何發展出另一種搜尋近端裝置的方法為本領域技術人員所關心的議題之一。 As can be seen from the above, there are certain drawbacks in the conventional practice, which may limit the pairing of the devices. In other words, how to develop another method of searching for a near-end device is one of the topics of interest to those skilled in the art.

有鑑於此,本發明提供一種搜尋近端裝置的方法及其系統,此方法係由多個裝置將其所搜尋到之熱點的集合上傳至伺服器,而由伺服器計算這些集合的相似度以判斷這些裝置彼此是否為近端裝置。 In view of the above, the present invention provides a method for searching for a near-end device and a system thereof. The method is to upload a set of hotspots searched by the plurality of devices to a server, and the server calculates the similarity of the sets. It is judged whether or not these devices are near devices to each other.

本發明實施例提供一種搜尋近端裝置的方法,適於搜尋位於第一裝置周圍的近端裝置。所述方法包括下列步驟:第一裝置利用無線通訊技術搜尋周圍的至少一熱點,取得熱點的識別碼以產生第一識別碼集合,並上傳第一識別碼集合至伺服器;至少一第二裝置分別利用無線通訊技術搜尋周圍的熱點,取得熱點的 識別碼以產生第二識別碼集合,並上傳第二識別碼集合至伺服器;伺服器計算第一識別碼集合與各第二識別碼集合的相似值;以及伺服器根據相似值判斷對應的第二裝置是否為位於第一裝置周圍的近端裝置,並提供判斷結果至第一裝置。 Embodiments of the present invention provide a method of searching for a near-end device, which is adapted to search for a near-end device located around the first device. The method includes the following steps: the first device searches for at least one hotspot in the surrounding area by using a wireless communication technology, obtains an identification code of the hot spot to generate a first identification code set, and uploads the first identification code set to the server; at least one second device Use wireless communication technology to search for surrounding hotspots and get hot spots. Identifying a code to generate a second identification code set, and uploading a second identification code set to the server; the server calculates a similarity value between the first identification code set and each second identification code set; and the server determines the corresponding number according to the similarity value Whether the second device is a proximal device located around the first device and provides a determination result to the first device.

本發明實施例提供一種搜尋近端裝置的系統。此搜尋近端裝置的系統包括第一裝置、至少一第二裝置以及伺服器。第一裝置利用無線通訊技術搜尋周圍的至少一熱點,取得熱點的識別碼以產生第一識別碼集合。至少一第二裝置分別利用無線通訊技術搜尋周圍的熱點,取得熱點的識別碼以產生第二識別碼集合。伺服器耦接第一裝置與所述第二裝置,接收第一裝置上傳的第一識別碼集合與各所述第二裝置上傳的該第二識別碼集合並計算第一識別碼集合與各第二識別碼集合的相似值,以及根據相似值判斷對應的第二裝置是否為位於第一裝置周圍的近端裝置,並提供判斷結果至第一裝置。 Embodiments of the present invention provide a system for searching for a near-end device. The system for searching for a near end device includes a first device, at least a second device, and a server. The first device searches for at least one hotspot in the surrounding area by using a wireless communication technology, and obtains an identification code of the hot spot to generate a first identification code set. The at least one second device uses the wireless communication technology to search for surrounding hotspots respectively, and obtains the identification code of the hotspot to generate a second identification code set. The server is coupled to the first device and the second device, and receives a first identification code set uploaded by the first device and the second identification code set uploaded by each second device, and calculates a first identification code set and each And identifying a similarity value of the set of identification codes, and determining whether the corresponding second device is a near-end device located around the first device according to the similarity value, and providing the determination result to the first device.

基於上述,本發明的搜尋近端裝置的方法及系統直接利用裝置的無線通訊技術搜尋周圍的熱點,取得熱點的識別碼以產生識別碼集合並上傳至伺服器。伺服器透過計算各個集合的相似值,判斷所對應的裝置是否為近端裝置並將判斷結果回傳至詢問的裝置。據此,可以透過裝置既有的無線通訊技術正確地找到位於附近的裝置,而不需額外的硬體設備。 Based on the above, the method and system for searching for a near-end device of the present invention directly uses the wireless communication technology of the device to search for surrounding hotspots, obtains an identification code of the hotspot to generate an identification code set, and uploads it to the server. The server calculates whether the corresponding device is a near-end device and returns the determination result to the interrogating device by calculating similar values of the respective sets. According to this, the device located nearby can be correctly found through the wireless communication technology of the device without additional hardware equipment.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 The above described features and advantages of the invention will be apparent from the following description.

100‧‧‧系統 100‧‧‧ system

110、120_1~120_n‧‧‧裝置 110, 120_1~120_n‧‧‧ device

130‧‧‧伺服器 130‧‧‧Server

AP1~AP3‧‧‧熱點 AP1~AP3‧‧‧ hot spot

S1~S6‧‧‧訊號強度值 S1~S6‧‧‧ signal intensity value

S210~S240、S310~S320、S510~S550‧‧‧搜尋近端裝置的方法各步驟 S210~S240, S310~S320, S510~S550‧‧‧Methods for searching for near-end devices

圖1是根據本發明一實施例所繪示之搜尋近端裝置的系統示意圖。 FIG. 1 is a schematic diagram of a system for searching for a near-end device according to an embodiment of the invention.

圖2A是根據本發明一實施例所繪示之搜尋近端裝置的方法流程圖。 2A is a flow chart of a method for searching for a near-end device according to an embodiment of the invention.

圖2B繪示圖2A的每一步驟的執行裝置與接受裝置。 2B illustrates the execution device and the receiving device of each step of FIG. 2A.

圖3是根據本發明之一實施例所繪示的依據相似值判斷所對應的裝置是否為近端裝置的方法流程圖。 FIG. 3 is a flowchart of a method for determining whether a corresponding device is a near-end device according to a similar value according to an embodiment of the present invention.

圖4是根據本發明之一實施例所繪示的至少一第二裝置與第一裝置相似值的示意圖。 4 is a schematic diagram showing similar values of at least one second device and a first device according to an embodiment of the invention.

圖5A是根據本發明另一實施例所繪示之搜尋近端裝置的方法流程圖。 FIG. 5A is a flow chart of a method for searching for a near-end device according to another embodiment of the invention.

圖5B則繪示圖5A的每一步驟的執行裝置與接受裝置。 FIG. 5B illustrates the execution device and the receiving device of each step of FIG. 5A.

圖6是根據本發明一實施例所繪示之近端裝置的示意圖。 FIG. 6 is a schematic diagram of a proximal device according to an embodiment of the invention.

本發明利用相鄰裝置會搜尋到相同熱點的特性,由多個裝置分別搜尋周圍的熱點,並將所搜尋到熱點之識別碼的集合上傳至伺服器,以供伺服器判斷是否為近端裝置。其中,伺服器可藉由計算這些識別碼集合的相似度,並可再利用所偵測到之熱點 的訊號強度進行排序,可幫助電子裝置的使用者正確地找到位於附近的裝置,以進行後續連結或其他互動。 The present invention utilizes the characteristics of the same hotspot by the neighboring device, and the plurality of devices respectively search for the surrounding hotspots, and upload the set of the identified hotspots to the server for the server to determine whether it is a near-end device. . The server can calculate the similarity of the sets of identification codes and reuse the detected hotspots. The ordering of the signal strengths helps the user of the electronic device to correctly locate the nearby device for subsequent links or other interactions.

圖1是根據本發明一實施例所繪示之搜尋近端裝置的系統示意圖。請參照圖1,本實施例的系統100包括第一裝置110、至少一個第二裝置(本實施例是以第二裝置120_1~120_n為例做說明,但不限於此)以及伺服器130。在本實施例中,第一裝置110與第二裝置120_1~120_n例如是智慧型手機、平板電腦、筆記型電腦(Notebook PC)或其他類似的電子裝置,本發明並不限於此。伺服器130例如是透過網路與第一裝置110與第二裝置120_1~120_n連接,其可以是配置在服務端的個人電腦、工作站、伺服器,或其他型式之電腦或處理裝置,本發明並不限於此。 FIG. 1 is a schematic diagram of a system for searching for a near-end device according to an embodiment of the invention. Referring to FIG. 1, the system 100 of the present embodiment includes a first device 110 and at least one second device (this embodiment is described by taking the second devices 120_1~120_n as an example, but is not limited thereto) and the server 130. In the embodiment, the first device 110 and the second device 120_1~120_n are, for example, a smart phone, a tablet computer, a notebook computer, or the like, and the present invention is not limited thereto. The server 130 is connected to the first device 110 and the second device 120_1~120_n through a network, for example, and may be a personal computer, a workstation, a server, or another type of computer or processing device disposed on the server. Limited to this.

圖2A是根據本發明一實施例所繪示之搜尋近端裝置的方法流程圖。圖2B則繪示圖2A的每一步驟的執行裝置與接受裝置,其係以圖1中的第一裝置110、第二裝置120_1及伺服器130為例,說明本發明實施例搜尋近端裝置方法的各個步驟。 2A is a flow chart of a method for searching for a near-end device according to an embodiment of the invention. FIG. 2B is a diagram showing the execution device and the receiving device of each step of FIG. 2A. The first device 110, the second device 120_1, and the server 130 in FIG. 1 are taken as an example to illustrate the search for the near-end device according to the embodiment of the present invention. The various steps of the method.

請同時參照圖2A及圖2B,在步驟S210中,第一裝置110利用無線通訊技術搜尋周圍的至少一個熱點,取得熱點的識別碼以產生第一識別碼集合,並將此第一識別碼集合上傳至伺服器130。 Referring to FIG. 2A and FIG. 2B simultaneously, in step S210, the first device 110 searches for at least one hotspot in the surrounding area by using a wireless communication technology, obtains an identification code of the hot spot to generate a first identification code set, and sets the first identification code set. Uploaded to the server 130.

在本發明的實施例中,第一裝置110例如是透過無線保真(Wireless Fidelity,WiFi)來搜尋周圍的熱點(Hotspot)。其中值得注意的是,由於WiFi熱點的媒體存取控制(Medium Access Control,MAC)位址(即,基本服務集識別碼(basic service set identifier,BSSID))為每個熱點的唯一識別碼,本發明的實施例透過WiFi搜尋第一裝置110周圍的熱點,並以熱點的MAC位址做為識別碼來區別所偵測到的熱點。當第一裝置110取得各個熱點的識別碼之後,即可據以產生第一識別碼集合,並上傳至伺服器130。 In the embodiment of the present invention, the first device 110 searches for a hotspot (Hotspot) through, for example, Wireless Fidelity (WiFi). It is worth noting that due to the media access control of the WiFi hotspot (Medium Access The control (MAC) address (ie, the basic service set identifier (BSSID)) is a unique identifier for each hotspot. The embodiment of the present invention searches for hotspots around the first device 110 through WiFi, and The hotspot MAC address is used as an identification code to distinguish the detected hotspots. After the first device 110 obtains the identification codes of the respective hotspots, the first identification code set can be generated and uploaded to the server 130.

在步驟S220中,第二裝置120_1~120_n可分別利用無線通訊技術搜尋周圍的熱點,取得熱點的識別碼以產生第二識別碼集合,並將這些第二識別碼集合上傳至伺服器130。 In step S220, the second devices 120_1~120_n can respectively search for surrounding hotspots by using a wireless communication technology, obtain an identification code of the hotspot to generate a second identification code set, and upload the second identification code sets to the server 130.

在步驟S230中,伺服器130計算第一識別碼集合與各第二識別碼集合的相似值。在本實施例中,伺服器130是透過計算第一裝置110所搜尋到的第一識別碼集合與第二裝置120_1所搜尋到的第二識別碼集合之間的相似值來判斷兩個裝置是否在附近。在本實施例中,第一識別碼集合與第二識別碼集合的相似值為第一識別碼集合與第二識別碼集合的交集除以第一識別碼集合與第二識別碼集合的聯集所計算出的數值。而相似值可以下列方程式表示: 其中,A代表第一識別碼集合,B代表所述第二識別碼集合其中之一,S代表第一識別碼集合與每一組第二識別碼集合的相似值。 In step S230, the server 130 calculates a similarity value of the first identification code set and each of the second identification code sets. In this embodiment, the server 130 determines whether the two devices are determined by calculating a similarity value between the first identification code set searched by the first device 110 and the second identification code set searched by the second device 120_1. Nearby. In this embodiment, the similarity value between the first identification code set and the second identification code set is an intersection of the first identification code set and the second identification code set divided by the first identification code set and the second identification code set. The calculated value. Similar values can be expressed by the following equation: Wherein A represents a first identification code set, B represents one of the second identification code sets, and S represents a similar value of the first identification code set and each set of second identification code sets.

在步驟S240中,伺服器130根據相似值判斷對應的第二裝置120_1~120_n是否為位於第一裝置110周圍的近端裝置,並將判斷結果提供至第一裝置110。之後,第一裝置110即可取得近端裝置的資訊,進而與近端裝置連結並進行互動。為了更詳細地說明步驟S240,本發明的實施例更詳細地將步驟S240細分為步驟S310~S320。 In step S240, the server 130 determines whether the corresponding second device 120_1~120_n is a near-end device located around the first device 110 according to the similarity value, and provides the determination result to the first device 110. Thereafter, the first device 110 can obtain the information of the near-end device, and then connect and interact with the near-end device. In order to explain step S240 in more detail, the embodiment of the present invention subdivides step S240 into steps S310-S320 in more detail.

請參照圖3,圖3是根據本發明之一實施例所繪示的依據相似值判斷所對應的裝置是否為近端裝置的方法流程圖。在步驟S310中,伺服器130會將相似值與第一門檻值進行比較。此第一門檻值可以根據環境需求而設定,例如是落在範圍0.01~0.1之間,但本發明並不以此為限。當伺服器130判斷相似值超過第一門檻值時,即可判定第一裝置110與第二裝置120_1彼此為近端裝置,反之則判定為非近端裝置。 Please refer to FIG. 3. FIG. 3 is a flowchart of a method for determining whether a corresponding device is a near-end device according to a similar value according to an embodiment of the present invention. In step S310, the server 130 compares the similarity value with the first threshold value. The first threshold value can be set according to environmental requirements, for example, falling within the range of 0.01 to 0.1, but the invention is not limited thereto. When the server 130 determines that the similarity value exceeds the first threshold, it can be determined that the first device 110 and the second device 120_1 are near devices, and vice versa.

在步驟S320中,若相似值超過第一門檻值,伺服器130即可將此相似值對應的第二裝置120_1判定為位於第一裝置110周圍的近端裝置,並將判斷結果提供給第一裝置110。之後,第一裝置110即可根據伺服器130回傳的判斷結果,得知第二裝置120_1係位於附近,進而可與第二裝置120_1互動。 In step S320, if the similarity value exceeds the first threshold, the server 130 may determine the second device 120_1 corresponding to the similarity value as the near-end device located around the first device 110, and provide the determination result to the first Device 110. After that, the first device 110 can learn that the second device 120_1 is located nearby according to the judgment result returned by the server 130, and can interact with the second device 120_1.

簡言之,本發明的實施例裝置可透過WiFi來搜尋周圍的熱點,取得熱點的識別碼以產生識別碼集合,並將識別碼集合上傳至伺服器。伺服器則可透過計算各個集合的相似值,判斷所對應的裝置是否為的近端裝置並回傳至詢問的裝置。因此,本發明 實施例的搜尋近端裝置方法可以透過裝置既有的無線通訊技術而找到位於附近的裝置。 In short, the device of the embodiment of the present invention can search for surrounding hotspots through WiFi, obtain an identification code of the hotspot to generate an identification code set, and upload the identification code set to the server. The server can determine whether the corresponding device is a near-end device and return it to the interrogating device by calculating similar values of the respective sets. Therefore, the present invention The method for searching for a near-end device of an embodiment can find a nearby device through the wireless communication technology existing in the device.

除此之外,圖4是根據本發明之一實施例所繪示的第二裝置120_1~120_4與第一裝置110的相似值的示意圖。在本發明的另一實施例中,伺服器130除了可根據相似值是否超過門檻值來判斷第一裝置110與第二裝置120_1~120_4是否為近端裝置之外,伺服器130還可根據相似值的大小來將第二裝置120_1~120_4排序,以獲得距離第一裝置110最近至最遠的第二裝置120_1~120_4。 In addition, FIG. 4 is a schematic diagram of similar values of the second device 120_1~120_4 and the first device 110 according to an embodiment of the invention. In another embodiment of the present invention, the server 130 can determine whether the first device 110 and the second device 120_1~120_4 are near-end devices according to whether the similarity value exceeds the threshold value, and the server 130 can also be similar according to the similarity. The magnitude of the value is used to rank the second devices 120_1~120_4 to obtain second devices 120_1~120_4 that are closest to the farthest from the first device 110.

舉例來說,請參照圖4,第二裝置120_1~120_4與第一裝置110的相似值分別為80%、70%、30%、20%,因此伺服器可判別第二裝置120_1為距離第一裝置110最近的裝置,而第二裝置120_4則為距離第一裝置110最遠的裝置。如此一來,第一裝置110可依此結果正確地找到位於附近的裝置。 For example, referring to FIG. 4, the similar values of the second devices 120_1~120_4 and the first device 110 are 80%, 70%, 30%, and 20%, respectively, so the server can determine that the second device 120_1 is the distance first. The device 110 is the closest device, and the second device 120_4 is the device that is furthest from the first device 110. In this way, the first device 110 can correctly find the device located nearby according to the result.

在本發明的另一實施例中,還可結合所偵測到熱點的訊號強度來判別近端裝置。請參照圖5A及圖5B,圖5A是根據本發明另一實施例所繪示之搜尋近端裝置的方法流程圖。圖5B則繪示圖5A的每一步驟的執行裝置與接受裝置。本實施例提出的方法同樣可由圖1的第一裝置110、第二裝置120_1及伺服器130實施,以下以第一裝置110、第二裝置120_1及伺服器130為例來說明搜尋近端裝置方法於圖5A及圖5B的各個步驟。 In another embodiment of the invention, the near-end device can also be discriminated in conjunction with the detected signal strength of the hotspot. Referring to FIG. 5A and FIG. 5B, FIG. 5A is a flowchart of a method for searching for a near-end device according to another embodiment of the present invention. FIG. 5B illustrates the execution device and the receiving device of each step of FIG. 5A. The method proposed in this embodiment can also be implemented by the first device 110, the second device 120_1, and the server 130 of FIG. 1. The following uses the first device 110, the second device 120_1, and the server 130 as an example to describe the method for searching for the near device. The various steps of Figures 5A and 5B.

請同時參照圖5A及圖5B,在步驟S510中,第一裝置 110計算所搜尋到的各熱點的訊號強度值,並上傳至伺服器130。在步驟S520中,第二裝置120_1~120_n會分別計算所搜尋到的各熱點的訊號強度值,並上傳至130伺服器。 Referring to FIG. 5A and FIG. 5B simultaneously, in step S510, the first device The signal intensity values of the searched hotspots are calculated and uploaded to the server 130. In step S520, the second devices 120_1~120_n respectively calculate the signal intensity values of the searched hotspots and upload them to the 130 server.

第一裝置110與第二裝置120_1~120_n同樣可透過WiFi來偵測周圍熱點的訊號強度值。在本實施例中,訊號強度值例如是訊號強度指示(WiFi Received Signal Strength Indicator,WiFi RSSI),但本發明不限於此。所述WiFi RSSI可用來表示所搜尋到熱點的訊號強度值。 The first device 110 and the second device 120_1~120_n can also detect the signal intensity value of the surrounding hotspot through the WiFi. In this embodiment, the signal strength value is, for example, a WiFi Received Signal Strength Indicator (WiFi RSSI), but the present invention is not limited thereto. The WiFi RSSI can be used to indicate the signal strength value of the searched hotspot.

與上述實施例不同的是,第一裝置110與第二裝置120_1~120_n除了取得所偵測到的各個熱點的識別碼並依據搜尋到的識別碼分別產生第一識別碼集合與第二識別碼集合之外,同時還會偵測各熱點的訊號強度值,並將第一識別碼集合、第二識別碼集合連同各熱點所對應的訊號強度值上傳至伺服器130。 Different from the foregoing embodiment, the first device 110 and the second device 120_1~120_n obtain the identification code of each detected hot spot and generate the first identification code set and the second identification code respectively according to the searched identification code. In addition to the set, the signal strength values of the hotspots are also detected, and the first identifier set, the second identifier set, and the signal strength values corresponding to the hotspots are uploaded to the server 130.

在步驟S530中,伺服器130即先根據訊號強度值,將第一識別碼集合與各第二識別碼集合中的識別碼排序,並取用第一識別碼集合與各第二識別碼集合中排序在前的多個識別碼,計算第一識別碼集合與各第二識別碼集合的相似值。 In step S530, the server 130 first sorts the first identification code set and the identification code in each second identification code set according to the signal strength value, and takes the first identification code set and each second identification code set. Sorting the plurality of previous identification codes, and calculating similar values of the first identification code set and each of the second identification code sets.

藉由熱點的訊號強度值可以推知裝置與熱點之間的距離遠近,若所偵測到之熱點的訊號強度值愈強,則代表裝置很有可能與此熱點愈近。因此,在本實施例中,透過偵測熱點的訊號強度值作為輔助,伺服器130首先會根據訊號強度值將第一識別碼集合與各第二識別碼集合中的識別碼進行排序,並取用第一識別 碼集合與各第二識別碼集合中排序在前的多個識別碼(例如前5個識別碼),以過濾出距離較近的熱點,並僅以這些識別碼做為基礎來計算第一識別碼集合與各第二識別碼集合的相似值,而決定近端裝置。上述相似值的計算方法同上述實施例的步驟S230所述,在此不贅述。 The distance between the device and the hotspot can be inferred by the signal strength value of the hot spot. If the detected signal strength of the hot spot is stronger, the representative device is likely to be closer to the hot spot. Therefore, in this embodiment, by detecting the signal strength value of the hotspot as an auxiliary, the server 130 first sorts the first identification code set and the identification code in each second identification code set according to the signal strength value, and takes First identification And a plurality of identification codes (for example, the first five identification codes) of the second identification code set are sorted to filter out hot spots with close distances, and the first identification is calculated based only on the identification codes. The similarity value of the code set and each of the second identification code sets determines the near-end device. The calculation method of the above similar value is the same as that of step S230 of the foregoing embodiment, and details are not described herein.

在步驟S540中,伺服器130例如還會依序比較第一識別碼集合與各第二識別碼集合中排序在前的識別碼對應的訊號強度值。在步驟S550中,若第一識別碼集合與各第二識別碼集合中排序在前且相對應的識別碼中有至少兩個識別碼對應的訊號強度值的差值小於第二門檻值時,則可更加確認第二識別碼集合對應的第二裝置120_1為位於第一裝置110周圍的近端裝置。在本實施例中,第二門檻值同樣可以根據環境需求而設定,本發明並不以此為限。 In step S540, the server 130 compares, for example, the signal strength values corresponding to the prior-identified identification codes in the first identification code set and the second identification code sets. In step S550, if the difference between the signal strength values corresponding to the at least two identification codes in the first identification code set and the corresponding identification codes in the second identification code set is less than the second threshold value, Then, it can be further confirmed that the second device 120_1 corresponding to the second identification code set is a near-end device located around the first device 110. In this embodiment, the second threshold value can also be set according to environmental requirements, and the present invention is not limited thereto.

在本實施例中,除了透過第一裝置110搜尋到的第一識別碼集合與第二裝置120_1所搜尋到的第二識別碼集合的相似值來判斷兩個裝置是否在附近之外,更結合訊號強度值來確認是否為近端裝置。 In this embodiment, in addition to the similarity values of the first identification code set searched by the first device 110 and the second identification code set searched by the second device 120_1, it is determined whether the two devices are in the vicinity, and more The signal strength value is used to confirm whether it is a near-end device.

舉例而言,圖6是根據本發明一實施例所繪示之近端裝置的示意圖。請參照圖6,其繪示了第一裝置110、第二裝置120_1及其周圍的熱點AP1~AP3。下表一則分別標示第一裝置110與第二裝置120_1所搜尋到之熱點的識別碼集合中對應訊號強度值排序在前的3個識別碼及其訊號強度值S1~S6。 For example, FIG. 6 is a schematic diagram of a proximal device according to an embodiment of the invention. Please refer to FIG. 6 , which illustrates the first device 110 , the second device 120_1 , and the hotspots AP1 AP AP3 around it. The following table 1 indicates the first three identification codes and the signal strength values S1 to S6 of the corresponding signal strength values in the identification code set of the hot spot searched by the first device 110 and the second device 120_1.

其中,由於第一裝置110與第二裝置120_1的識別碼集合皆包含AP1~AP3的識別碼,因此可判定第一裝置110與第二裝置120_1的識別碼集合相似程度很高。此時,進一步比較第一裝置110與第二裝置120_1所偵測到之熱點AP1~AP3的訊號強度值,以進一步確定第一裝置110與第二裝置120_1是否為近端裝置。其中,當伺服器130計算第一識別碼集合與第二識別碼集合排序在前且相對應的識別碼中有至少兩個識別碼對應的訊號強度值的差值小於第二門檻值(例如,|S3-S1|及|S4-S2|皆小於第二門檻值)時,即可確認第一裝置110與第二裝置120_1為近端裝置。本實施例透過結合相似值及訊號強度值的判斷,可更加確定第二裝置120_1為位於第一裝置110周圍的近端裝置。 The identification code sets of the first device 110 and the second device 120_1 all include the identification codes of the AP1~AP3, so that the identification code set of the first device 110 and the second device 120_1 can be determined to be highly similar. At this time, the signal intensity values of the hotspots AP1~AP3 detected by the first device 110 and the second device 120_1 are further compared to further determine whether the first device 110 and the second device 120_1 are near devices. The server 130 calculates that the first identification code set and the second identification code set are ranked first and the corresponding identification code has a difference between the signal strength values corresponding to the at least two identification codes that is smaller than the second threshold (for example, When both S3-S1| and |S4-S2| are less than the second threshold value, it can be confirmed that the first device 110 and the second device 120_1 are near devices. In this embodiment, by combining the judgment of the similarity value and the signal strength value, it can be further determined that the second device 120_1 is a near-end device located around the first device 110.

綜上所述,本發明的搜尋近端裝置的方法及系統直接將裝置所搜尋到之熱點的識別碼的集合上傳至伺服器,而由伺服器透過計算這些集合的相似值,判斷所對應的裝置是否為近端裝置。此外,伺服器還可進一步結合相似值及訊號強度值來確認近端裝置。據此,可幫助電子裝置的使用者透過裝置既有的無線通訊技術正確地找到附近的裝置,以進行後續連結或其他互動,而 不需額外的硬體設備。 In summary, the method and system for searching for a near-end device of the present invention directly uploads a set of identification codes of hotspots searched by the device to a server, and the server determines the corresponding value by calculating the similarity values of the sets. Whether the device is a near-end device. In addition, the server can further combine the similar value and the signal strength value to confirm the near-end device. Accordingly, the user of the electronic device can be helped to correctly find the nearby device through the device's existing wireless communication technology for subsequent connection or other interaction. No additional hardware is required.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can make some changes and refinements without departing from the spirit and scope of the present invention. The scope of the invention is defined by the scope of the appended claims.

S210~S240‧‧‧搜尋近端裝置方法的各步驟 S210~S240‧‧‧ steps for searching for near-end devices

Claims (6)

一種搜尋近端裝置的方法,適於搜尋位於一第一裝置周圍的一近端裝置,該方法包括下列步驟:該第一裝置利用一無線通訊技術搜尋周圍的至少一熱點,取得所述熱點的識別碼以產生一第一識別碼集合,並上傳該第一識別碼集合至一伺服器;該第一裝置計算所搜尋到的各所述熱點的訊號強度值,並上傳至該伺服器;至少一第二裝置分別利用該無線通訊技術搜尋周圍的所述熱點,取得所述熱點的識別碼以產生一第二識別碼集合,並上傳該第二識別碼集合至該伺服器;所述第二裝置分別計算所搜尋到的各所述熱點的該訊號強度值,並上傳至該伺服器;該伺服器根據所述訊號強度值排序該第一識別碼集合與各所述第二識別碼集合中的所述識別碼,並取用該第一識別碼集合與各所述第二識別碼集合中排序在前的多個所述識別碼計算該第一識別碼集合與各所述第二識別碼集合的一相似值;該伺服器比較該相似值與一第一門檻值;該伺服器依序比較該第一識別碼集合與各所述第二識別碼集合中排序在前的所述識別碼對應的該訊號強度值;以及若該相似值超過該第一門檻值,且該第一識別碼集合與各所述第二識別碼集合中排序在前且相對應的所述識別碼中有至少二 所述識別碼對應的該訊號強度值的差值小於一第二門檻值時,判斷所述第二識別碼集合對應的所述第二裝置為位於該第一裝置周圍的該近端裝置,並提供判斷結果至該第一裝置。 A method for searching for a near-end device, adapted to search for a near-end device located around a first device, the method comprising the steps of: searching for at least one hot spot around the hot-spot using a wireless communication technology to obtain the hotspot Identifying a code to generate a first identification code set, and uploading the first identification code set to a server; the first device calculates a signal strength value of each of the searched hotspots, and uploads the value to the server; The second device uses the wireless communication technology to search for the hotspots around the hotspot, obtain the identification code of the hotspot to generate a second identification code set, and upload the second identification code set to the server; The device separately calculates the signal strength values of the searched hotspots and uploads the values to the server; the server sorts the first identification code set and each of the second identification code sets according to the signal intensity value. And identifying the first identification code set and each of the plurality of the identification codes in the first identification code set and each of the second identification code sets. a similar value of the second identification code set; the server compares the similarity value with a first threshold; the server sequentially compares the first identification code set with each of the second identification code sets The signal strength value corresponding to the identification code; and if the similarity value exceeds the first threshold value, and the first identification code set and the second identification code set are ranked first and corresponding to the identification At least two in the code When the difference between the signal strength values corresponding to the identifier is less than a second threshold, determining that the second device corresponding to the second identifier set is the near-end device located around the first device, and A judgment result is provided to the first device. 如申請專利範圍第1項所述的方法,其中該伺服器根據所述相似值判斷對應的所述第二裝置是否為位於該第一裝置周圍的該近端裝置的步驟更包括:該伺服器根據所述相似值排序所述第二裝置為距離該第一裝置最近至最遠的所述第二裝置。 The method of claim 1, wherein the step of determining, by the server, whether the corresponding second device is the near-end device located around the first device, according to the similar value, further comprises: the server The second device is ordered according to the similarity value as the second device that is closest to the farthest from the first device. 如申請專利範圍第1項所述的方法,其中該伺服器計算該第一識別碼集合與各所述第二識別碼集合的該相似值的步驟包括利用下列公式: 其中,A代表該第一識別碼集合,B代表所述第二識別碼集合其中之一,S代表該第一識別碼集合與該第二識別碼集合的該相似值。 The method of claim 1, wherein the step of the server calculating the similarity value of the first identification code set and each of the second identification code sets comprises using the following formula: Wherein, A represents the first identification code set, B represents one of the second identification code sets, and S represents the similarity value of the first identification code set and the second identification code set. 一種搜尋近端裝置的系統,包括:一第一裝置,利用一無線通訊技術搜尋周圍的至少一熱點,取得所述熱點的識別碼以產生一第一識別碼集合,並計算所搜尋到的各所述熱點的訊號強度值;至少一第二裝置,分別利用該無線通訊技術搜尋周圍的所述熱點,取得所述熱點的識別碼以產生一第二識別碼集合,並計算 所搜尋到的各所述熱點的訊號強度值;以及一伺服器,耦接該第一裝置與所述第二裝置,接收該第一裝置上傳的該第一識別碼集合、該第一裝置所搜尋到的各所述熱點的該訊號強度值、各所述第二裝置上傳的該第二識別碼集合以及各所述第二裝置搜尋到的各所述熱點的各所述訊號強度值,其中該伺服器根據所述訊號強度值排序該第一識別碼集合與各所述第二識別碼集合中的所述識別碼,並取用該第一識別碼集合與各所述第二識別碼集合中排序在前的多個所述識別碼計算該第一識別碼集合與各所述第二識別碼集合的一相似值,並比較該相似值與一第一門檻值,其中該伺服器更依序比較該第一識別碼集合與各所述第二識別碼集合中排序在前的所述識別碼對應的該訊號強度值,其中若該相似值超過該第一門檻值,且該第一識別碼集合與各所述第二識別碼集合中排序在前且相對應的所述識別碼中有至少二所述識別碼對應的該訊號強度值的差值小於一第二門檻值時,該伺服器判斷所述第二識別碼集合對應的所述第二裝置為位於該第一裝置周圍的該近端裝置,並提供判斷結果至該第一裝置。 A system for searching for a near-end device, comprising: a first device, searching for at least one hot spot in the surrounding area by using a wireless communication technology, obtaining an identification code of the hot spot to generate a first identification code set, and calculating each of the searched The signal strength value of the hotspot; the at least one second device respectively searching for the hotspots around the hotspot by using the wireless communication technology, obtaining the identification code of the hotspot to generate a second identification code set, and calculating a signal strength value of each of the searched hotspots; and a server coupled to the first device and the second device to receive the first identification code set uploaded by the first device, the first device The signal strength value of each of the searched hotspots, the second identification code set uploaded by each of the second devices, and each of the signal strength values of each of the hotspots searched by each of the second devices, wherein The server sorts the first identification code set and the identification code in each of the second identification code sets according to the signal strength value, and uses the first identification code set and each of the second identification code sets Calculating a similarity value between the first identification code set and each of the second identification code sets, and comparing the similarity value with a first threshold value, wherein the server is more dependent Sorting, by the first identification code set, the signal strength value corresponding to the prioritized identification code in each of the second identification code sets, wherein if the similarity value exceeds the first threshold, and the first identification Code set and each of said second identification codes When the difference between the signal strength values corresponding to at least two of the identification codes in the preceding and corresponding identification codes is less than a second threshold, the server determines that the second identification code set corresponds to The second device is the proximal device located around the first device and provides a determination result to the first device. 如申請專利範圍第4項所述的系統,其中該伺服器更根據所述相似值排序所述第二裝置為距離該第一裝置最近至最遠的所述第二裝置。 The system of claim 4, wherein the server further sorts the second device according to the similar value as the second device that is closest to the farthest from the first device. 如申請專利範圍第4項所述的系統,其中該伺服器包括利用下列公式計算該第一識別碼集合與各所述第二識別碼集合的該 相似值: 其中,A代表該第一識別碼集合,B代表所述第二識別碼集合其中之一,S代表該第一識別碼集合與該第二識別碼集合的該相似值。 The system of claim 4, wherein the server comprises calculating the similarity value of the first identification code set and each of the second identification code sets by using the following formula: Wherein, A represents the first identification code set, B represents one of the second identification code sets, and S represents the similarity value of the first identification code set and the second identification code set.
TW104114721A 2015-03-24 2015-05-08 Method and system for searching nearby apparatus TWI558245B (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
TW104114721A TWI558245B (en) 2015-05-08 2015-05-08 Method and system for searching nearby apparatus
US14/810,491 US9609583B2 (en) 2015-03-24 2015-07-28 Method, system and electronic apparatus for searching nearby apparatus
US15/428,160 US9749943B2 (en) 2015-03-24 2017-02-09 Method, system and electronic apparatus for searching nearby apparatus
US15/428,157 US9838955B2 (en) 2015-03-24 2017-02-09 Method, system and electronic apparatus for searching nearby apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104114721A TWI558245B (en) 2015-05-08 2015-05-08 Method and system for searching nearby apparatus

Publications (2)

Publication Number Publication Date
TWI558245B true TWI558245B (en) 2016-11-11
TW201640935A TW201640935A (en) 2016-11-16

Family

ID=57850783

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104114721A TWI558245B (en) 2015-03-24 2015-05-08 Method and system for searching nearby apparatus

Country Status (1)

Country Link
TW (1) TWI558245B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1715951B (en) * 2004-06-29 2011-08-03 微软公司 Proximity detection using wireless signal strenghts
CN102546801A (en) * 2012-01-09 2012-07-04 北京风灵创景科技有限公司 Ambient-equipment-list-based mobile terminal matching method and system
CN104301997A (en) * 2014-09-23 2015-01-21 上海华为技术有限公司 Server, mobile terminal, system and positioning method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1715951B (en) * 2004-06-29 2011-08-03 微软公司 Proximity detection using wireless signal strenghts
CN102546801A (en) * 2012-01-09 2012-07-04 北京风灵创景科技有限公司 Ambient-equipment-list-based mobile terminal matching method and system
CN104301997A (en) * 2014-09-23 2015-01-21 上海华为技术有限公司 Server, mobile terminal, system and positioning method

Also Published As

Publication number Publication date
TW201640935A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
CN110447277B (en) Fingerprint positioning method and related equipment
CN105917246B (en) The degree of approach without ranging determines
WO2017020654A1 (en) Wireless network access method and device
JP6254282B2 (en) System and method for selecting a Wi-Fi access point for location determination
US8830909B1 (en) Methods and systems to determine user relationships, events and spaces using wireless fingerprints
CN105338480A (en) LBS-based user matching method, system, and server, and message clients
WO2017107682A1 (en) Wireless network-based positioning method, device, and intelligent terminal
US10034323B2 (en) Control method for BLE communication between host device and peripheral device
CN103916435B (en) Judge the method and apparatus of information authenticity
KR20160088770A (en) Method for providing location-based information
CN106254465B (en) A kind of data transmission method, system and electronic equipment
US9571977B2 (en) Use of a trained classifier to determine if a pair of wireless scans came from the same location
US9585082B2 (en) Mobile user terminal, method of switching communications, and program for mobile user terminal
CN111380558B (en) Method, device, server and storage medium for ordering points of interest
TWI558245B (en) Method and system for searching nearby apparatus
US9532167B2 (en) Mobile terminal, location information related content providing server, content panel display method, and mobile terminal program
US9516468B2 (en) Mobile terminal, content panel display method, and mobile terminal program
CN106792952A (en) The method and apparatus of Wireless Fidelity access point are connected to for terminal
CN106304013B (en) Method and system for searching near-end device
JP6327331B2 (en) Information processing device
US20220004774A1 (en) Information processing device, information processing method, and information processing system
CN110869910A (en) Search resource recommendation method and related product
US9344990B1 (en) Device location accuracy metrics for applications on wireless communication devices
CN105722216B (en) Distance detection method, terminal device and storage medium
KR101831250B1 (en) System for operating location based service using fixed terminal-mobile terminal and method therefor

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees