1327831 -九、發明說明: « 【發明所屬之技術領域】 本發明涉及家庭無線通訊,尤其涉及一種遙控裝置、無線 家庭網路系統及自動切換播放方法。 【先前技術】 隨著科技的不斷發展,媒體播放器、媒體伺服器(Media Server)、控制器等裝置被廣泛應用在無線家庭網路中。 # 典型地,當用戶在家庭網路中從一地方漫遊至另一地方, 且用戶需要在新的地點繼續觀賞或收聽前一地方的媒體内容 -時,習知的方法係透過用戶手動控制媒體播放器實現。例如: •用戶在客廳透過媒體播放器收看視頻點播時,當用戶由客廳移 動至臥室,需要繼續收看該視頻點播時,用戶首先需要手動記 下客廳的媒體播放器的中斷點的位置(例如:媒體已播放之時 •間),然後關閉客廳的媒體播放器,用戶走入臥室後,打開臥 • 室的媒體播放器,並把媒體播放器選擇到中斷點的位置,繼續 觀看該視頻點播。 然而,習知的方法不僅需要用戶花費較多的時間控制媒體 播放器實現從中斷點位置繼續收看媒體内容,而且給用戶帶來 很大的不便。 【發明内容】 有鑑於此,需提供一種遙控裝置,具有一第一無線個人區 域網路模組,可以實現從媒體中斷處播放。 1327831 • 另外,還需提供一種無線家庭網路系統,該系統可藉由遙 控裝置從一區域漫遊至另一區域,實現從媒體之間的自動切換 與播放。 ' 此外,仍需提供一種自動切換播放方法,透過該遙控裝置 實現媒體播放器之間自動切換播放,實現家庭自動化。 一種遙控裝置,用以控制至少一媒體播放器,包括一第一 無線個人區域網路模組以及一第一無線區域網路模組。其中, _該第一無線個人區域網路模組包括一第一獲取模組以及一判 斷模組。該第一獲取模組用於接收一從該媒體播放器之一者發 -送之封包,並從該封包中獲取媒體訊息。該判斷模組用於根據 -接收到的封包判斷該遙控裝置是否發生漫遊。該第一無線區域 網路模組與該第一無線個人區域網路模組相連,其包括一傳送 控制模組。當遙控裝置發生漫遊時,該傳送控制模組用於傳送 一控制指令,儲存媒體播放器之中斷訊息,並根據該中斷訊息 籲控制另一媒體播放器從媒體中斷處自動播放。 一種無線家庭網路系統,包括一第一媒體播放器、一第二 媒體播放器及一遙控裝置。該第一媒體播放器位於一第一區域 中。該第二媒體播放器位於一第二區域中。該遙控裝置用於實 現從該第一媒體播放器至該第二媒體播放器的自動切換與播 放,包括一第一無線個人區域網路模組以及一第一無線區域網 路模組。其中,該第一無線區域網路模組包括一第一獲取模組 以及一判斷模組。該第一無線個人區域網路模組用於與該第一 8 1327831 媒體播放器以及該第二媒體播放器進行通訊,並控制該第二媒 體播放器從中斷處自動播放。該第一獲取模組用於接收該第一 媒體播放器以及該第二媒體播放器發送之封包,並從該封包中 獲取媒體訊息。該判斷拉組用於根據接收到的封包判斷該遙於 裝置是否從該第一區域漫遊至該第二區域。該第一無線區域網 路模組與該第一無線個人區域網路模組相連,其包括一傳送控 制模組。#遙控裝置發生漫遊時,該傳送控制模組用於傳送: 1控制指令至該第一媒體播放器,儲存該第一媒體播放器的一中 斷訊息’並根據該中斷訊息控制該第二媒體播放器從中斷處自 -動播放。 -種自動切賴放方法,透過—遙控裝置實現從—第一區 域的-第-媒體播放器至一第二區域的一第二媒體播放器的 自動切換與播放,包括以下步驟··該遙控裝置接收—封包;該 遙控裝置根據純到的封包_其是否從該第—區域漫遊至 該第二區域;如果該遙«置發生漫遊,職存該第-區域的 苐一媒體播放器的中斯句自.、老 鯽訊息,遙控裝置根據中斷訊息,從中斷 處自動播放。 一與習知技術相比,本發明藉由遙控裝置從一區域漫遊至另 =域,實現不同的媒體播放器從中斷處自動切換與播放的無 線豕庭網路系統,節省時认 …、 【實施方式】 ,-用〜來了很大的便利。 i 圖1所不為本發明—實施例中無線家庭網路线之模組 9 1327831 -圖。在本實施方式中,無線家庭網路系統包括一遙控裝置2〇1、 一第一媒體播放器(Media Renderer,MR ) 301、一第二媒體 播放器401以及一媒體伺服器(Media Server,MS) 5〇1。本 -實施方式中’該遙控裝置201為一控制點(ControlP〇int,CP), 其包括一第一無線區域網路(Wireless Local Area Network, WLAN )模組202、一第一無線個人區域網路(wireless Pers〇nal Area Network ’ WPAN )模組203、一儲存器204以及一啟動模 •組205。第一媒體播放器301位於一第一區域3〇中,例如:客 廳,其包括一第二無線區域網路模組3〇2以及一第二無線個人 .區域網路模組303。第二媒體播放器4〇1位於一第二區域4〇 中例如臥至,其包括一第二無線區域網路模組402以及一 第三無線個人區域網路模組403。媒體伺服器501包括一第四 無線區域網路模組502。 藝 第-無線區域網路模組皿、第二無線區域網路模組搬、 二:線區域網路模組402以及第四無線區域網路模組502均 2遠程通訊。舉例說明,遙控裝置2〇1透過第—無線區域網 組=2〇2分別與第一媒體播放器3〇1的第二無線區域網路模 及2、第二媒體播放器概的第三無線區域網路模組搬以 訊。、體㈣器501的第四無線區域網路模組5〇2實現遠程通 以及Γΐ線個人網路模組203、第二無線個人網路模組观 第二…線個人網路模組4G3均㈣短距離軌。舉例說 132783l » 擊 -明·,遙控裝置2〇1透過第一無 '第-媒體播放請料:無線個人^路模組如分別與 二媒體播放ϋ4(η的第三备線:域姆模組303以及第 ‘離通訊。 ”·、線個人區域網路模㉖403實現短距 本實施方式中’當遙控襄置201盘 間時,通常制短㈣通' 播放錄於同一房 r p, 田遙控裳置201超出輛铒離瑙印 靶圍,遙控裝置201則會 《出短距離通訊 1在笛 延程通訊,例如:遙护|置2〇1 第一區域40需要控制第—區 、 則需要啟用遠程軌。 —料—媒_放113〇1’ 儲存器204分別與該第一盔 .绩彳liwr-u …、踝區域杈組202以及該第一無1327831 - IX. INSTRUCTIONS: «Technical Fields of the Invention The present invention relates to home wireless communication, and more particularly to a remote control device, a wireless home network system, and an automatic switching play method. [Prior Art] With the continuous development of technology, devices such as media players, media servers, controllers, and the like are widely used in wireless home networks. # Typically, when a user roams from one place to another in the home network, and the user needs to continue to view or listen to the media content of the previous place in the new location, the conventional method is to manually control the media through the user. Player implementation. For example: • When the user watches the video on demand through the media player in the living room, when the user moves from the living room to the bedroom and needs to continue watching the video on demand, the user first needs to manually record the location of the break point of the media player in the living room (for example: When the media has been played, • then close the media player in the living room. After the user walks into the bedroom, open the media player in the bedroom and select the media player to the location of the break point to continue watching the video on demand. However, the conventional method not only requires the user to spend more time controlling the media player to continue to view the media content from the point of interruption, but also causes great inconvenience to the user. SUMMARY OF THE INVENTION In view of the above, it is desirable to provide a remote control device having a first wireless personal area network module that can be played from a media interruption. 1327831 • In addition, there is a need to provide a wireless home network system that can be automatically switched and played from between media by roaming from one area to another via a remote control unit. In addition, there is still a need to provide an automatic switching play method, which automatically switches between media players through the remote control device to realize home automation. A remote control device for controlling at least one media player includes a first wireless personal area network module and a first wireless local area network module. The first wireless personal area network module includes a first acquisition module and a determination module. The first obtaining module is configured to receive a packet sent from one of the media players, and obtain a media message from the packet. The determining module is configured to determine, according to the received packet, whether the remote device is roaming. The first wireless area network module is coupled to the first wireless personal area network module and includes a transmission control module. When the remote control device roams, the transfer control module is configured to transmit a control command, store the interrupt message of the media player, and according to the interrupt message, control another media player to automatically play from the media break. A wireless home network system includes a first media player, a second media player, and a remote control device. The first media player is located in a first area. The second media player is located in a second area. The remote control device is configured to implement automatic switching and playing from the first media player to the second media player, including a first wireless personal area network module and a first wireless area network module. The first wireless area network module includes a first acquiring module and a determining module. The first wireless personal area network module is configured to communicate with the first 8 1327831 media player and the second media player, and control the second media player to automatically play from the interruption. The first obtaining module is configured to receive the first media player and the packet sent by the second media player, and obtain a media message from the packet. The determining pull group is configured to determine, according to the received packet, whether the remote device roams from the first area to the second area. The first wireless area network module is coupled to the first wireless personal area network module and includes a transmission control module. When the remote control device roams, the transmission control module is configured to: transmit a control command to the first media player, store an interrupt message of the first media player, and control the second media playback according to the interrupt message. The player plays from the break automatically. - Automatic switching method, automatic switching and playing from a - media player of a first area to a second media player of a second area through a remote control device, including the following steps: The device receives a packet; the remote device roams from the first area to the second area according to the pure packet; if the remote occurs, the first media player of the first area is occupied The sentence is from the old message, and the remote control automatically plays from the interrupt according to the interrupt message. Compared with the prior art, the present invention roams from one area to another by a remote control device, and realizes a wireless network system that automatically switches and plays different media players from the interruption, saving time... The implementation method], - used ~ to bring great convenience. i Figure 1 is not a module of the invention - the wireless home network route in the embodiment 9 1327831 - figure. In this embodiment, the wireless home network system includes a remote control device 1, a first media player (MR) 301, a second media player 401, and a media server (Media Server, MS). ) 5〇1. In the present embodiment, the remote control device 201 is a control point (Control), which includes a first wireless local area network (WLAN) module 202 and a first wireless personal area network. A wireless Pers〇nal Area Network 'WPAN' module 203, a memory 204, and a boot mode group 205. The first media player 301 is located in a first area, for example, a guest room, and includes a second wireless local area network module 3〇2 and a second wireless personal area network module 303. The second media player 410 is located in a second area 4, for example, and includes a second wireless local area network module 402 and a third wireless personal area network module 403. The media server 501 includes a fourth wireless local area network module 502. The Art-Wireless Area Network module, the second wireless area network module, the second line area network module 402, and the fourth wireless area network module 502 are both remotely communicated. For example, the remote control device 〇1 transmits the second wireless area network module of the first media player 〇1 and the second wireless device of the second media player through the first wireless area network group=2〇2. The regional network module moved to the news. The fourth wireless local area network module 5〇2 of the body (four) device 501 realizes the remote communication and the personal network module 203 of the wireless line, and the second wireless personal network module view second line personal network module 4G3 (4) Short-distance rails. For example, 132783l » 击-明·, remote control device 2〇1 through the first no 'first-media playback request: wireless personal ^ circuit module, such as separate and two media play ϋ 4 (n third spare line: domain m mode Group 303 and the first 'off-communication. 》·, the line personal area network module 26403 realizes the short distance. In the present embodiment, when the remote control unit 201 is in between, the short (four) pass is usually played in the same room rp, the field remote control The skirt 201 is beyond the circumference of the vehicle, and the remote control device 201 will "send short-distance communication 1 in the flute extension communication, for example: remote protection | set 2〇1 the first area 40 needs to control the first area, then need Enable the remote track. - Material - Media _ 113 〇 1 ' The memory 204 and the first helmet respectively. Li - liwr-u ..., 踝 area 杈 group 202 and the first
線個人區域模組203相連,用於紗+ A A ;儲存訊息。啟動模組205分別 〇該弟一無線區域模組2〇2 Λ及第—無線個人區域模組203相 連’用於輸入資訊,例如:停也邗關入上 1τ止並關閉指令或一對照表601 (參 閱圖9)内容,啟動該遙控裝置2〇1,進入自動模式。本實施 二式中,該儲存訊息包括第一媒體播放器3〇1及第二媒體播放 器401的基本訊息、以及當遙控裝置2犯離開該第一區域% 或第一區域40,儲存該第一媒體播放器3〇1或第二媒體播放器 401的中斷訊息。其中,基本訊息包括媒體設備的唯一設備名 稱(Unique Device Name,UDN)以及媒體位址。且,唯一設 備名稱疋基於通用的唯一識別符(Universally-Unique Identifier’ UUID>又,該基本訊息係以一對照表601 (參閱 圖9)的方式儲存於儲存器2〇4中。本實施方式中,該中斷訊 11 1327831 息包括視頻點播、音頻壓縮(M〇ving picture Experts Gr〇upThe line personal area module 203 is connected for the yarn + A A ; the message is stored. The startup module 205 is respectively connected to the wireless area module 2〇2 and the wireless personal area module 203 for inputting information, for example, stopping or closing the 1τ and closing the command or a comparison table. In the case of 601 (see Fig. 9), the remote control device 2〇1 is activated to enter the automatic mode. In the second embodiment, the stored message includes basic information of the first media player 311 and the second media player 401, and when the remote control device 2 leaves the first area % or the first area 40, the first An interrupt message from a media player 3.1 or a second media player 401. The basic message includes the unique device name (UDN) of the media device and the media address. Moreover, the unique device name is based on the universal unique identifier (Universally-Unique Identifier' UUID>, and the basic message is stored in the storage device 2〇4 in a manner of a comparison table 601 (refer to FIG. 9). In the interruption, 11 1327831 includes video on demand, audio compression (M〇ving picture Experts Gr〇up
Audio Lay er-3,MP3)、圖片的中斷位置,視頻廣播的頻道訊 息等。 本實施方式中’媒體伺服器5〇1做為存取娛樂内容 (entertainment content)的聚置。媒體伺服器5〇ι可以從遠端 傳送視頻、音樂、圖片等内容給一媒體設傭播放。第一媒體播 放器301以及第二媒體播放器術可以接收由媒體舰器皿 傳送的内容,並且播放該接收到的内容。當遙控裝置2〇1從該Audio Lay er-3, MP3), the location of the picture, the channel information of the video broadcast, etc. In the present embodiment, the 'media server 5' is used as an access to access entertainment content. The media server 5〇ι can transmit video, music, pictures and other content from a remote end to a media commissioner. The first media player 301 and the second media player can receive the content transmitted by the media shipware and play the received content. When the remote control device 2〇1 from the
第一區域30漫遊至該笫-F 弟—區域40,遙控裝置2〇1用於實現從 放 第媒體播放器301至第二媒體播放器概#自動切換與播 =本發明其他實施方式中,當遙控裝置201從該第二區域 ㈣至該第-區域3〇,遙控裝置肌亦可用 媒體播放器401至第—據髀姓* 只兄攸弟一 媒體播放器301的自動切換與播放。 因此,透過遙控裝署 ,在無線家庭網路系統任意一區 域’皆可實現媒_放器的自動切換與播放。 舉例說明’當用戶攜帶遙控裳置2〇1離開第一區域%時, 、玉裝置201的儲存器2〇4儲存 - 放器301的中斷訊自。也田ή第域中的第—媒體播 、θ 。心备用戶攜帶遙控裝置201從第一區域3〇 沒遊至第二區域4〇,透 U埤川 ^ 、透過遙控裝置2讥與第二媒體播玫器401 之間的通訊,即透過第一 弟…、線區域網路模組2〇2、第— 人區域網路模組2〇3歲 乐無線個 ,、第一無線區域網路模組402、第三無線 12 1327831 -個人區域網路模組403之間的通訊,遙控裝置201可以控制第 二媒體播放器401由儲存器204中讀取中斷訊息,並由中斷處 自動播放娛樂内容。 • 本實施方式中,無線家庭網路系統係以通用隨插即用 (Universal Plug and Play,UPnP )音頻視頻(audio video,AV ) 建立連接’實現媒體數據和控制命令的傳输。UPnP是實現智 能設備端到端網路連接的結構,其亦是一種架構在傳輸控制協 鲁定/網間協定(Transmission Control Protocol/Internet Protocol, TCP/IP)以及超文本傳輸協定(Hypertext Transfer Protocol, • HTTP)技術之上的分布式、開放的網路結構,以使得網路内 .的設備之間傳遞控制命令及數據。 遙控裝置201與第一媒體播放器301以及第二媒體播放器 401之間的通訊可以透過一電氣與電子工程師協會(Institute〇fThe first area 30 roams to the 笫-F--the area 40, and the remote control unit 〇1 is used to implement automatic switching and broadcasting from the media player 301 to the second media player. When the remote control device 201 is from the second area (4) to the first area (3), the remote control device muscle can also be automatically switched and played by the media player 401 to the first mediator 301. Therefore, through the remote control installation, the media_player can be automatically switched and played in any area of the wireless home network system. For example, when the user carries the remote control skirt 2〇1 and leaves the first area%, the storage device 2〇4 of the jade device 201 stores the interrupt of the discharge device 301. The first media broadcast, θ in the field of the field. The user-equipped remote control device 201 travels from the first area 3 to the second area 4, passes through the communication between the remote control device 2 and the second media player 401, that is, through the first Brother..., line area network module 2〇2, first-person area network module 2〇3 years old wireless, first wireless area network module 402, third wireless 12 1327831 - personal area network The communication between the modules 403, the remote control device 201 can control the second media player 401 to read the interrupt message from the memory 204, and automatically play the entertainment content from the interruption. • In the present embodiment, the wireless home network system establishes a connection by Universal Plug and Play (UPnP) audio video (AV) to realize transmission of media data and control commands. UPnP is a structure for implementing end-to-end network connection of smart devices. It is also a structure of Transmission Control Protocol/Internet Protocol (TCP/IP) and Hypertext Transfer Protocol (Hypertext Transfer Protocol). , • HTTP) A distributed, open network structure on top of the technology to pass control commands and data between devices within the network. The communication between the remote control device 201 and the first media player 301 and the second media player 401 can be communicated through an Institute of Electrical and Electronics Engineers (Institute〇f
Electrical and Electronics Engineers,IEEE) 802.11 協定來進 •行,亦可以透過該第一媒體播放器3〇1以及該第二媒體播放器 4〇1被賦予通用的唯一識別符的無線協定來進行。詳而言之, 第無線區域網路模組202與第二無線區域網路模組302以及 第二無線區域網路模組402係透過IEEE 802.11協定來進行的 退程通訊。第一無線個人區域網路模組203與第二無線個人區 域網路模組302以及第三無線個人區域網路模組係透過該第— 媒體播玫器301以及該第二媒體播放器401被賦予通用的唯一 識別符的無線協定來進行的短距離通訊。其中,該通用的唯一 13 1327831 識別符的無線協定可以係群蜂(Zigbee )協定、藍牙(Bluetooth ) 協定與其他近距離無線通訊協定。 群蜂協定係由Zibgee聯盟定義的一種近距離(小於 30m)、低功率的標準,且目前正被標準化為IEEE 802.15.4。 聯盟定義了簡單、相對低的比特率(250kbits/s)以及低功率的 方案’用於近距離無線通訊。當遙控裝置201啟用遠程通訊時 則透過IEEE 802.11協定來進行。 又’遙控裝置201與媒體伺服器501之間的通訊亦係透過 IEEE 802.11協定來進行,即’第一無線區域網路模組202與The Electrical and Electronics Engineers (IEEE) 802.11 protocol can also be implemented by the first media player 3.1 and the second media player 401 being assigned a universal unique identifier wireless protocol. In detail, the wireless local area network module 202 and the second wireless local area network module 302 and the second wireless local area network module 402 perform backhaul communication through the IEEE 802.11 protocol. The first wireless personal area network module 203 and the second wireless personal area network module 302 and the third wireless personal area network module are transmitted through the first media player 301 and the second media player 401. Short-range communication for wireless protocols that give a universal unique identifier. Among them, the universal wireless protocol of the unique 13 1327831 identifier can be a Zigbee protocol, a Bluetooth protocol and other short-range wireless communication protocols. The swarm bee protocol is a close-range (less than 30m), low-power standard defined by the Zibgee Alliance and is currently being standardized to IEEE 802.15.4. The Alliance defines a simple, relatively low bit rate (250 kbits/s) and a low power scheme for short-range wireless communications. When the remote control device 201 enables remote communication, it is performed through the IEEE 802.11 protocol. Further, the communication between the remote control device 201 and the media server 501 is also performed through the IEEE 802.11 protocol, that is, the first wireless local area network module 202 and
第四無線區域網路模組5〇2係透過reEE 8〇2.1;1協定來進行。 同樣,媒體伺服器501與第一媒體播放器3〇1以及第二媒體播 放器401的通訊亦係透過IEEE 8〇211協定來進行。即,第四 無線區域網路模組502與第二無線區域網路模組3〇2以及第三 無線區域網路模組402係透過IEEE 802.11協定來進行。 圖2所示為本發明圖1中遙控裝置201之模組圖。遙控裝 置201中第一無線個人區域網路模組2〇3包括一第一獲取模組 2031、一判斷模組2〇32、一第一開關模組加^以及一查詢模 組2035。遙控裳置201的第一無線區域網路模組搬包括一第 二獲取模組2〇21、-解析模組助、一第二開關模組肅以 及一傳送控制模組2026。 於第一無線個人區域網路模組203中,第一獲取模組% 用於接收-封包’ gp ’接收第_媒體播放器3〇1以及第二媒 1327831 •播放器401發送之封包,並從該封包中獲取媒體訊息。本實施 方式中,獲取的媒體訊息包括第一媒體播放器301及第二媒體 播放器401的位址訊息。其中,群蜂對應為媒體儲存控制位址 ' (MAC),藍牙對應為設備位址(BD_ADDR)。本實施方式中, 媒體位址以對照表601 (參閱圖9)方式儲存於儲存器204。媒 體位址判斷模組2032用於根據接收到的封包判斷該遙控裝置 201是否發生漫遊,即根據接收到的封包訊號的強度與預設值 籲強度的比較,從而判斷該遙控裝置201的位置。詳而言之,封 包訊號的強度在一段時間内(幾秒到幾分鐘内)都低於預設 -值、或遙控裝置201收不到網路内的訊號,則判定遙控裝置201 •(亦即用戶)離開該區域。反之,若封包訊號的強度在一段時 間内都高於預設值,則判定遙控裝置201進入新區域或處在原 區域。本實施方式中,該預設值是一個以分貝(dB)為單位的 閥值(threshold)。第一開關模组2034用於發送近距離開啟或 •關閉指令。查詢模組2035用於根據遙控裝置201的位置查詢 媒體訊息。即,查詢第一媒體播放器301或第二媒體播放器401 的訊息。 於第一無線區域網路模組202中,第二獲取模組2021同 樣接收一封包,並從該封包中獲取媒體訊息,其中,接收到的 封包與第一獲取模組2031接收的封包不同點在於該封包是透 過通用隨插即用傳送的封包。本實施方式中,獲取的媒體訊息 包括媒體設備的唯一設備名稱以及中斷訊息。解析模組2022 15 解析第—獲取模組2021所獲取的媒體訊息,對其進行處 理’並將其餘存於儲存器綱。其中,唯一設備名稱以對照表 (參閱圖9)方式儲存。第二開關模組2024用於發送遠程 的開啟或關閉指令。傳送控制模組观6用於根據遙控裝置2〇1 的位置傳送-控制指令,儲存一媒體播放器之中斷訊息,並根 據該中斷訊息控制另一媒體播放器從媒體中斷處自動播放。傳 送控制模組2026包括IEEE 802.11通訊界面。 1 在本實施方式中’當遙控裝置2〇1發生漫遊時,傳送控制 杈組2026傳送控制指令至第一媒體播放器3〇1,儲存中斷訊 •息,並傳送控制指令至第二媒體播放器4〇1,控制第二媒體播 .放器401從中斷處自動播放。 圖3所示為本發明無線家庭網路系統遙控裝置2〇1、第一 媒體播放器301、第二媒體播放器401及媒體伺服器501間之 傳輸流程圖。首先’遙控裝置201多點發送(multicast) —發 現消息給網路内的所有媒體設備,尋找相關的媒體設備或服 務。本實施方式中,該發現消息是以封包的格式傳送。其中, 該發現消息包括設備的一些特定訊息或者某項服務的訊息,例 如:類型、識別符等。網路内的所有媒體設備監聽該發現消息, 匹配的媒體設備,如第一媒體播放器301、第二媒體播放器401 及媒體伺服器501分別響應該發現消息,並傳送一應答消息姶 遙控裝置201。遙控裝置201根據應答消息的内容建立對照表 601。本實施方式中,對照表601是以動態方式建立。即,遙 16 1327831 控裝置201實時發送發現消息給網路内的媒體裝置,並 答消息的内谷對儲存於儲存器204的對照表6()1予以更^ 透過該應答消息内容,亦可實時判定網路㈣體裝置的^ 透過媒體词服器501料的Ηττρ串流給第一媒體播放 301’用戶可_第—媒體播放器皿在第—區域如觀賞娱半 内容。 、禾 當用戶攜帶遙控裝置咖離開該第一區域%,則遙控裝置 201傳迗一讀取並儲存指令給第一媒體播放器3〇ι,儲存第— 媒體播放器301的中斷訊息。該中斷訊息儲存於遙控裝置加 的儲存器204中。此時,若用戶需要關閉該第—媒體播放器 301,遙控裝置201傳送一停止指令給第一媒體播放器3〇1,使 其停止播放,之後遙控裝置201傳送一關閉指令給第—媒體播 放器301,關閉該第一媒體播玫器3〇1。本實施方式中,用戶 是否需要關閉該第一媒體播放器301是在用戶離開第一區域 30之則’啟動自動播放功能選項的同時選擇停止並關閉選項來 實現。該等選項由遙控裝置2〇1的啟動模組205所提供。 當用戶漫遊至第二區域40,遙控裝置201傳送一開啟指令 給第二媒體播放器401,使其開啟,然後傳送一播放指令給第 二媒體播放器401 ’使其播放。其中,該開啟指令由第一網路 個人區域模組203的開關模組2034發送。又,第二媒體播放 器傳送一 HTTP請求給媒體伺服器501,尋找相應的娛樂内 17 1327831 谷’例如.視頻點播、u .,,, - MP3、圖片或者視頻廣播中的一 之後,遙控裝置201值奋❹此人认你 呆一類。 .哥找 第二媒體 '、lA^ 3 7匕含儲存於遙控裝置201的第一媒體播 3〇1的中斷訊息。苐二媒體播放器40!讀取該中斷信息後,器 傳送=- HTTP尋找請求給媒體祠服器5〇ι,告知中斷位置。其 t該HTTP明求中有―搁位為範圍搁位,若娱樂内容為視頻 點播、MP3或圖片,該铜位告知媒體飼服器5〇1其的中斷位置; ►若娛樂内容為視頻廣播,該爛位則告知頻道訊息。因此,媒體 祠服器501從中斷處傳送Ηττρ串流給第二媒體播放器他。 _在隨插即用音頻視頻架構的無線家庭網路中,第—媒體播 •放器301或第二媒體播放器4〇1係不停地甸媒體伺服器5〇1發 送HTTP請求,請求媒體祠服器5〇ι傳送換樂内容。同樣,媒 體伺服器501亦係不停的發送Ηττρ串流響應該HTTP請求。 收到該HTTP串流的媒體播放器亦會傳送一應答訊息回應該 _ HTTP串流(未標示於圖中)。 圖4所示為本發明一實施例中無線家庭網路自動切換播放 方法之流程圖。在步驟Si〇;[,遙控裝置2〇1接收一封包。在 步驟S102’遙控裝置201根據接收到的封包判斷其是否發生 沒遊’即判斷其是否從該第一區域%漫遊至該第二區域40。 如果遙控裝置201未發生漫遊,繼續執行少驟S101 ’遙控裝 置201繼續接收一封包。在步驟sl〇5,如果遙控裝置201發 生漫遊,遙控裝置201則儲存第一區域3〇的第一媒體播放器 18 1327831 ‘ 301的中斷訊息於儲存器204。在步驟si〇9,遙控裝置201根 據中斷訊息,從中斷處自動播放。 圖5所示為本發明圖4中步驟S101之細化流程圖。在步 驟S2011 ’遙控裝置201多點傳送一發現消息給網路内的所有 媒體設備,尋找指定服務的媒體設備。在步驟S2013,網路内 的媒體設備監聽該發現消息’匹配的媒體設備傳送一應答消息 給遙控裝置201。本實施方式中,匹配的媒體設備對應為第一 >媒體播放器301、第二媒體播玫器4〇1及媒體伺服器5〇1。在 步驟S2015,遙控裝置201儲存媒體設備的唯一設備名稱以及 .媒體位址。其中,媒體設備的唯一設備名稱是透過無線區域網 •路來進行傳送,而媒體位址則是透過無線個人區域網路來進行 傳送。本實施方式中,遙控裝置201為主動接收封包。即遙控 裝置201首先發送一發現消息給網路上的媒體設備,網路上的 媒體設備再傳送一應答消息給遙控裝置201。 在本發明之其它實施方式中,遙控裝置2〇1亦可被動接收 封包。即網路上的媒體設備將定期傳送封包給遙控裝置2〇1, 告知遙控裝置201媒體ό史備的狀況。且,該定期時間可由用户 自行設置。 當新设備加入網路中,該設備將傳送一封包給遙控裝置 201,公開其設備及服務。同樣,當該設備從網路中除去,該 設備亦發送一聲明封包給遙控裝置201,聲明該設備包含的服 務已失效。 19 1327831 ‘ 圖6所示為本發明圖4之細化流程圖。在步驟S301,遙The fourth wireless local area network module 5〇2 is implemented by a reEE 8〇2.1;1 protocol. Similarly, communication between the media server 501 and the first media player 3.1 and the second media player 401 is also performed via the IEEE 8〇211 protocol. That is, the fourth wireless local area network module 502 and the second wireless local area network module 3〇2 and the third wireless local area network module 402 are implemented by the IEEE 802.11 protocol. FIG. 2 is a block diagram of the remote control device 201 of FIG. 1 according to the present invention. The first wireless personal area network module 2〇3 of the remote control unit 201 includes a first acquisition module 2031, a determination module 2〇32, a first switch module plus a query module 2035. The first wireless area network module of the remote control set 201 includes a second acquisition module 2〇21, an analysis module helper, a second switch module and a transfer control module 2026. In the first wireless personal area network module 203, the first obtaining module % is configured to receive the packet 'gp' to receive the packet sent by the media player 3〇1 and the second media 1327831, and the player 401, and Get media messages from this packet. In this embodiment, the obtained media message includes address information of the first media player 301 and the second media player 401. The group bee corresponds to a media storage control address '(MAC), and the Bluetooth corresponds to a device address (BD_ADDR). In this embodiment, the media address is stored in the storage 204 in a manner of a comparison table 601 (see FIG. 9). The media address determining module 2032 is configured to determine, according to the received packet, whether the remote control device 201 is roaming, that is, to determine the location of the remote control device 201 according to the comparison between the received packet signal strength and the preset value. In detail, if the strength of the packet signal is lower than the preset value in a period of time (a few seconds to a few minutes), or the remote control device 201 does not receive the signal in the network, the remote control device 201 is determined. That is, the user) leaves the area. On the other hand, if the strength of the packet signal is higher than the preset value for a certain period of time, it is determined that the remote control device 201 enters the new area or is in the original area. In this embodiment, the preset value is a threshold in decibels (dB). The first switch module 2034 is configured to transmit a close proximity or a close command. The query module 2035 is configured to query the media message according to the location of the remote control device 201. That is, the message of the first media player 301 or the second media player 401 is queried. In the first wireless local area network module 202, the second obtaining module 2021 also receives a packet and obtains a media message from the packet, wherein the received packet is different from the packet received by the first obtaining module 2031. The packet is a packet that is transmitted through a universal plug and play. In this embodiment, the obtained media message includes a unique device name of the media device and an interrupt message. The parsing module 2022 15 parses the media message acquired by the first acquisition module 2021, processes it, and stores the rest in the memory class. The unique device name is stored in the comparison table (see Figure 9). The second switch module 2024 is configured to send a remote open or close command. The transmission control module view 6 is configured to store an interruption message of a media player according to the position transmission-control command of the remote control device 2〇, and control another media player to automatically play from the media interruption according to the interruption message. The transfer control module 2026 includes an IEEE 802.11 communication interface. 1 In the present embodiment, when the remote control device 2〇1 roams, the transfer control group 2026 transmits a control command to the first media player 3〇1, stores the interrupt message, and transmits the control command to the second media play. The device 4〇1 controls the second media player 401 to automatically play from the interruption. 3 is a flow chart showing the transmission between the remote control device 2, the first media player 301, the second media player 401, and the media server 501 of the wireless home network system of the present invention. First, the remote control device 201 multicasts a message to all media devices in the network to find related media devices or services. In this embodiment, the discovery message is transmitted in a format of a packet. The discovery message includes some specific information of the device or a message of a service, such as a type, an identifier, and the like. All the media devices in the network listen to the discovery message, and the matched media devices, such as the first media player 301, the second media player 401, and the media server 501 respectively respond to the discovery message and transmit a response message to the remote control device. 201. The remote control device 201 creates a lookup table 601 based on the contents of the response message. In the present embodiment, the lookup table 601 is established in a dynamic manner. That is, the remote 16 1327831 control device 201 sends the discovery message to the media device in the network in real time, and the inner valley of the message is sent to the comparison table 6() 1 stored in the storage 204 to further transmit the content of the response message. The real-time determining network (4) body device traverses the Ηττρ stream of the media word processor 501 to the first media player 301'. The user can use the media player to view the entertainment content in the first area. When the user carries the remote control device to leave the first area %, the remote control device 201 transmits and reads a command to the first media player 3〇, and stores the interrupt message of the first media player 301. The interrupt message is stored in the memory 204 plus the remote control. At this time, if the user needs to close the first media player 301, the remote control device 201 transmits a stop command to the first media player 3〇1 to stop playing, and then the remote control device 201 transmits a close command to the first media player. The 301 is configured to close the first media player 3〇1. In this embodiment, whether the user needs to close the first media player 301 is to select the stop and close option while the user leaves the first area 30 to start the automatic play function option. These options are provided by the activation module 205 of the remote control device 2〇1. When the user roams to the second area 40, the remote control device 201 transmits an open command to the second media player 401 to turn it on, and then transmits a play command to the second media player 401' for playback. The opening command is sent by the switch module 2034 of the first network personal area module 203. In addition, the second media player transmits an HTTP request to the media server 501 to find a corresponding entertainment device, such as a video on demand, u.,, - MP3, picture or video broadcast, after the remote control device 201 value for this person to recognize you to stay in a class. The brother finds the second media ', lA^3 7 匕 contains the interrupt message of the first media broadcast 3〇1 stored in the remote control device 201. After the media player 40! reads the interrupt message, the device transmits =- HTTP to find the request to the media server 5〇, to inform the interrupt location. In the HTTP request, there is a “placement for the range of the position. If the entertainment content is a video on demand, an MP3 or a picture, the copper position informs the media feeding device of the interruption position; ► if the entertainment content is a video broadcast The rotten position informs the channel message. Therefore, the media server 501 transmits a stream of Ηττρ from the interrupt to the second media player. In the wireless home network of the plug-and-play audio video architecture, the first media player 301 or the second media player 4〇1 is constantly sending an HTTP request to the media requesting the media. The server 5 〇 ι transfers the music content. Similarly, the media server 501 also continuously transmits the Ηττρ stream in response to the HTTP request. The media player that receives the HTTP stream will also send a reply message to the _ HTTP stream (not shown in the figure). FIG. 4 is a flow chart showing a method for automatically switching a wireless home network in an embodiment of the present invention. In step Si〇; [, the remote control device 2〇1 receives a packet. In step S102', the remote control device 201 determines whether or not it has occurred based on the received packet, i.e., determines whether it roams from the first area % to the second area 40. If the remote control device 201 has not roamed, the execution of the small step S101 'the remote control device 201 continues to receive a packet. In step sl5, if the remote control device 201 is roaming, the remote control device 201 stores the interrupt message of the first media player 18 1327831 '301 of the first area 3 于 in the storage 204. In step si 〇 9, the remote control device 201 automatically plays from the interruption based on the interrupt message. FIG. 5 is a detailed flowchart of step S101 in FIG. 4 of the present invention. In step S2011, the remote control device 201 multicasts a discovery message to all media devices in the network to find a media device of the designated service. In step S2013, the media device in the network listens to the discovery message. The matched media device transmits a response message to the remote control device 201. In this embodiment, the matched media device corresponds to the first > media player 301, the second media player 4〇1, and the media server 5〇1. In step S2015, the remote control device 201 stores the unique device name of the media device and the media address. The unique device name of the media device is transmitted through the wireless local area network, and the media address is transmitted through the wireless personal area network. In the present embodiment, the remote control device 201 actively receives the packet. That is, the remote control device 201 first sends a discovery message to the media device on the network, and the media device on the network transmits a response message to the remote control device 201. In other embodiments of the invention, the remote control device 2〇1 can also passively receive the packet. That is, the media device on the network will periodically transmit the packet to the remote control device 2〇1, and inform the remote control device 201 of the status of the media. Moreover, the periodic time can be set by the user. When a new device is added to the network, the device will transmit a packet to the remote control device 201 to disclose its equipment and services. Similarly, when the device is removed from the network, the device also sends a claim packet to the remote control device 201 stating that the service contained in the device has expired. 19 1327831 ‘ Figure 6 is a detailed flow chart of Figure 4 of the present invention. In step S301, remote
A 控裝置201接收一封包。在步驟S303,遙控裝置201根據接 ‘收到的封包判斷遙控裝置201是否離開第一區域30。如果遙控 •裝置201未離開第一區域30,繼續執行步驟S301,遙控裝置 201繼續接收一封包。在步驟S305,如果遙控裝置201離開第 一區域30,遙控裝置201儲存第一媒體播放器301的中斷訊息 於儲存器204。其中,該中斷訊息包括中斷位置。在步驟S307, •遙控裝置201判斷其是否漫遊至第二區域40。如果遙控裝置 201未漫遊至第二區域40,遙控裝置201接收另一封包(步驟 -S308 ),並重複步驟S307,繼續判斷是否漫遊至該第二區域 .40。在步驟S309,遙控裝置201根據中斷訊息,從中斷處自 .動播放。 本實施方式中,步驟S305,遙控裝置201儲存第一媒體 播放器301的中斷訊息於儲存器204,可以是在遙控裝置201 鲁離開該第一區域30之後儲存中斷訊息,亦可在離開的同時儲 存該中斷訊息。 在本發明的其它實施方式中,遙控裝置201儲存第一媒體 播放器301的中斷訊息於儲存器204亦可在遙控裝置201漫遊 至第二區域40時執行。 圖7所示為本發明圖6之細化流程圖。在步驟S401,遙 控裝置201接收一封包。在步驟S4031,遙控裝置201根據接 收到的封包訊號判斷其強度是否小於一預設值強度。如果該封 1327831 •包訊號的強度未小於預設值強度,遙控裝置201重複步驟 * S401,繼續接收一封包。在步驟S4033,如果該封包訊號的強 ’度小於預設值強度,則判定遙控裝置201離開該第一區域30。 •遙控裝置201離開第一區域30,則執行步驟S405,遙控裝置 201儲存第一媒體播放器301的中斷訊息。 在步驟S406,遙控裝置201判斷是否關閉該第一區域30 的第一媒體播放器301。在步驟S4061,如果要關閉該第一區 •域30的第一媒體播放器301,遙控裝置201停止該第一媒體播 放器301的播放。在步驟S4063,遙控裝置201關閉該第一媒 -體播放器301。在步驟S408,遙控裝置201接收另一封包。如 -果不關閉該第一區域30的第一媒體播放器301,遙控裝置則直 接執行步驟S408,接收另一封包。 在步驟S4071,遙控裝置201判斷該接收到的封包訊號的 強度是否大於一預設值強度。本實施方式中,該預設值與步驟 鲁S4031的預設值為同一值。 在本發明其它實施方式中,該預設值與步驟S4031的預設 值亦可為不同值。即,步驟S4031的預設值為第一預設值,步 驟S4071的預設值為第二預設值,且第一預設值小於第二預設 值。 如果該封包訊號的強度未大於預設值強度,遙控裝置201 重複步驟S408,繼續接收另一封包。在步驟S4073,如果該封 包訊號的強度大於該預設值強度,則判定遙控裝置201漫遊至 21 1327831 第二區域40 °而判定遙控裝置2〇1漫遊至第二區域4〇,則執 •行步驟S409,遙控裝置201根據中斷訊息,從中斷處自動播 放。 圖8所示為本發明圖4中步驟S109之細化流程圖。在步 驟S5073 ’遙控裝置201漫遊至該第二區域4〇。在步驟S5091,The A control device 201 receives a packet. In step S303, the remote control device 201 determines whether the remote control device 201 has left the first area 30 based on the received packet. If the remote control device 201 has not left the first area 30, proceeding to step S301, the remote control device 201 continues to receive a packet. In step S305, if the remote control device 201 leaves the first area 30, the remote control device 201 stores the interrupt message of the first media player 301 in the storage 204. The interrupt message includes an interrupt location. In step S307, the remote control device 201 determines whether it has roamed to the second area 40. If the remote control device 201 does not roam to the second area 40, the remote control device 201 receives another packet (step -S308), and repeats step S307 to continue to determine whether to roam to the second area .40. In step S309, the remote control device 201 automatically plays from the interruption according to the interrupt message. In this embodiment, in step S305, the remote control device 201 stores the interrupt message of the first media player 301 in the storage 204, and may store the interrupt message after the remote device 201 leaves the first area 30, and may also leave the device while leaving. Save the interrupt message. In other embodiments of the present invention, the remote device 201 storing the interrupt message of the first media player 301 in the memory 204 may also be executed when the remote device 201 roams to the second region 40. Figure 7 is a detailed flow chart of Figure 6 of the present invention. At step S401, the remote control device 201 receives a packet. In step S4031, the remote control device 201 determines whether the strength is less than a preset value strength based on the received packet signal. If the strength of the packet 1327831 • packet signal is not less than the preset value strength, the remote control device 201 repeats the step * S401 to continue receiving a packet. In step S4033, if the strength of the packet signal is less than the preset value strength, it is determined that the remote control device 201 leaves the first region 30. When the remote control device 201 leaves the first area 30, step S405 is executed, and the remote control device 201 stores the interrupt message of the first media player 301. In step S406, the remote control device 201 determines whether the first media player 301 of the first area 30 is closed. In step S4061, if the first media player 301 of the first zone domain 30 is to be closed, the remote control device 201 stops the playback of the first media player 301. In step S4063, the remote control device 201 turns off the first media player 301. At step S408, the remote control device 201 receives another packet. If the first media player 301 of the first area 30 is not closed, the remote control device directly performs step S408 to receive another packet. In step S4071, the remote control device 201 determines whether the strength of the received packet signal is greater than a predetermined value strength. In this embodiment, the preset value is the same as the preset value of the step S4031. In other embodiments of the present invention, the preset value and the preset value of step S4031 may also be different values. That is, the preset value of step S4031 is the first preset value, the preset value of step S4071 is the second preset value, and the first preset value is smaller than the second preset value. If the strength of the packet signal is not greater than the preset strength, the remote control device 201 repeats step S408 to continue receiving another packet. In step S4073, if the strength of the packet signal is greater than the preset value strength, it is determined that the remote control device 201 roams to the second region 40° of 21 1327831 and determines that the remote control device 2〇1 roams to the second region 4〇, then the line is executed. In step S409, the remote control device 201 automatically plays from the interruption according to the interrupt message. FIG. 8 is a detailed flowchart of step S109 in FIG. 4 of the present invention. The remote control device 201 roams to the second area 4〇 in step S5073. In step S5091,
遙控裴置201查找第二區域4〇的第二媒體播放器4〇1的基本 訊息。本實施方式中,遙控裝置2〇1係透過接收到封包中的訊 息,即媒體儲存控制位址(MAC)或設備位址(BD—ADDR), 在倚存器204的對照表中知知第二區域的第二媒體播放器 4〇1。在步驟S5093,遙控裝置2〇4開啟該第二媒體播放器4〇1。 在步驟S5095 ’遙控裝置201從儲存器2〇4中讀取該第一媒體 播放器301的中斷訊息,並傳送給該第二媒體播放器4〇1。在 γ驟S5097 ’第—媒體播放器由中斷處播放。 一圖9所示為本發明對照表6〇1之示意圖。該對照表6〇1 ^ 括一准-設備名稱欄位,-家用設備名稱攔位以及— 區域網路設備位址欄位。其巾,無線個人區域網路設備位址相 位屬於額外的欄位’即—般的隨插即用的標準中並不包括此相 位,其由無線個人區域網路模組3〇3、所提供。 本實知方式中,該對照表6〇1可以動態建立。即當 置-收到網路中的應答消息時,分別將其中的唯一設備^ 以及位址儲存在對照表繼相對應时一設備名稱搁位以及益 線個人區域網路設備位址攔位。此外,在應答消息内容中,屯 22 1327831 包括一描述設備資訊的URL位址,遙控裝置201透過該URL » 位址取得設備的資訊,例如:家用設備名稱、製造商名稱、類 型。遙控裝置201把取得的設備資訊儲存在對照表6〇1對應的 家用設備名稱欄位。 在本發明其它實施方式中,該對照表601亦可以由用戶透 過啟動模組205輪入,即唯一設備名稱攔位,家用設備名稱攔 位以及無線個人區域網路設備位址欄位都是由用戶輸入。 本實施方式中,無線個人區域網路設備位址攔位為群蜂 (Zigbee)的64比特(bits)媒體儲存控制位址。 在本發明其它實施方式中,該無線個人區域網路設備位址 櫚位亦可為藍牙(Bluetooth)的48比特(bits)的設備位址。 本發明中’當用戶攜帶遙控裝置201,且啟動自動模式, 從第一區域30漫遊至第二區域40時,該遙控裝置2〇1可自動 儲存第一區域30的第一媒體播放器301之中斷點,在第二區 域301的第二媒體播放器401自動從中斷點繼續播放,從而實 現從第一區域30的第一媒體播放器301至第二區域4〇的第二 媒體播放器401的自動播放功能。 本發明雖以較佳實施例揭露如上,然其並非用以限定本發 明。惟,任何熟悉此項技藝者,在不脫離本發明之精神和範圍 内,當可做更動與潤飾,因此本發明之保護範圍當視後附之申 請專利範圍所界定者為準。 【圖式簡單說明】 1327831 •圖1係本發明一實施例中無線家庭網路系統之模組圖。 圖2係本發明圖1中遙控裝置201之模組圖。 ‘圖3係本發明無線家庭網路系統之傳輸流程圖。 ‘圖4係本發明一實施例中無線家庭網路自動切換播放方法之流 程圖。 圖5係本發明圖4中步驟S101之細化流程圖。 圖6係本發明圖4之細化流程圖。 籲圖7係本發明圖6之細化流程圖。 圖8係本發明圖4中步驟S109之細化流程圖。 •圖9係本發明對照表之示意圖。 .【主要元件符號說明】 第一區域 30 第二區域 40 遙控裝置 201 第一無線區域網路模組 202 第一無線個人區域網路模組 203 第二獲取模組 2021 解析模組 2022 第二開關模組 2024 傳送控制模組 2026 第一獲取模組 2031 判斷模組 2032 24 1327831 第一開關模組 瓤 2034 查詢模組 2035 儲存器 204 啟動模組 205 第一媒體播放器 301 第二無線區域網路模組 302 第二無線個人區域網路模組 303 第二媒體播放器 401 第三無線區域網路模組 402 第三無線個人區域網路模組 403 媒體伺服器 501 第四無線區域網路模組 502The remote control unit 201 finds the basic message of the second media player 4〇1 of the second area 4〇. In this embodiment, the remote control device 2〇1 receives the message in the packet, that is, the media storage control address (MAC) or the device address (BD_ADDR), and is known in the comparison table of the register 204. The second media player of the second zone is 4〇1. In step S5093, the remote control device 2〇4 turns on the second media player 4〇1. The remote control device 201 reads the interrupt message of the first media player 301 from the storage unit 2〇4 in step S5095 and transmits it to the second media player 4〇1. At the gamma step S5097', the media player is played by the interrupt. Figure 9 is a schematic view of the comparison table 6〇1 of the present invention. The comparison table 6〇1 ^ includes a quasi-device name field, a home device name block, and a regional network device address field. The wireless personal area network device address phase belongs to an additional field. The same is not included in the plug-and-play standard, which is provided by the wireless personal area network module 3〇3. . In the presently known manner, the comparison table 6〇1 can be dynamically established. That is, when receiving the response message in the network, the unique device and the address are respectively stored in the comparison table, and the corresponding device name is placed and the benefit personal area network device address is blocked. In addition, in the content of the response message, 屯 22 1327831 includes a URL address describing device information, and the remote control device 201 obtains information of the device through the URL » address, for example, a home device name, a manufacturer name, and a type. The remote control device 201 stores the acquired device information in the home device name field corresponding to the comparison table 6〇1. In other embodiments of the present invention, the comparison table 601 can also be rotated by the user through the activation module 205, that is, the unique device name block, the home device name block, and the wireless personal area network device address field are all User input. In this embodiment, the wireless personal area network device address is blocked by a Zigbee 64-bit media storage control address. In other embodiments of the present invention, the wireless personal area network device address may also be a 48-bit device address of Bluetooth. In the present invention, when the user carries the remote control device 201 and activates the automatic mode, when roaming from the first area 30 to the second area 40, the remote control device 2〇1 can automatically store the first media player 301 of the first area 30. At the break point, the second media player 401 in the second area 301 automatically resumes playing from the point of interruption, thereby effecting the second media player 401 from the first media player 301 of the first area 30 to the second area 4 of the first area 30. Auto play function. The present invention has been described above by way of a preferred embodiment, and is not intended to limit the invention. However, any person skilled in the art will be able to make changes and refinements without departing from the spirit and scope of the invention, and the scope of the invention is defined by the scope of the appended claims. BRIEF DESCRIPTION OF THE DRAWINGS 1327831 • FIG. 1 is a block diagram of a wireless home network system in an embodiment of the present invention. 2 is a block diagram of the remote control device 201 of FIG. 1 of the present invention. </ RTI> Figure 3 is a transmission flow diagram of the wireless home network system of the present invention. Fig. 4 is a flow chart showing a method for automatically switching a wireless home network in an embodiment of the present invention. FIG. 5 is a detailed flowchart of step S101 in FIG. 4 of the present invention. Figure 6 is a detailed flow chart of Figure 4 of the present invention. 7 is a detailed flowchart of FIG. 6 of the present invention. FIG. 8 is a detailed flowchart of step S109 in FIG. 4 of the present invention. • Figure 9 is a schematic representation of a comparison table of the present invention. [Main component symbol description] First region 30 Second region 40 Remote control device 201 First wireless local area network module 202 First wireless personal area network module 203 Second acquisition module 2021 Analysis module 2022 Second switch Module 2024 transmission control module 2026 first acquisition module 2031 determination module 2032 24 1327831 first switch module 瓤 2034 query module 2035 storage 204 startup module 205 first media player 301 second wireless local area network Module 302 second wireless personal area network module 303 second media player 401 third wireless area network module 402 third wireless personal area network module 403 media server 501 fourth wireless area network module 502