200947998 九、發明說明: 【發明所屬之技術領域】 本發明涉及一種消息發送系統及方法。 【先前技術】 目前透過電腦作業系統的消息發送一般採用點對點 的物理介質發送方式,但是為了提高消息發送及接收的效 率和準確性,點對多的發送是必然的趨勢。 Φ 消息的多發性(點對多)是指透過物理介質和非物理 介質將需要發送的消息經過有線方式和無線方式發送給各 種接收設備,以提高消息發送的效率和準確性。所述物理 介質包括區域網路和網際網路等,所述非物理介質包括無 線電波等。 【發明内容】 鑒於以上内容,有必要提供一種消息發送系統及方 法’其可透過物理介質和非物理介質將需要發送的消息經 ® 過有線方式和無線方式發送給各種接收設備。 —種消息發送系統,包括透過網路與消息發送終端相 連的消息轉發伺服器和至少一個用戶端,所述消息發送系 統還包括透過無線電波與通信基站相連的信號發送裝置和 至少一個無線終端,所述信號發送裝置與所述消息發送終 蠕相連,所述消息發送終端包括消息發送模組、判斷模組、 無線發送方式啟動模組和消息封裝模組。其中:所述消息 發送模組,用於透過網路傳輸協定將消息發送直所述消息 轉發伺服器;所述判斷模組,用於判斷所述消息轉發伺服 7 200947998 器是否接收刻該消息及判斷所述用戶 · 線發送方认滅組,科當所m 開啟’所述無 收到該消息或所述用戶端處於_狀=發舰器沒有接 傳送方式L肖息封裝模組,用;立即啟動無線 ID和標識;所述消息發送模組,還^认裂該’肖心的内各、 裝置向所述通信基料賴封透賴述信號發送 用於將該封裝的消息轉發給等待接;心=:站所200947998 IX. Description of the Invention: [Technical Field] The present invention relates to a message transmitting system and method. [Prior Art] At present, message transmission through a computer operating system generally adopts a point-to-point physical medium transmission method, but in order to improve the efficiency and accuracy of message transmission and reception, point-to-multiple transmission is an inevitable trend. Φ The multiplicity of messages (point-to-multiple) refers to the transmission of messages that need to be sent to various receiving devices through physical and non-physical media to improve the efficiency and accuracy of message transmission. The physical medium includes a regional network, an internet, and the like, and the non-physical medium includes a radio wave or the like. SUMMARY OF THE INVENTION In view of the above, it is necessary to provide a message transmission system and method that can transmit a message to be transmitted to various receiving devices via a physical medium and a non-physical medium via a wired method and a wireless method. a message transmitting system comprising a message forwarding server connected to a message transmitting terminal via a network and at least one client, the message transmitting system further comprising a signal transmitting device and at least one wireless terminal connected to the communication base station by radio waves, The signal sending device is connected to the message sending terminal, and the message sending terminal comprises a message sending module, a determining module, a wireless sending mode starting module and a message encapsulating module. The message sending module is configured to send the message to the message forwarding server through a network transmission protocol; the determining module is configured to determine whether the message forwarding server 7 200947998 receives the message and Determining that the user/line sender confirms the group, and the department opens the message that the message is not received or the user is in the _ state=the ship is not connected to the transmission mode L. Immediately launching the wireless ID and the identifier; the message sending module further recognizes the 'Xiaoxin', and the device sends a message to the communication base to send the encapsulated message to the waiting Pick up; heart =: station
如果標識核對正確,則純朗進行標識_, -種消息發送方法,包括如下歩驟了 過網路傳輸協定將消息發送至消息轉發飼服二發^、、'、^透 息轉發!!沒有接收到該消息或°服器,當所述消 時,所述消息發送終端立即啟動無線H於關閉狀態 發送終端封裝該消息的内容、ID和样讲.、工’所述消息 端透過信號發送裝置向通信基站發送:封==發= 通信基站將5亥封裝·的消息轉發給等待 、, < 端;及所述無線終端在接收到該封裝的消 核對,如果標識核對正確,則接收該封裝的消息。 相較於習知技術,所述的消息發送系統及方法,透過 物理介質和非物理介質將需要發送的消息經過有線方式和 無線方式發送給各種接收設備,提高了消息發送的效率和 準確性。 【實施方式】 參閱圖1所示,係本發明消息發送系統較佳實施方式 8 200947998 的系統架構圖。該系統主要包括消息發送終端1〇、消息轉 發伺服器30、一個或多個用戶端4〇 (圖中僅示出一個广 信號發送裝置50、通信基站6〇和一個或多個無線終端7〇 (圖中f示出個)。所述消息發送終端透過網路2〇 與所述消息轉發伺服器3 〇和用戶端4 〇相連,所述網路2 〇 可以是網際網路(lnternet)或企業内部網路(Intranet)。 所述消息發送終端10用於透過網路2〇將消息發送至 ❿所述消息轉發伺服器30。如果所述消息轉發伺服器3〇接 收到該消息,則將該消息轉發至所述用戶端4〇。如果所述 消息轉發伺服器30沒有接收到該消息,則所述消息發送終 端10啟動無線傳送方式,透過所述信號發送裝置5〇與所 述通信基站60進行無線通訊,將該消息轉發給所述無線終 端70。 參閱圖2所示,係圖1中所示消息發送終端1〇的功 能模組圖。所述消息發送終端1〇包括消息發送模組21〇、 Q 判斷模組211、無線發送方式啟動模組212和消息封裝模 組213。本發明所稱的模組是完成一特定功能的電腦程式 段,比程式更適合於描述軟體在電腦中的執行過程,因此 在本發明以下對軟體描述中都以模組描述。 其中,所述消息發送模組210用於透過網路傳輸協定 將消息發送至所述消息轉發伺服器30。所述網路傳輸協定 包括UDP (User Datagram Pr〇t〇co卜用戶資料報協定)和 TCPAP ( Transmission Control Protocol,傳輸控制協定 /Internet Protocol ’ 網際協定)。 9 200947998 3〇 所述判斷模組211用於判斷所述消息轉發伺服器 是否接收到該消息。具體而言’如息給所述消息發送 .30接收到該消息,則將發送一條回到所述消息轉發飼 •終端10。如果所述消息發送:模組211判斷所述轉發飼 服器3 0的回饋消息,則所述判斷=, 端! 〇在固定 服器30接收到該消息。如果所述蝻心 at 的時間内沒有收到所述消息轉發祠服器3〇 = 所述判斷模組211判斷所述轉發飼服器3〇沒 该消 如果所述消息轉發伺服器30接收到該〉肖息’則所述 判斷模組211進一步判斷所述用戶端40是否開啟。如果所 述用戶端40處於開啟狀態,則所述消息轉發词服器30將 該消息轉發至所述用戶端40。所述用戶端40獲取該消息 的ID,並根據該消息的ID發送一條回饋消息給所述消息 發送終端10。 所述無線發送方式啟動模組212用於當所述消息轉發 伺服器30沒有接收到該消息或所述用戶端40處於關閉狀 態時,立即啟動無線傳送方式。 所述消息封裝模組213用於封裝該消息的内容、ID和 標識。 所述消息發送模組210還用於透過所述信號發送裝置 50向所述通信基站60發送該封裝的消息。 所述通L基站60用於將該封襄的消息轉發給等待接 收消息的無線終端7〇。 200947998 所述無線終端70接收到該封裝的消息後,進行標識 核對。如果標識核對不正確’則所述無線終端丟棄該封 ' 裝的消息。如果標識核對正確,則所述無線終端70接收該 封裝的消息’並根據該消息的ID發送一條回饋消息給所 述消息發送終端10。 參閱圖3所示,係本發明消息發送方法較佳實施方式 的流程圖。步驟S401,所述消息發送模組210透過網路傳 輸協定將消息發送至所述消息轉發伺服器30。所述網路傳 輸協定包括UDP ( User Datagram Protocol,用戶資料報協 定)和 TCP/IP (Transmission Control Protocol,傳輪控制 協定/Internet Protocol,網際協定)。 步驟S402,所述判斷模組211判斷所述消息轉發伺服 器30是否接收到該消息◎具體而言,如果所述消息轉發伺 服器30接收到該消息,則將發送一條回饋消息給所述消息 發送終端10。如果所述消息發送終端10收到所述消息轉 ❹ 發伺服器30的回饋消息,則所述判斷模組211判斷所述轉 發伺服器30接收到該消息,流程進入步驟S403。如果所 述消息發送終端10在固定的時間内沒有收到所述消息轉 發伺服器30的回饋消息,則所述判斷模組211判斷所述轉 發伺服器30沒有接收到該消息,流程進入步驟S407。 於步驟S403’所述判斷模組211進一步判斷所述用戶 端40是否開啟。如果所述用戶端40處於開啟狀態,流程 進入步驟S404。如果所述用戶端40處於關閉狀態,流程 進入步驟S407。 200947998 步驟S404 ’所述消息轉發伺服器3〇將該消息轉發至 所述用戶端40。 * 步驟S405,所述用戶端4〇獲取該消息的IP ° • 步驟S406,所述用戶端40根據該消息的IP發送一條 回饋消息給所述消息發送終端10。 當所述消息轉發祠服器3〇沒有接收到該消息或所述 用戶端40處於關閉狀態時,於步驟S407,所述無線發送 方式啟動模組212立即啟動無線傳送方式。 步驟S408,所述消息封裝模組213封裝該消息的内 容、ID和標識。 步驟S409,所述消息發送模組210透過所述信號發送 裝置50向所述通信基站60發送該封裝的消息。 步驟S410,所述通信基站60將該封裝的消息轉發給 等待接收消息的無線終端7〇。 步驟S411,所述無線終端70接收到該封裝的消息後, φ 進行標識核對,判斷標識核對是否正確。如果標識核對正 確’則執行步驟S412,所述無線終端70接收該封裝的消 息’並根據該消息的ID發送一條回饋消息給所述消息發 送終端10。如果標識核對不正確’則執行步驟S413,所 述無線終端70丟棄該封裝的消息。 本發明消息發送系統及方法,雖以較佳實施例揭露如 上,然其並非用以限定本發明。任何熟悉此項技藝之人士, 在不脫離本發明之精神及範圍内,當可做更動與潤飾,因 此本發明之保護範圍當視後附之申請專利範圍^界定者為 12 200947998 準。 【圖式簡單說明】 圖1係本發明消息發送系統較佳實施方式的硬體架構 圖。 圖2係圖1中所示消息發送終端的功能模組圖。 圖3係本發明消息發送方法較佳實施方式的流程圖。 【主要元件符號說明】If the identification is correct, then the _, the message is sent, including the following steps: The network transmission protocol sends the message to the message forwarding service, and the message is forwarded!! No reception When the message is sent to the server, when the message is cancelled, the message sending terminal immediately starts the wireless H in the off state, and the transmitting terminal encapsulates the content, the ID and the sample of the message. Sending to the communication base station: sealing == sending = the communication base station forwards the message of 5 hai package to the waiting, <terminal; and the wireless terminal receives the verification check of the package, and if the identity check is correct, receives the Encapsulated message. Compared with the prior art, the message sending system and method transmit the message to be sent to various receiving devices through the physical medium and the non-physical medium through the physical medium and the non-physical medium, thereby improving the efficiency and accuracy of message sending. [Embodiment] Referring to FIG. 1, a system architecture diagram of a preferred embodiment 8 200947998 of the message transmitting system of the present invention is shown. The system mainly includes a message transmitting terminal 1 , a message forwarding server 30 , and one or more client terminals 4 (only one wide signal transmitting device 50 , a communication base station 6 〇 and one or more wireless terminals 7 are shown in the figure). (F is shown in the figure). The message sending terminal is connected to the message forwarding server 3 and the client terminal 4 through the network 2, and the network 2 can be an internet (internet) or An intranet (intranet). The message sending terminal 10 is configured to send a message to the message forwarding server 30 via the network 2. If the message forwarding server 3 receives the message, The message is forwarded to the user terminal 4. If the message forwarding server 30 does not receive the message, the message transmitting terminal 10 initiates a wireless transmission mode, through the signal transmitting device 5 and the communication base station. 60 performs wireless communication, and forwards the message to the wireless terminal 70. Referring to Fig. 2, it is a functional module diagram of the message transmitting terminal 1 shown in Fig. 1. The message transmitting terminal 1 includes a message transmitting module. Group 21 The Q, the Q determination module 211, the wireless transmission mode activation module 212, and the message encapsulation module 213. The module referred to in the present invention is a computer program segment that performs a specific function, and is more suitable for describing the software in the computer than the program. The process is performed, and thus is described in the following description of the software in the present invention. The message sending module 210 is configured to send a message to the message forwarding server 30 via a network transmission protocol. The transmission protocol includes UDP (User Datagram Protocol) and TCPAP (Transmission Control Protocol). 9 200947998 3. The judgment module 211 is used to determine the location. Whether the message forwarding server receives the message. Specifically, 'the message is sent to the message. 30. If the message is received, a message is sent back to the message forwarding terminal 10. If the message is sent: The module 211 determines the feedback message of the forwarding feeder 30, and the determination =, the end! 接收 receives the message in the fixed server 30. If the heart a The message forwarding server 3 is not received within the time of t. The determining module 211 determines that the forwarding server 3 is not ok if the message forwarding server 30 receives the message. The determining module 211 further determines whether the client 40 is turned on. If the client 40 is in an open state, the message forwarding word server 30 forwards the message to the client 40. The user The terminal 40 acquires the ID of the message, and sends a feedback message to the message transmitting terminal 10 according to the ID of the message. The wireless transmission mode activation module 212 is configured to immediately initiate the wireless transmission mode when the message forwarding server 30 does not receive the message or the client 40 is in the off state. The message encapsulating module 213 is configured to encapsulate the content, ID, and identifier of the message. The message sending module 210 is further configured to send the encapsulated message to the communication base station 60 through the signal sending device 50. The pass L base station 60 is configured to forward the sealed message to the wireless terminal 7 that is waiting to receive the message. 200947998 After receiving the encapsulated message, the wireless terminal 70 performs identity verification. If the identity check is incorrect, then the wireless terminal discards the message. If the identity verification is correct, the wireless terminal 70 receives the encapsulated message' and sends a feedback message to the message delivery terminal 10 based on the ID of the message. Referring to Figure 3, there is shown a flow chart of a preferred embodiment of the message transmitting method of the present invention. In step S401, the message sending module 210 sends a message to the message forwarding server 30 via a network transmission protocol. The network transmission protocol includes UDP (User Datagram Protocol) and TCP/IP (Transmission Control Protocol, Internet Protocol). Step S402, the determining module 211 determines whether the message forwarding server 30 receives the message. ◎ Specifically, if the message forwarding server 30 receives the message, a feedback message will be sent to the message. The transmitting terminal 10 is provided. If the message transmitting terminal 10 receives the feedback message from the message forwarding server 30, the determining module 211 determines that the forwarding server 30 receives the message, and the flow proceeds to step S403. If the message sending terminal 10 does not receive the feedback message of the message forwarding server 30 within a fixed time, the determining module 211 determines that the forwarding server 30 does not receive the message, and the process proceeds to step S407. . The determining module 211 in step S403' further determines whether the user terminal 40 is turned on. If the client terminal 40 is in the on state, the flow advances to step S404. If the client terminal 40 is in the off state, the flow advances to step S407. 200947998 Step S404' The message forwarding server 3 forwards the message to the client 40. In step S405, the user terminal 4 obtains the IP of the message. • Step S406, the client 40 sends a feedback message to the message sending terminal 10 according to the IP of the message. When the message forwarding server 3 does not receive the message or the client 40 is in the off state, the wireless transmission mode starting module 212 immediately starts the wireless transmission mode in step S407. Step S408, the message encapsulating module 213 encapsulates the content, ID, and identifier of the message. In step S409, the message sending module 210 transmits the encapsulated message to the communication base station 60 through the signal transmitting device 50. Step S410, the communication base station 60 forwards the encapsulated message to the wireless terminal 7 that is waiting to receive the message. Step S411, after the wireless terminal 70 receives the encapsulated message, φ performs identity verification to determine whether the identity verification is correct. If the identification is correct, step S412 is performed, the wireless terminal 70 receives the encapsulated message' and sends a feedback message to the message delivery terminal 10 based on the ID of the message. If the identification check is incorrect, then step S413 is performed, and the wireless terminal 70 discards the encapsulated message. The message transmitting system and method of the present invention are disclosed in the preferred embodiments, and are not intended to limit the present invention. Any person skilled in the art can make changes and refinements without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention is defined as 12 200947998. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a hardware architecture diagram of a preferred embodiment of the messaging system of the present invention. FIG. 2 is a functional block diagram of the message transmitting terminal shown in FIG. 1. 3 is a flow chart of a preferred embodiment of a message transmitting method of the present invention. [Main component symbol description]
消息發送終端 10 網路 20 消息轉發伺服器 30 用戶端 40 信號發送裝置 50 通信基站 60 無線終端 70 消息發送模組 210 判斷模組 211 無線發送方式啟動模組 212 消息封裝模組 213 消息發送終端透過網路傳輸協定將消息發送至消息轉 發伺服器 S401 消息轉發伺服器是否接收到該消息 S402 用戶端是否開啟 S403 根據該外部設備的識別碼從所述本地設備管控列表中 將該消息轉發至用戶端 S404 13 200947998 用戶端獲取該消息的ID S405 用戶端根據該消息的ID發送一條回饋消息給消息發 送終端 S406 . 所述消息發送終端立即啟動無線傳送方式 S407 封裝該消息的内容、ID和標識 S408 透過信號發送裝置向通信基站發送該封裝的消息 S409 通信基站將該封裝的消息轉發給等待接收消息的無線 m 終端 S410 標識核對是否正確 S411 接收該封裝的消息,發送一條回饋消息給消息發送終 端 丟棄該封裝的消息 5412 5413 ❹ 14Message transmitting terminal 10 network 20 message forwarding server 30 client 40 signal transmitting device 50 communication base station 60 wireless terminal 70 message transmitting module 210 determining module 211 wireless transmitting mode starting module 212 message encapsulating module 213 message transmitting terminal through The network transmission protocol sends a message to the message forwarding server S401. Whether the message forwarding server receives the message S402. Whether the user side starts S403. The message is forwarded from the local device management list to the client according to the identifier of the external device. S404 13 200947998 The client obtains the ID of the message. The S405 sends a feedback message to the message sending terminal S406 according to the ID of the message. The message sending terminal immediately starts the wireless transmission mode S407 to encapsulate the content, the ID and the identifier S408 of the message. The signal transmitting device sends the encapsulated message to the communication base station. S409. The communication base station forwards the encapsulated message to the wireless m terminal S410 waiting to receive the message. The identity verification is correct. S411 receives the encapsulated message, and sends a feedback message to the message sending end. Discarding the package 5412 5413 ❹ 14