200823700 » . * 九、發明說明: 【發明所屬之技術領域】 本發明係提出一種通訊裝置及其存取字形資料之方 法,特別是關於使通訊裝置可取得對應多種字形編碼之字 形資料的方法。 【先前技術】 隨著科技的進步,嵌入式設計已經成為工業現代化、 曰慧化的必經之路。喪入式設計的領域正逐年擴大,所謂 甘入入式系統(Embedded System)’是一種結合電腦軟體和 硬體的應用,舉凡數位攝錄影機、資訊家電、先進醫療器 =以及智慧型辦公室等應用,皆脫離不了嵌入式系統的範 嚀。為了因應消費者對於資訊設備訊息化、智慧化及網路 、的強力為求,肷入式系統通常會要求配備至少一種網路 通訊介面,使嵌入式系統可結合網際網路,以獲得廣闊的 =展空,。在個人運用領域中,嵌入式設備提供方便:人 I動的資料處理和通訊軟體,由於目前的嵌入式設備大夕 二有^然的人機交互介面,其可為多媒體介面,以作為^ 二文T輪入、語音撥號上網、收發電子郵件以及網路二 —不等功能之使甩者介面(ϋΙ),提供較高的親和力。 括成^ ’由於網際網賊設玉作進展迅速且範圍廣泛,勺 速月幹網際網路、接取網際網路及國際連網等,以提供己 連網廉之職網路服務。隨«者積極擴建= 肩見,使得消費者在與國際網路接執上之應用已相$ 200823700 . » 谷易’、如在Skype電話設備的應用上,可藉由網際網路而 與全球性的Skype甩戶達對語音通訊的目的。但是,由於 各區域之Skype用戶所使用的語言不盡相同,因此,欲入 式網路終端,如Skype電話設備,其使用者介面軟體需面 臨如何根據各種語音之字元編碼而顯示對應字形的問題。 目前’嵌入式網路終端為了顯示對應各種字元編碼的 子开y 通#需儲存數目魔大的字形資料,這對於儲存空間 φ有限的嵌入式設備而言,相當耗費儲存資源,且,若在嵌 入式設備中增加儲存空間將不利於成本及體積的考量。 有鑑於上述問題,本發明人基於多年從事研究與諸多 實務經驗,經多方研究設計與專題探討,遂於本發明提出 一種網路通訊系統、通訊裝置及其字形資料之存取方法, 以作為前述問題之解決方式與依據。 【發明内容】 本發明之目的為提供一種通訊裝置及其存取字形資料 之方法,特別是關於可取得對應多種字形編碼之字形資料 的方法,用以解決一般網路終端之嵌入式系統無法顯示多 種语吕子形的問題。 緣是,為達上述目的,本發明之應用包含有伺服端及 通訊裝置,其中伺服端設有主資料庫,通訊裝置經由網防 網路而與祠服端連結,通訊裝置中設有本地資料庫,其用 於儲存至少一第一字形資料。當通訊裝置接收一字元編瑪 時,通訊裝置即先判斷第一字形資料是否為上述之字元編 200823700 碼’若否’則通訊裝置可通知伺服端,可由主資料庫提供 對應字元編碼之第二字形資料予通訊裝置。 承上所述,依本發明所揭露之通訊裝置,其通常為整 合嵌入式系統之網路终端設備,如網路電話裝置,此通訊 裝置具有記憶單元、通訊單元及處理單元,其中,記憶單 元可設置儲存有第一字形資料之本地資料庫,通訊單元用 於經由網際網路而與伺服端連結,處理單目 判斷字 # ,編碼與第一字形資料之對應關係,以決定是否藉由通訊 單元而自伺服端之主資料庫取得第二字形資料。 再者,a己11:¾單元用於设置儲存有第—字形資料之本地 貧料庫除設置本地資料庫之外’更可設置一暫存區,其甩 於,存自舰端取狀第二字形㈣。麵絲置再次接 收字元編碼時’處理單元可先判斷此字元編碼是否對應第 一字形編碼或暫存區中之第二字形資料,再決定是否通知 伺服媳。 /、 综觀上述,藉由本地資料庫所存之第一字形資料可j 一般使用頻率較高之字形資料,以保持通訊裝置之工射 率丄藉由第二字形資料為包括第—字形資料在内的任何, 形貧料,使通訊裝置在有限的成本及體積考量下,可達天 ,示多種語言之字形的絲;又,藉由暫存㈣設置,{ 通訊裝置儲存之字形資料可依個人化需求而有所不同。 功^使貴審查委S對本發明之技術特徵及所達成: =有更進-步讀解減識,下域提供餘之實福 及相關圖式以佐之用,並以詳細之說明文合^ 200823700 » » 如後。 【實施方式】 為讓本發明之上述目的、特徵和優點能更明顯易懂, 下文依本發明之通訊裝置及其存取字形資料之方法特舉較 佳實施例,並配合所附相關圖式,作詳細戴明如下,其中 相同的元件將以栢同的元件符號加以說明。 • 請參閱第一圖,其係本發明所揭露之網路通訊系統之 方塊示意圖。圖中,網路通訊系統1包含有伺服端11、通 訊裝置12及網際網路13,其中伺服端11與通訊裝置12 間經由網際網路13達成連結。伺服端11設有主資料庫 111,以儲存複數筆第二字形資料112,其分別對應各種字 元編碼14。通訊裝置12設有本地資料庫121,以儲存至少 一筆第一字形資料122,其分別對應部分的字元編碼14。 當通訊裝置12自網際網路13接收之資料包含有字元編碼 • 14時,通訊裝置12即判斷本地資料庫121中是否有任何 一筆第一字形資料122與此字元編碼14對應,若有則通訊 裝置12可藉此第一字形資料122而顯示符合此字元編碼 14之字形。若通訊裝置12判斷出本地資料庫121中未有 與字元編碼14對應之第一字形資料122,則通知伺服端 11,使伺服端11在主資料庫111中查找符合此字元編碼 14之第二字形資料112並將其回應予通訊裝置11,藉此, 通訊裝置11即根據所接收之第二字形資料112而顯示符合 此字元編碼14之字形。 200823700 ^ -4 . ' -. .. ' 承上所述’並請參閱第二圖,其係本發明所揭露之通 訊裝置之方塊示意圖。圖中’通訊裝置12包含有記憶單元 21、處理單元22、通訊單元23及顯示單元24。記憶單元 21設有本地ί料庫121及暫存區211。通訊單元23使用至 少一種網路通訊標準,用以提供通訊裝置12經由網際網路 而與伺服端I1連結,藉此通訊裝置12可與伺服端11間傳 輸資料,且,祠服端11傳送之資料可包含有字元編碼〗4。 再者,處理單元22藉由通訊單元23而接收字元編碼U ⑩後,即將字元編碼14與記憶單元21之本地資料庫121所 存的第一字形資料122比對,若比對出有第一字形資料122 對應字元編碼14 ,則根據此第一字形資料122而控制顯示 單元24顯示符合此字元編碼14之字形。若處理單元22 判斷出本地資料庫121中未有與該字元編碼14對應之第一 字形資料122,則處理單元22經由通訊單元23通知上述 之伺服端11,使伺服端11回應對應字元編碼14之第二字 开> 資料112,藉此,處理單元22即根據此第二字形資料112 _ 而控制顯示單元24顯示符合該字元編碼14之字形。此外, 處理單元22更可將自伺服端11所取得之第二字形資料 112儲存於記憶單元21之暫存區211中,以便於再次接收 到子元編碼14時,可先行比對本地資料庫121及暫存區 211中之第一字形資料122及第二字形資料112,再決定是 否通知伺服端11提供對應之字形資料。上述之通訊裝置 12可為整合欲入式系統(Embedded System)之網路终端設 備,如網路電話裝置。 接續’請參閱第三圖,其係本發明所揭露之存取字形 200823700 > 資料之方法之步驟流程圖,此方法用於網路通訊系統1 中,當網路通訊系統1中之通訊裝置12接收字元編碼14 時,使通訊裝置12可取得對應此字元編碼14之字形資料, 包含以下步驟: 步驟S31 :於通訊裝置12中設置本地資料庫121,用 以儲存第一字形資料122 ; 步驟S32 :判斷字元編碼14是否對應第一字形資料 隹 122 ;若是,則進行步驟S33 ;若否,則進行步驟S34 ; 步驟S33:使通訊裝置12根據第一字形資料122而顯 示對應字元編碼14之字形; 步驟S34 :經由網際網路13而通知伺服端11提供對 應字元編碼14之第二字形資料112 ; 步驟S35:判斷是否取得對應字元編碼14之第二字形 資料112 ;若是,則進行步驟S36 ;若否,則結束流程; 步驟S36 ·將對應字元編碼14之弟二字形貢料112存 入暫存區211 ;以及 步驟S37 :使通訊裝置12根據第二字形資料112而顯 示對應字元編碼14之字形。 此外,請參閱第四圖,其係本發明所揭露之暫存區之 第一實施例之作業流程圖,其包含以下步驟: 步驟S41:接收伺服端11所提供之第二字形資料112; 步驟S42 :判斷儲存空間是否已滿;若是,則進行步 11 200823700 驟S43,若否’則進行步驟以4 ; 步驟S43 :删除健存時間最久的資料;以及 步驟S44 :儲存第二字形資料丨^。 請參閱第五圖,其係本發明所揭露之 施例之作業流_,其包含以下步驟:之第二1 步驟观:接_服端丨丨所提供之第二字形資料⑴ 步驟S52:判斷館存空間是否 、 驟S53;若否,則進行步驟邡4; 右疋,則進行2 步驟S53:删除使用頻率最低的資料;以及 步驟S54 :儲存第二字形資料ιΐ2。 以上所述僅為舉触,而㈣限制 明之精神與範疇,而對並進 # 彳何未脫離本每 含於後附之申請專利以之專, 【圖式簡單說明】 第一圖係為本發明所揭露 第二圖係為本發明所揭露 之網路通訊系統之方塊示意圖; 卜一 之通訊裝置之方塊示意圖; 第三圖係為本發明所揭霖之 次 職程圖; 予形錄之存取方法之步 實施例之作業流 200823700 第五圖係為本發明所揭露之暫存區之第二實施例之作業流 程圖。 【主要元件符號說明】 1:網路通訊系統; 21 :記憶單元; 11:伺服端; 211 :暫存區; 111 :主資料庫; 22 :處理單元; 112 :第二字形資料 23 :通訊單元; 12 :通訊裝置; 24 :顯示單元; 121 :本地資料庫; S31〜S37 :流程步驟; 122 :第一字形資料; S41〜S44 :流程步驟;以及 13 :網際網路; 14 :字元編碼; S51〜S54 :流程步驟。 13200823700 » . * ** Description of the Invention: [Technical Field] The present invention provides a communication device and a method for accessing the glyph data thereof, and more particularly to a method for enabling a communication device to obtain glyph data corresponding to a plurality of glyph codes. [Prior Art] With the advancement of technology, embedded design has become the only way for industrial modernization and innovation. The field of funeral design is expanding year by year. The so-called "Embedded System" is a combination of computer software and hardware applications, such as digital video cameras, information appliances, advanced medical devices = and smart offices. Such applications, can not escape the paradigm of embedded systems. In order to respond to consumers' demand for information equipment, intelligence and network, intrusive systems usually require at least one network communication interface, so that embedded systems can be combined with the Internet to obtain a wide range. = open air,. In the field of personal use, embedded devices provide convenience: human data processing and communication software, because the current embedded device has a human-computer interaction interface, it can be a multimedia interface, as ^ two Text T round-robin, voice dial-up Internet access, e-mail and e-mail, and the second-in-one function (提供), provide a higher affinity. In addition to the rapid progress and wide range of Internet thieves, the thief set up a network of Internet services, access to the Internet and international networking to provide Internet services. With the active expansion of the people, the application of the consumer to the international network is already worth $200823700. » Gu Yi', as in the application of Skype phone equipment, can be connected to the world through the Internet. Sexual Skype Seto reached the purpose of voice communication. However, since the languages used by Skype users in different regions are different, the user interface software of the desired network terminal, such as the Skype phone device, needs to display the corresponding glyph according to the encoding of various voice characters. problem. At present, the embedded network terminal needs to store a large number of glyph data in order to display the sub-opening y communication corresponding to various character encodings, which is quite expensive for the embedded device with limited storage space φ, and if Increasing storage space in embedded devices will be detrimental to cost and size considerations. In view of the above problems, the inventors have been engaged in research and many practical experiences for many years, and have been researched and designed by various parties. The present invention proposes a network communication system, a communication device, and a method for accessing the glyph data, as the foregoing. The solution and basis of the problem. SUMMARY OF THE INVENTION An object of the present invention is to provide a communication device and a method for accessing the glyph data thereof, and more particularly to a method for obtaining glyph data corresponding to a plurality of glyph codes, which can be used to solve the problem that the embedded system of the general network terminal cannot be displayed. A variety of language problems. Therefore, in order to achieve the above object, the application of the present invention includes a server and a communication device, wherein the server has a master database, and the communication device is connected to the server via the network defense network, and the communication device has local data. a library for storing at least one first glyph data. When the communication device receives a character encoding, the communication device first determines whether the first font data is the above character code 200823700 code 'if no', the communication device can notify the server, and the corresponding character code can be provided by the master database. The second glyph data is sent to the communication device. According to the above description, the communication device disclosed in the present invention is generally a network terminal device integrated with an embedded system, such as a network telephone device, the communication device having a memory unit, a communication unit and a processing unit, wherein the memory unit A local database storing the first glyph data may be set, and the communication unit is configured to connect with the server via the internet, process the correspondence between the monocular judgment word #, the code and the first glyph data, to determine whether to communicate by communication. The unit obtains the second glyph data from the master database of the server. In addition, a 11:3⁄4 unit is used to set the local poor library that stores the first-shaped data, in addition to setting the local database, it can set a temporary storage area, which is stored in the ship. Two-shaped (four). When the face wire is again received by the character code, the processing unit can first determine whether the character code corresponds to the second glyph code in the first glyph code or the temporary storage area, and then decide whether to notify the servo port. /, looking at the above, the first glyph data stored in the local database can generally use the higher frequency glyph data to maintain the work rate of the communication device, and the second glyph data is included in the first glyph data. Any of the inside, the shape of the poor material, so that the communication device can reach the sky in a limited cost and volume, showing the multi-language zigzag; and, by the temporary storage (4) setting, {the communication device stores the glyph data according to Personalized needs vary. The work of the review committee S on the technical characteristics of the invention and the achievement: = there is a further step-by-step reading and subtraction, the lower domain provides the remaining benefits and related schemas for use, and with detailed explanations ^ 200823700 » » As after. DETAILED DESCRIPTION OF THE INVENTION In order to make the above objects, features and advantages of the present invention more comprehensible, the following preferred embodiments of the communication device and the method for accessing the glyph data thereof according to the present invention, together with the related drawings Detailed descriptions are given below, in which the same elements will be described by the same component symbols. • Please refer to the first figure, which is a block diagram of the network communication system disclosed in the present invention. In the figure, the network communication system 1 includes a server 11, a communication device 12, and an Internet 13, wherein the server 11 and the communication device 12 are connected via the Internet 13. The server 11 is provided with a master database 111 for storing a plurality of second font data 112, which respectively correspond to the various character codes 14. The communication device 12 is provided with a local repository 121 for storing at least one first glyph data 122, which respectively correspond to a portion of the character encoding 14. When the data received by the communication device 12 from the Internet 13 includes a character code, the communication device 12 determines whether any of the first font data 122 in the local database 121 corresponds to the character code 14, if any The communication device 12 can then display the glyph conforming to the character code 14 by the first glyph data 122. If the communication device 12 determines that there is no first glyph data 122 corresponding to the character encoding 14 in the local database 121, the server 11 is notified to enable the server 11 to search the main database 111 for the character encoding 14 The second glyph data 112 is responsive to the communication device 11, whereby the communication device 11 displays a glyph conforming to the character code 14 based on the received second glyph data 112. 200823700^^4. '-. .. 'With the above' and please refer to the second figure, which is a block diagram of the communication device disclosed in the present invention. In the figure, the communication device 12 includes a memory unit 21, a processing unit 22, a communication unit 23, and a display unit 24. The memory unit 21 is provided with a local library 121 and a temporary storage area 211. The communication unit 23 uses at least one network communication standard for providing the communication device 12 to be connected to the server 11 via the Internet, whereby the communication device 12 can transmit data between the server 11 and the server 11 transmits the data. The data can contain a character encoding of 4. Moreover, after the processing unit 22 receives the character encoding U 10 by the communication unit 23, the character encoding 14 is compared with the first glyph data 122 stored in the local database 121 of the memory unit 21, if the comparison is performed The inline data 122 corresponds to the character encoding 14, and the display unit 24 is controlled to display the glyph conforming to the character encoding 14 according to the first font data 122. If the processing unit 22 determines that there is no first glyph data 122 corresponding to the character code 14 in the local database 121, the processing unit 22 notifies the server 11 via the communication unit 23, so that the server 11 responds to the corresponding character. The second word of the code 14 is > the data 112, whereby the processing unit 22 controls the display unit 24 to display the glyph conforming to the character code 14 based on the second glyph data 112_. In addition, the processing unit 22 can store the second glyph data 112 obtained from the server 11 in the temporary storage area 211 of the memory unit 21, so that when the sub-element code 14 is received again, the local database can be compared first. 121 and the first glyph data 122 and the second glyph data 112 in the temporary storage area 211, and then determine whether to notify the server 11 to provide corresponding glyph data. The communication device 12 described above may be a network terminal device such as a network telephone device that integrates an embedded system. Continuation 'Please refer to the third figure, which is a flow chart of the method for accessing the glyph 200823700 > data of the present invention, which is used in the network communication system 1 when the communication device in the network communication system 1 12, when receiving the character code 14, the communication device 12 can obtain the glyph data corresponding to the character code 14, and the following steps are included: Step S31: setting a local database 121 in the communication device 12 for storing the first glyph data 122 Step S32: determining whether the character encoding 14 corresponds to the first font data 隹 122; if yes, proceeding to step S33; if not, proceeding to step S34; step S33: causing the communication device 12 to display the corresponding word according to the first font data 122 a meta-code 14 zigzag; step S34: notifying the server 11 to provide the second glyph data 112 corresponding to the character code 14 via the Internet 13; step S35: determining whether the second glyph data 112 corresponding to the character code 14 is obtained; If yes, proceed to step S36; if not, the process ends; step S36) storing the second character metric 112 of the corresponding character code 14 into the temporary storage area 211; and step S37: causing the communication device 12 A second shape data 112 corresponding to the display character font of 14 encoded. In addition, please refer to the fourth figure, which is a flowchart of the operation of the first embodiment of the temporary storage area disclosed in the present invention, which includes the following steps: Step S41: receiving the second glyph data 112 provided by the server 11; S42: determining whether the storage space is full; if yes, proceeding to step 11 200823700 to step S43, if not, proceeding to step 4; step S43: deleting the data with the longest retention time; and step S44: storing the second glyph data丨^. Please refer to the fifth figure, which is an operation flow of the embodiment of the present invention, which includes the following steps: the second step view: the second glyph data provided by the service port (1). Step S52: judging Whether the library space is, step S53; if not, proceed to step ;4; right 疋, proceed to 2 step S53: delete the data with the lowest frequency of use; and step S54: store the second font data ιΐ2. The above is only a gesture, and (4) limits the spirit and scope of the Ming, and does not deviate from the patent application included in the attached patent. [Simplified illustration] The first picture is the invention. The second figure is a block diagram of the network communication system disclosed in the present invention; a block diagram of the communication device of the first embodiment; the third picture is a secondary job chart of the invention disclosed in the present invention; The operation flow of the embodiment of the present invention is 200823700. The fifth figure is a flow chart of the operation of the second embodiment of the temporary storage area disclosed in the present invention. [Description of main component symbols] 1: Network communication system; 21: Memory unit; 11: Servo terminal; 211: Staging area; 111: Master database; 22: Processing unit; 112: Second glyph data 23: Communication unit 12: communication device; 24: display unit; 121: local database; S31~S37: process steps; 122: first glyph data; S41~S44: process steps; and 13: internet; 14: character encoding S51~S54: Process steps. 13