TWI689212B - Method for requesting traffic, method for sharing traffic and apparatuses using the same - Google Patents

Method for requesting traffic, method for sharing traffic and apparatuses using the same Download PDF

Info

Publication number
TWI689212B
TWI689212B TW106145235A TW106145235A TWI689212B TW I689212 B TWI689212 B TW I689212B TW 106145235 A TW106145235 A TW 106145235A TW 106145235 A TW106145235 A TW 106145235A TW I689212 B TWI689212 B TW I689212B
Authority
TW
Taiwan
Prior art keywords
sharer
connection
traffic
request
server
Prior art date
Application number
TW106145235A
Other languages
Chinese (zh)
Other versions
TW201929568A (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 TW106145235A priority Critical patent/TWI689212B/en
Publication of TW201929568A publication Critical patent/TW201929568A/en
Application granted granted Critical
Publication of TWI689212B publication Critical patent/TWI689212B/en

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

A method for requesting traffic, a method for sharing traffic, and apparatuses using the same methods are provided. The method for requesting traffic includes: searching for a first device capable of sharing traffic with a requesting device without a network connection via a wireless transmission technology; choosing a sharing device out of the first device and sending a request to the sharing device to ask the sharing device to request a server to authenticate the requesting device; receiving a response sent by the sharing device in response to the request and determining whether the requesting device is successfully authenticated by the server; and when the requesting device is successfully authenticated by the server, establishing a connection with the sharing device based on the response to receive a network traffic shared by the sharing device.

Description

流量請求方法、流量分享方法及其裝置Flow request method, flow sharing method and device

本發明是有關於一種流量請求方法、流量分享方法及其裝置,且特別是有關於一種在需求者裝置缺乏網路連線的情況下所進行的流量請求方法及其裝置,以及分享者裝置依需求者裝置的請求所進行的流量分享方法及其裝置。The present invention relates to a flow request method, a flow sharing method and a device thereof, and in particular to a flow request method and a device performed when a demander device lacks a network connection, and a sharer device according to Flow sharing method and device performed by a request of a consumer device.

現行行動上網方案眾多,用戶可依個人使用習慣選擇資費方案,如果用戶使用流量超過資費方案,需要額外付費。在此情況下,不少人因擔心超過流量被索取高資費而選擇上網吃到飽的方案,但實際使用量可能並不需要。因此,若是能將有剩餘流量者,與需要流量者媒合,定能創造更大的經濟價值。There are many current mobile Internet access schemes, and users can choose a tariff plan according to their personal usage habits. If the user's traffic exceeds the tariff plan, additional charges are required. In this case, many people choose to eat enough to eat on the Internet because they are worried about being charged high tariffs for exceeding the traffic, but the actual usage may not be needed. Therefore, if we can match those with surplus flow with those who need it, it will certainly create greater economic value.

在目前既有作法中,需求端是透過伺服器得知分享流量的節點,因此在與分享點建立連線之前,需求端有可能因缺乏網路連線而無法連線至伺服器。再者,伺服器是以移動位置服務(Location Based Service,LBS)的位置資訊作為篩選的依據,但LBS資訊對室內定位不準確,再加上樓層與建築物遮蔽,無法確保分享點為可連線。In the current practice, the demand side is the node that learns the sharing traffic through the server. Therefore, before establishing a connection with the sharing point, the demand side may not be able to connect to the server due to lack of network connection. Furthermore, the server uses the location information of the Location Based Service (LBS) as a screening basis, but the LBS information is inaccurate for indoor positioning, and coupled with the floor and building cover, it is impossible to ensure that the sharing point is connectable line.

有鑑於此,本發明提出一種流量請求方法及其裝置,其可讓缺乏網路連線的需求者裝置找到願意分享流量的分享者裝置,從而透過與分享者裝置之間的連線存取網路。相應地,本發明提出一種流量分享方法及其裝置,其可讓願意分享流量的分享者裝置協助缺乏網路連線的需求者裝置向伺服器請求驗證,並在需求者裝置通過驗證後將流量分享予需求者裝置。藉此,可提供一安全的機制,讓陌生的兩個裝置可以分享流量。In view of this, the present invention proposes a traffic request method and device thereof, which can allow a demander device lacking a network connection to find a sharer device willing to share traffic, thereby accessing the network through the connection with the sharer device road. Correspondingly, the present invention proposes a traffic sharing method and device, which allows a sharer device willing to share traffic to assist a requester device that lacks a network connection to request authentication from the server, and then transfer the traffic after the requester device passes the verification Share to demander device. In this way, a secure mechanism can be provided to allow two strangers to share traffic.

本發明提供一種流量請求方法,適於一需求者裝置,包括:在缺乏一網路連線的情況下,透過一無線通信技術搜尋可分享流量予需求者裝置的至少一第一裝置;從至少一第一裝置選定一分享者裝置,並向分享者裝置發出一請求,以令分享者裝置代替需求者裝置向一伺服器請求驗證,其中請求包括需求者裝置的一身分資訊;接收分享者裝置響應於請求的一回應,並基於回應判斷需求者裝置是否通過伺服器的驗證;以及當需求者裝置通過伺服器的驗證時,基於回應與分享者裝置建立一連線,以透過連線接受分享者裝置所分享的一網路流量。The present invention provides a flow request method suitable for a consumer device, including: searching for at least a first device that can share traffic to a consumer device through a wireless communication technology in the absence of a network connection; from at least A first device selects a sharer device and sends a request to the sharer device to make the sharer device replace the requester device to request authentication from a server, where the request includes identity information of the requester device; receiving the sharer device A response to the request, and based on the response to determine whether the requester's device passes the server's verification; and when the requester's device passes the server's verification, a connection is established with the sharer device based on the response to accept sharing through the connection Internet traffic shared by the user's device.

本發明提出一種需求者裝置,其包括儲存電路、收發器及處理器。儲存電路儲存多個模組。處理器耦接儲存電路及收發器,存取些模組以執行下列步驟:在缺乏一網路連線的情況下,控制收發器透過一無線通信技術搜尋可分享流量予需求者裝置的至少一第一裝置;從至少一第一裝置選定一分享者裝置,並控制收發器向分享者裝置發出一請求,以令分享者裝置代替需求者裝置向一伺服器請求驗證,其中請求包括需求者裝置的一身分資訊;控制收發器接收分享者裝置響應於請求的一回應,並基於回應判斷需求者裝置是否通過伺服器的驗證;以及當需求者裝置通過伺服器的驗證時,基於回應控制收發器與分享者裝置建立一連線,以透過連線接受分享者裝置所分享的一網路流量。The present invention provides a consumer device, which includes a storage circuit, a transceiver, and a processor. The storage circuit stores multiple modules. The processor is coupled to the storage circuit and the transceiver, and accesses the modules to perform the following steps: In the absence of a network connection, the transceiver is controlled to search for at least one of the devices that can share the traffic to the consumer through a wireless communication technology The first device; select a sharer device from at least one first device, and control the transceiver to issue a request to the sharer device, so that the sharer device replaces the requester device to request authentication from a server, where the request includes the requester device Identity information; control the transceiver to receive a response from the sharer device in response to the request, and based on the response to determine whether the demander device passes the server's verification; and when the demander device passes the server's verification, control the transceiver based on the response Establish a connection with the sharer device to accept a network traffic shared by the sharer device through the connection.

本發明提出一種流量分享方法,適於一分享者裝置,包括:透過一無線通信技術接收來自一需求者裝置的一請求,並依據請求代替需求者裝置向一伺服器請求驗證,其中請求包括需求者裝置的一身分資訊;接收伺服器驗證需求者裝置的一驗證結果,並據以判斷需求者裝置是否通過驗證;當需求者裝置通過驗證時,發送一回應至需求者裝置;在需求者裝置依據回應與分享者裝置建立一連線之後,透過連線與需求者裝置分享一網路流量。The present invention provides a traffic sharing method suitable for a sharer device, including: receiving a request from a requester device through a wireless communication technology, and replacing the requester device with a request to request verification from a server based on the request, wherein the request includes a request The identity information of the requester's device; the server receives a verification result of the requester's device and determines whether the requester's device passes the verification; when the requester's device passes the verification, it sends a response to the requester's device; After establishing a connection with the sharer device based on the response, share a network traffic with the requester device through the connection.

本發明提出一種分享者裝置,其包括:儲存電路、收發器及處理器。儲存電路儲存多個模組。處理器耦接儲存電路及收發器,存取些模組以執行下列步驟:控制收發器透過一無線通信技術接收來自一需求者裝置的一請求,並依據請求代替需求者裝置向一伺服器請求驗證,其中請求包括需求者裝置的一身分資訊;控制收發器接收伺服器驗證需求者裝置的一驗證結果,並據以判斷需求者裝置是否通過驗證;當需求者裝置通過驗證時,控制收發器發送一回應至需求者裝置;在需求者裝置依據回應與分享者裝置建立一連線之後,控制收發器透過連線與需求者裝置分享一網路流量。The invention provides a sharer device, which includes a storage circuit, a transceiver and a processor. The storage circuit stores multiple modules. The processor is coupled to the storage circuit and the transceiver, and accesses the modules to perform the following steps: control the transceiver to receive a request from a requester device through a wireless communication technology, and substitute the requester device request to a server based on the request Verification, where the request includes the identity information of the demander device; control the transceiver to receive a verification result of the server verifying the demander device, and then determine whether the demander device passes the verification; when the demander device passes the verification, control the transceiver Send a response to the requester device; after the requester device establishes a connection with the sharer device according to the response, control the transceiver to share a network traffic with the requester device through the connection.

基於上述,本發明提出的流量請求方法及其裝置可讓缺乏網路連線的需求者裝置透過無線通信技術找到附近的第一裝置,並從中選擇分享者裝置,進而讓分享者裝置代為向伺服器提出驗證需求者裝置的請求。在驗證成功之後,需求者裝置即可透過與分享者裝置之間的連線存取網路。相應地,本發明提出一種流量分享方法及其裝置,其可讓分享者裝置依據需求者裝置的請求向伺服器請求驗證需求者裝置,並在需求者裝置通過驗證之後向需求者裝置相應地發送回應,以讓需求者裝置可依此回應與分享者裝置建立連線並透過分享者裝置分享的流量來存取網路。Based on the above, the flow request method and the device proposed by the present invention can allow a demander device lacking a network connection to find the first device nearby through wireless communication technology, and select a sharer device from it, thereby allowing the sharer device to serve instead The device makes a request to verify the demander device. After the verification is successful, the requester device can access the network through the connection with the sharer device. Correspondingly, the present invention proposes a traffic sharing method and device, which allows the sharer device to request the server to verify the requester device according to the request of the requester device, and send the requester device accordingly after passing the verification Response, so that the requester device can respond to establish a connection with the sharer device and access the network through the traffic shared by the sharer device.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the present invention more obvious and understandable, the embodiments are specifically described below in conjunction with the accompanying drawings for detailed description as follows.

圖1是依據本發明之一實施例繪示的需求者裝置、分享者裝置及伺服器的示意圖。在本實施例中,需求者裝置10包括儲存電路11、收發器12及處理器13,而分享者裝置20包括儲存電路21、收發器22及處理器23。需求者裝置10及分享者裝置20分別可以是智慧型手機、平板電腦、個人數位助理(personal digital assistant,PDA)、筆記型電腦(Notebook PC)等,但可不限於此。儲存電路11及儲存電路21分別可以是記憶體、硬碟或是其他任何可用於儲存資料的元件,而可用以記錄多個程式碼或模組。FIG. 1 is a schematic diagram of a consumer device, a sharer device, and a server according to an embodiment of the invention. In this embodiment, the consumer device 10 includes the storage circuit 11, the transceiver 12 and the processor 13, and the sharer device 20 includes the storage circuit 21, the transceiver 22 and the processor 23. The consumer device 10 and the sharer device 20 may be a smart phone, a tablet computer, a personal digital assistant (PDA), a notebook PC (Notebook PC), etc., but it is not limited thereto. The storage circuit 11 and the storage circuit 21 may be a memory, a hard disk, or any other component that can be used to store data, and may be used to record multiple codes or modules.

收發器12及收發器22分別至少包括傳送器電路、接收器電路、類比轉數位(analog-to-digital,A/D)轉換器、數位轉類比(digital-to-analog,D/A)轉換器、低雜訊放大器(low noise amplifier,LNA)、混波器、濾波器、匹配電路、傳輸線、功率放大器(power amplifier,PA)、一或多個天線單元及本地儲存媒介的組件,但不僅限於此,來分別為需求者裝置10及分享者裝置20提供無線存取。The transceiver 12 and the transceiver 22 respectively include at least a transmitter circuit, a receiver circuit, an analog-to-digital (A/D) converter, and a digital-to-analog (D/A) conversion Components of low-noise amplifiers (LNA), mixers, filters, matching circuits, transmission lines, power amplifiers (PA), one or more antenna units and local storage media, but not only Restricted to this, to provide wireless access to the consumer device 10 and the sharer device 20, respectively.

處理器13耦接儲存電路11及收發器12,而處理器23耦接儲存電路21及收發器22。處理器13及處理器23分別可以是中央處理單元(central processing unit,CPU)、一般用途或特定用途的可程式化微處理器、數位訊號處理器(digital signal processor,DSP)、可程式化控制器、特殊應用集成電路(Application Specific Integrated Circuit,ASIC)、可程式化邏輯裝置(programmable logic device,PLD)或是其他類似裝置的其中之一或其組合。在本發明的實施例中,處理器13及處理器23分別可存取儲存電路11及儲存電路21中的模組及程式碼以執行本發明提出的方法,其細節將在之後詳述。The processor 13 is coupled to the storage circuit 11 and the transceiver 12, and the processor 23 is coupled to the storage circuit 21 and the transceiver 22. The processor 13 and the processor 23 may be a central processing unit (CPU), a general-purpose or special-purpose programmable microprocessor, a digital signal processor (DSP), and programmable control One of a device, an application specific integrated circuit (ASIC), a programmable logic device (PLD) or other similar devices, or a combination thereof. In the embodiment of the present invention, the processor 13 and the processor 23 can respectively access the modules and the program codes in the storage circuit 11 and the storage circuit 21 to execute the method proposed by the present invention, details of which will be described in detail later.

伺服器30例如可供需求者裝置10及分享者裝置20預先地透過一特定應用程式進行註冊,並相應地儲存需求者裝置10及分享者裝置20個別的裝置資訊、用戶帳號及用戶密碼,且經設置以專門用於管理本發明的流量請求/分享服務。The server 30 can be used by the requester device 10 and the sharer device 20 to register in advance through a specific application, and store the individual device information, user account, and user password of the requester device 10 and the sharer device 20 accordingly, and It is set up specifically to manage the traffic request/sharing service of the present invention.

圖2是依據本發明之一實施例繪示的流量請求方法及流量分享方法的流程圖。在本實施例中,流量請求方法S200的各個步驟S210~S240可由需求者裝置10執行,而流量分享方法S300的各個步驟S310~S340則可由分享者裝置20執行,藉以相輔相成地讓需求者裝置10可透過分享者裝置20所分享的流量進行網路存取。以下即搭配圖1所示的元件來說明流量請求方法S200及流量分享方法S300各個步驟的細節。2 is a flowchart of a flow request method and a flow sharing method according to an embodiment of the invention. In this embodiment, the steps S210-S240 of the traffic request method S200 can be performed by the consumer device 10, and the steps S310-S340 of the traffic sharing method S300 can be performed by the consumer device 20, so that the consumer device 10 can complement each other. The network traffic can be accessed through the traffic shared by the sharer device 20. The details of each step of the flow request method S200 and the flow sharing method S300 are described below with the components shown in FIG. 1.

在步驟S210中,在缺乏網路連線的情況下,收發器12透過無線通信技術搜尋可分享流量予需求者裝置10的第一裝置。在一實施例中,無線通信技術包含藍牙通信技術及無線保真(wireless fidelity,Wi-Fi)通信技術,或是其他點對點通信技術,但本發明可不限於此。由收發器12所搜尋到的一或多個第一裝置例如是位於無線通信技術的傳輸範圍內的各種裝置,例如智慧型手機、平板電腦等,但可不限於此。In step S210, in the absence of a network connection, the transceiver 12 searches for the first device that can share the traffic to the consumer device 10 through wireless communication technology. In one embodiment, the wireless communication technology includes Bluetooth communication technology and wireless fidelity (wireless fidelity, Wi-Fi) communication technology, or other point-to-point communication technology, but the present invention is not limited thereto. The one or more first devices searched by the transceiver 12 are, for example, various devices within the transmission range of the wireless communication technology, such as smart phones, tablet computers, etc., but they are not limited thereto.

接著,在步驟S220中,處理器13從第一裝置選定分享者裝置20,並向分享者裝置20發出請求RQ。在本實施例中,請求RQ包括需求者裝置10的身分資訊,用以讓分享者裝置20代替需求者裝置10向伺服器30請求驗證。在一實施例中,處理器13可依據各第一裝置的訊號強度及可用流量從第一裝置中選定分享者裝置20,其中分享者裝置20的訊號強度可高於第一門檻值,且分享者裝置20的可用流量可高於第二門檻值。在不同的實施例中,第一門檻值及第二門檻值可依設計者的需求而設定為任意數值。舉例而言,第一門檻值例如至少為-87 dBm,而第二門檻值例如至少為2 GB,但本發明可不限於此。Next, in step S220, the processor 13 selects the sharer device 20 from the first device, and sends a request RQ to the sharer device 20. In this embodiment, the request RQ includes the identity information of the requester device 10, which is used to allow the sharer device 20 to request the server 30 for verification instead of the requester device 10. In an embodiment, the processor 13 may select the sharer device 20 from the first devices according to the signal strength and available traffic of each first device, wherein the signal strength of the sharer device 20 may be higher than the first threshold and share The available traffic of the user device 20 may be higher than the second threshold. In different embodiments, the first threshold and the second threshold can be set to any value according to the designer's needs. For example, the first threshold value is at least -87 dBm, and the second threshold value is at least 2 GB, but the invention may not be limited to this.

在另一實施例中,處理器13亦可依各第一裝置的訊號強度將第一裝置區分為多個群組,再從其中一或多個群組中任選一個第一裝置作為分享者裝置20。舉例而言,處理器13可將訊號強度大於-60 dBm的第一裝置歸類為第一群組(訊號優良),訊號強度介於-60 dBm及-87 dBm之間的第一裝置歸類為第二群組(訊號中等),而訊號強度低於-87 dBm的第一裝置歸類為第三群組(訊號不佳)。接著,處理器13例如可從第一群組及/或第二群組中任選一個第一裝置作為分享者裝置20。或者,處理器13也可從第一群組及/或第二群組中選擇可用流量高於第二門檻值的第一裝置作為分享者裝置20。In another embodiment, the processor 13 can also divide the first device into multiple groups according to the signal strength of each first device, and then select one of the first devices from one or more groups as a sharer装置20。 20 devices. For example, the processor 13 may classify the first devices with signal strength greater than -60 dBm as the first group (good signal), and classify the first devices with signal strength between -60 dBm and -87 dBm The second group (medium signal), and the first device with a signal strength below -87 dBm is classified as the third group (poor signal). Then, the processor 13 may select one first device from the first group and/or the second group as the sharer device 20, for example. Alternatively, the processor 13 may also select, from the first group and/or the second group, the first device whose available traffic is higher than the second threshold as the sharer device 20.

在需求者裝置10發送請求RQ之後,相應地,在步驟S310中,收發器22透過無線通信技術接收來自需求者裝置10的請求RQ,且處理器23依據請求RQ代替需求者裝置10向伺服器30請求驗證。具體而言,由於需求者裝置10缺乏連線而無法直接連接至伺服器30,因此分享者裝置20可代替需求者裝置10向伺服器30請求驗證。如此一來,需求者裝置10毋須連上網際網路就可以找到分享者裝置20。相較於必須從伺服器取得分享者裝置的習知作法,本發明方法的使用對象更不受限,因而可擴及到無法行動上網但偶有上網需求的需求者裝置10。After the requester device 10 sends the request RQ, accordingly, in step S310, the transceiver 22 receives the request RQ from the requester device 10 through wireless communication technology, and the processor 23 replaces the requester device 10 to the server according to the request RQ 30 Request verification. Specifically, since the consumer device 10 lacks connection and cannot be directly connected to the server 30, the sharer device 20 can request verification from the server 30 instead of the consumer device 10. In this way, the demander device 10 can find the sharer device 20 without connecting to the Internet. Compared with the conventional method of having to obtain the sharer device from the server, the method of the present invention is not limited in its use object, so it can be extended to the user device 10 who cannot access the Internet but has occasional Internet access requirements.

之後,在步驟S320中,收發器22接收伺服器30驗證需求者裝置10的驗證結果,且處理器23據以判斷需求者裝置10是否通過驗證。接著,在步驟S330中,當需求者裝置10通過驗證時,收發器22發送回應RS至需求者裝置10。在一實施例中,回應RS可包括分享者裝置20指定的連線方式及連線密碼,而前述指定的連線方式可與需求者裝置10用來搜尋前述第一裝置所使用的無線通信技術相同或相異,而前述連線密碼則用於讓需求者裝置10之後能夠據以通過前述連線方式的驗證。Then, in step S320, the transceiver 22 receives the verification result of the server 30 verifying the consumer device 10, and the processor 23 accordingly determines whether the consumer device 10 passes the verification. Next, in step S330, when the consumer device 10 passes the verification, the transceiver 22 sends a response RS to the consumer device 10. In one embodiment, the response RS may include the connection method and the connection password specified by the sharer device 20, and the specified connection method may be used by the consumer device 10 to search for the wireless communication technology used by the first device The same or different, and the aforementioned connection password is used to enable the consumer device 10 to pass the verification of the aforementioned connection method.

在分享者裝置20發送回應RS之後,相應地,收發器12在步驟S230中接收分享者裝置20響應於請求RQ的回應RS,且處理器13基於回應RS判斷需求者裝置10是否通過伺服器30的驗證。接著,在步驟S240中,當需求者裝置10通過伺服器30的驗證時,收發器13基於回應RS與分享者裝置20建立連線。承先前實施例所述,收發器13可基於回應RS中分享者裝置20指定的連線方式及連線密碼來與分享者裝置20建立連線。After the sharer device 20 sends the response RS, the transceiver 12 receives the response RS from the sharer device 20 in response to the request RQ in step S230, and the processor 13 determines whether the requester device 10 passes the server 30 based on the response RS Verification. Next, in step S240, when the requester device 10 passes the authentication of the server 30, the transceiver 13 establishes a connection with the sharer device 20 based on the response RS. As described in the previous embodiment, the transceiver 13 can establish a connection with the sharer device 20 based on the connection method and the connection password specified by the sharer device 20 in the response RS.

在步驟S340中,在需求者裝置10依據回應RS與分享者裝置20建立連線之後,處理器23透過連線與需求者裝置10分享網路流量。相應地,需求者裝置10可透過此連線接受分享者裝置20所分享的網路流量。In step S340, after the consumer device 10 establishes a connection with the sharer device 20 according to the response RS, the processor 23 shares the network traffic with the consumer device 10 through the connection. Correspondingly, the requester device 10 can accept the network traffic shared by the sharer device 20 through this connection.

由上可知,由於本發明的需求者裝置10係透過藍牙通信技術及Wi-Fi通信技術等點對點通信技術來搜尋分享者裝置20,相較於LBS技術,可解決室內定位不準確、樓層與建築物屏蔽及無法確保分享者裝置為可連線等問題。並且,由於需求者裝置需通過伺服器30的驗證方能進行後續的連線,因此本發明提供了可讓陌生的兩個裝置分享流量的安全機制。再者,本發明後續可規劃商業模式,讓臨時需要的使用者可借用流量,而持有資源者也能從中獲得回饋,達到共享經濟的目的。As can be seen from the above, since the demander device 10 of the present invention searches for the sharer device 20 through peer-to-peer communication technologies such as Bluetooth communication technology and Wi-Fi communication technology, compared to LBS technology, it can solve inaccurate indoor positioning, floors and buildings Object shielding and the inability to ensure that the sharer’s device is connectable. Moreover, since the requester device needs to pass the authentication of the server 30 to make subsequent connections, the present invention provides a security mechanism that allows two strangers to share traffic. Furthermore, the present invention can subsequently plan a business model so that users who are temporarily needed can borrow traffic, and resource holders can also get feedback from them to achieve the purpose of sharing economy.

在一實施例中,當需求者裝置10欲主動地中斷前述連線時,收發器12可發送一結束使用網路信號予伺服器30,並中斷前述連線。在另一實施例中,在伺服器30接收到前述結束使用網路信號後,可相應地發送結束分享通知予分享者裝置20,而分享者裝置20可停止透過連線與需求者裝置10分享網路流量,並發送一中斷連線資訊至伺服器30,其中前述中斷連線資訊包括分享者裝置20的身分資訊及需求者裝置10的身分資訊,用以讓伺服器30進行相應的管理行為,例如依需求者裝置10使用的流量向需求者裝置10收費及/或支付報酬予分享者裝置20等,但可不限於此。In an embodiment, when the demander device 10 intends to actively terminate the aforementioned connection, the transceiver 12 may send an end-of-use network signal to the server 30 and terminate the aforementioned connection. In another embodiment, after receiving the aforementioned end-of-use network signal, the server 30 may correspondingly send the end-of-sharing notification to the sharer device 20, and the sharer device 20 may stop sharing with the requester device 10 through the connection Network traffic, and sends a disconnection information to the server 30, wherein the aforementioned disconnection information includes the identity information of the sharer device 20 and the identity information of the requester device 10, for the server 30 to perform corresponding management actions For example, the demander device 10 is charged and/or paid to the sharer device 20 according to the traffic used by the demander device 10, but it is not limited thereto.

在一實施例中,當前述連線意外地中斷時,需求者裝置10可再次透過無線通信技術搜尋可分享流量予需求者裝置10的裝置,並可依先前實施例中的教示再次從中找出其他的分享者裝置,其相關的細節可參照圖2的相關說明,在此不再贅述。此外,當前述連線中斷時,分享者裝置20亦可停止透過連線與需求者裝置10分享網路流量,並發送中斷連線資訊至伺服器30,藉以讓伺服器30進行相應的管理行為。In one embodiment, when the aforementioned connection is unexpectedly interrupted, the consumer device 10 can search again for a device that can share traffic to the consumer device 10 through wireless communication technology, and can find it again according to the teaching in the previous embodiment For other sharer devices, the relevant details can refer to the related description of FIG. 2 and will not be repeated here. In addition, when the aforementioned connection is interrupted, the sharer device 20 can also stop sharing network traffic with the demander device 10 through the connection, and send the disconnection information to the server 30, so that the server 30 can perform corresponding management actions .

在一實施例中,當分享者裝置20的累計流量到達流量門檻值時,分享者裝置20可透過前述連線傳送中斷連線通知至需求者裝置10,以令需求者裝置10相應地關閉連線。並且,分享者裝置20可發送中斷連線資訊至伺服器30,藉以讓伺服器30進行相應的管理行為。In one embodiment, when the accumulated traffic of the sharer device 20 reaches the flow threshold, the sharer device 20 may send a disconnection notification to the demander device 10 through the aforementioned connection, so that the demander device 10 closes the connection accordingly line. Moreover, the sharer device 20 can send the disconnection information to the server 30, so that the server 30 can perform corresponding management actions.

綜上所述,本發明提出的流量請求方法及其裝置可讓缺乏網路連線的需求者裝置透過無線通信技術找到附近的第一裝置,並依據各第一裝置的訊號強度或可用流量從中選擇分享者裝置,進而讓分享者裝置代為向伺服器提出驗證需求者裝置的請求。在驗證成功之後,需求者裝置即可透過與分享者裝置之間的連線存取網路。藉此,需求者裝置毋須連上網際網路就可以找到分享者裝置。相較於必須從伺服器取得分享者裝置的習知作法,本發明方法的使用對象更不受限,因而可擴及到無法行動上網但偶有上網需求的需求者裝置。In summary, the flow request method and device proposed by the present invention can allow a demander device that lacks a network connection to find a nearby first device through wireless communication technology, and based on the signal strength or available traffic of each first device Select the sharer device, and then let the sharer device make a request to the server to authenticate the requester device. After the verification is successful, the requester device can access the network through the connection with the sharer device. In this way, the demander device can find the sharer device without connecting to the Internet. Compared with the conventional method of having to obtain the sharer device from the server, the method of the present invention is not limited in its use object, so it can be extended to demander devices that cannot access the Internet but have occasional Internet access requirements.

相應地,本發明提出一種流量分享方法及其裝置,其可讓分享者裝置依據需求者裝置的請求向伺服器請求驗證需求者裝置,並在需求者裝置通過驗證之後向需求者裝置相應地發送回應,以讓需求者裝置可依此回應與分享者裝置建立連線並透過分享者裝置分享的流量來存取網路。藉此,可讓臨時需要使用網路的需求者裝置,而持有資源的分享者裝置也能從中獲得回饋。Correspondingly, the present invention proposes a traffic sharing method and device, which allows the sharer device to request the server to verify the requester device according to the request of the requester device, and send the requester device accordingly after passing the verification Response, so that the requester device can respond to establish a connection with the sharer device and access the network through the traffic shared by the sharer device. In this way, the consumer device that needs to use the network temporarily, and the sharer device that holds the resource can also get feedback from it.

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

10‧‧‧需求者裝置11、21‧‧‧儲存電路12、22‧‧‧收發器13、23‧‧‧處理器20‧‧‧分享者裝置30‧‧‧伺服器S200‧‧‧流量請求方法S210~S240‧‧‧步驟S300‧‧‧流量分享方法S310~S340‧‧‧步驟RQ‧‧‧請求RS‧‧‧回應10‧‧‧ demander device 11, 21‧‧‧ storage circuit 12, 22‧‧‧ transceiver 13, 23‧‧‧ processor 20‧‧‧ sharer device 30‧‧‧ server S200‧‧‧ flow request Method S210~S240‧‧‧Step S300‧‧‧Flow sharing method S310~S340‧‧‧Step RQ‧‧‧Request RS‧‧‧Response

圖1是依據本發明之一實施例繪示的需求者裝置、分享者裝置及伺服器的示意圖。 圖2是依據本發明之一實施例繪示的流量請求方法及流量分享方法的流程圖。FIG. 1 is a schematic diagram of a consumer device, a sharer device, and a server according to an embodiment of the invention. 2 is a flowchart of a flow request method and a flow sharing method according to an embodiment of the invention.

S200‧‧‧流量請求方法 S200‧‧‧Flow request method

S210~S240‧‧‧步驟 S210~S240‧‧‧Step

S300‧‧‧流量分享方法 S300‧‧‧Flow sharing method

S310~S340‧‧‧步驟 S310~S340‧‧‧Step

Claims (7)

一種流量請求方法,適於一需求者裝置,包括:在缺乏一網路連線的情況下,透過一無線通信技術搜尋可分享流量予該需求者裝置的至少一第一裝置;從該至少一第一裝置選定一分享者裝置,並向該分享者裝置發出一請求,以令該分享者裝置代替該需求者裝置向一伺服器請求驗證,其中該請求包括該需求者裝置的一身分資訊,其中從該至少一第一裝置選定該分享者裝置的步驟包括依據各該至少一第一裝置的一訊號強度及一可用流量從該至少一第一裝置選定該分享者裝置,其中該分享者裝置的該訊號強度高於一第一門檻值,且該分享者裝置的該可用流量高於一第二門檻值;接收該分享者裝置響應於該請求的一回應,並基於該回應判斷該需求者裝置是否通過該伺服器的驗證;以及當該需求者裝置通過該伺服器的驗證時,基於該回應與該分享者裝置建立一連線,以透過該連線接受該分享者裝置所分享的一網路流量。 A flow request method suitable for a consumer device, including: searching for at least one first device that can share traffic to the consumer device through a wireless communication technology in the absence of a network connection; from the at least one The first device selects a sharer device, and sends a request to the sharer device, so that the sharer device replaces the requester device to request authentication from a server, wherein the request includes identity information of the requester device, The step of selecting the sharer device from the at least one first device includes selecting the sharer device from the at least one first device based on a signal strength and an available flow rate of each of the at least one first device, wherein the sharer device The signal strength of is higher than a first threshold, and the available traffic of the sharer device is higher than a second threshold; receiving a response from the sharer device in response to the request, and judging the demander based on the response Whether the device passes the authentication of the server; and when the demander device passes the authentication of the server, establishes a connection with the sharer device based on the response to accept a share of the sharer device through the connection Internet traffic. 如申請專利範圍第1項所述的方法,其中該無線通信技術包含一藍牙通信技術及一無線保真(wireless fidelity,Wi-Fi)通信技術。 The method according to item 1 of the patent application scope, wherein the wireless communication technology includes a Bluetooth communication technology and a wireless fidelity (Wi-Fi) communication technology. 如申請專利範圍第1項所述的方法,其中在透過該無線通信技術搜尋可分享流量予該需求者裝置的該至少一第一裝置的步驟之前,更包括: 預先透過一應用程式將該需求者裝置的一裝置資訊、一用戶帳號及一用戶密碼註冊於該伺服器上。 The method according to item 1 of the patent application scope, wherein before the step of searching the at least one first device that can share the traffic to the consumer device through the wireless communication technology, the method further includes: The device information, a user account, and a user password of the requester device are registered on the server through an application in advance. 如申請專利範圍第1項所述的方法,其中當該需求者裝置通過該伺服器的驗證時,該回應包括該分享者裝置指定的一連線方式及一連線密碼,且該需求者裝置基於該連線方式及該連線密碼與該分享者裝置建立該連線。 The method as described in item 1 of the patent application scope, wherein when the requester device passes the authentication of the server, the response includes a connection method and a connection password specified by the sharer device, and the requester device The connection is established with the sharer device based on the connection method and the connection password. 如申請專利範圍第1項所述的方法,更包括當該需求者裝置欲主動地中斷該連線時,發送一結束使用網路信號予該伺服器,並中斷該連線。 The method as described in item 1 of the scope of the patent application further includes sending a signal to end the use of the network to the server and interrupting the connection when the consumer device wants to actively disconnect the connection. 如申請專利範圍第1項所述的方法,更包括:當該連線意外地中斷時,再次透過該無線通信技術搜尋可分享流量予該需求者裝置的至少一第二裝置。 The method described in item 1 of the scope of the patent application further includes: when the connection is accidentally interrupted, searching for at least one second device that can share traffic to the consumer device through the wireless communication technology. 一種需求者裝置,包括:一儲存電路,儲存多個模組;一收發器;以及一處理器,耦接該儲存電路及該收發器,存取該些模組以執行下列步驟:在缺乏一網路連線的情況下,控制該收發器透過一無線通信技術搜尋可分享流量予該需求者裝置的至少一第一裝置;從該至少一第一裝置選定一分享者裝置,並控制該收發器向該分享者裝置發出一請求,以令該分享者裝置代替該需求者裝置向一伺服器請求驗證,其中該請求包括該需求者裝置的一身 分資訊,其中從該至少一第一裝置選定該分享者裝置的步驟包括依據各該至少一第一裝置的一訊號強度及一可用流量從該至少一第一裝置選定該分享者裝置,其中該分享者裝置的該訊號強度高於一第一門檻值,且該分享者裝置的該可用流量高於一第二門檻值;控制該收發器接收該分享者裝置響應於該請求的一回應,並基於該回應判斷該需求者裝置是否通過該伺服器的驗證;以及當該需求者裝置通過該伺服器的驗證時,基於該回應控制該收發器與該分享者裝置建立一連線,以透過該連線接受該分享者裝置所分享的一網路流量。 A consumer device includes: a storage circuit storing multiple modules; a transceiver; and a processor coupled to the storage circuit and the transceiver to access the modules to perform the following steps: in the absence of a In the case of a network connection, control the transceiver to search for at least one first device that can share traffic to the requester device through a wireless communication technology; select a sharer device from the at least one first device, and control the transceiver The device sends a request to the sharer device to allow the sharer device to request authentication from a server instead of the requester device, where the request includes a body of the requester device Information, wherein the step of selecting the sharer device from the at least one first device includes selecting the sharer device from the at least one first device based on a signal strength and an available flow rate of each of the at least one first device, wherein the The signal strength of the sharer device is higher than a first threshold, and the available traffic of the sharer device is higher than a second threshold; controlling the transceiver to receive a response from the sharer device in response to the request, and Determine whether the requester device passes the authentication of the server based on the response; and when the requester device passes the authentication of the server, control the transceiver to establish a connection with the sharer device based on the response to pass the Connect to accept a network traffic shared by the sharer device.
TW106145235A 2017-12-22 2017-12-22 Method for requesting traffic, method for sharing traffic and apparatuses using the same TWI689212B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106145235A TWI689212B (en) 2017-12-22 2017-12-22 Method for requesting traffic, method for sharing traffic and apparatuses using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106145235A TWI689212B (en) 2017-12-22 2017-12-22 Method for requesting traffic, method for sharing traffic and apparatuses using the same

Publications (2)

Publication Number Publication Date
TW201929568A TW201929568A (en) 2019-07-16
TWI689212B true TWI689212B (en) 2020-03-21

Family

ID=68049193

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106145235A TWI689212B (en) 2017-12-22 2017-12-22 Method for requesting traffic, method for sharing traffic and apparatuses using the same

Country Status (1)

Country Link
TW (1) TWI689212B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252506A (en) * 2007-12-29 2008-08-27 中国建设银行股份有限公司 Data transmission system
US20140206346A1 (en) * 2013-01-22 2014-07-24 Nokia Corporation Method, apparatus, and computer program product for power save control for tethering connections
CN104869616A (en) * 2015-05-25 2015-08-26 成都西蒙电子技术有限公司 Cloud share wireless router equipment and connection method
CN105069669A (en) * 2015-07-01 2015-11-18 陆洋 Flow transaction method and system based on WiFi
CN105338654A (en) * 2014-05-30 2016-02-17 展讯通信(上海)有限公司 Network sharing method, apparatus and system
CN105610989A (en) * 2016-03-26 2016-05-25 上海斐讯数据通信技术有限公司 Data traffic sharing method and system
CN106068019A (en) * 2016-05-24 2016-11-02 中国联合网络通信集团有限公司 Authorization method, terminal unit and the server that focus is shared
CN106130818A (en) * 2016-06-30 2016-11-16 乐视控股(北京)有限公司 Network sharing, requesting terminal and network share flux monitoring method and system
CN107148090A (en) * 2017-06-30 2017-09-08 罗颖莉 A kind of method and device for sharing flow between the plurality of terminals

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252506A (en) * 2007-12-29 2008-08-27 中国建设银行股份有限公司 Data transmission system
US20140206346A1 (en) * 2013-01-22 2014-07-24 Nokia Corporation Method, apparatus, and computer program product for power save control for tethering connections
CN105338654A (en) * 2014-05-30 2016-02-17 展讯通信(上海)有限公司 Network sharing method, apparatus and system
CN104869616A (en) * 2015-05-25 2015-08-26 成都西蒙电子技术有限公司 Cloud share wireless router equipment and connection method
CN105069669A (en) * 2015-07-01 2015-11-18 陆洋 Flow transaction method and system based on WiFi
CN105610989A (en) * 2016-03-26 2016-05-25 上海斐讯数据通信技术有限公司 Data traffic sharing method and system
CN106068019A (en) * 2016-05-24 2016-11-02 中国联合网络通信集团有限公司 Authorization method, terminal unit and the server that focus is shared
CN106130818A (en) * 2016-06-30 2016-11-16 乐视控股(北京)有限公司 Network sharing, requesting terminal and network share flux monitoring method and system
CN107148090A (en) * 2017-06-30 2017-09-08 罗颖莉 A kind of method and device for sharing flow between the plurality of terminals

Also Published As

Publication number Publication date
TW201929568A (en) 2019-07-16

Similar Documents

Publication Publication Date Title
KR102382853B1 (en) Methods and systems for dynamic creation of hotspots for media control
TWI727467B (en) Trustworthiness verification method, system, device and equipment of alliance chain
CN106134143B (en) Method, apparatus and system for dynamic network access-in management
CN103329503B (en) AD HOC file-sharing
EP3078201B1 (en) Mobile device generated sharing of cloud media collections
JP6523242B2 (en) Portable platform for networked computing
TWI502925B (en) Techniques to monitor connection paths on networked devices
US8554827B2 (en) Virtual peer for a content sharing system
RU2415514C2 (en) Mobile peer-to-peer networks
US20070297426A1 (en) Local peer-to-peer digital content distribution
US10154011B2 (en) Secure data sharing with publicly accessible computing nodes
CN103685140B (en) Resource share method and system based on cloud storage
CN103563330A (en) Facilitating data access control in peer-to-peer overlay networks
US10993090B2 (en) Network access method, apparatus, and system
US20160192344A1 (en) Techniques for peer-to-peer network sharing
US20170325275A1 (en) Communication device for improved establishing of a connection between devices
WO2020134616A1 (en) Method, system, apparatus and device for processing request in alliance chain
CN106063307A (en) Priority access to a priority access channel
TW202026983A (en) Credibility verification method of alliance chain, system, device and apparatus
KR20170021831A (en) Courier network service
CN105991596A (en) Access control method and system
US20150278215A1 (en) Terminal and social group configuring method thereof, and communication system including the terminal
US10749872B2 (en) Method and device for controlling resource access
KR20150043150A (en) Method and apparatus for access control system using relationship information
WO2021027842A1 (en) Method, device and system for implementing edge computing