TW201633810A - Method for instant message transport - Google Patents

Method for instant message transport Download PDF

Info

Publication number
TW201633810A
TW201633810A TW104107988A TW104107988A TW201633810A TW 201633810 A TW201633810 A TW 201633810A TW 104107988 A TW104107988 A TW 104107988A TW 104107988 A TW104107988 A TW 104107988A TW 201633810 A TW201633810 A TW 201633810A
Authority
TW
Taiwan
Prior art keywords
message
client device
connection
instant messaging
proxy layer
Prior art date
Application number
TW104107988A
Other languages
Chinese (zh)
Other versions
TWI583224B (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 TW104107988A priority Critical patent/TWI583224B/en
Publication of TW201633810A publication Critical patent/TW201633810A/en
Application granted granted Critical
Publication of TWI583224B publication Critical patent/TWI583224B/en

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

A method for instant message transport is disclosed. The method includes disposing an application in a plurality of user ends, building a connection from a first user end of the user ends to a second user end of the user ends in a short-range communication means with automatic connection by the application, building a connection from the second user end to a messaging proxy layer, building a connection from the messaging proxy layer to an instant message platform, and transferring a message from the first user end to the instant message platform or receiving a message by the first user end from the instant message platform via the connection of the plurality user end and the messaging proxy layer.

Description

訊息之即時通訊方法Instant messaging method

本發明是有關於一種訊息之即時通訊方法,特別是有關於一種使不具網路連線能力之通訊者可收發即時通訊訊息之即時通訊方法。The present invention relates to a method for instant messaging of a message, and more particularly to an instant messaging method for enabling a non-network connection capable communicator to send and receive instant messaging messages.

在個人智慧型裝置普及的現在,使用即時通訊軟體與他人交流已成為許多人日常生活不可或缺的一部分。舉例來說,諸如LINE、WhatsApp、WeChat等通訊軟體都是擁有智慧型手機或平板電腦的人每天都會使用的。藉由此種通訊軟體,使用者可以僅支付相當低的成本,就與其它使用相同通訊軟體的使用者進行交流。Nowadays, with the popularity of personal smart devices, using instant messaging software to communicate with others has become an indispensable part of many people's daily lives. For example, communication software such as LINE, WhatsApp, WeChat, etc. are used by people with smart phones or tablets every day. With this communication software, users can communicate with other users who use the same communication software at a relatively low cost.

然而,在某些情況下,智慧型裝置的使用者可能會一時不具網路連線能力,而無法使用例如上述之各種通訊軟體來對外交流。舉例來說,當到外國旅遊但卻忘記申請漫遊服務,週遭又沒有可輕易取得的網路連線,此時使用者可能就沒辦法使用通訊軟體與親友連絡。一旦旅途發生意外,要向外求援可能都有困難。此外,在剛購買智慧型裝置而尚未申請網路合約或是合約剛到期時,可能也會一時不能進行網路連線而無法使用通訊軟體,進而造成生活上的不便。However, in some cases, users of smart devices may not have the ability to connect to the Internet at one time, and cannot use other communication software such as the above to communicate with each other. For example, when traveling to a foreign country but forgetting to apply for roaming services, there is no easy-to-access network connection, and users may not be able to use the communication software to contact friends and relatives. Once an accident occurs on the road, it may be difficult to ask for help. In addition, when you have just purchased a smart device and have not applied for a network contract or the contract has just expired, you may not be able to use the network connection for a while and you will not be able to use the communication software, which will cause inconvenience in your life.

雖然目前智慧型裝置大部分皆有網路熱點的功能,但根據所處的環境,可能無法輕易找到人分享網路頻寬資源以供使用。再者,一般網路熱點需要經過設定,例如搜尋裝置,輸入密碼等步驟,對資訊產品不是很熟悉的人來說,可能不是相當容易使用的。Although most of the current smart devices have the function of network hotspots, depending on the environment, it may not be easy to find people to share network bandwidth resources for use. Moreover, the general network hotspot needs to be set, such as searching for a device, entering a password, etc., and for those who are not very familiar with the information product, it may not be quite easy to use.

有鑑於上述習知技藝之問題,本發明之目的就是在提供一種訊息之即時通訊方法,以使不具網路連線能力之通訊者仍可收發即時通訊訊息。In view of the above-mentioned problems of the prior art, the object of the present invention is to provide a method for instant messaging of messages so that a communicator without network connection capability can still send and receive instant messaging messages.

根據本發明之一目的,提出一種訊息之即時通訊方法。此訊息之即時通訊方法包含設置應用程式至複數個用戶端裝置;由複數個用戶端裝置之第一用戶端裝置藉由應用程式以自動連線之近距離無線通訊方式與複數個用戶端裝置之第二用戶端裝置建立連線;使第二用戶端裝置與訊息代理層建立連線;將訊息代理層與即時通訊平台建立連線;以及令第一用戶端裝置透過複數個用戶端裝置與訊息代理層之連線傳送訊息至即時通訊平台或由即時通訊平台接收訊息。According to one aspect of the present invention, an instant messaging method for a message is proposed. The instant messaging method of the message includes setting the application to a plurality of client devices; the first client device of the plurality of client devices is automatically connected to the short-range wireless communication method and the plurality of client devices by the application program. The second client device establishes a connection; the second client device establishes a connection with the message broker layer; establishes a connection between the message proxy layer and the instant messaging platform; and causes the first client device to access the plurality of client devices and messages The agent layer connects the message to the instant messaging platform or receives the message from the instant messaging platform.

較佳地,其中第二用戶端裝置可藉由網路連線方式與訊息代理層建立連線。Preferably, the second client device can establish a connection with the message proxy layer by using a network connection.

較佳地,其中第一用戶端裝置藉由應用程式以自動連線之近距離無線通訊與第二用戶端裝置建立連線之步驟可包含:使第一用戶端裝置藉由應用程式以自動連線之近距離無線通訊方式與複數個用戶端裝置之第三用戶端裝置建立連線;以及令第三用戶端裝置藉由應用程式以自動連線之近距離無線通訊方式與第二用戶端裝置建立連線。Preferably, the step of the first client device establishing a connection with the second client device by using the application to automatically connect the short-range wireless communication may include: causing the first client device to automatically connect by using the application The short-range wireless communication mode of the line establishes a connection with the third user equipment of the plurality of client devices; and the short-range wireless communication mode and the second user terminal device for automatically connecting the third user terminal device by the application program Establish a connection.

較佳地,其中使第二用戶端裝置與訊息代理層建立連線之步驟可包含:使第二用戶端裝置藉由應用程式以自動連線之近距離無線通訊方式與複數個用戶端裝置之第四用戶端裝置建立連線;以及令第四用戶端裝置藉由網路連線方式與訊息代理層建立連線。Preferably, the step of connecting the second client device to the message proxy layer may include: causing the second client device to automatically connect to the short-range wireless communication mode and the plurality of client devices by using the application program. The fourth client device establishes a connection; and causes the fourth client device to establish a connection with the message broker layer by using a network connection manner.

較佳地,其中使第二用戶端裝置與訊息代理層建立連線之步驟可包含:使第二用戶端裝置藉由近距離無線通訊方式與設置於固定位置之信標裝置建立連線;以及令信標裝置藉由網路連線方式與訊息代理層建立連線。Preferably, the step of establishing the connection between the second client device and the message proxy layer may include: causing the second client device to establish a connection with the beacon device disposed at the fixed location by short-range wireless communication; The beacon device is connected to the message broker layer by means of network connection.

較佳地,其中令第一用戶端裝置透過複數個用戶端裝置與訊息代理層之連線傳送訊息至即時通訊平台之步驟可包含:以第一用戶端裝置加密訊息;使第一用戶端裝置透過複數個用戶端裝置與訊息代理層之連線傳送訊息至即時通訊平台;以即時通訊平台傳送訊息給收件用戶端裝置;以及令收件用戶端裝置解密該訊息。Preferably, the step of causing the first client device to transmit the message to the instant messaging platform through the connection between the plurality of client devices and the message broker layer may include: encrypting the message by the first client device; and causing the first client device Transmitting a message to the instant messaging platform through a plurality of connection between the client device and the message broker layer; transmitting the message to the receiving client device through the instant messaging platform; and causing the receiving client device to decrypt the message.

較佳地,其中令第一用戶端裝置透過複數個用戶端裝置與訊息代理層之連線由即時通訊平台接收訊息之步驟可包含:令即時通訊平台傳送加密後之訊息給訊息代理層;使訊息代理層透過複數個用戶端裝置之連線傳送訊息給第一用戶端裝置;以及以第一用戶端裝置解密訊息。Preferably, the step of causing the first client device to receive the message from the instant messaging platform through the connection between the plurality of client devices and the message broker layer may include: causing the instant messaging platform to transmit the encrypted message to the message proxy layer; The message proxy layer transmits a message to the first client device through a connection of a plurality of client devices; and decrypts the message with the first client device.

較佳地,其中令訊息代理層透過複數個用戶端裝置之連線傳送訊息給第一用戶端裝置之步驟可包含:由訊息代理層送出偵測指令確認能與第一用戶端裝置建立連線之路徑;使訊息代理層由能與第一用戶端裝置建立連線之路徑選定第一傳送路徑;以及令訊息代理層透過第一傳送路徑傳送訊息給第一用戶端裝置。Preferably, the step of the message proxy layer transmitting the message to the first client device through the connection of the plurality of client devices may include: sending, by the message agent layer, the detection command to confirm that the connection with the first client device is possible. a path; the message proxy layer is selected by the path that can establish a connection with the first client device; and the message broker layer transmits the message to the first client device through the first transmission path.

較佳地,其中令訊息代理層透過複數個用戶端裝置之連線傳送訊息給第一用戶端裝置之步驟可包含:當訊息代理層透過第一傳送路徑傳送訊息給第一用戶端裝置之步驟發生錯誤時,使在第一傳送路徑上並接收到訊息之複數個用戶端裝置之第五用戶端裝置發出錯誤回報訊息給訊息代理層;使訊息代理層根據錯誤回報訊息,由能與第一用戶端裝置建立連線之傳送路徑中選定第二傳送路徑;以及令訊息代理層透過第二傳送路徑傳送訊息給第一用戶端裝置。Preferably, the step of causing the message proxy layer to transmit the message to the first client device through the connection of the plurality of client devices may include: the step of transmitting the message to the first client device through the first transmission path by the message proxy layer When an error occurs, the fifth client device of the plurality of client devices that receive the message on the first transmission path sends an error report message to the message proxy layer; so that the message broker layer can respond to the error according to the error report message. The client device establishes a second transmission path in the transmission path of the connection; and causes the message agent layer to transmit the message to the first client device through the second transmission path.

較佳地,其中應用程式可對應於即時通訊平台,且自動連線之近距離無線通訊方式可藉由應用程式中之套件實現。Preferably, the application program can correspond to an instant messaging platform, and the automatic connection short-range wireless communication mode can be implemented by using a kit in the application.

承上所述,依本發明之訊息之即時通訊方法,其可具有一或多個下述優點:As described above, the instant messaging method of the message according to the present invention may have one or more of the following advantages:

(1)此訊息之即時通訊方法可藉由安裝於用戶端裝置之應用程式,藉此可使不具網路連線能力之使用者無須設定就能藉由近距離無線通訊方式利用其他用戶端裝置或信標裝置之網路連線能力來收發即時通訊。(1) The instant messaging method of this message can be applied to the application of the client device, so that users without network connection capability can utilize other client devices by short-range wireless communication without setting. Or the network connection capability of the beacon device to send and receive instant messaging.

(2)此訊息之即時通訊方法可藉由包含複數個用戶端裝置所構成之近距離無線通訊網路,藉此擴展此訊息之即時通訊方法之有效通訊範圍。(2) The instant messaging method of the message can extend the effective communication range of the instant messaging method of the message by using a short-range wireless communication network comprising a plurality of client devices.

(3)此訊息之即時通訊方法可藉由包含訊息代理層,藉此可處理並找出複數個用戶端裝置所構成之近距離無線通訊網路之傳遞訊息路徑。(3) The instant messaging method of the message can be processed by the message proxy layer, thereby processing and finding the transmission message path of the short-range wireless communication network formed by the plurality of client devices.

為利 貴審查員瞭解本發明之技術特徵、內容與優點及其所能達成之功效,茲將本發明配合附圖,並以實施例之表達形式詳細說明如下,而其中所使用之圖式,其主旨僅為示意及輔助說明書之用,未必為本發明實施後之真實比例與精準配置,故不應就所附之圖式的比例與配置關係侷限本發明於實際實施上的專利範圍,合先敘明。The technical features, contents, and advantages of the present invention, as well as the advantages thereof, can be understood by the present inventors, and the present invention will be described in detail with reference to the accompanying drawings. The subject matter is only for the purpose of illustration and supplementary description. It is not necessarily the true proportion and precise configuration after the implementation of the present invention. Therefore, the scope and configuration relationship of the attached drawings should not be limited to the scope of patent application of the present invention. Narration.

以下將參照相關圖式,說明依本發明之訊息之即時通訊方法之實施例,為使便於理解,下述實施例中之相同元件係以相同之符號標示來說明。The embodiments of the instant messaging method of the message according to the present invention will be described with reference to the related drawings. For the sake of understanding, the same components in the following embodiments are denoted by the same reference numerals.

請參閱第1圖,其係為本發明之訊息之即時通訊方法所使用之系統示意圖。同時請參閱第2圖,其係為本發明之訊息之即時通訊方法之流程圖。圖中,訊息之即時通訊方法包含步驟S11之設置應用程式至複數個用戶端裝置(如第1圖中之101、102、104、104');步驟S12之由複數個用戶端裝置之第一用戶端裝置101藉由應用程式以自動連線之近距離無線通訊方式與複數個用戶端裝置之第二用戶端裝置102建立連線;步驟S13之使第二用戶端裝置102與訊息代理層200建立連線;步驟S14之將訊息代理層200與即時通訊平台300建立連線;以及步驟S15之令第一用戶端裝置101透過複數個用戶端裝置與訊息代理層200之連線傳送訊息至即時通訊平台300或由即時通訊平台300接收訊息。此處需說明的是,第二用戶端裝置102與訊息代理層200間所建立之連線可為直接連線或者是透過其他用戶端裝置或裝置之間接連線。第1圖中第二用戶端裝置102與訊息代理層200間雖只顯示間接連線,但若第二用戶端裝置102本身具有網路連線能力,第二用戶端裝置102也可與訊息代理層200建立直接連線,如之後會加以詳細說明之本發明第一實施例。Please refer to FIG. 1 , which is a schematic diagram of a system used in the instant messaging method of the message of the present invention. Please also refer to FIG. 2, which is a flow chart of the instant messaging method of the message of the present invention. In the figure, the instant messaging method of the message includes the setting application of step S11 to a plurality of client devices (such as 101, 102, 104, 104' in FIG. 1); and the first of the plurality of client devices in step S12 The client device 101 establishes a connection with the second client device 102 of the plurality of client devices by the application in an automatic connection short-range wireless communication manner; the second client device 102 and the message proxy layer 200 are enabled in step S13. Establishing a connection; the message proxy layer 200 is connected to the instant messaging platform 300 in step S14; and the first client device 101 transmits the message to the instant through the connection between the plurality of client devices and the message proxy layer 200 in step S15. The communication platform 300 receives or receives information from the instant messaging platform 300. It should be noted that the connection established between the second client device 102 and the message broker layer 200 may be a direct connection or a connection between other client devices or devices. In FIG. 1 , although the indirect connection is only displayed between the second client device 102 and the message proxy layer 200, if the second client device 102 itself has the network connection capability, the second client device 102 can also be associated with the message broker. Layer 200 establishes a direct connection, as will be described in detail in the first embodiment of the present invention.

需注意的是,第1圖中旁邊有藍芽標誌的截線代表兩個用戶端裝置間或用戶端裝置與非用戶端裝置間以近距離無線方式建立連線,雙箭頭則代表用戶端裝置與非用戶端裝置間或兩個非用戶端裝置間以網路連線方式建立連線,此種標記方式沿用至第3圖至第6B圖。雖然第2圖中之近距離無線通訊方式建立的連線以藍芽標誌方式表示,但本發明並不限於此。舉例來說,近距離無線通訊方式也可用近場通訊(near field communication, NFC)、近距離紅外線通訊或ZigBee通訊等達成。It should be noted that the cut line with the blue mark on the side of Figure 1 represents the connection between the two client devices or between the client device and the non-user device in a close-range wireless manner. The double arrow represents the user device and The connection is established by a network connection between non-customer devices or between two non-user devices. This marking method is applied to Figures 3 to 6B. Although the connection established by the short-range wireless communication method in Fig. 2 is indicated by a Bluetooth flag, the present invention is not limited thereto. For example, short-range wireless communication can also be achieved by near field communication (NFC), near infrared communication or ZigBee communication.

在此實施例中,複數個用戶端裝置可為安裝相同預定應用程式之智慧型裝置(如智慧型手機、智慧型手表、平板電腦等),透過應用程式之設定默認互相以近距離無線通訊方式自動建立連線。此處所稱自動連線是指使用者不需額外設定就能建立連線。舉例來說,在傳統之藍芽連線中,需要使用者手動選擇要與通訊範圍內的哪一個藍芽裝置進行連線並輸入配對碼。相對地,在本發明之實施例中,設置有預定應用程式之用戶端裝置可自動搜尋範圍內設置有相同應用程式之其他用戶端裝置來建立近距離無線通訊之連線,而不需選擇要與哪一個用戶端裝置進行連線。需注意的是,在第1圖中雖只包含四個用戶端裝置,但實際上本發明之訊息之即時通訊方法之部份實施例可包含複數個用戶端裝置所構成之近距離無線通訊網路,而用戶端裝置的數量可不限於四個。更進一步,在本發明之部份實施例中,只要是在近距離無線通訊方式之有效範圍內之用戶端裝置有設置預定之應用程式,用戶端裝置就會自動搜尋範圍內可用之路徑,並嘗試傳遞欲發出之訊息而使訊息最終能抵達訊息代理層200,再由訊息代理層200傳遞至即時通訊平台300。In this embodiment, a plurality of client devices can be smart devices (such as smart phones, smart watches, tablets, etc.) that are installed with the same predetermined application, and are automatically connected to each other by short-range wireless communication by default. Establish a connection. The term "automatic connection" as used herein means that the user can establish a connection without additional settings. For example, in a traditional Bluetooth connection, the user is required to manually select which Bluetooth device to communicate with and input a pairing code. In contrast, in the embodiment of the present invention, the client device provided with the predetermined application can automatically search for other client devices with the same application in the range to establish the connection of the short-range wireless communication, without selecting Which client device is connected to it. It should be noted that although only four client devices are included in FIG. 1 , in fact, some embodiments of the instant messaging method of the message of the present invention may include a short-range wireless communication network formed by a plurality of client devices. The number of client devices may not be limited to four. Further, in some embodiments of the present invention, as long as the client device in the effective range of the short-range wireless communication mode has a predetermined application, the client device automatically searches for a path available in the range, and Attempting to deliver the message to be sent causes the message to eventually reach the message broker layer 200, which is then passed to the instant messaging platform 300 by the message broker layer 200.

具體來說,第一用戶端裝置101透過近距離無線通訊方式與第二用戶端裝置102建立連線之步驟可為第一用戶端裝置101將欲傳送之訊息傳送給第二用戶端裝置102。第二用戶端裝置102再從近距離無線通訊方式之有效範圍內選定下一個訊息要傳遞的對象,而將訊息傳給下一個對象,此步驟可為第二用戶端裝置102與複數個用戶端裝置與訊息代理層200建立連線。也就是說,兩個用戶端裝置間傳遞訊息此動作可視為在兩個用戶端裝置間建立了連線。需注意的是,在以上敘述中,傳送訊息與建立連線的步驟實際上可為同時發生的,因此,本發明之訊息之即時通訊方法之步驟之實施順序可不限於第1圖之流程圖所顯示之順序。由第一用戶端裝置101發出的訊息最終會抵達訊息代理層200,而由訊息代理層200再傳遞給即時通訊平台300。此處訊息代理層200可為中間伺服器,而對應於本發明之訊息之即時通訊方法,例如訊息代理層200可管理應用本發明之訊息之即時通訊方法之用戶端裝置間之路徑,或記錄發出訊息之用戶端裝置在近距離無線通訊所構成的連線中的位址。即時通訊平台300可為即時通訊軟體之官方平台,舉例來說,即時通訊軟體可為LINE、WhatsApp、WeChat等,而即時通訊平台300可為相對應之官方平台,但本發明並不限於此。同理,當即時通訊平台300要傳送訊息給第一用戶端裝置101時,即時通訊平台300可先將欲傳送之訊息傳遞給訊息代理層200,再由訊息代理層200搜尋可用的路徑將訊息傳遞給第一用戶端裝置101。Specifically, the step of the first client device 101 establishing a connection with the second client device 102 through the short-range wireless communication mode may be used by the first client device 101 to transmit the message to be transmitted to the second client device 102. The second client device 102 selects the object to be delivered by the next message from the effective range of the short-range wireless communication mode, and transmits the message to the next object. This step may be the second client device 102 and the plurality of clients. The device establishes a connection with the message broker layer 200. That is to say, the action of transmitting messages between two client devices can be considered as establishing a connection between two client devices. It should be noted that, in the above description, the steps of transmitting the message and establishing the connection may actually occur at the same time. Therefore, the order of implementing the steps of the instant messaging method of the message of the present invention may not be limited to the flowchart of FIG. 1 . The order of display. The message sent by the first client device 101 will eventually arrive at the message broker layer 200 and be passed to the instant messaging platform 300 by the message broker layer 200. Here, the message proxy layer 200 can be an intermediate server, and the instant messaging method corresponding to the message of the present invention, for example, the message proxy layer 200 can manage the path between the client devices of the instant messaging method of the message to which the present invention is applied, or record The address of the user equipment that sends the message in the connection formed by the short-range wireless communication. The instant messaging platform 300 can be an official platform of the instant messaging software. For example, the instant messaging software can be LINE, WhatsApp, WeChat, etc., and the instant messaging platform 300 can be a corresponding official platform, but the present invention is not limited thereto. Similarly, when the instant messaging platform 300 wants to transmit a message to the first client device 101, the instant messaging platform 300 can first transmit the message to be transmitted to the message proxy layer 200, and then the message broker layer 200 searches for available path information. It is passed to the first client device 101.

於是,在本發明之實施例中,即使第一用戶端裝置101不具網路連線能力,第一用戶端裝置101仍能透過近距離無線通訊方式,將訊息傳遞給具有網路連線能力的用戶端裝置或裝置,而透過有網路連線能力的用戶端裝置或裝置將訊息傳遞給訊息代理層200。之後,訊息代理層200再將訊息傳遞給即時通訊平台300,即時通訊平台300再將訊息傳送給預定之收件用戶端裝置,而完成使不具網路連線功能之第一用戶端裝置101向預定之收件用戶端裝置發送訊息之過程。同理,其他用戶端裝置也可依同樣方式,透過即時通訊平台300及訊息代理層200向不具網路連線功能之第一用戶端裝置101發送訊息。Therefore, in the embodiment of the present invention, even if the first client device 101 does not have the network connection capability, the first client device 101 can transmit the message to the network connection capability through the short-range wireless communication mode. The client device or device transmits the message to the message broker layer 200 through the networked terminal device or device. Then, the message proxy layer 200 transmits the message to the instant messaging platform 300, and the instant messaging platform 300 transmits the message to the predetermined receiving client device, thereby completing the first client device 101 that does not have the network connection function. The process of sending a message to the predetermined receiving client device. Similarly, other client devices can also send messages to the first client device 101 that does not have the network connection function through the instant messaging platform 300 and the message proxy layer 200 in the same manner.

請參閱第3圖,其係為本發明之訊息之即時通訊方法之第一實施例之示意圖。圖中,第一用戶端裝置101透過自動連線之近距離無線通訊方式與第二用戶端裝置102建立連線,而第二用戶端裝置102可藉由網路連線方式與訊息代理層200建立連線。Please refer to FIG. 3, which is a schematic diagram of a first embodiment of the instant messaging method of the message of the present invention. In the figure, the first client device 101 establishes a connection with the second client device 102 through the short-range wireless communication method of the automatic connection, and the second client device 102 can connect to the message proxy layer 200 through the network connection mode. Establish a connection.

在此實施例中,第一用戶端裝置101不具網路連線能力,而第二用戶端裝置102具有網路連線能力。因此,第一用戶端裝置101可將訊息傳遞給第二用戶端裝置102,而透過第二用戶端裝置102將訊息傳遞給訊息代理層200。訊息代理層200再將訊息傳遞給即時通訊平台300,而完成使不具網路連線功能之第一用戶端裝置101向即時通訊平台300發送訊息之過程。此處網路連線方式可為3G\4G連線、LTE連線、Wi-Fi連線等,但本發明並不限於此。In this embodiment, the first client device 101 does not have network connection capability, and the second client device 102 has network connection capability. Therefore, the first client device 101 can transmit the message to the second client device 102 and transmit the message to the message broker layer 200 through the second client device 102. The message proxy layer 200 then passes the message to the instant messaging platform 300, and completes the process of causing the first client device 101 that does not have the network connection function to send a message to the instant messaging platform 300. Here, the network connection method may be a 3G\4G connection, an LTE connection, a Wi-Fi connection, or the like, but the present invention is not limited thereto.

請參閱第4A圖,其係為本發明之訊息之即時通訊方法之第二實施例之示意圖。圖中,第一用戶端裝置101藉由應用程式以自動連線之近距離無線通訊與第二用戶端裝置102建立連線之步驟可包含:使第一用戶端裝置101藉由應用程式以自動連線之近距離無線通訊方式與複數個用戶端裝置之第三用戶端裝置103建立連線;以及令第三用戶端裝置103藉由應用程式以自動連線之近距離無線通訊方式與第二用戶端裝置102建立連線。Please refer to FIG. 4A, which is a schematic diagram of a second embodiment of the instant messaging method of the message of the present invention. In the figure, the step of the first client device 101 establishing a connection with the second client device 102 by using an application to automatically connect the short-range wireless communication may include: causing the first client device 101 to automatically use the application. Connecting the short-range wireless communication mode to establish a connection with the third client device 103 of the plurality of client devices; and enabling the third client device 103 to automatically connect the short-range wireless communication method with the application and the second The client device 102 establishes a connection.

在此實施例中,第一用戶端裝置101不具網路連線能力,而第二用戶端裝置102具有網路連線能力。然而,第二用戶端裝置102可能不在第一用戶端裝置101之近距離無線通訊方式之有效距離內。此時,可藉由第三用戶端裝置103而建立第一用戶端裝置101與第二用戶端裝置103間之間接連線。第三用戶端裝置103亦不具網路連線能力,且同時位於第一用戶端裝置101與第二用戶端裝置102之近距離無線通訊方式之有效距離內。於是,第一用戶端裝置101可將訊息傳遞給第三用戶端裝置103,第三用戶端裝置103再將訊息傳遞給第二用戶端裝置102。之後則如第一實施例所述,此不再贅述。In this embodiment, the first client device 101 does not have network connection capability, and the second client device 102 has network connection capability. However, the second client device 102 may not be within the effective distance of the short-range wireless communication mode of the first client device 101. At this time, the connection between the first client device 101 and the second client device 103 can be established by the third client device 103. The third client device 103 also has no network connection capability and is located within the effective distance of the short-range wireless communication mode of the first client device 101 and the second client device 102. Thus, the first client device 101 can transmit the message to the third client device 103, and the third client device 103 transmits the message to the second client device 102. Then, as described in the first embodiment, it will not be described again.

當然,第一用戶端裝置101與第二用戶端裝置102間可不只有一個第三用戶端裝置103,而是有複數個第三用戶端裝置103、103’、103’’。請參閱第4B圖,其係為本發明之訊息之即時通訊方法之第三實施例之示意圖。圖中,第一用戶端裝置101可透過三個第三用戶端裝置103、103’、103’’之連線,將訊息傳遞給具有網路連線能力之第二用戶端裝置102。之後則如第一實施例所述,此不再贅述。由於包含複數個用戶端裝置之近距離通訊方式連線是可能的,本發明之訊息之即時通訊方法之部份實施例中,通訊之有效範圍可大幅擴展。舉例來說,若兩個用戶端裝置間之近距離無線通訊方式之有效距離為10~100公尺,則在最理想狀態下,即使第4B圖之第一用戶端裝置101與第二用戶端裝置102間之距離為400公尺,第一用戶端裝置101仍可透過複數個第三用戶端裝置103、103’、103’’構成的近距離無線通訊方式之連線傳遞訊息給第二用戶端裝置102。Of course, there may be more than one third client device 103 between the first client device 101 and the second client device 102, but a plurality of third client devices 103, 103', 103''. Please refer to FIG. 4B, which is a schematic diagram of a third embodiment of the instant messaging method of the message of the present invention. In the figure, the first client device 101 can transmit the message to the second client device 102 having the network connection capability through the connection of the three third client devices 103, 103', 103''. Then, as described in the first embodiment, it will not be described again. Since a short-range communication method including a plurality of client devices is possible, in some embodiments of the instant messaging method of the message of the present invention, the effective range of communication can be greatly expanded. For example, if the effective distance of the short-range wireless communication method between the two client devices is 10 to 100 meters, in the most ideal state, even the first user device 101 and the second user terminal of FIG. 4B The distance between the devices 102 is 400 meters, and the first user device 101 can still transmit the message to the second user through the connection of the short-range wireless communication modes formed by the plurality of third client devices 103, 103', 103''. End device 102.

此外,使第二用戶端裝置102與訊息代理層200建立連線之步驟也可包含:使第二用戶端裝置102藉由應用程式以自動連線之近距離無線通訊方式與複數個用戶端裝置之第四用戶端裝置104建立連線;以及令第四用戶端裝置104藉由網路連線方式與訊息代理層200建立連線。In addition, the step of establishing the connection between the second client device 102 and the message proxy layer 200 may further include: causing the second client device 102 to automatically connect to the short-range wireless communication mode and the plurality of client devices by the application program. The fourth client device 104 establishes a connection; and causes the fourth client device 104 to establish a connection with the message proxy layer 200 by means of network connection.

若第一用戶端裝置101與第二用戶端裝置102皆不具有網路連線能力,第一用戶端裝置101還是可將訊息傳遞給第二用戶端裝置102,再讓第二用戶端裝置102在其之近距離無線通訊方式之有效距離內尋找其他用戶端裝置來再次傳遞訊息。請參閱第1圖,第二用戶端裝置102之近距離無線通訊方式之有效距離內可有複數個具備網路連線能力之第四用戶端裝置104、104’,第二用戶端裝置102可自由選擇下一個要傳遞訊息的用戶端裝置。If the first client device 101 and the second client device 102 do not have the network connection capability, the first client device 101 can still transmit the message to the second client device 102, and then the second client device 102. Find other client devices to pass the message again within the effective distance of the short-range wireless communication method. Referring to FIG. 1 , the second client device 102 can have a plurality of fourth client devices 104 , 104 ′ having network connection capability within the effective distance of the short-range wireless communication mode of the second client device 102 , and the second client device 102 can be configured. Freely choose the next client device to deliver the message.

請參閱第5圖,其係為本發明之訊息之即時通訊方法之第四實施例之示意圖。圖中,使第二用戶端裝置102與訊息代理層200建立連線之步驟可包含:使第二用戶端裝置102藉由近距離無線通訊方式與設置於固定位置之信標裝置400建立連線;以及令信標裝置400藉由網路連線方式與訊息代理層200建立連線。Please refer to FIG. 5, which is a schematic diagram of a fourth embodiment of the instant messaging method of the message of the present invention. In the figure, the step of establishing the connection between the second client device 102 and the message proxy layer 200 may include: causing the second client device 102 to establish a connection with the beacon device 400 disposed at the fixed location by short-range wireless communication. And causing the beacon device 400 to establish a connection with the message broker layer 200 by means of network connection.

在本發明之實施例中,具有網路連線能力而能將訊息傳遞給訊息代理層200之裝置可不限於複數個用戶端裝置中的某個用戶端裝置,而可為信標裝置400。在第四實施例中,第一用戶端裝置101與第二用戶端裝置102不具網路連線能力,但第二用戶端裝置102之近距離無線通訊方式之有效距離內設置有具有網路連線能力與能使用近距離無線通訊方式建立連線之信標裝置400。於是,第一用戶端裝置101可將訊息傳遞給第二用戶端裝置102,再由第二用戶端裝置102將訊息透過近距離無線通訊方式傳遞給信標裝置400。信標裝置400具有網路連線能力,因此可將訊息傳遞給訊息代理層200。由於信標裝置400可設置於固定地點,因此信標裝置400之網路連線方式也可透過WiFi或有線方式,如透過光纖或乙太網路來實現。具體來說,信標裝置400可為Apple公司之iBeacon裝置,而設置於如大型商場之公共場所以提供用戶端裝置本發明之實施例所述之功能,但本發明並不限於此。In the embodiment of the present invention, the device having the network connection capability and capable of transmitting the message to the message broker layer 200 may be not limited to a certain client device of the plurality of client devices, but may be the beacon device 400. In the fourth embodiment, the first client device 101 and the second client device 102 do not have the network connection capability, but the second client device 102 has a network connection within the effective distance of the short-range wireless communication method. The line capability is a beacon device 400 that can establish a connection using short-range wireless communication. Therefore, the first client device 101 can transmit the message to the second client device 102, and the second client device 102 transmits the message to the beacon device 400 through short-range wireless communication. The beacon device 400 has network connection capabilities so that messages can be delivered to the message broker layer 200. Since the beacon device 400 can be disposed at a fixed location, the network connection mode of the beacon device 400 can also be implemented through WiFi or wired, such as through fiber optic or Ethernet. Specifically, the beacon device 400 may be an iBeacon device of Apple Inc., and is installed in a public place such as a large shopping mall to provide a function of the client device according to an embodiment of the present invention, but the present invention is not limited thereto.

較佳地,其中令第一用戶端裝置101透過複數個用戶端裝置與訊息代理層200之連線傳送訊息至即時通訊平台300之步驟可包含:以第一用戶端裝置101加密訊息;使第一用戶端裝置101透過複數個用戶端裝置與訊息代理層200之連線傳送訊息至即時通訊平台300;以即時通訊平台300傳送訊息給收件用戶端裝置;以及令收件用戶端裝置解密訊息。Preferably, the step of causing the first client device 101 to transmit a message to the instant messaging platform 300 through the connection between the plurality of client devices and the message proxy layer 200 may include: encrypting the message by the first client device 101; A client device 101 transmits a message to the instant messaging platform 300 through a connection between the plurality of client devices and the message broker layer 200; transmits the message to the receiving client device through the instant messaging platform 300; and decrypts the message by the receiving client device .

由於本發明之部份實施例中,訊息之傳遞可能會經過許多非訊息傳遞對象之用戶端裝置。因此,為了確保訊息之安全性,訊息在由第一用戶端裝置101發出前可先進行加密,而解密之方法定義於收件用戶端裝置中。即時通訊平台300接收到訊息後,再將訊息傳送給預定的收件用戶端裝置,收件用戶端裝置便可利用預先定義之解密方法來解密訊息,藉此得知訊息內容。如此一來,將可使訊息傳遞途中訊息內容較不易洩漏給第三者。即時通訊平台300傳送訊息給收件用戶端裝置之過程可用下述本發明之實施例之方法實現,或是利用其他網路連線方式實現。In some embodiments of the present invention, the delivery of the message may pass through a number of non-message delivery client devices. Therefore, in order to ensure the security of the message, the message may be encrypted before being sent by the first client device 101, and the decryption method is defined in the receiving client device. After receiving the message, the instant messaging platform 300 transmits the message to the predetermined receiving client device, and the receiving client device can decrypt the message by using a predefined decryption method to learn the content of the message. In this way, the content of the message on the way to the message will be less likely to be leaked to the third party. The process of the instant messaging platform 300 transmitting the message to the receiving client device may be implemented by the following method of the embodiment of the present invention or by using other network connection methods.

相對地,令第一用戶端裝置101透過複數個用戶端裝置與訊息代理層200之連線由即時通訊平台300接收訊息之步驟可包含:令即時通訊平台300傳送加密後之訊息給訊息代理層200;使訊息代理層200透過複數個用戶端裝置之連線傳送訊息給第一用戶端裝置101;以及以第一用戶端裝置101解密訊息。In contrast, the step of the first client device 101 receiving the message from the instant messaging platform 300 through the connection between the plurality of client devices and the message proxy layer 200 may include: causing the instant messaging platform 300 to transmit the encrypted message to the message broker layer. 200: causing the message proxy layer 200 to transmit a message to the first client device 101 through a connection of a plurality of client devices; and decrypting the message by the first client device 101.

同理,由即時通訊平台300傳遞訊息給為收件用戶端裝置之第一用戶端裝置101時,也可能有安全性的疑慮。因此,由即時通訊平台300發出之訊息可為加密後的訊息,加密過程可由即時通訊平台300或該訊息發出時即進行加密,而由第一用戶端裝置101收到訊息後解密。基本上傳遞過程如先前實施例所述,此不再贅述。Similarly, when the instant messaging platform 300 transmits a message to the first client device 101 that is the receiving client device, there may also be security concerns. Therefore, the message sent by the instant messaging platform 300 can be an encrypted message. The encryption process can be encrypted by the instant messaging platform 300 or when the message is sent, and the first client device 101 can decrypt the message after receiving the message. Basically, the transfer process is as described in the previous embodiment, and will not be described again.

請參閱第6A圖,其係為本發明之訊息之即時通訊方法之第五實施例之示意圖。圖中,令訊息代理層200透過複數個用戶端裝置之連線傳送訊息給第一用戶端裝置101之步驟可包含:由訊息代理層200送出偵測指令確認能與第一用戶端裝置101建立連線之路徑;使訊息代理層200由能與第一用戶端裝置101建立連線之路徑選定第一傳送路徑;以及令訊息代理層200透過第一傳送路徑傳送訊息給第一用戶端裝置101。Please refer to FIG. 6A, which is a schematic diagram of a fifth embodiment of the instant messaging method of the message of the present invention. In the figure, the step of the message proxy layer 200 transmitting the message to the first client device 101 through the connection of the plurality of client devices may include: sending the detection command confirmation by the message proxy layer 200 to establish with the first client device 101. The path of the connection; the message proxy layer 200 is selected by the path that can establish a connection with the first client device 101; and the message proxy layer 200 transmits the message to the first client device 101 through the first transmission path. .

由於由複數個用戶端裝置組成的近距離無線通訊之網路可能會相當複雜,為了使送出的訊息能確實達到為收件用戶端裝置之第一用戶端裝置101,訊息代理層200可先試圖找出能接觸第一用戶端裝置101之傳送路徑。具體來說,訊息代理層200可送出偵測指令給可接觸之安裝有預定應用程式之用戶端裝置或可接觸之裝置,各用戶端裝置再傳送偵測指令給下一層之用戶端裝置或裝置,在偵測指令傳遞途中,所經過之用戶端裝置或裝置之路徑可同時紀錄於偵測指令所攜帶的訊息中。當偵測指令到達可與第一用戶端裝置101直接建立連線之用戶端裝置或裝置時,即回傳回報訊號給訊息代理層200,回報訊號中包含了前述攜帶於偵測指令中的路徑訊息作為之後傳遞訊息之傳送路徑。如此一來,訊息代理層200便可確認能接觸第一用戶端裝置101之傳送路徑,而在當中選擇一條傳送路徑來傳遞訊息給第一用戶端裝置101。具體來說,請參閱第6A圖所顯示之第五實施例,當訊息代理層200發出偵測指令後,偵測指令經過各用戶端裝置與信標裝置構成的網路後分別到達可與第一用戶端裝置101建立連線之第六用戶端裝置106、第八用戶端裝置108及第九用戶端裝置109,而由該些用戶端裝置發出包含路徑訊息之回報訊號給訊息代理層200。如此一來,訊息代理層200便可得知能接觸第一用戶端裝置101的有三條可用之傳送路徑,分別為通過第五用戶端裝置105 -- 第六用戶端裝置106 -- 第一用戶端裝置101連線之第一傳送路徑、通過第七用戶端裝置107 -- 第八用戶端裝置108 -- 第一用戶端裝置101連線之第二傳送路徑以及通過信標裝置400 -- 第九用戶端裝置109 -- 第一用戶端裝置101連線之第三傳送路徑。於是,訊息代理層200便可由這三條傳送路徑中選擇一條傳遞訊息給第一用戶端裝置101。Since the network of short-range wireless communication composed of a plurality of client devices may be quite complicated, in order to enable the sent message to be truly reached as the first client device 101 of the receiving client device, the message proxy layer 200 may first attempt A transmission path that can contact the first client device 101 is found. Specifically, the message proxy layer 200 can send a detection command to the contactable user equipment or the contactable device installed with the predetermined application, and each client device transmits the detection command to the client device or device of the next layer. The path of the user device or device that passes through the detection command is recorded in the message carried by the detection command at the same time. When the detection command arrives at the client device or device that can directly establish a connection with the first client device 101, the report signal is returned to the message proxy layer 200, and the report signal includes the path carried in the detection command. The message serves as the transmission path for the subsequent delivery of the message. In this way, the message proxy layer 200 can confirm that the transmission path of the first client device 101 can be contacted, and select a transmission path to transmit a message to the first client device 101. Specifically, referring to the fifth embodiment shown in FIG. 6A, after the message proxy layer 200 sends a detection command, the detection command passes through the network formed by each client device and the beacon device, and then arrives at the same. A client device 101 establishes a connection between the sixth client device 106, the eighth client device 108, and the ninth client device 109, and the client device sends a response message including the path message to the message proxy layer 200. In this way, the message proxy layer 200 can know that there are three available transmission paths that can contact the first client device 101, respectively, through the fifth client device 105 - the sixth client device 106 - the first client The first transmission path of the device 101 is connected, the second transmission path through the seventh client device 107 - the eighth client device 108 - the first client device 101 is connected, and the beacon device 400 - ninth The client device 109 - the third transmission path of the first client device 101. Then, the message proxy layer 200 can select one of the three transmission paths to transmit a message to the first client device 101.

請參閱第6B圖,其係為第6A圖之第五實施例之傳送訊息時所選擇之傳送路徑無法使用時之示意圖。圖中,訊息代理層原本已選定通過第五用戶端裝置105 -- 第六用戶端裝置106 -- 第一用戶端裝置101連線之第一傳送路徑來傳遞訊息給第一用戶端裝置101。然而,當訊息傳遞至第五用戶端裝置105時,第五用戶端裝置105發現無法與第六用戶端裝置106建立連線。於是,當訊息代理層200透過第一傳送路徑傳送訊息給第一用戶端裝置101之步驟發生錯誤時,使在第一傳送路徑上並接收到訊息之複數個用戶端裝置之第五用戶端裝置105發出錯誤回報訊息給訊息代理層200;使訊息代理層200根據錯誤回報訊息,由能與第一用戶端裝置101建立連線之傳送路徑中選定第二傳送路徑;以及令訊息代理層200透過第二傳送路徑傳送訊息給第一用戶端裝置。Please refer to FIG. 6B, which is a schematic diagram of the transmission path selected when the message is transmitted in the fifth embodiment of FIG. 6A. In the figure, the message proxy layer has originally selected to transmit a message to the first client device 101 via the first transmission path of the fifth client device 105 - the sixth client device 106 - the first client device 101. However, when the message is delivered to the fifth client device 105, the fifth client device 105 finds that the sixth client device 106 cannot be connected. Therefore, when the message proxy layer 200 transmits a message to the first client device 101 through the first transmission path, an error occurs, and the fifth client device of the plurality of client devices that receive the message on the first transmission path is enabled. 105 sends an error report message to the message proxy layer 200; causes the message proxy layer 200 to select a second transmission path from the transmission path that can establish a connection with the first client device 101 according to the error report message; and causes the message proxy layer 200 to pass through The second transmission path transmits a message to the first client device.

具體來說,由訊息代理層200發出偵測指令、確定傳送路徑與發送訊息間可能會有時間差的存在。在此時間差中,原本選定的傳送路徑上的用戶端裝置可能會移動而脫離原先建立連線時的有效範圍,而造成原本選定的傳送路徑不復存在。於是,此時接收到訊息的用戶端裝置(在第6B圖中為第五用戶端裝置105)便可發出錯誤回報訊息給訊息代理層200告知此一情況,而訊息代理層200便可根據錯誤回報訊息從其他可接觸第一用戶端裝置101之傳送路徑(如前述第二傳送路徑或第三傳送路徑)中另外選擇一條來傳遞訊息。然而,本發明並不限於此,舉例來說,在接收到錯誤回報訊息後,訊息代理層200也可重新發送偵測指令以再次確定能接觸第一用戶端裝置101之傳送路徑,再由重新找到的傳送路徑中選擇一條來傳遞訊息。Specifically, there may be a time difference between the transmission of the detection path and the transmission of the message by the message proxy layer 200. In this time difference, the user equipment on the originally selected transmission path may move away from the effective range when the connection was originally established, and the originally selected transmission path no longer exists. Therefore, the client device receiving the message at this time (the fifth client device 105 in FIG. 6B) can issue an error report message to the message proxy layer 200 to notify the situation, and the message proxy layer 200 can be based on the error. The report message is additionally selected from another transmission path (such as the aforementioned second transmission path or the third transmission path) that can contact the first client device 101 to deliver the message. However, the present invention is not limited thereto. For example, after receiving the error report message, the message proxy layer 200 may resend the detection command to determine again that the transmission path of the first client device 101 can be contacted, and then Select one of the found transmission paths to deliver the message.

較佳地,其中應用程式可對應於訊息通訊平台300,且自動連線之近距離無線通訊方式可藉由應用程式中之套件實現。Preferably, the application program can correspond to the message communication platform 300, and the automatic connection short-range wireless communication mode can be implemented by using a kit in the application.

具體來說,設置於複數個用戶端裝置可為常見的即時通訊軟體,而自動連線之近距離無線通訊方式可以套件的方式定義於此類即時通訊軟體中,此類套件可為軟體開發套件(Software Development Kit, SDK),而可於即時通訊軟體更新改版時加入即時通訊軟體中,以使該即時通訊軟體之系統能應用本發明之即時通訊方法。如此一來,使用者可在不改變原有的使用即時通訊軟體之習慣下,就能藉由本發明之方法,在智慧型裝置不具備網路連線能力時仍可收發即時訊息。Specifically, the plurality of client devices can be a common instant messaging software, and the automatic connection short-range wireless communication mode can be defined in such an instant messaging software package, and the kit can be a software development kit. (Software Development Kit, SDK), which can be added to the instant messaging software when the instant messaging software is updated, so that the instant messaging software system can apply the instant messaging method of the present invention. In this way, the user can use the method of the present invention to send and receive instant messages when the smart device does not have the network connection capability without changing the original habit of using the instant messaging software.

以上所述僅為舉例性,而非為限制性者。任何未脫離本發明之精神與範疇,而對其進行之等效修改或變更,均應包含於後附之申請專利範圍中。The above is intended to be illustrative only and not limiting. Any equivalent modifications or alterations to the spirit and scope of the invention are intended to be included in the scope of the appended claims.

101‧‧‧第一用戶端裝置
102‧‧‧第二用戶端裝置
103、103’、103’’‧‧‧第三用戶端裝置
104、104’‧‧‧第四用戶端裝置
105‧‧‧第五用戶端裝置
106‧‧‧第六用戶端裝置
107‧‧‧第七用戶端裝置
108‧‧‧第八用戶端裝置
109‧‧‧第九用戶端裝置
200‧‧‧訊息代理層
300‧‧‧即時通訊平台
400‧‧‧信標裝置
S11、S12、S13、S14、S15‧‧‧步驟
101‧‧‧First client device
102‧‧‧Second user equipment
103, 103', 103''‧‧‧ third client device
104, 104'‧‧‧ fourth client device
105‧‧‧ fifth client device
106‧‧‧ sixth client device
107‧‧‧ seventh client device
108‧‧‧ eighth client device
109‧‧‧Ninth user equipment
200‧‧‧Message Agent Layer
300‧‧‧ Instant messaging platform
400‧‧‧ beacon device
S11, S12, S13, S14, S15‧‧ steps

第1圖 係為本發明之訊息之即時通訊方法所使用之系統示意圖。 第2圖 係為本發明之訊息之即時通訊方法之流程圖。 第3圖 係為本發明之訊息之即時通訊方法之第一實施例之示意圖。 第4A圖 係為本發明之訊息之即時通訊方法之第二實施例之示意圖。 第4B圖 係為本發明之訊息之即時通訊方法之第三實施例之示意圖。 第5圖 係為本發明之訊息之即時通訊方法之第四實施例之示意圖。 第6A圖 係為本發明之訊息之即時通訊方法之第五實施例之示意圖。 第6B圖 係為第6A圖之實施例之傳送訊息時所選擇之傳送路徑無法使用時之示意圖。Figure 1 is a schematic diagram of a system used in the instant messaging method of the present invention. Figure 2 is a flow chart of the instant messaging method of the message of the present invention. Figure 3 is a schematic diagram showing a first embodiment of the instant messaging method of the message of the present invention. Figure 4A is a schematic diagram showing a second embodiment of the instant messaging method of the message of the present invention. Figure 4B is a schematic diagram showing a third embodiment of the instant messaging method of the message of the present invention. Figure 5 is a schematic diagram showing a fourth embodiment of the instant messaging method of the message of the present invention. Figure 6A is a schematic diagram showing a fifth embodiment of the instant messaging method of the message of the present invention. Fig. 6B is a diagram showing a case where the transmission path selected when the message is transmitted in the embodiment of Fig. 6A cannot be used.

101‧‧‧第一用戶端裝置 101‧‧‧First client device

102‧‧‧第二用戶端裝置 102‧‧‧Second user equipment

104、104’‧‧‧第四用戶端裝置 104, 104'‧‧‧ fourth client device

200‧‧‧訊息代理層 200‧‧‧Message Agent Layer

300‧‧‧即時通訊平台 300‧‧‧ Instant messaging platform

400‧‧‧信標裝置 400‧‧‧ beacon device

Claims (10)

一種訊息之即時通訊方法,其包含: 設置一應用程式至複數個用戶端裝置; 由該複數個用戶端裝置之一第一用戶端裝置藉由該應用程式以自動連線之一近距離無線通訊方式與該複數個用戶端裝置之一第二用戶端裝置建立連線; 使該第二用戶端裝置與一訊息代理層建立連線; 將該訊息代理層與一即時通訊平台建立連線;以及 令該第一用戶端裝置透過該複數個用戶端裝置與該訊息代理層之連線傳送一訊息至該即時通訊平台或由該即時通訊平台接收一訊息。An instant messaging method for a message, comprising: setting an application to a plurality of client devices; wherein the first client device of the plurality of client devices uses the application to automatically connect one of the short-range wireless communications And establishing a connection with the second client device of the plurality of client devices; establishing a connection between the second client device and a message proxy layer; establishing a connection between the message proxy layer and an instant messaging platform; The first client device transmits a message to the instant messaging platform or receives a message from the instant messaging platform through the connection between the plurality of client devices and the message proxy layer. 如申請專利範圍第1項所述之訊息之即時通訊方法,其中該第二用戶端裝置藉由一網路連線方式與該訊息代理層建立連線。The instant messaging method of the message of claim 1, wherein the second client device establishes a connection with the message proxy layer by means of a network connection. 如申請專利範圍第1項所述之訊息之即時通訊方法,其中由該第一用戶端裝置藉由該應用程式以自動連線之該近距離無線通訊與該第二用戶端裝置建立連線之步驟包含: 使該第一用戶端裝置藉由該應用程式以自動連線之該近距離無線通訊方式與該複數個用戶端裝置之一第三用戶端裝置建立連線;以及 令該第三用戶端裝置藉由該應用程式以自動連線之該近距離無線通訊方式與該第二用戶端裝置建立連線。The instant messaging method of the message of claim 1, wherein the first client device establishes a connection with the second client device by the application to automatically connect the short-range wireless communication. The step includes: causing the first client device to establish a connection with the third user device of the plurality of client devices by the application in the short-range wireless communication manner; and causing the third user The end device establishes a connection with the second client device by the application to automatically connect the short-range wireless communication mode. 如申請專利範圍第1項所述之訊息之即時通訊方法,其中使該第二用戶端裝置與該訊息代理層建立連線之步驟包含: 使該第二用戶端裝置藉由該應用程式以自動連線之該近距離無線通訊方式與該複數個用戶端裝置之一第四用戶端裝置建立連線;以及 令該第四用戶端裝置藉由一網路連線方式與該訊息代理層建立連線。The instant messaging method of the message of claim 1, wherein the step of connecting the second client device to the message proxy layer comprises: causing the second client device to automatically use the application Connecting the short-range wireless communication mode to establish a connection with the fourth client device of the plurality of client devices; and causing the fourth client device to establish a connection with the message proxy layer by using a network connection manner line. 如申請專利範圍第1項所述之訊息之即時通訊方法,其中使該第二用戶端裝置與該訊息代理層建立連線之步驟包含: 使該第二用戶端裝置藉由該近距離無線通訊方式與設置於一固定位置之一信標裝置建立連線;以及 令該信標裝置藉由一網路連線方式與該訊息代理層建立連線。The instant messaging method of the message of claim 1, wherein the step of establishing the connection between the second client device and the message proxy layer comprises: causing the second client device to perform the short-range wireless communication The method establishes a connection with a beacon device disposed at a fixed location; and causes the beacon device to establish a connection with the message proxy layer by using a network connection. 如申請專利範圍第1項所述之訊息之即時通訊方法,其中令該第一用戶端裝置透過該複數個用戶端裝置與該訊息代理層之連線傳送該訊息至該即時通訊平台之步驟包含: 以該第一用戶端裝置加密該訊息; 使該第一用戶端裝置透過該複數個用戶端裝置與該訊息代理層之連線傳送該訊息至該即時通訊平台; 以該即時通訊平台傳送該訊息給一收件用戶端裝置;以及 令該收件用戶端裝置解密該訊息。The instant messaging method of the message of claim 1, wherein the step of causing the first client device to transmit the message to the instant messaging platform through the connection between the plurality of client devices and the message proxy layer comprises Encrypting the message by the first client device, and causing the first client device to transmit the message to the instant messaging platform through the connection between the plurality of client devices and the message proxy layer; transmitting the message by using the instant messaging platform The message is sent to a receiving client device; and the receiving client device decrypts the message. 如申請專利範圍第1項所述之訊息之即時通訊方法,其中令該第一用戶端裝置透過該複數個用戶端裝置與該訊息代理層之連線由該即時通訊平台接收該訊息之步驟包含: 令該即時通訊平台傳送加密後之該訊息給該訊息代理層; 使該訊息代理層透過該複數個用戶端裝置之連線傳送該訊息給該第一用戶端裝置;以及 以該第一用戶端裝置解密該訊息。The instant messaging method of the message of claim 1, wherein the step of the first client device receiving the message by the instant messaging platform through the connection between the plurality of client devices and the message proxy layer comprises : causing the instant messaging platform to transmit the encrypted message to the message proxy layer; causing the message proxy layer to transmit the message to the first client device through the connection of the plurality of client devices; and to the first user The end device decrypts the message. 如申請專利範圍第7項所述之訊息之即時通訊方法,其中令該訊息代理層透過該複數個用戶端裝置之連線傳送該訊息給該第一用戶端裝置之步驟包含: 由該訊息代理層送出一偵測指令確認能與該第一用戶端裝置建立連線之路徑; 使該訊息代理層由能與該第一用戶端裝置建立連線之路徑選定一第一傳送路徑;以及 令該訊息代理層透過該第一傳送路徑傳送該訊息給該第一用戶端裝置。The instant messaging method of the message of claim 7, wherein the step of causing the message proxy layer to transmit the message to the first client device through the connection of the plurality of client devices comprises: The layer sends a detection command to confirm that a path can be established with the first client device; the message proxy layer selects a first transmission path by a path that can establish a connection with the first client device; and The message proxy layer transmits the message to the first client device through the first transmission path. 如申請專利範圍第8項所述之訊息之即時通訊方法,其中令該訊息代理層透過該複數個用戶端裝置之連線傳送該訊息給該第一用戶端裝置之步驟包含: 當該訊息代理層透過該第一傳送路徑傳送該訊息給該第一用戶端裝置之步驟發生錯誤時,使在該第一傳送路徑上並接收到該訊息之該複數個用戶端裝置之一第五用戶端裝置發出一錯誤回報訊息給該訊息代理層; 使該訊息代理層根據該錯誤回報訊息,由能與該第一用戶端裝置建立連線之傳送路徑中選定一第二傳送路徑;以及 令該訊息代理層透過該第二傳送路徑傳送該訊息給該第一用戶端裝置。The instant messaging method of the message of claim 8 wherein the step of causing the message agent layer to transmit the message to the first client device via the connection of the plurality of client devices comprises: when the message agent When the step of transmitting the message to the first client device through the first transmission path is incorrect, causing the fifth client device of the plurality of client devices on the first transmission path and receiving the message Sending a false return message to the message proxy layer; causing the message proxy layer to select a second transmission path from the transmission path capable of establishing a connection with the first client device according to the error report message; and causing the message proxy The layer transmits the message to the first client device through the second transmission path. 如申請專利範圍第1項所述之訊息之即時通訊方法,其中該應用程式對應於該訊息通訊平台,且自動連線之該近距離無線通訊方式藉由該應用程式中之一套件實現。The instant messaging method of the message described in claim 1, wherein the application corresponds to the messaging platform, and the short-range wireless communication method automatically connected is implemented by one of the applications.
TW104107988A 2015-03-12 2015-03-12 Method for instant message transport TWI583224B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104107988A TWI583224B (en) 2015-03-12 2015-03-12 Method for instant message transport

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104107988A TWI583224B (en) 2015-03-12 2015-03-12 Method for instant message transport

Publications (2)

Publication Number Publication Date
TW201633810A true TW201633810A (en) 2016-09-16
TWI583224B TWI583224B (en) 2017-05-11

Family

ID=57443321

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104107988A TWI583224B (en) 2015-03-12 2015-03-12 Method for instant message transport

Country Status (1)

Country Link
TW (1) TWI583224B (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2794771B1 (en) * 1999-06-11 2001-08-10 Aventis Pharma Sa RECOMBINANT ADENOVIRUSES ENCODING THE IODINE SPECIFIC TRANSPORTER (NIS)
CN1163024C (en) * 2000-08-02 2004-08-18 宏碁股份有限公司 Network communication system and its dynamic information detouring transmission method
TW201250576A (en) * 2011-06-14 2012-12-16 Hsueh-Chia Liao Wireless storage device having authentication key
TW201306537A (en) * 2011-07-29 2013-02-01 Tenx Technology Inc Active information sharing system and apparatus thereof
CN103813470B (en) * 2012-11-06 2017-04-12 普罗斯股份有限公司 Point-to-point wireless transmission system and method
US9060241B2 (en) * 2012-11-19 2015-06-16 Htc Corporation Personal communication device and method for presenting digital items thereof
US9037085B2 (en) * 2013-01-02 2015-05-19 Htc Corporation Method for sharing data between devices
CN104333643B (en) * 2013-07-22 2016-07-06 腾讯科技(深圳)有限公司 Add the method for contact person, system and terminal

Also Published As

Publication number Publication date
TWI583224B (en) 2017-05-11

Similar Documents

Publication Publication Date Title
US9338130B2 (en) Apparatus and method to register Wi-Fi clients on a Wi-Fi network
US8712455B2 (en) Proximity-based mobile message delivery
EP3616424B1 (en) Electronic device and proximity discovery method thereof
WO2017041306A1 (en) Profile processing method, profile processing apparatus, user terminal and euicc
JP6756009B2 (en) Data transmission
US20180183596A1 (en) Peer discovery, connection, and data transfer
KR102100159B1 (en) Security supporting method and system for service discovery and group communication in mobile telecommunication system environment
US10547993B2 (en) Media content sharing method and apparatus
US20140380443A1 (en) Network connection in a wireless communication device
KR102094216B1 (en) Security supporting method and system for proximity based service device to device discovery and communication in mobile telecommunication system environment
CN104798432A (en) Device to-device (D2D) discovery without authenticating through cloud
KR20110088344A (en) System and method for visual pairing of mobile devices
JP2008287674A (en) Information processor, client device, information processing system and service connection method
US10123360B2 (en) System and method for secure wireless communication
CN104507141A (en) File receiving method for client side and receiver client side
WO2018068419A1 (en) Method and system for pushing notification information
JP5612180B2 (en) Multilayer network connection communication system, smart terminal device and communication method thereof
US20160234371A1 (en) Method and apparatus for communicating information between devices in wireless communication system
US9801035B2 (en) System and method to identify devices in a shared mobile operating plan
US8411662B1 (en) Beacon based proximity services
TW201607359A (en) Communication method and communication system
EP3198804B1 (en) Method, apparatus, system and media for transmitting messages between networked devices in data communication with a local network access point
TWI583224B (en) Method for instant message transport
WO2018223961A1 (en) Data sharing method, terminal and system
JP6369094B2 (en) Information sharing system