TWI401607B - Coding and decoding methods and apparatuses - Google Patents

Coding and decoding methods and apparatuses Download PDF

Info

Publication number
TWI401607B
TWI401607B TW95121917A TW95121917A TWI401607B TW I401607 B TWI401607 B TW I401607B TW 95121917 A TW95121917 A TW 95121917A TW 95121917 A TW95121917 A TW 95121917A TW I401607 B TWI401607 B TW I401607B
Authority
TW
Taiwan
Prior art keywords
code
information
coded
encoded
location
Prior art date
Application number
TW95121917A
Other languages
Chinese (zh)
Other versions
TW200713082A (en
Inventor
Petter Ericson
Mattias Bryborn
Original Assignee
Anoto Ab
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 Anoto Ab filed Critical Anoto Ab
Publication of TW200713082A publication Critical patent/TW200713082A/en
Application granted granted Critical
Publication of TWI401607B publication Critical patent/TWI401607B/en

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Description

編碼與解碼方法及裝置Coding and decoding method and device 相關申請案之對照參考資料Cross-references for related applications

此申請案主張於2005年6月17日提申的瑞典專利申請案第0501400-6號以及於2005年6月17日提申的美國暫時專利申請案第60-691233號之權益,其二者皆於此被併入參考。This application claims the benefit of the Swedish Patent Application No. 0501400-6, filed on Jun. 17, 2005, and the U.S. Provisional Patent Application No. 60-691,233, filed on Jun. 17, 2005. All of them are incorporated herein by reference.

發明領域Field of invention

本發明大體上係有關資訊的編碼與解碼,並更具體地係有關一組合資訊與位置碼之編碼與解碼,其能使筆擊的電子記錄與同時的更進一步的資訊之記錄被使用於例如該等筆擊之處理。The present invention is generally related to the encoding and decoding of information, and more particularly to the encoding and decoding of a combined information and location code, which enables the recording of electronic records of the stroke and the simultaneous recording of further information to be used, for example. The handling of these pen attacks.

發明背景Background of the invention

用於管理手寫資訊之資訊管理係已為人知的;見例如美國2003/0061188、美國2003/046256及美國2002/0091711。在這些系統中,一電子筆記錄作用在一基部上的筆擊,該基部設有將該基部的多個絕對位置編碼的位置碼。該筆藉由將該位置碼在該筆尖成像,並解碼該等編碼位置以獲得反映該筆移動的一連串位置,來記錄該等筆擊。Information management systems for managing handwritten information are known; see, for example, US 2003/0061188, US 2003/046256, and US 2002/0091711. In these systems, an electronic pen records a pen stroke that acts on a base that is provided with a position code that encodes a plurality of absolute positions of the base. The pen records the strokes by imaging the position code at the tip of the pen and decoding the encoded positions to obtain a series of positions reflecting the movement of the pen.

在各個基部上的位置碼係一個還要更大得多的抽象位置碼的子集。因此,可在不同的基部上設有整個位置碼的不同子集。同樣地,可使不同的處理規則與該位置碼的不同子 集相關聯,因而產生一資訊管理系統,其中該記錄資訊的處理是由該資訊係記錄自哪一個基部而決定。The position code on each base is a much larger subset of the abstract position code. Thus, different subsets of the entire position code can be provided on different bases. Similarly, different processing rules can be made different from the location code. The set is associated, thereby creating an information management system in which the processing of the recorded information is determined by which base the information is recorded from.

在以上的資訊管理系統中所提出的位置碼包含非常大量的在外觀上大體相似的簡單符號。該位置碼不包含有關該等記錄筆擊之處理的任何資訊,它專門編碼位置資訊。從彈性與可印出性的觀點來看,此方法是很有用的。然而,它可能需要該系統中擁有有關該全部位置碼之不同子集的處理與路由資訊的其它單元,並且這些單元在被需要時為可利用的。或者是,一使用者可能需要提供處理與路由資訊。The position codes proposed in the above information management system contain a very large number of simple symbols that are substantially similar in appearance. The location code does not contain any information about the processing of such recorded pen strokes, it specifically encodes location information. This method is useful from the standpoint of elasticity and printability. However, it may require other units in the system that have processing and routing information about different subsets of the entire location code, and these units are available when needed. Alternatively, a user may need to provide processing and routing information.

在以上所提之類型的一種資訊管理系統中,該筆可儲存有關該全部位置碼的再分之資訊以及與該位置碼之不同子集關聯的處理規則。此外,該筆所記錄之資訊所傳輸到的一中間伺服器可具有將具有位址之位置碼的一子集連接至不同應用伺服器的資料庫,其中該等應用伺服器可以是記錄自不同基部之該等筆擊的預期接受者。最後,該等不同的應用伺服器可儲存有關不同基部之資訊,以使它們以期望的方式來處理該接收資訊。In an information management system of the type mentioned above, the pen can store sub-divided information about the entire location code and processing rules associated with different subsets of the location code. In addition, an intermediate server to which the information recorded by the pen is transmitted may have a database that connects a subset of the location codes with addresses to different application servers, wherein the application servers may be recorded differently. The intended recipient of the stroke of the base. Finally, the different application servers can store information about the different bases so that they process the received information in a desired manner.

在一些情況下,若該處理及/或路由資訊能被嵌進該基部以使系統的其它部份不需儲存此資訊是最好的。In some cases, it may be best if the processing and/or routing information can be embedded in the base so that other portions of the system do not need to store this information.

美國6,864,880揭露一種具有設有用於記錄手寫資訊的一位置編碼圖樣之一書寫區及設有編碼該手寫資訊所要被送到的一位置之一位置編碼圖樣之一位址區的產品。U.S. Patent No. 6,864,880 discloses a product having a writing area provided with a position code pattern for recording handwritten information and a address area having a position code pattern of a position at which the handwritten information is to be sent.

美國2003/0066896揭露了,藉由改變用於編碼更進一 步的資訊的該等記號之第二獨立參數,可用包含具有為了編碼位置資訊而改變的第一參數的多個記號之一位置碼來編碼該更進一步的資訊。該第一參數可為例如該記號的位置且該第二參數可為該記號的大小。該位置碼被分成用於編碼該更進一步的資訊的單元,其中每一單元包含一預定數量的記號,建議的單元大小為2 * 2個記號。藉此單元大小,該筆將在其視野中總是見到至少一個完整單元。然而,此單元大小可能不夠用來編碼例如詳盡的的處理及/或路由資訊,舉例來說,網際網路協定第四版係利用一32位元定址結構。而另一個缺點可能是該系統需增加檢測被用來編碼該更進一步的資訊之該第二獨立參數的一演算法。US 2003/0066896 discloses that by changing the code for further The second independent parameter of the tokens of the step information may encode the further information with a location code comprising a plurality of tokens having a first parameter that is changed for encoding the location information. The first parameter can be, for example, the location of the token and the second parameter can be the size of the token. The location code is divided into units for encoding the further information, wherein each unit contains a predetermined number of tokens, and the suggested unit size is 2 * 2 tokens. With this unit size, the pen will always see at least one complete unit in its field of view. However, this unit size may not be sufficient to encode, for example, exhaustive processing and/or routing information. For example, the fourth edition of the Internet Protocol utilizes a 32-bit addressing structure. Yet another disadvantage may be that the system needs to add an algorithm that detects the second independent parameter that is used to encode the further information.

發明概要Summary of invention

本發明的一個目標是全部或部分地克服以上所指出的一個或更多個問題。It is an object of the present invention to overcome, in whole or in part, one or more of the problems identified above.

此目標係藉由分別根據申請專利範圍第1項與第10項之用於產生一組合碼之一種方法與裝置,與分別根據申請專利範圍第11與第18項之用於解碼一組合碼之一種方法與裝置,以及分別根據申請專利範圍第19與第21項,用於解碼一組合碼之一種方法與裝置。This object is achieved by a method and apparatus for generating a combined code according to items 1 and 10 of the patent application scope, respectively, and for decoding a combined code according to items 11 and 18 of the patent application scope, respectively. A method and apparatus, and a method and apparatus for decoding a combined code according to items 19 and 21 of the patent application, respectively.

根據本發明的一個觀點,一種用於產生要被應用在基部上的一組合位置與資訊碼之一方法包含:產生一位置碼的電子表示型態之步驟,該位置碼包含多個編碼記號且編碼多個位置,其中每一位置係藉由第一預定數量的編碼記 號來編碼、定義該位置碼中的編碼記號群組之步驟,其中每一群組包含比該預定數量之編碼記號更大量的編碼記號、及藉由使用每一群組的編碼記號中至少一些編碼記號來以該等編碼記號群組編碼一資訊項目之步驟。According to one aspect of the invention, a method for generating a combined position and information code to be applied to a base includes the step of generating an electronic representation of a position code, the position code comprising a plurality of coding marks and Encoding a plurality of locations, wherein each location is encoded by a first predetermined number a step of encoding, defining a group of coded tokens in the location code, wherein each group includes a greater number of coded tokens than the predetermined number of coded tokens, and at least some of the coded tokens by using each group The coded token is a step of encoding a message item with the group of coded tokens.

該方法係根據領悟該筆不需在它的視野中看見要用來編碼一資訊項目的所有編碼記號。只要在該筆之使用者在該基部上完成他的或她的書寫時,該筆已看見所有的編碼記號就夠了。於是,例如,若該資訊項目係以該筆在它的視野中看見一些該等資訊項目編碼記號且該筆在該基部上移動這樣的方法,被重複編碼在該基部上,則該筆最後將看見編碼該資訊項目的所有編碼記號,並然後能夠解碼它。The method is based on comprehending that the pen does not need to see all the coding symbols to be used to encode an information item in its field of view. As long as the user of the pen completes his or her writing on the base, the pen has seen all the coding marks. Thus, for example, if the information item is repeatedly encoded on the base by the method in which the pen sees some of the information item coding marks in its field of view and the pen moves on the base, the pen will eventually I see all the coded tokens that encode the information item and can then decode it.

該資訊項目包含兩個元素或更多個元素。藉由在該筆在該基部上之書寫期間,該筆將會看見所有資訊項目元素的可能性係可藉由以不同的群組不同地編碼該等元素出現於該等編碼記號群組之順序而增加。舉例來說,可用一預定置換規則置換連續群組間的資訊項目。而用於改變不同群組中之該等資訊元素之編碼的其它方案亦是可以想見的。The information item contains two or more elements. By the time the pen is written on the base, the possibility that the pen will see all of the information item elements can be in the order of the coded token groups by differently encoding the elements in different groups. And increase. For example, a predetermined replacement rule can be used to replace information items between consecutive groups. Other schemes for changing the encoding of such information elements in different groups are also conceivable.

用於產生該組合碼之方法可以是用於提供一基部之一種方法的一部分,該方法係打算要與一數位筆一起使用,用於電子記錄與筆擊之處理。The method for generating the combined code may be part of a method for providing a base intended to be used with a digital pen for electronic recording and pen stroke processing.

根據本發明的另一個觀點,一種用於產生要被應用在基部的一組合位置與資訊碼之裝置包含有一編碼模組,該編碼模組具有下列構件:用於產生一位置碼的電子表示型 態之構件,其中該位置碼包含多數個編碼記號且編碼多數個位置,且每一位置係藉由預定數量的編碼記號來編碼、用於定義該位置碼中的編碼記號群組之構件,其中每一群組包含比該預定數量之編碼記號更大量的編碼記號、及用於藉由使用每一群組的編碼記號中至少一些編碼記號以該等編碼記號群組編碼一資訊項目的構件。According to another aspect of the present invention, an apparatus for generating a combined position and information code to be applied to a base includes an encoding module having the following components: an electronic representation for generating a position code a member of the state, wherein the location code includes a plurality of coded symbols and encodes a plurality of locations, and each location is encoded by a predetermined number of coded tokens for defining a component of the group of coded tokens in the location code, wherein Each group includes a greater number of coded tokens than the predetermined number of coded tokens, and means for encoding an information item with the at least some of the coded tokens of each group by using the coded tokens.

該裝置可以是一般用途的電腦或伺服器、一印表機、或具有以軟體、韌體、硬體或其任何組合實施之編碼模組的任何其它確切合適的一裝置。產生的構件、定義的構件及編碼的構件係可例如各自藉由係由一處理器或確切合適的硬體電路執行之一組指令來實施。The device can be a general purpose computer or server, a printer, or any other suitably suitable device having a coding module implemented in software, firmware, hardware, or any combination thereof. The resulting components, defined components, and coded components can each be implemented, for example, by a set of instructions executed by a processor or an appropriately suitable hardware circuit.

根據本發明之又一觀點,一種用於解碼包含多個編碼記號之一組合位置與資訊碼之方法編碼多個位置,其中每一位置係藉由預定數量的編碼記號及一資訊項目來編碼,該方法包含步驟有:接收該組合碼之不同部分的一連串電子表示型態,其中每一表示型態包含至少該預定數量的編碼記號,但僅包含編碼該資訊項目的該等編碼記號的一個子集、由該等電子表示型態中的每一個來決定一位置、及利用來自該等電子表示型態中的至少兩個編碼記號來解碼該資訊項目。According to still another aspect of the present invention, a method for decoding a combined position and an information code comprising a plurality of coded symbols encodes a plurality of locations, wherein each location is encoded by a predetermined number of coded symbols and an information item. The method includes the steps of: receiving a series of electronic representations of different portions of the combined code, wherein each representation includes at least the predetermined number of encoded tokens, but only one of the encoded tokens encoding the information item The set determines a location from each of the electronic representations and decodes the information item using at least two coded tokens from the electronic representations.

在該解碼處理中,每一電子表示型態於是導致一位置,而獲得該資訊項目需要兩個或更多個電子表示型態。該電子表示型態可以是該組合碼之一部分的任何適當電子表示型態。舉例來說,它可對應該組合碼之一部分的一未 加工影像或是多少處理過該影像內容的版本。In this decoding process, each electronic representation then results in a location, and obtaining the information item requires two or more electronic representations. The electronic representation can be any suitable electronic representation of a portion of the combined code. For example, it can correspond to one of the parts of the combined code. Process image or how many versions of the image content have been processed.

根據本發明之再一個觀點,一種用於解碼一組合位置與資訊碼之裝置,其中該組合位置與資訊碼包含編碼多個位置的多個編碼記號且每一位置係藉由一預定數量的編碼記號及一資訊項目來編碼,包含有一解碼模組,該編碼模組具有下列構件:用於接收該組合碼之不同部分的一連串電子表示型態之構件,其中每一表示型態包含至少該預定數量的編碼記號但僅包含編碼該資訊項目之該等編碼記號的一個子集、用於從該等電子表示型態中的每一個來決定一位置之構件、及用於利用來自該等電子表示型態中的至少兩個的編碼記號來解碼該資訊項目之構件。According to still another aspect of the present invention, an apparatus for decoding a combined location and an information code, wherein the combined location and information code includes a plurality of coded symbols encoding a plurality of locations and each location is encoded by a predetermined number The symbol and an information item are encoded, and include a decoding module having the following components: a component for receiving a plurality of electronic representations of different portions of the combined code, wherein each representation includes at least the predetermined a number of coded tokens but only a subset of the coded symbols encoding the information item, means for determining a position from each of the electronic representations, and for utilizing from the electronic representations At least two coding tokens in the type to decode the components of the information item.

該裝置可以是任何一般用途的電腦或伺服器、一印表機、或具有一以軟體、韌體、硬體或其任何組合實施之編碼模組的任何其它確切合適的裝置。決定的構件及編碼的構件各個係可藉由由一處理器或確切合適之硬體電路執行之一組指令來實施。接收的構件可為至內部或外部之一模組或裝置的一介面。The device can be any general purpose computer or server, a printer, or any other suitably suitable device having a coding module implemented in software, firmware, hardware, or any combination thereof. The determined components and the encoded components can each be implemented by a set of instructions executed by a processor or a suitably suitable hardware circuit. The receiving component can be an interface to one of the internal or external modules or devices.

根據本發明之再一個觀點,一種用於產生要被應用在基部上的組合位置與資訊碼之一方法包含下列步驟:產生編碼多個位置之一位置碼的一電子表示型態之步驟,其中每個位置係藉由第一預定數量的編碼記號來編碼、將一資訊碼的一電子表示型態覆蓋在該位置碼上以產生該組合碼之步驟,其中該資訊碼藉由利用第二預定數量的編碼記號來編碼至少一個資訊項目,且其中該等位置碼與該資訊項 目二者皆係藉由從由一格柵所定義之各個名義位置移開該等編碼記號來編碼。According to still another aspect of the present invention, a method for generating a combined position and information code to be applied to a base includes the steps of: generating an electronic representation of a position code encoding one of a plurality of locations, wherein Each location is encoded by a first predetermined number of coded symbols, and an electronic representation of an information code is overlaid on the location code to generate the combined code, wherein the information code is utilized by utilizing the second predetermined a quantity of coded tokens to encode at least one information item, and wherein the location code and the information item Both are encoded by removing the coding symbols from respective nominal positions defined by a grid.

該組合碼可被使用者察覺,以具有和使用兩個獨立參數來編碼該資訊項目與該等位置相比之更同質的外觀。The combined code can be perceived by the user to have and use two separate parameters to encode a more homogeneous appearance of the information item compared to the locations.

最後提及的方法可於一種裝置中完成,該裝置包含具有用於執行該方法之不同步驟的構件之一編碼模組。該裝置可以是一般用途的電腦或伺服器、一印表機、或具有一以軟體、韌體、硬體或其任何組合實施之編碼模組的任何其它確切合適的裝置。產生的構件與覆蓋的構件係可例如各自藉由係由一處理器或確切合適的硬體電路執行之一組指令來實施。The last mentioned method can be implemented in a device comprising an encoding module having one of the components for performing the different steps of the method. The device can be a general purpose computer or server, a printer, or any other suitably suitable device having a coding module implemented in software, firmware, hardware, or any combination thereof. The resulting components and the overlying components can each be implemented, for example, by a set of instructions executed by a processor or an appropriately suitable hardware circuit.

根據本發明的再一觀點,一種用於解碼一組合位置與資訊碼之方法包含下列步驟:接收該組合位置與資訊碼之一部分的一電子表示型態之步驟、局部化該電子表示型態中促成一位置之編碼的至少一個位置編碼記號之步驟、決定要從該至少一個位置編碼記號的一名義位置來移開的一位移方向、局部化該電子表示型態中促成一資訊項目之編碼的至少一個資訊編碼記號、及決定要從該至少一個資訊編碼記號的一名義位置來移開的一位移量。According to still another aspect of the present invention, a method for decoding a combined position and information code includes the steps of: receiving an electronic representation of the combined position and a portion of the information code, and localizing the electronic representation a step of causing at least one position-coding mark of a position code, determining a direction of displacement to be removed from a nominal position of the at least one position-coded mark, localizing the code of the information item in the electronic form At least one information encoding symbol and a displacement amount that is determined to be removed from a nominal position of the at least one information encoding symbol.

此解碼方法可於一裝置中實施,其包含具有用於執行該解碼方法之該等步驟之構件的一解碼模組。該裝置可以是任何一般用途的電腦或伺服器、一印表機、一數位筆或具有一以軟體、韌體、硬體或其任何組合實施之編碼模組的任何其它確切合適的裝置。局部化的構件及決定的構件 係可例如各自藉由係由一處理器或特定適合硬體電路執行之一組指令來實施。用於接收之構件可以是至內部或外部的一模組或裝置的一介面。The decoding method can be implemented in a device that includes a decoding module having means for performing the steps of the decoding method. The device can be any general purpose computer or server, a printer, a digital pen or any other suitably suitable device having a coding module implemented in software, firmware, hardware or any combination thereof. Localized components and determined components For example, each may be implemented by a processor or a particular suitable hardware circuit executing a set of instructions. The means for receiving may be an interface to a module or device, either internal or external.

圖式簡單說明Simple illustration

本發明現將以舉例方式更詳細描述,參照隨附圖表。The invention will now be described in more detail by way of example, with reference to the accompanying drawings.

第1圖是一種本發明可用於其中之系統的一圖示綜覽;第2圖是一資訊碼的一實施例之圖例;第3圖顯示一位置碼的一實施例中之一編碼符號的四個不同位置;第4圖是一位置碼的一部分之實施例的圖例;第5圖以例圖顯示一組合碼的一實施例中之該等編碼符號之不同位移;第6圖以例圖說明一組合碼的單元之範例;第7圖以例圖顯示資訊項目的元素在一組合碼的一個實施例中可如何被變更;及第8圖概要顯示能被用來記錄且解碼一組合碼的一數位筆之一實施例。1 is a pictorial overview of a system in which the present invention may be used; FIG. 2 is a diagram of an embodiment of an information code; and FIG. 3 is a diagram showing an encoding symbol in an embodiment of a position code. Four different positions; FIG. 4 is a diagram of an embodiment of a portion of a position code; FIG. 5 is a diagram showing an example of different displacements of the coded symbols in an embodiment of a combined code; An example of a unit of a combined code is illustrated; Figure 7 is an illustration of how an element of an information item can be altered in one embodiment of a combined code; and an overview of Figure 8 can be used to record and decode a combined code One of the examples of a digital pen.

較佳實施例之詳細說明Detailed description of the preferred embodiment

第1圖顯示一系統之範例,其中可使用有一組合碼的基部。Figure 1 shows an example of a system in which a base of a combined code can be used.

假設一人X已產生被儲存在他的電腦10的一記憶體中之一文件,X要求一人Y檢閱該文件之內容,X利用一印表機2列印該文件1,其中該基部可由任何適於被列印之材料 製成。一位置碼3,其一部分以放大形式概要顯示於圖中,係覆蓋在該列印處理中之文件的內容上。該位置碼3能使Y利用紀錄該文件上之位置碼的一數位筆5電子式記錄由他所做成的註解4。Suppose a person X has generated a file stored in a memory of his computer 10, X requires a person Y to review the contents of the file, and X prints the file 1 using a printer 2, wherein the base can be adapted to any Printed material production. A position code 3, a portion of which is shown in an enlarged form in the figure, is overlaid on the contents of the file in the printing process. The position code 3 enables Y to electronically record the annotation 4 made by him using a digital pen 5 that records the position code on the document.

現在若儲存於Y的筆5之註解能被傳輸回X的電腦10,並被併入該原始文件給X檢閱,將大有助益。為達成此目的,Y的筆5或Y的筆欲將該等電子式記錄註解4轉換到的另一單元需要知道該等註解所要被送到的位址。解決此問題的一個方式將會是擁有一中間伺服器,該伺服器儲存在X的文件上之該位置碼3所編碼之該等位置與X的電腦之網路位址間的關聯。然而,此解決辦法要求該中間伺服器是可利用的,並且已被告知有關該位置碼的什麼子集已被印在X的文件上以及該等註解所欲送到的位址等資訊。It would be helpful if the annotation of pen 5 stored in Y can be transmitted back to X's computer 10 and incorporated into the original file for X review. To achieve this, another unit of the pen 5 or Y pen of Y that wants to convert the electronic record annotation 4 needs to know the address to which the annotations are to be sent. One way to solve this problem would be to have an intermediate server that stores the association between the location encoded by the location code 3 on the X file and the network address of the X computer. However, this solution requires that the intermediate server be available and has been informed about what subset of the location code has been printed on the X file and the address to which the annotations are to be sent.

另一個方法會是將該X的電腦之網路位址的一指示印於該文件上的一各別範圍,以使它能被Y的筆記錄。該網路位址可以編碼或是清楚的形式列印。Another method would be to print an indication of the network address of the X computer to a separate range on the file so that it can be recorded by the pen of Y. The network address can be encoded or printed in clear form.

一更彈性的解決辦法,會是將編碼該所需位址資訊的該資訊碼覆蓋在被印在X的文件上的該位置碼3上。在此方法中,Y的筆5可捕捉該位址資訊並同時記錄該等註解4並且使用它,以便使用事先存在的一般通聯概念,像e-mail、SMS、fax、HTTP或FTP,直接將該等註解經由例如一網路6,諸如網際網路或一公用電信系統,送至X的電腦10。A more flexible solution would be to overlay the information code encoding the desired address information on the location code 3 on the file printed on X. In this method, Y's pen 5 captures the address information and simultaneously records the annotations 4 and uses it to directly use pre-existing general communication concepts like e-mail, SMS, fax, HTTP or FTP. The annotations are sent to X's computer 10 via, for example, a network 6, such as the Internet or a public telecommunications system.

第1圖所示之系統只是一種系統之範例,其中將明確的位址或路由資訊嵌於一基部這樣的概念可為有益的。此概 念的許多其它應用與變化係可以想見的。The system shown in Figure 1 is merely an example of a system in which the concept of embedding explicit address or routing information in a base can be beneficial. This overview Many other applications and variations of the mind can be imagined.

第2圖說明可被重疊在或整合有或嵌入於一基部上的一位置碼,諸如在X的文件1上的位置碼3,以創造一組合碼的示範資訊碼的一些基本原理。該資訊碼可由一些舖在一基部1,例如紙張,之表面上的單元6構成,配合已知之該等單元大小,該等單元可具有有關該位置碼的固定位置(未示於第2圖),並且因此可由該位置碼來決定在該組合碼上移動之數位筆所見的目前單元之單元座標。各單元可用各單元中的多個編碼符號來編碼同一件資訊。每一單元因此可編碼該資訊項目的一個實例,其中該資訊項目可由數個資訊元素組成。在第2圖所示之範例中,在該等單元6中,該資訊項目係由12個編號1-12的元素組成,其中每個元素可由一個或更多個編碼符號或記號編碼。該資訊項目可例如由二位元資料構成,其中每一位元係由該資訊碼中的一個編碼符號編碼,因此,每一資訊項目元素可表示一個或更多個資料位元。Figure 2 illustrates some of the basic principles of an exemplary code that can be overlaid or integrated with or embedded in a base, such as position code 3 on file 1 of X, to create a combined code. The information code may be formed by a plurality of cells 6 laid on the surface of a base 1, such as paper, with the known size of the cells, which may have a fixed position relative to the location code (not shown in Figure 2). And, by the location code, the cell coordinates of the current cell as seen by the digital pen moving on the combined code can be determined. Each unit can encode the same piece of information with multiple code symbols in each unit. Each unit can therefore encode an instance of the information item, wherein the information item can be composed of several information elements. In the example shown in FIG. 2, in the units 6, the information item is composed of 12 elements numbered 1-12, wherein each element can be encoded by one or more coded symbols or symbols. The information item may, for example, be composed of two-bit data, wherein each bit is encoded by one of the code symbols, and thus each information item element may represent one or more data bits.

一但該筆的一目前位置已利用該位置碼來決定,便可利用該單元大小來決定目前該筆所見的單元。同樣地,該筆所見的每一資訊項目編碼符號之數量與該對應資訊項目之元素數量可利用該位置碼、該單元大小及有關該資訊項目如何被該等編碼符號所編碼之資訊來決定。Once the current position of the pen has been determined using the position code, the unit size can be used to determine the unit currently seen by the pen. Similarly, the number of coded symbols for each information item and the number of elements of the corresponding information item can be determined by using the location code, the size of the unit, and information about how the information item is encoded by the coded symbols.

一使用者可作用一個或更多個筆擊7在該文件1上,可依一連串的空間上與時間上之有關位置來記錄一筆擊。例如,該筆可設有一接觸檢測器,其檢測何時該筆被放落於 該基部上與隨後之何時從該基部被提起。記錄在一個「落筆」與下一個「抬筆」之間的該等位置可被定義為一個筆擊。A user can act on one or more of the pen strokes 7 on the file 1 to record a stroke based on a series of spatially and temporally related locations. For example, the pen can be provided with a contact detector that detects when the pen is dropped The base and subsequent when it is lifted from the base. The position recorded between a "pen down pen" and the next "pen up pen" can be defined as a pen stroke.

當一筆擊7被產生的同時,該數位筆典型上移動穿過了一些單元6。該筆的視野範圍對於該筆而言,要用來在一個單一影像中記錄一個完整資訊碼單元,可能不是夠大。在第2圖之範例中,於一筆擊7期間,由該筆所捕捉的每一影像8將僅包含些許資訊元素。但當該筆移動時,包含不同單元中之不同資訊元素的更進一步的影像8將被捕捉,並且最後該資訊項目的所有元素1-12都將被記錄。該筆於是可使用有關收集自不同單元之該等元素的資訊來解碼重複地被以該資訊碼的該等單元編碼的該資訊項目。While a stroke 7 is being produced, the digital pen typically moves through some of the cells 6. The field of view of the pen is used to record a complete information code unit in a single image for the pen, which may not be large enough. In the example of Figure 2, during a stroke 7, each image 8 captured by the pen will contain only a few information elements. But as the pen moves, a further image 8 containing the different information elements in the different cells will be captured, and finally all elements 1-12 of the information item will be recorded. The pen can then use information about the elements collected from the different units to decode the information item that is repeatedly encoded by the units of the information code.

以該資訊碼的該等單元編碼之資訊項目可為可藉由一單元中的可用資訊空間來編碼的任何資訊,它可以是非位置資料。舉例來說,它可為一位址指示,例如一文件之創造者之一電子郵件地址或一文件所要被傳送到的一URL;或有關該基部之佈局的資訊,其有助於接收來自該基部之資訊,以正確地處理該資訊的應用;或是解密資訊,例如一解密鑰匙,其可被用來解密記錄自該基部的筆擊;或一取用資訊項目,其可被用來限制該基部對某些筆的使用。The information items encoded by the units of the information code may be any information that can be encoded by the available information space in a unit, which may be non-location data. For example, it can be an address indication, such as an email address of one of the creators of a file or a URL to which a file is to be transferred; or information about the layout of the base that facilitates reception from the Basic information to properly process the application of the information; or decrypt information, such as a decryption key, which can be used to decrypt a pen record recorded from the base; or an access information item that can be used to limit The base uses some pens.

被資訊碼覆於其上的該位置碼可為任何種類的位置碼,其將絕對位置編碼在一表面上。每一位置可係被一單一符號編碼,視由該位置碼所編碼的位置數量而定,該符號可能相當複雜。或者是,每一位置可被兩個或更多個較 不複雜的符號編碼,當每一符號僅編碼一個或兩個可能值時,可使用最簡單的符號在位置碼上。在此情況下,該符號僅必須具有兩個可識別狀態。The location code overlaid on the information code can be any kind of location code that encodes the absolute location on a surface. Each location may be encoded by a single symbol, depending on the number of locations encoded by the location code, which may be quite complex. Or yes, each location can be compared by two or more Uncomplicated symbol encoding, when each symbol encodes only one or two possible values, the simplest symbol can be used on the position code. In this case, the symbol only has to have two identifiable states.

同樣地,該位置碼可係舖在該基部上,以使每一個位置係以專門用來編碼那個位置的一個或更多個符號來編碼。或者是,該位置碼可以是「浮動的」,以使該位置碼的任何一個預定大小之部分區域皆定義一個位置。在此情況下,用來編碼一位置的至少某些符號亦促成另一位置的編碼。Likewise, the location code can be laid on the base such that each location is encoded with one or more symbols dedicated to encoding that location. Alternatively, the location code can be "floating" such that a portion of any predetermined size of the location code defines a location. In this case, at least some of the symbols used to encode a location also contribute to the encoding of the other location.

下面是能被用於一組合碼之特定位置碼的一例示說明,該組合碼將位置指示與一個或更多個一再發生的資訊片段二者皆編碼。該位置碼為說明於美國6,667,695之種類,其藉此被併入參考並作為更進一步的細節之參考。The following is an illustration of a particular location code that can be used for a combined code that encodes both a location indication and one or more recurring information segments. The location code is described in the U.S. Patent No. 6,667,695, the disclosure of which is hereby incorporated by reference in its entirety in its entirety in its entirety.

該位置碼係根據於一數字序列,其在以下被參考為一差數序列,此差數序列具有此特性:若一人取用預定長度的一任意部分序列,舉例來說,具有5個差數的一部分序列,則此部分序列在該差數序列中總是具有一明確決定的位置。換言之,它在該差數序列中僅出現一次,並因此可被用於位置決定。一具有此特性之序列有時被稱作一DeBruijn序列。更具體地說,該差數序列沿著該位置碼的x軸以及y軸「行進」。The position code is based on a sequence of numbers, which is referred to below as a sequence of differences having a characteristic that if a person takes an arbitrary partial sequence of a predetermined length, for example, having 5 differences A portion of the sequence, the partial sequence always has a well-defined position in the difference sequence. In other words, it appears only once in the sequence of differences and can therefore be used for position determination. A sequence with this property is sometimes referred to as a DeBruijn sequence. More specifically, the difference sequence "travels" along the x-axis and the y-axis of the position code.

如同應用在一基部上的實際位置碼係由簡單圖形符號或記號22所組成,記號22可視它們相對於一名義位置23或光柵點的個別位置呈現4個不同的值,0-3。如第3圖所見, 每一符號22皆具有一點的形狀,並在相對該名義位置23的四個不同方向之一被移開一距離24。該名義位置23是在一可見或不可見或虛擬之光柵或格柵的光柵線21間之交叉處。該符號所編碼的值係由該位移的方向而決定,每一符號值0-3可被轉換成被用來編碼一x座標之一個位元以及被用來編碼一y座標之一個位元,即轉換成位元對(0,0),(0,1),(1,0)及(1,1)。於是,該編碼在該x方向上與在該y方向上係分開完成,但該圖形編碼係由x位元與y位元共同的一符號來達成。As the actual position code applied to a base is comprised of simple graphical symbols or indicia 22, the indicia 22 may appear to present four different values, 0-3, relative to a nominal position 23 or individual position of the raster point. As seen in Figure 3, Each symbol 22 has a point shape and is moved a distance 24 in one of four different directions relative to the nominal position 23. The nominal position 23 is at the intersection between the raster lines 21 of a visible or invisible or virtual grating or grid. The value encoded by the symbol is determined by the direction of the displacement, and each symbol value 0-3 can be converted to a bit used to encode an x coordinate and a bit used to encode a y coordinate. That is, it is converted into bit pairs (0, 0), (0, 1), (1, 0) and (1, 1). Thus, the encoding is done separately in the x direction and in the y direction, but the graphics encoding is achieved by a symbol common to the x and y bits.

應提到的是,該編碼可舉例如下: It should be mentioned that the code can be exemplified as follows:

該距離24不宜少於約1/8兩個相鄰光柵線21之間的距離,或是大於約1/4兩個相鄰光柵線21之間的距離,該距離24最好是約1/6兩個相鄰光柵線21之間的距離。The distance 24 is preferably not less than about 1/8 of the distance between two adjacent grating lines 21, or greater than about 1/4 of the distance between two adjacent grating lines 21, and the distance 24 is preferably about 1/ 6 The distance between two adjacent grating lines 21.

各個位置係以6 * 6個符號編碼,其因此可被轉換成用於該位置的用於一x座標的一6 * 6位元矩陣以及用於一y座標的一6 * 6位元矩陣。若考慮該x位元矩陣,則此矩陣可被分成六行,各六個位元。一行中的每個位元序列皆構成在一63位元長之環式主要數字序列中的一部分序列,其中該主要數字序列具有下述特性:若具有六個位元長度的一部分序列被選擇,則其在該主要數字序列中具有一明確決定位置。該六行於是可被轉換成六個位置數字或序列值,其 對應在該主要數字序列中的六個位置。在這些六個位置數字之間,可以相鄰對的形式來形成五個差數,這五個差數構成該差數序列的一部分序列,並因此其具有在該差數序列中的一明確決定位置,並且因此具有沿著該x軸之一明確決定位置。對於一個已定的x座標來說,該等位置數字係隨著該y座標而改變。另一方面,該等差數將係同樣地無關於該y座標,因為該等位置數字總是根據該主要數字序列而改變,其中該主要數字序列週期性地在整個位置編碼形態中的該等行中重複。Each location is encoded with 6 * 6 symbols, which can thus be converted into a 6 * 6 bit matrix for an x coordinate for that location and a 6 * 6 bit matrix for a y coordinate. If the x-bit matrix is considered, the matrix can be divided into six rows of six bits each. Each of the bit sequences in a row constitutes a portion of a sequence of a 63-bit long circular main sequence of numbers having the following characteristics: if a portion of the sequence having a length of six bits is selected, Then it has a well-defined position in the main sequence of numbers. The six lines can then be converted into six position numbers or sequence values, Corresponds to six positions in the main sequence of numbers. Between these six position numbers, five differences can be formed in the form of adjacent pairs, which form a partial sequence of the difference sequence, and thus have an unambiguous decision in the difference sequence The position, and therefore the position determined explicitly along one of the x-axes. For a given x coordinate, the position numbers change with the y coordinate. On the other hand, the differences will be equally irrelevant to the y-coordinate, since the position numbers are always changed according to the main sequence of numbers, wherein the main sequence of numbers periodically is in the entire position-coding form. Repeat in the line.

對應地,該y位元矩陣中的六列係定義該主要數字序列中的六個位置數字,這六個位置數字定義五個差數,這五個差數構成該差數序列的一部分序列,並且因此其具有沿著該y軸的一明確決定位置。Correspondingly, the six columns in the y-bit matrix define six position numbers in the main sequence of numbers, and the six position numbers define five differences, and the five differences constitute a partial sequence of the difference sequence. And therefore it has a well-defined position along the y-axis.

第4圖以4*4個符號顯示上述特定位置碼的一非常小部分。該等光柵線21係僅為了說明目的顯示於該圖式中。一般而言,該光柵是虛擬的。Figure 4 shows a very small portion of the above specific location code in 4*4 symbols. These raster lines 21 are shown in the drawings for illustrative purposes only. In general, the raster is virtual.

當一數位筆被用於該位置碼時,它可捕捉該位置碼之不同部分的影像。該等影像可包含頗多於6 * 6的符號,因此若該影像可看見一較大數量的符號,則該位置碼係可根據不同的6*6個符號之集合來解碼。周圍的符號亦可被用於該解碼,尤其是用於錯誤檢測及/或校正。然而應注意的是,即使該數位筆的視野範圍包含比解碼一位置所絕對需要的符號之更大數量的符號,但由於例如影像失真,該記錄影像中的有用符號數量可能相當要小得多。When a digital pen is used for the position code, it captures an image of a different portion of the position code. The images may contain more than 6 * 6 symbols, so if the image can see a larger number of symbols, the location code can be decoded according to a different set of 6 * 6 symbols. The surrounding symbols can also be used for this decoding, especially for error detection and/or correction. It should be noted, however, that even though the field of view of the pen contains a larger number of symbols than is absolutely necessary to decode a position, the number of useful symbols in the recorded image may be considerably smaller due to, for example, image distortion. .

上述示範位置碼是所謂的「浮動型」的,它意謂包含預定數量的符號,在此處是6 * 6個符號,的任何任意部分區域將定義一位置,並且該任意部分區域的至少某些符號促成超過一個位置的編碼。不同所述的,若該任意部分區域被上、下、左或右移動一個符號距離,將由如此移動之任意部分區域中的該等符號來定義一個新的位置。於是,對於該位置編碼形態中的每一編碼符號,一唯一的x,y座標能被決定。The above exemplary position code is of the so-called "floating type", which means that a predetermined number of symbols are included, where any 6*6 symbols, any arbitrary partial area will define a position, and at least some of the arbitrary partial areas These symbols contribute to the encoding of more than one location. Differently stated, if the arbitrary partial area is moved by a symbol distance by up, down, left or right, a new position will be defined by the symbols in any partial area thus moved. Thus, for each coded symbol in the position-coding form, a unique x, y coordinate can be determined.

上述示範位置碼能夠編碼非常大數量的唯一絕對位置,可將該等位置視為共同定義一巨大虛面;編碼在一基部上的該等位置是在此虛面上的位置,並且該位置座標之原點是該虛面的原點。The exemplary position code described above is capable of encoding a very large number of unique absolute positions, which can be considered to collectively define a large virtual surface; the positions encoded on a base are locations on the virtual surface, and the position coordinates The origin is the origin of the virtual surface.

該虛面或整個位置碼邏輯上係能細分成不同大小的頁。具有有關該虛面之知識的任何單元,例如一數位筆或一電腦,可因此將記錄自一基部的虛面上的一位置轉換至該對應頁的一指示與在該頁上的一當地位置。The virtual face or the entire position code can be logically subdivided into pages of different sizes. Any unit having knowledge of the virtual surface, such as a digital pen or a computer, can thereby convert a record from a position on a virtual surface of a base to an indication of the corresponding page and a local location on the page .

同樣地,不同基部係可設有該全部位置碼的不同子集。Likewise, different bases can be provided with different subsets of the entire position code.

應強調的是,上述的位置碼只是一個範例。其它種類的位置碼,例如編碼較少位置並具有該基部上的原點的位置碼,可同樣地被使用來產生一組合碼。It should be emphasized that the above location code is just an example. Other types of position codes, such as position codes that encode fewer locations and have an origin on the base, can be used similarly to produce a combined code.

接著,一資訊碼的一實施例將參考第5圖至第7圖來詳細說明。Next, an embodiment of an information code will be described in detail with reference to FIGS. 5 to 7.

通常,一資訊碼係能藉由下列情況之一覆蓋在該位置碼上,其中被疊加在該位置碼上的情況是,該件資訊被同 樣用於編碼位置的位置碼之符號編碼;或是插入該位置碼,其情況是該位置碼與該資訊碼分別使用用於位置與資訊之編碼的個別符號。插入與疊加的組合同樣是可以想見的。在那樣的情況中,該組合碼中的某些符號被用於位置編碼以及資訊編碼,而某些僅用於位置編碼,並且某些僅用於資訊編碼。Generally, an information code can be overlaid on the location code by one of the following conditions, wherein the information is superimposed on the location code, the information is the same The symbol code of the position code used for the coding position; or the position code is inserted, in which case the position code and the information code respectively use individual symbols for encoding the position and the information. The combination of insertion and superposition is equally conceivable. In that case, some of the combined codes are used for position encoding and information encoding, while some are only used for position encoding, and some are only used for information encoding.

一資訊碼可被覆蓋在該基部上之位置碼的全部長度上,或只有它的部分長度上。An information code can be overlaid on the entire length of the position code on the base, or only part of its length.

一資訊碼與一位置碼可透過圖表地被不同地或一致地編碼在一基部上。若係個別的符號被用於該位置碼與該資訊碼,諸如當該等碼被插入時,該等資訊碼符號與該等位置碼符號的圖形表示型態可分別彼此無關地完成。二者的碼可使用相同的圖形參數,例如不同大小的點,來編碼該等符號的不同值;或者該等碼可使用不同的參數。該資訊碼可例如使用不同旋轉的斜線以編碼不同值,而位置碼可使用不同形狀之點以編碼不同值。An information code and a position code can be coded differently or consistently on a base. If individual symbols are used for the location code and the information code, such as when the codes are inserted, the information symbol symbols and the graphical representations of the position code symbols can be completed independently of each other. The codes of both may use the same graphical parameters, such as points of different sizes, to encode different values of the symbols; or the codes may use different parameters. The information code can, for example, use differently rotated diagonal lines to encode different values, while the position code can use points of different shapes to encode different values.

若該資訊碼與該位置碼共用一些符號,則該等符號的一個或一些參數可被用來編碼該資訊碼值與該位置碼值。或者是,可使用不同的參數。在第一種情況中,一位置碼值與一資訊碼值的不同組合係可例如以該等符號的不同大小或該等符號在不同方向的位移來編碼。在第二種情況中,該位置碼值係可例如以一點的位移方向來編碼,並且該資訊碼係可藉由該點之不同的顏色或顏色強度來編碼。If the information code shares some symbols with the location code, one or more parameters of the symbols may be used to encode the information code value and the location code value. Alternatively, different parameters can be used. In the first case, different combinations of a position code value and an information code value may be encoded, for example, by different sizes of the symbols or displacements of the symbols in different directions. In the second case, the position code value can be encoded, for example, in a direction of displacement of a point, and the information code can be encoded by a different color or color intensity of the point.

一組合位置與資訊碼的該等符號可根據預定規則被分 成數個群組。每一群組可包含屬於該位置碼的預定數量的符號以及屬於該資訊碼的預定數量的符號。該等群組可以任何可理解方式形成,條件是需有一種將符號位置,即在一基部上依照該位置碼所決定的位置,與該資訊碼的一特定編碼符號聯繫之演算方式。舉例來說,該等符號可被分成舖在該組合碼上的單元,如第2圖中者。一單元可被定義為該組合碼中的一協調區域,其中所有資訊編碼符號編碼相同場合的資訊項目。該等單元的大小與形狀可在不同基部間變化,並且係取決於該資訊碼中要被編碼的該件資訊。該等群組可例如包含屬於該資訊碼的32、64、128、256或1024個符號。The symbols of a combined location and information code can be divided according to predetermined rules In several groups. Each group may contain a predetermined number of symbols belonging to the location code and a predetermined number of symbols belonging to the information code. The groups may be formed in any understandable manner provided that there is a way of calculating the position of the symbol, i.e., the position determined by the position code on a base, in association with a particular coded symbol of the information code. For example, the symbols can be divided into units that are laid on the combined code, as in Figure 2. A unit can be defined as a coordination area in the combined code, wherein all information encoding symbols encode information items for the same occasion. The size and shape of the units can vary from base to base and depend on the piece of information to be encoded in the information code. The groups may, for example, contain 32, 64, 128, 256 or 1024 symbols belonging to the information code.

作為對於將符號位置與該資訊碼的一特定編碼符號聯繫之演算方式的一選擇,該等單元可被圖形式地在該基部上標明,例如藉由在該基部上的額外記號,或藉由屬於該位置碼及/或該資訊碼之符號的一特定特徵,以使該等單元的邊界可被視覺檢測到。As an option for calculating the manner in which the symbol position is associated with a particular coded symbol of the information code, the units may be graphically marked on the base, for example by additional markings on the base, or by A particular feature belonging to the location code and/or the symbol of the information code such that the boundaries of the cells are visually detectable.

如以上所指,各符號群組可包含比該筆在其視野範圍能見到之更大數量的符號。As indicated above, each symbol group can contain a greater number of symbols than the pen can see in its field of view.

所有的群組皆可編碼相同的資訊項目,或者有可能是少數不同的資訊項目。在後者的情況中,需要能夠分辨哪些群組編碼第一個資訊項目、哪些群組編碼第二個資訊項目等等的一解碼裝置。All groups can encode the same information item, or it may be a small number of different information items. In the latter case, a decoding device capable of distinguishing which groups encode the first information item, which groups encode the second information item, and the like is required.

以下是參考第5圖來說明被應用在一基部,例如一紙張,上的一組合碼之特定實施之範例,其概要顯示一組合 碼的一小部分。第5圖中,所有的符號22係被用於該位置編碼因並此屬於該位置碼。此外,它們更全是自一個由該等光柵線或格柵線21的一交叉處所定義的個別的名義位置23在四個方向中的其中一個方向上的偏移。The following is an example of a specific implementation of a combination code applied to a base, such as a paper, with reference to Figure 5, which shows a combination A small part of the code. In Fig. 5, all the symbols 22 are used for the position encoding because they belong to the position code. Moreover, they are more fully offset from one of the four directions from an individual nominal position 23 defined by an intersection of the grating lines or grid lines 21.

該資訊碼被重疊在該位置碼上,使該資訊碼利用亦被用於編碼位置的符號。在此範例中,該位置碼從左上角開始的每隔一符號(例如,x+y模2≡0之處)被使用在該資訊碼上。第5圖中,點22i同時屬於該資訊碼與該位置碼,而點22p僅屬於該位置碼。該等位置係以屬於該位置碼之編碼符號之位移方向的變化來編碼,該位移24p的大小在所有的四個方向上皆是相同的。該資訊項目係以屬於該資訊碼之該等編碼符號位移的長度之變化來編碼。在此範例中,每一資訊編碼符號係從該名義位置偏移普通距離24p以編碼一「0」,或從該名義位置偏移兩倍普通距離24i以編碼一「1」。The information code is overlaid on the location code such that the information code is also used to encode the location symbol. In this example, every other symbol (eg, x+y modulo 2≡0) of the position code from the upper left corner is used on the information code. In Fig. 5, point 22i belongs to both the information code and the position code, and point 22p belongs only to the position code. The locations are encoded with a change in the direction of displacement of the coded symbols belonging to the location code, the magnitude of the displacement 24p being the same in all four directions. The information item is encoded with a change in the length of the coded symbol shift belonging to the information code. In this example, each information encoding symbol is offset from the nominal position by a normal distance 24p to encode a "0", or from the nominal position by twice the normal distance 24i to encode a "1."

第6圖概要顯示一組合碼的一單元之範例,第6圖的單元包含該位置碼的16*16個編碼符號,其中每隔一個符號被用來編碼資訊,如同於第5圖的範例。第6圖中的每一個方塊皆對應該位置碼的一個編碼符號,該等編號的方塊對應亦屬於該資訊碼的該等編碼符號。在此情況下,該資訊項目最多可由128個位元之資料構成,並且每一位元係以一個資訊編碼符號來編碼。更普遍地是,一資訊項目可由多個資訊項目元素構成,每一資訊項目元素係可以一個或更多個編碼符號來編碼。Figure 6 is a schematic diagram showing an example of a unit of a combined code, the unit of Figure 6 containing 16*16 coded symbols of the position code, wherein every other symbol is used to encode information, as in the example of Figure 5. Each block in Figure 6 corresponds to a coded symbol of the location code, and the numbered blocks correspond to the coded symbols also belonging to the information code. In this case, the information item can be composed of up to 128 bits of data, and each bit is encoded with an information encoding symbol. More generally, an information item can be composed of a plurality of information item elements, each of which can be encoded by one or more coded symbols.

一些符號可被用於錯誤校正,利用例如一工業標準二進位BCH碼,諸如BCH(127,99,9),其意謂127個位元被用於資訊編碼,其中的99個位元係用於資料且其中的28個位元係用於錯誤校正,使其可校正四位元錯誤或八位元缺失,並且留下一個位元未被使用。其它錯誤校正結構當然是可以想見的。Some symbols can be used for error correction, using, for example, an industry standard binary BCH code, such as BCH (127, 99, 9), which means that 127 bits are used for information encoding, of which 99 bits are used. The data and 28 of these bits are used for error correction so that it corrects for a four-bit error or an octet missing, leaving one bit unused. Other error correction structures are of course conceivable.

資訊位元的序列在一資訊碼的所有單元中可以是完全相同的。然而,為了增加於該等筆擊在該基部上的記錄期間抓住所有該等資訊項目元素的機率,亦可在單元間變更該序列。用於第6圖的該等資訊位元1...128的一置換函數可具有以下形式:P(xi,yi,bit_number)=permuted_bit_number其中xi與yi是代表該等單元座標的整數,並且bit_number是在1-128之間指示該單元中位元的連續數量的一個整數。xi可以x/xsize的整數部來算出,其中xsize是以符號數量表示的x方向之單元大小,並且x是該目前編碼符號在整個位置碼中的x座標。yi可以相同的方式以y/ysize的整數部來算出,其中ysize是以符號數量表示的y方向之單元大小,並且y是目前該編碼符號在整個位置碼中的y座標。Bit_number可以Bit_number=x mod xsize+C * y mod ysize來計算,其中C是等於在x方向上的資訊項目元素的數量之的一個常數,在此範例中其值為8。Permuted_bit_number將同樣是在1到128間之表示該資訊項目元素之數量的一個數字。因此在此範例中,該函數P是1...128到1...128的一對一映射。The sequence of information bits can be identical in all units of an information code. However, in order to increase the probability that all of the information item elements are captured during the recording of the pen on the base, the sequence can also be changed between units. A permutation function for the information bits 1...128 of Fig. 6 may have the form: P(xi, yi, bit_number) = permuted_bit_number where xi and yi are integers representing the coordinates of the unit, and bit_number Is an integer between 1-128 indicating the contiguous number of bits in the cell. Xi can be calculated as an integer part of x/xsize, where xsize is the unit size in the x direction represented by the number of symbols, and x is the x coordinate of the current coded symbol in the entire position code. Yi can be calculated in the same way as the integer part of y/ysize, where ysize is the unit size in the y direction represented by the number of symbols, and y is the y coordinate of the current coded symbol in the entire position code. Bit_number can be calculated as Bit_number=x mod xsize+C*y mod ysize, where C is a constant equal to the number of information item elements in the x direction, which in this example is 8. Permuted_bit_number will also be a number between 1 and 128 indicating the number of elements of the information item. Thus in this example, the function P is a one-to-one mapping of 1...128 to 1...128.

嫻熟此技者可構想出導出該資訊位元序列之更複雜或更不複雜的置換的不同函數P。Skilled practitioners can conceive different functions P that derive more complex or less complex permutations of the sequence of information bits.

第7圖概要說明由以下置換函數產生的置換:P(xi,yi,bit_number)=(bit_number+xi+yi)mod 128+1Figure 7 outlines the permutation resulting from the following permutation function: P(xi, yi, bit_number) = (bit_number + xi + yi) mod 128 +1

第7圖顯示六個示範資訊碼單元,其中各單元的該等單元座標被指示在每個單元內部。如由第7圖明顯所示,在將一個單元向右邊移動或將一個單元向下移動時,該置換函數將該資訊位元序列向前移動一步。Figure 7 shows six exemplary information code units in which the unit coordinates of each unit are indicated inside each unit. As is apparent from Figure 7, the permutation function moves the sequence of information bits one step forward as moving a cell to the right or moving a cell down.

在上述範例中,可將128個二進位位元編碼進該資訊碼單元。於是,能以128個位元來表示的任何種類的資訊,包含任何錯誤校正,皆可被編碼成第6圖之示範的資訊碼單元。藉由使用該資訊碼中較大部分的編碼符號,例如用每一個編碼符號代替每隔一個編碼符號,可在不增加該單元大小的情況之下增加該資訊編碼密度。作為一選擇或作為一補充,該單元之大小可被增加。然而,這樣可能導致在該資訊項目被捕捉之前,需要在該基部上作用更多的筆擊。In the above example, 128 binary bits can be encoded into the information code unit. Thus, any kind of information, including any error corrections, that can be represented in 128 bits can be encoded into the exemplary information code unit of Figure 6. By using a larger portion of the coded symbols in the information code, for example, replacing every other coded symbol with each coded symbol, the information coding density can be increased without increasing the size of the unit. As an option or as a supplement, the size of the unit can be increased. However, this may result in more strokes being applied to the base before the information item is captured.

該上述變更只是為了增加在不同種類的筆擊期間看見該資訊項目的所有元素的可能性,該資訊項目之編碼在該等單元之間可如何被改變之範例。另一種類之變化並非藉由編碼每一單元中的完整資訊項目而獲得,而係藉由遺漏一個或更多個資訊項目元素且/或於一個或更多個單元中編碼一個或更多個元素多於一次來獲得。所了解到的是,這些改變一資訊項目之編碼的不同方法亦可用於組合碼,其中該單元包含與編碼一位置碼所需的數量相同或更少的 編碼符號。The above changes are merely intended to increase the likelihood that all elements of the information item will be seen during different types of strokes, and how the encoding of the information item can be changed between the units. Another type of change is not obtained by encoding a complete information item in each unit, but by missing one or more information item elements and/or encoding one or more in one or more units The element is obtained more than once. It is understood that these different methods of changing the encoding of an information item can also be used for combination codes, where the unit contains the same or less than the number required to encode a position code. Coding symbol.

接著,將說明該組合碼可如何被產生的一範例。在此範例中,假設該資訊項目由無任何錯誤校正的128個位元構成,且該置換函數P是以上所指出者。Next, an example of how the combined code can be generated will be explained. In this example, it is assumed that the information item consists of 128 bits without any error correction, and the permutation function P is as indicated above.

一組合碼可於一裝置中的一編碼模組中產生,該裝置可包含某些適當類型的一處理器、不同類型的記憶體及典型上用於資料處理的其它單元。該裝置可以是一普通的電腦、一印表機、另一種標準裝置或特殊用途裝置。它對於該使用者而言可以是本地的或遠距的一種裝置。A combined code can be generated in an encoding module in a device, which can include a processor of some suitable type, different types of memory, and other units typically used for data processing. The device can be a conventional computer, a printer, another standard device or a special purpose device. It can be a local or remote device for the user.

在該碼之產生的一第一步驟中,該編碼模組的編碼程序產生了要被提供在該基部的位置碼。為此目的,該編碼模組可接收該要被產生之位置碼的大小的一指示,例如被包含於該位置碼的行與列之數量,以及被使用的座標區域,例如從一特定的x,y座標對開始,以作為一輸入信號,該輸入可源自例如一使用者或該系統。In a first step of generating the code, the encoding program of the encoding module produces a position code to be provided at the base. For this purpose, the encoding module can receive an indication of the size of the location code to be generated, such as the number of rows and columns included in the location code, and the coordinate region being used, for example from a particular x. The y coordinate pair begins as an input signal that can originate, for example, from a user or the system.

根據該輸入,該編碼程序可產生一矩陣或表示該位置碼的所有編碼符號的另一個資料結構。接著,它可跨經該矩陣中的所有各與一值相關聯的元素,該值指示為了編碼相關位置,當應用在該基部上時該對應的編碼符號將具有何種圖形狀態。在此範例中,該值指示一符號要被取代的方向。Based on the input, the encoding program can generate a matrix or another data structure representing all of the encoded symbols of the location code. It can then span all of the elements associated with a value in the matrix, which value indicates what graphical state the corresponding encoded symbol will have when applied to the base for encoding the relevant position. In this example, the value indicates the direction in which a symbol is to be replaced.

編碼一特定位置之編碼符號的取代值可如何被計算的一更詳細範例可於美國6,667,695找到。A more detailed example of how the substitution value of a coded symbol encoding a particular location can be calculated can be found in U.S. 6,667,695.

該位置碼產生步驟的輸出可以是具有該等圖形狀態值 的該矩陣,其為該位置碼的一電子表示型態之一個範例。該位置碼資料可被安排成不同的資料結構,例如一表。The output of the position code generating step may have the graphic state value The matrix is an example of an electronic representation of the location code. The location code data can be arranged into different data structures, such as a table.

在下一個步驟中,一資訊項目可被該使用者輸入至該編碼模組,或自該系統的另一部分輸入至該編碼模組。該資訊項目可為例如靜態的,並使用於所有文件,它可取決於該位置碼的什麼子集被使用而改變,或它可自由地依使用者所決定的來改變。資訊項目資料至二進位格式的轉變與錯誤校正位元的計算亦可被執行於此步驟。In the next step, an information item can be input to the encoding module by the user or input to the encoding module from another part of the system. The information item can be, for example, static and made available to all files, which can vary depending on what subset of the location code is used, or it can be freely changed as determined by the user. The conversion of the information item data to the binary format and the calculation of the error correction bit can also be performed in this step.

在該資訊項目之編碼開始前,可能需要定義該單元大小。此目的可例如藉由一使用者選擇或根據要被編碼的資訊項目來達成。該單元大小亦可被預定,並且對於由該相關編碼程序所產生之所有組合碼來說也完全相同。The unit size may need to be defined before the coding of the information item begins. This can be achieved, for example, by a user selection or by an information item to be encoded. The unit size can also be predetermined and is identical for all combined codes produced by the associated encoding program.

為了將該資訊碼覆蓋在該位置碼上,並且將該資訊項目編碼成該位置碼的該等編碼符號,該位置碼矩陣中的所有點係可藉由該編碼程序結成圈。更具體地說,該編碼程序可使用一預定的演算法以決定該位置碼中的哪一個符號應被用於該資訊碼。在此範例中,該編碼程序跳過該位置碼矩陣中的每隔一符號以使用一西洋棋板的方式做出該資訊編碼,如以上與第5圖有關之已說明的。In order to overlay the information code on the location code and encode the information item into the coded symbols of the location code, all points in the location code matrix can be looped by the coding procedure. More specifically, the encoding program can use a predetermined algorithm to determine which of the location codes should be used for the information code. In this example, the encoding program skips every other symbol in the position code matrix to make the information encoding using a Western chessboard, as explained above in relation to Figure 5.

對於每一個資訊碼符號來說,該位置碼之該等座標可更進一步地被用來計算xi,yi與bit_number,如以上所述。然後,該置換函數P(xi,yi,bit_number)可被用於決定哪一個資訊項目元素要被目前的資訊編碼符號編碼。若該資訊項目元素的二進位值是1,則可修改該編碼符號的圖形狀態 值,以指示出該偏移量應為用於位置編碼的偏移量之兩倍大。另一方面,若該資訊項目元素的二進位值是0,則可不修改該編碼符號的圖形狀態值,以指示出在列印該編碼符號時要使用該正常偏移量。因此,此步驟意謂單元係定義於該位置碼中,並且該資訊項目係編碼於該等單元中。作為一最後步驟,一列印檔案可自該圖形狀態矩陣與印在一基部的組合碼產生。該列印檔案亦可包含對印表機的指令以便列印一文件、一形狀、一影像或任何其它類型的與該組合碼一起的資訊。For each of the information code symbols, the coordinates of the position code can be further used to calculate xi, yi and bit_number, as described above. The permutation function P(xi, yi, bit_number) can then be used to decide which information item element is to be encoded by the current information encoding symbol. If the binary value of the information item element is 1, the graphic state of the encoded symbol can be modified. A value to indicate that the offset should be twice as large as the offset used for position encoding. On the other hand, if the binary value of the information item element is 0, the graphical state value of the encoded symbol may not be modified to indicate that the normal offset is to be used when printing the encoded symbol. Thus, this step means that the unit is defined in the location code and the information item is encoded in the units. As a final step, a print archive can be generated from the graphical state matrix and the combined code printed on a base. The print file can also include instructions to the printer to print a document, a shape, an image, or any other type of information along with the combined code.

在一方面的組合碼與在另一方面的任何其它資訊係可使用同一墨水或者不同的墨水來印在該基部上,其中用於印出其它資訊的墨水對該數位筆而言是透明的。當相同墨水皆被用於該組合碼以及其它資訊時,若該其它資訊被覆蓋在該組合碼上,則該組合碼可部分變暗,並且在解碼程序中,對此實情之特別說明可能必須被納入。The combination code on the one hand and any other information on the other hand can be printed on the base using the same ink or different inks, wherein the ink for printing other information is transparent to the pen. When the same ink is used for the combined code and other information, if the other information is overlaid on the combined code, the combined code may be partially darkened, and in the decoding process, a special description of the fact may be necessary. be adopted.

應強調的是,該編碼程序的以上說明僅係為了說明目的而做。嫻熟此技者可構想出其它及/或用於實施產生該組合碼之更多有效的程序。It should be emphasized that the above description of the encoding program is for illustrative purposes only. Those skilled in the art will be able to contemplate other and/or more efficient procedures for implementing the combined code.

同樣地,以上範例係有關一種實例,其中該資訊項目係由二進位資料構成,並且每一資訊編碼符號編碼資訊的一個位元。嫻熟此技者能夠輕易地修改以上範例為一種實例,其中每一資訊項目編碼符號編碼多於一個位元的資料,或修改為一種實例,其中資訊項目元素由多於一個編碼符號來編碼。Similarly, the above examples relate to an example in which the information item is composed of binary data, and each information encoding symbol encodes one bit of information. Those skilled in the art can readily modify the above examples as an example in which each information item encodes a symbol encoding more than one bit of data, or modified into an instance in which the information item elements are encoded by more than one encoded symbol.

在說明一種用於解碼該組合碼之方法的範例前,將說明能被用於一組合碼的記錄及/或解碼之一數位筆的一範例。為此目的,第8圖概要顯示一數位筆200的一實施例。該筆200具有一筆狀殼或定義一窗口或開口204之一外殼202,影像係經由該窗口204被記錄。該殼包含一攝影系統、一電子系統及一電源供應器。Before describing an example of a method for decoding the combined code, an example of a digital pen that can be used for recording and/or decoding of a combined code will be described. To this end, FIG. 8 schematically shows an embodiment of a digital pen 200. The pen 200 has a pen-shaped housing or a housing 202 defining a window or opening 204 through which images are recorded. The housing includes a photographic system, an electronic system, and a power supply.

該照相機系統206包含至少一個發光源、一透鏡配置及一光學影像讀取器(未示於圖中)。宜為一發光二極體(LED)或雷射二極體之該光源利用紅外線輻射照亮該區域之能經由該窗口204被觀看的一部分。該觀看區域的一影像利用該透鏡配置被投射在該影像讀取器。該影像讀取器可以是一二維CCD或CMOS檢測器,其被觸發以在一有彈性的、適當的或典型上約70-100 Hz的固定速率下捕捉影像。或者,該感測器可包含用於該等符號的磁性特性的檢測之一磁性感測器陣列。更甚者,該感測器可被設計來形成該等符號的化學、聽覺、電容或電感特性的任何影像。The camera system 206 includes at least one illumination source, a lens configuration, and an optical image reader (not shown). The light source, which is preferably a light emitting diode (LED) or a laser diode, illuminates a portion of the area that can be viewed via the window 204 using infrared radiation. An image of the viewing area is projected onto the image reader using the lens configuration. The image reader can be a two-dimensional CCD or CMOS detector that is triggered to capture an image at a fixed rate of about 70-100 Hz on a flexible, suitable or typical. Alternatively, the sensor can include an array of magnetic detectors for detecting the magnetic properties of the symbols. Moreover, the sensor can be designed to form any image of the chemical, audible, capacitive or inductive properties of the symbols.

該數位筆的電源供應器是一電池208,其二擇一地可以主要電源(未示)來代替或補充。The power supply of the digital pen is a battery 208, which may alternatively be replaced or supplemented by a primary power source (not shown).

該電子系統包含連接至一記憶體區塊212之一控制單元210,該控制單元210負責該筆中不同的功能,並藉由一商用微處理器,諸如一CPU(「中央處理單元」)、一DSP(「數位信號處理器」)或一些其它可程式化的邏輯裝置,諸如一FPGA(「現場可程式化閘陣列」)或者另一選擇之一ASIC(「特殊用途積體電路」)、分離的類比與數位元件、 或上述的一些組合,來有益地實施。該記憶體區塊212最好包含不同類型的記憶體,諸如一工作記憶體(例如一RAM)及一程式碼,與持久的儲存記憶體(一非揮發記憶體,例如快閃記憶體)。有關的軟體被儲存於該記憶體區塊212並由該控制單元210執行。用於解碼一組合資訊與位置碼的軟體於是可被儲存於記憶體區塊212中,並由該控制單元210執行。The electronic system includes a control unit 210 coupled to a memory block 212, the control unit 210 being responsible for different functions in the pen, and by a commercial microprocessor, such as a CPU ("Central Processing Unit"), a DSP ("Digital Signal Processor") or some other programmable logic device, such as an FPGA ("Field Programmable Gate Array") or another ASIC ("Special Purpose Integrated Circuit"), Separated analog and digital components, Or some combination of the above, to be beneficially implemented. The memory block 212 preferably includes different types of memory, such as a working memory (e.g., a RAM) and a code, and a persistent storage memory (a non-volatile memory such as a flash memory). The associated software is stored in the memory block 212 and executed by the control unit 210. The software for decoding a combined information and location code can then be stored in memory block 212 and executed by control unit 210.

該殼202亦帶有一筆尖214,其允許使用者藉由被沉積在一表面上的一般以顏料為底的一記號墨水來實際上寫或畫在該表面上。為了避免干擾該電子筆中的光電檢測,該筆尖214中的記號墨水對該照亮半徑來說宜為透明的。一接觸感測器216係操作性地連接至該筆尖214,以便在該筆被施用(落筆)及/或提起(提筆)時檢測,並且選擇性地考慮該施力的判定。根據該接觸感測器216的輸出,該攝影系統206係被控制來捕捉在一落筆與一抬筆之間的影像。The shell 202 also has a tip 214 that allows the user to actually write or draw on the surface by a generally pigmented ink that is deposited on a surface. In order to avoid interference with photodetection in the electronic pen, the marking ink in the nib 214 is preferably transparent to the illuminated radius. A touch sensor 216 is operatively coupled to the nib 214 for detection when the pen is applied (pen down) and/or lifted (penned) and selectively considers the force application. Based on the output of the touch sensor 216, the camera system 206 is controlled to capture an image between a pen down and a pen.

該電子系統更包含一通信介面218,其用於對附近或遙遠之一裝置,諸如一電腦、行動電話、PDA、網路伺服器等等的資料通信。該通信介面218因此可提供用於有線或無線短範圍通信之元件(例如USB、RS232、無線電傳輸、紅外線傳輸、超音波傳輸、電感耦合等),及/或用於有線或無線遠距通信之元件,典型上係經由一電腦、電話或衛星通信網路。The electronic system further includes a communication interface 218 for communicating data to a nearby or remote device, such as a computer, mobile phone, PDA, web server, and the like. The communication interface 218 can thus provide components for wired or wireless short range communication (eg, USB, RS232, radio transmission, infrared transmission, ultrasonic transmission, inductive coupling, etc.), and/or for wired or wireless telematics. The components are typically via a computer, telephone or satellite communication network.

該筆亦可包含一MMI(人機介面),其選擇性地為使用者反饋而啟動。該MMI可包含一顯示器、一指示器燈、一 振動器、一喇叭等。The pen can also include an MMI (Human Machine Interface) that is selectively activated for user feedback. The MMI can include a display, an indicator light, and a Vibrator, a speaker, etc.

更甚者,該筆可包含一個或更多個按鈕222,可利用該等按鈕222來啟動及/或控制它。Still further, the pen can include one or more buttons 222 that can be utilized to activate and/or control it.

上述實施例之筆200僅是一範例。可使用具有上述元件及/或部分或全部其它元件及/或部分或全部其它設計之一子集的其它數位筆來記錄一組合碼。舉例來說,一較不複雜的數位筆可僅夠記錄影像,並將它們轉換至另一裝置做更進一步的處理。在另一實施例中,該數位筆可檢測該碼的某些特徵,諸如點的位置及其欲轉至之做更進一步處理的另一個裝置之轉換資訊。The pen 200 of the above embodiment is merely an example. Other digital pens having the above-described elements and/or some or all of the other elements and/or a subset of some or all of the other designs may be used to record a combined code. For example, a less complex digital pen can only record images and convert them to another device for further processing. In another embodiment, the digital pen can detect certain characteristics of the code, such as the location of the point and the conversion information of another device that is to be further processed for further processing.

以下,一種用於解碼一組合碼之方法的一個示範實施例將參考上述的數位筆200與上述示範的組合碼來說明。Hereinafter, an exemplary embodiment of a method for decoding a combined code will be described with reference to the above-described digital pen 200 and the above-described exemplary combined code.

在一具有一組合碼之基部上使用上述筆200時,該接觸感測器216偵測該筆尖何時被壓在該基部上,並且觸發該攝影系統206捕捉在它的視野範圍中之該組合碼的部分區域之影像,該攝像機繼續捕捉影像,直到該接觸感測器216檢測出該筆自該基部提起。該攝影系統206所捕捉到的連續影像構成該組合碼的不同部分區域之一連串電子表示型態。When the pen 200 is used on a base having a combined code, the contact sensor 216 detects when the tip is pressed against the base and triggers the camera system 206 to capture the combined code in its field of view. The image of the partial area continues to capture the image until the contact sensor 216 detects that the pen is lifted from the base. The continuous image captured by the photographic system 206 constitutes a series of electronic representations of different portions of the combined code.

一連串的電子表示型態中之組合碼的解碼可在該電子筆之一解碼模組中,或是從該筆被轉換到的另一裝置之解碼模組中被完成。該等電子表示型態係可依所捕捉的形式或是以較多處理的或較少處理的的形式來轉換。該解碼或可在該數位筆與另一裝置間被分割,以使該數位筆執行該解碼的一第一部分,且其它裝置執行一第二部分。The decoding of the combined code in a series of electronic representations can be done in one of the decoding modules of the electronic pen or from the decoding module of another device to which the pen is converted. The electronic representations can be converted in a captured form or in a more processed or less processed form. The decoding may be split between the digital pen and another device such that the digital pen performs a first portion of the decoding and the other device performs a second portion.

在該解碼模組之解碼程序中的一第一步驟中,決定了一位置給由該筆所捕捉的一影像。該以上示範類型的一位置碼之解碼可包含以下步驟:將該影像中的該等編碼符號局部化、安裝一光柵至該編碼符號、決定該等編碼符號從由該等光柵線交叉處所定義的該等名義位置的位移、並根據該編碼符號的位移來計算該等位置。對於如何能實現該位置解碼之不同步驟之一更詳細說明,參考例如美國6,667,695與美國2002/0044138,其於此被併入參考。In a first step in the decoding process of the decoding module, a position is determined for an image captured by the pen. Decoding of a location code of the above exemplary type may include the steps of: localizing the coded symbols in the image, installing a raster to the coded symbols, and determining that the coded symbols are defined from intersections of the raster lines The displacements of the nominal positions are calculated based on the displacement of the coded symbols. For a more detailed description of one of the different steps of how this positional decoding can be achieved, reference is made, for example, to U.S. Patent No. 6,667,695 and U.S.A.

同樣應提到的是,該等位置並非一定要藉由該位置碼計算而來。為了建立一相關位置,亦能藉由匹配一捕捉影像的該等編碼符號與在該筆被預測所在的一特定區域中之位置碼的一表示型態,或藉由匹配一接收的電子表示型態中的該等編碼符號與一先前接收的電子表示型態,使用該位置碼來決定一位置。It should also be mentioned that these locations are not necessarily calculated by the location code. In order to establish a correlation position, it is also possible to match a representation of the coded symbol of the captured image with a representation of the position code in a particular region in which the pen is predicted, or by matching a received electronic representation. The coded symbols in the state and a previously received electronic representation form use the position code to determine a position.

當一影像中的該等編碼符號的該等位置已被決定,並且參考該影像中一編碼符號的一x-y位置已被解碼時,該影像中所見之資訊碼的該部分可被解碼。為了該解碼,與該解碼模組關聯的兩個緩衝器被使用,它們各自具有相同如該資訊碼中所編碼的資訊項的大小,在此範例中即為128個位元。When the locations of the coded symbols in an image have been determined and an x-y position of an encoded symbol in the image has been decoded, the portion of the information code seen in the image can be decoded. For this decoding, two buffers associated with the decoding module are used, each having the same size as the information item encoded in the information code, which in this example is 128 bits.

對於屬於該資訊碼之影像中的每一編碼符號,該等以下的步驟被完成:For each coded symbol in the image belonging to the message code, the following steps are completed:

1)計算該編碼符號的中心與關聯的格柵交叉處之間的距離offs。1) Calculate the distance offs between the center of the coded symbol and the associated grid intersection.

2)以如同上述之方式計算整數xi、整數yi與整數bit_number。2) Calculate the integer xi, the integer yi, and the integer bit_number in the same manner as described above.

3)利用P、xi、yi及bit_number計算permuted_bit_number。3) Calculate the permuted_bit_number using P, xi, yi, and bit_number.

4)以offs更新累積器緩衝器acc:acc[permuted_bit_number]+=offs4) Update the accumulator buffer acc:acc[permuted_bit_number]+=offs with offs

5)以1更新捐贈器緩衝器con:acc[permuted_bit_number]+=15) Update the donation buffer with 1 con:acc[permuted_bit_number]+=1

於是,該累積器緩衝器累積該資訊碼的該等不同碼元素的各個位移,而該捐贈器緩衝器追蹤該資訊碼的一特定位元已被該筆見過多少次。Thus, the accumulator buffer accumulates the respective displacements of the different code elements of the information code, and the donor buffer tracks how many times a particular bit of the information code has been seen by the pen.

當所有影像已依上述所指的被處理時,該等導出的偏移量被計算給所有資訊項目元素:offset[n]=acc[n]/con[n],其中n是在1到128之間的一索引。若con對於任何資訊項目元素具有一0值,其意謂此資訊項目自此擊元素缺失。When all images have been processed as indicated above, the derived offsets are calculated for all information item elements: offset[n]=acc[n]/con[n], where n is between 1 and 128. An index between. If con has a value of 0 for any information item element, it means that the information item is missing from this element.

作為另一選擇,該捐贈器緩衝器可不以1更新,而以一反射該資訊碼之相關編碼符號之觀察可靠度的值更新。例如,接近一影像之邊緣的編碼符號可給予較少權重,因為它們典型上係更因透視失真而受影響。Alternatively, the donor buffer may be updated without a value of one, but with a value that reflects the observed reliability of the associated coded symbol of the information code. For example, coded symbols near the edge of an image may be given less weight because they are typically more affected by perspective distortion.

然後,一臨界被施加,並且隨之指定位元值:if offset[n]>threshold_value,than bit[n]=1 else bit[n]=0Then, a criticality is applied, and the bit value is specified accordingly: if offset[n]>threshold_value,than bit[n]=1 else bit[n]=0

若在編碼該組合碼時使用一錯誤檢測機構,則現在該解碼程序亦使用相同的錯誤檢測機構以檢測並校正錯誤及/或缺掉位元。If an error detection mechanism is used in encoding the combined code, the decoding program now also uses the same error detection mechanism to detect and correct errors and/or missing bits.

以上該等電子表示型態的處理導出一連串位置,其構 成於一個或更多個筆擊期間,即於一個或更多個電子筆擊中,該筆在該基部上移動的一電子表示型態;它亦導出部分或完全解碼的一資訊項目。The processing of the above electronic representations derives a series of positions, During an episode of one or more strokes, i.e., an electronic representation of the movement of the pen on the base during one or more electronic pen strokes; it also derives a partially or fully decoded information item.

在一最後步驟中,該解碼程序可使該資訊項目與該等電子筆擊相關聯。如以上所指,獲得自該位置碼的每一位置可被轉換至那頁上的一頁指示與一當地位置。一筆擊典型上可被表示成一頁指示與一連串當地位置,在此方式之下,該筆能夠追蹤一擊被寫在哪一頁。當一資訊項目已被解碼時,該解碼程序可檢查是否一資訊項目已被解碼且與該目前頁相關,若是如此,則該解碼程序可隨意地以先前儲存的資訊項目來檢查位元對位元的一致性。若該目前資訊項目的位元資料係充分相似於該之前的資訊項目的位元資料,則可收集用於該等不同筆擊的位元資料。在此方式下,正確解碼該資訊項目的可能係可增加。相反地,若該等解碼的資訊項目之位元資料完全不同,則此可指出兩不同頁已被寫上,並且該解碼程序可採取適當行動。In a final step, the decoding program can associate the information item with the electronic strokes. As indicated above, each location obtained from the location code can be converted to a page indication on that page and a local location. A stroke can typically be represented as a one-page indication and a series of local locations, in which the pen can track which page a hit was written on. When a message item has been decoded, the decoding program can check if a message item has been decoded and is associated with the current page. If so, the decoding program can optionally check the bit alignment with the previously stored information item. The consistency of the yuan. If the bit data of the current information item is sufficiently similar to the bit data of the previous information item, the bit data for the different pen strokes may be collected. In this way, the possibility of correctly decoding the information item can be increased. Conversely, if the bit information of the decoded information items is completely different, this may indicate that two different pages have been written and the decoding program may take appropriate action.

有時可能希望使用在一多頁文件上的組合碼。若該解碼程序具有證實產生在一多頁文件的不同頁上的筆擊屬於在所有頁上均具有相同資訊碼的同一之文件之可能性,則它可利用此事實自該等不同頁上的該等所有筆擊收集有關該資訊項目的資訊,並且因此增加正確解碼該資訊項目的可能性。舉例來說,該解碼程序可取用指出特定群集之頁可能不曾表示過分開的文件,而僅表示出現於多頁文件之資訊。該解碼程序亦可或選擇性地依照以上所指出 地比較解碼自來自不同頁之筆擊的資訊位元資料,並根據該資料之相似性做出有關連接頁的假設。Sometimes you may want to use a combination of codes on a multi-page file. If the decoding program has the possibility of verifying that a stroke on a different page of a multi-page file belongs to the same file having the same information code on all pages, then it can utilize this fact from the different pages. All of these strokes collect information about the information item and therefore increase the likelihood of correctly decoding the information item. For example, the decoder may use a file indicating that a particular cluster of pages may have not represented a separate file, but only information that appears in a multi-page file. The decoding procedure can also or alternatively be as indicated above The information bit data decoded from the pen hits from different pages is compared, and the assumption of the connected page is made according to the similarity of the data.

相同地,該解碼程序或可取用有關用於特定頁上的資訊碼之單元大小的資訊;或者該解碼程序可平行執行對於不同單元大小的解碼。當收集自不同筆擊之資訊位元資料被比較時,將很快地可明顯看出被用來編碼的是何種單元大小。Similarly, the decoding program may take information about the unit size for the information code on a particular page; or the decoding program may perform decoding for different unit sizes in parallel. When the information bits collected from different strokes are compared, it will quickly be apparent which unit size is being used for encoding.

以下,將給予該組合碼可包含之可有助益的資訊項目的一些更進一步的範例。In the following, some further examples of information items that the combined code can include can be provided.

一數位筆典型上具有一儲存於它的記憶體的身分碼,此身分碼可被編碼為一基部上的一資訊項目,以限制該基部的使用。該數位筆可包含檢查解碼自一基部上的一組合碼的身分碼之硬體及/或軟體,並且若該基部上的身分碼對應該儲存於該筆的身分碼,則該筆僅允許記錄自該同一基部的筆擊之儲存或輸出。在此方法中,一特定基部的使用可被限制於一特定筆;或者是,一基部的使用可被限制於一群數位筆,在此情況下,該群組中的筆可儲存一群身分,其被編碼於該基部,以限制該基部的使用於此特定群組之筆。或者是,為了產生要被包含於該基部上的一組合碼之適當資訊項目,該群組中該等筆的各個身分碼可藉由,例如,一數學演算法來處理。例如,該等各個身分碼可被雜湊在一起,使得在預期之筆群組外之筆無法使用該基部。一筆的該身分碼(無論是該各個身分碼或一群組身分碼)可被儲存於產生該組合碼的一電腦中,以便被印在一基部 上,或是從該筆在例如它被放置於連接至該電腦的一站上時,從該筆擷取,或自與該組合碼連接的任何其它適當來源擷取。A digital pen typically has an identity code stored in its memory that can be encoded as an information item on a base to limit the use of the base. The digital pen may include hardware and/or software for checking an identity code decoded from a combined code on a base, and if the identity code on the base corresponds to the identity code of the pen, the pen only allows recording The storage or output of a stroke from the same base. In this method, the use of a particular base can be limited to a particular pen; or, the use of a base can be limited to a group of digital pens, in which case the pens in the group can store a group of identities, It is encoded at the base to limit the use of the base for this particular group of pens. Alternatively, in order to generate appropriate information items for a combined code to be included on the base, the individual identity codes of the pens in the group may be processed by, for example, a mathematical algorithm. For example, the individual identity codes can be hashed together such that the base outside the intended pen group cannot be used. The identity code of the pen (whether the individual identity code or a group identity code) can be stored in a computer that generates the combination code to be printed on a base Up, or from the pen, for example, when it is placed on a station connected to the computer, retrieved from the pen, or retrieved from any other suitable source connected to the combination code.

在一個實施例中,該資訊項目可包含有關一MMI模型的資訊以用於目前的基部。舉例來說,該數位筆可儲存不同的MMI模型,其可被用在一位置碼的不同部分上,例如,在其中的不同頁上,並且該資訊項目可指示要使用這些MMI模型中的哪一個。例如一MMI模型可,諸如在記錄一預定座標組時,指定該筆要在不同情況下所給予的不同的視覺、聽覺及/或觸覺反饋。於一實施例中,舉例來說,當與一傳送命令相關聯的一座標組被檢測到時,一第一MMI模型指定該筆應藉由一LED給予視覺反饋,反之,一第二MMI模型可指定該筆應在在相同情況下振動。In one embodiment, the information item may contain information about an MMI model for use at the current base. For example, the digital pen can store different MMI models, which can be used on different parts of a location code, for example, on different pages, and the information item can indicate which of these MMI models to use. One. For example, an MMI model can, for example, specify a different visual, audible, and/or tactile feedback that the pen is to be given in different situations when recording a predetermined set of coordinates. In one embodiment, for example, when a group of labels associated with a transfer command is detected, a first MMI model specifies that the pen should be given visual feedback by an LED, and conversely, a second MMI model It can be specified that the pen should vibrate under the same conditions.

在另一實施例中,該資訊項目包含該筆如何處理所記錄之筆擊的一指示。例如,該資訊項目可指示該筆是要儲存該等筆擊,直到該使用者促使該筆將它們送至一外部單元;或是該筆是要自動且多少立即地將該等筆擊流至一外部單元。或者其它資訊項目可是一位址指示,其指示出筆擊是要被送至哪一個單元;或一路由指示,其指示該等筆擊是要經由哪一個裝置被定線,例如是經由一行動電話或一PC。該位址指示與該路由指示係可根據由該使用者所做的與該文件之列印有關的一選擇來提供。In another embodiment, the information item includes an indication of how the pen handles the recorded stroke. For example, the information item may indicate that the pen is to store the pen strokes until the user causes the pen to send them to an external unit; or the pen is to automatically and how many of the pen strokes are immediately flown to An external unit. Or other information item may be an address indication indicating which unit the pen stroke is to be sent to; or a routing indication indicating which device the pen is to be routed via, for example, via an action Phone or a PC. The address indication and the routing indication are provided based on a selection made by the user regarding the printing of the file.

在一更進一步的實施例中,該資訊項目可包含在處理該等筆擊時要被該筆或另一適當裝置所使用的資料,或在 處理該等筆擊時要被該筆或另一適當裝置所使用的一演算法之參考。例如,該資料可包含要被接收自該等筆擊之裝置所播放的旋律或曲調,或有關一多頁文件中該目前頁所屬之頁數之資訊,或一文件之身分及它的頁數,或對於印在該文件上的問題的正確回答。被包含於該資訊項目的資料可被與該文件列印有關之使用者選擇或指定,該資料亦可包含對例如被儲存於該筆或其它地方的一應用或資料之參考。In a still further embodiment, the information item can include material to be used by the pen or another suitable device when processing the strokes, or A reference to an algorithm to be used by the pen or another suitable device when processing the strokes. For example, the material may include a melody or tune to be played by the device to be received from the pen, or information about the number of pages of the current page in a multi-page file, or the identity of a file and its number of pages , or the correct answer to the question printed on the file. The information contained in the information item may be selected or specified by a user associated with the printing of the document, and the information may also include a reference to an application or material stored, for example, in the pen or elsewhere.

在以上示範實施例之說明中已指出該位置碼可使用編碼記號,其從名義位置被向不同方向移開以編碼位置,並且可藉由將該等編碼記號從該等名義位置移開至一不同長度(例如單一或雙偏移量)來以該位置碼編碼一資訊項目。應注意的是,此觀念可獨立於該單元大小來使用。因此,該等單元可包含如被用於決定一位置的更大數量或更小數量或相同數量的編碼記號。該觀念係亦可獨立於該等編碼記號外觀的形狀、大小或其它參數,且獨立於該等編碼記號可自該等名義位置移開之方向之數量,並獨立於是哪些方向來使用。資料亦可藉由將編碼記號放在距該等名義位置兩個以上的不同距離之處來以該資訊碼編碼。如此一來,可在資訊項目中編碼較多資料。在一個實施例中,編碼記號在預定之不同方向數量中之一個方向被移開一第一距離,以編碼位置,並且然後修正一些記號的位置,以使它們被移開一第二或一第三距離,以編碼該資訊項目,其中該等不同的距離不需是彼此的倍數。在另一實施例中,某 些編碼記號藉由被在第一預定方向數量中之一方向移開一第一距離來編碼數值,而其它的編碼記號係藉由在第二預定方向數量中之一方向移開一第二或第三距離來編碼數值,其中該第一與第二距離可以是相同的或相異的。在不同方向上移開編碼記號且移開至一不同長度的觀念亦可使用於有多於一個編碼記號與每一名義位置相關聯之一碼,且/或其中某些記號被放置在它們各別的名義位置。該觀念亦可使用於一位置碼以增加該位置之數量。It has been pointed out in the description of the above exemplary embodiments that the position code can use coded symbols that are moved from the nominal position in different directions to encode the position and can be moved from the nominal positions to one by Different lengths (eg, single or double offsets) are used to encode an information item with the location code. It should be noted that this concept can be used independently of the size of the unit. Thus, the units may contain a larger or smaller number or the same number of coded symbols as used to determine a location. The concept can also be independent of the shape, size or other parameters of the appearance of the encoded symbols, and independent of the number of directions in which the encoded marks can be removed from the nominal positions, and independent of which direction. The data may also be encoded with the code code by placing the coded symbols at more than two different distances from the nominal locations. In this way, more information can be encoded in the information project. In one embodiment, the coded mark is shifted by a first distance in one of a predetermined number of different directions to encode the position, and then the positions of some of the marks are corrected such that they are removed by a second or a first Three distances to encode the information item, wherein the different distances do not need to be multiples of each other. In another embodiment, some The code marks are encoded by shifting a first distance in one of the first predetermined number of directions, and the other code marks are moved by a second or a direction in one of the second predetermined number of directions The third distance encodes a value, wherein the first and second distances may be the same or different. The notion that the code marks are removed in different directions and moved to a different length may also be used in which one code has more than one code mark associated with each nominal position, and/or some of the marks are placed in each of them. Other nominal locations. This concept can also be used with a position code to increase the number of positions.

1‧‧‧文件1‧‧ ‧ documents

2‧‧‧印表機2‧‧‧Printer

3‧‧‧位置碼3‧‧‧Location Code

4‧‧‧註解4‧‧‧Notes

5‧‧‧數位筆5‧‧‧ digital pen

6‧‧‧網路/單元6‧‧‧Network/Unit

7‧‧‧筆擊7‧‧‧ pen hit

8‧‧‧影像8‧‧‧ images

10‧‧‧電腦10‧‧‧ computer

21‧‧‧光柵線21‧‧‧ raster lines

22‧‧‧符號/記號22‧‧‧ symbol/symbol

22i、22p‧‧‧點22i, 22p‧‧ points

23‧‧‧名義位置23‧‧‧ nominal position

24‧‧‧距離24‧‧‧ distance

24i、24p‧‧‧位移24i, 24p‧‧‧ displacement

200‧‧‧數位筆200‧‧‧ digital pen

202‧‧‧筆狀殼202‧‧‧ pen shell

204‧‧‧窗口/開口204‧‧‧Window/opening

206‧‧‧攝影系統206‧‧‧Photography system

208‧‧‧電池208‧‧‧Battery

210‧‧‧控制單元210‧‧‧Control unit

212‧‧‧記憶體區塊212‧‧‧ memory block

214‧‧‧筆尖214‧‧‧ nib

216‧‧‧接觸感測器216‧‧‧Contact Sensor

218‧‧‧通信介面218‧‧‧Communication interface

222‧‧‧按鈕222‧‧‧ button

X、Y‧‧‧人X, Y‧‧‧ people

第1圖是一種本發明可用於其中之系統的一圖示綜覽;第2圖是一資訊碼的一實施例之圖例;第3圖顯示一位置碼的一實施例中一編碼符號的四個不同位置;第4圖是一位置碼的一部分之實施例的圖例;第5圖以例圖顯示一組合碼的一實施例中該等編碼符號之不同位移;第6圖以例圖說明一組合碼的單元之範例;第7圖以例圖顯示資訊項目的元素在一組合碼的一個實施例中如何可被變更;及第8圖以例圖顯示一能被用來記錄且解碼一組合碼的數位筆之一實施例。1 is a pictorial overview of a system in which the present invention can be used; FIG. 2 is a diagram of an embodiment of an information code; and FIG. 3 is a diagram showing an encoding symbol in an embodiment of a position code. Figure 4 is an illustration of an embodiment of a portion of a position code; Figure 5 is an illustration of a different displacement of the coded symbols in an embodiment of a combined code; Figure 6 is an illustration of a An example of a unit of combined code; Figure 7 shows an example of how elements of an information item can be changed in one embodiment of a combined code; and Figure 8 shows an example of an element that can be used to record and decode a combination One example of a digital pen of code.

1‧‧‧文件1‧‧ ‧ documents

2‧‧‧印表機2‧‧‧Printer

3‧‧‧位置碼3‧‧‧Location Code

4‧‧‧註解4‧‧‧Notes

5‧‧‧數位筆5‧‧‧ digital pen

6‧‧‧網路/單元6‧‧‧Network/Unit

7‧‧‧筆擊7‧‧‧ pen hit

8‧‧‧影像8‧‧‧ images

10‧‧‧電腦10‧‧‧ computer

X,Y‧‧‧人X, Y‧‧ people

Claims (28)

一種用於產生要被應用在基部上的一組合位置與資訊碼之方法,包含以下步驟:產生一位置碼之一電子表示型態,該位置碼包含多個編碼記號且編碼多個位置,且每一位置係藉由第一預定數量的編碼記號來編碼,定義該位置碼中的數個編碼記號群組,每一群組包含比編碼記號之該預定數量更大量的編碼記號,及藉由使用各編碼記號群組中的至少一些該等編碼記號,於該等編碼記號群組中編碼一資訊項目。 A method for generating a combined position and information code to be applied to a base, comprising the steps of: generating an electronic representation of a position code, the position code comprising a plurality of coding marks and encoding a plurality of positions, and Each location is encoded by a first predetermined number of coded tokens, defining a plurality of coded token groups in the location code, each group comprising a greater number of coded tokens than the predetermined number of coded tokens, and by An information item is encoded in the group of coded tokens using at least some of the coded tokens in each group of coded tokens. 如申請專利範圍第1項所述之方法,其中同一資訊項目於該等編碼記號群組中被重複編碼。 The method of claim 1, wherein the same information item is repeatedly encoded in the group of coded tokens. 如申請專利範圍第1或2項所述之方法,其中該資訊項目包含多個元素,並且其中有至少兩個該等元素於每一個群組中被編碼,並且該等群組共同多次編碼該等元素中的每一個元素。 The method of claim 1 or 2, wherein the information item comprises a plurality of elements, and wherein at least two of the elements are encoded in each group, and the groups are encoded multiple times in common Each of these elements. 如申請專利範圍第1或2項所述之方法,其中該資訊項目包含多個元素,並且其中由至少兩個該等群組所編碼的該等元素是不同的。 The method of claim 1 or 2, wherein the information item comprises a plurality of elements, and wherein the elements encoded by at least two of the groups are different. 如申請專利範圍第1或2項所述之方法,其中該資訊項目包含至少兩個元素,該等元素之順序於至少兩個該等群組中被不同地編碼。 The method of claim 1 or 2, wherein the information item comprises at least two elements, the order of the elements being differently encoded in at least two of the groups. 如申請專利範圍第5項所述之方法,其中該至少兩個元素之該順序係根據連續群組間的一預定置換規則來置 換。 The method of claim 5, wherein the order of the at least two elements is based on a predetermined replacement rule between consecutive groups change. 如申請專利範圍第1或2項所述之方法,其中該資訊項目包含至少兩個元素,該等元素係分別藉由一個編碼記號來編碼。 The method of claim 1 or 2, wherein the information item comprises at least two elements, each of which is encoded by a coded symbol. 如申請專利範圍第1或2項所述之方法,其中該等位置與該資訊項目二者皆係藉由將該等編碼記號從由一格柵所定義的個別名義上位置移開來編碼。 The method of claim 1 or 2, wherein the location and the information item are both encoded by shifting the coded symbols from an individual nominal position defined by a grid. 如申請專利範圍第1或2項所述之方法,其中該資訊項目為一位址項目的一指示、該基部的一佈局、一加密項目資訊、及一取用資訊項目等項目其中之一。 The method of claim 1 or 2, wherein the information item is one of an indication of an address item, a layout of the base, an encrypted item information, and an access information item. 一種用於產生要被應用在基部上的一組合位置與資訊碼之裝置,該裝置包含有一編碼模組,該編碼模組具有:用於產生一位置碼的一電子表示型態之構件,其中該位置碼包含多個編碼記號並編碼多個位置,且每一位置係藉由預定數量的編碼記號來編碼,用於定義該位置碼中的數個編碼記號群組之構件,其中各群組包含比編碼記號之該預定數量更大量的編碼記號,及用於藉由使用每一編碼記號群組中之至少一些該等編碼記號以該等編碼記號群組編碼一資訊項目之構件。 A device for generating a combined position and information code to be applied to a base, the device comprising an encoding module having: an electronic representation for generating a position code, wherein The location code includes a plurality of coding symbols and encodes a plurality of locations, and each location is encoded by a predetermined number of coding symbols for defining components of the plurality of coded token groups in the location code, wherein each group A code number containing a greater number of the predetermined number than the coded token, and means for encoding an information item in the group of coded tokens by using at least some of the coded tokens in each group of coded tokens. 一種用於解碼一組合位置與資訊碼之方法,其中該組合位置與資訊碼包含編碼多個位置及一資訊項目的多個編碼記號,且每一個位置係藉由預定數量的編碼記號來編碼,該方法包含以下步驟: 接收該組合碼之數個不同部分的一連串電子表示型態,其中每一表示型態包含有至少該預定數量的編碼記號,但僅有該等編碼記號的一個子集編碼該資訊項目,由該等電子表示型態中的每一個表示型態來決定一位置,及利用來自至少兩個該等電子表示型態的數個編碼記號來解碼該資訊項目。 A method for decoding a combined location and information code, wherein the combined location and information code comprises a plurality of coding symbols encoding a plurality of locations and an information item, and each location is encoded by a predetermined number of coding symbols. The method includes the following steps: Receiving a series of electronic representations of the plurality of different portions of the combined code, wherein each representation includes at least the predetermined number of encoded tokens, but only a subset of the encoded tokens encodes the information item, Each of the isoelectronic representations defines a position to determine a position, and the plurality of coded symbols from the at least two of the electronic representations are used to decode the information item. 如申請專利範圍第11項所述之方法,其中該資訊項目包含至少兩個元素,該方法並進一步包含以下步驟:對於用來解碼該資訊項目之每一個該等編碼記號,識別對應的資訊項目元素。 The method of claim 11, wherein the information item comprises at least two elements, the method further comprising the steps of: identifying a corresponding information item for each of the coding symbols used to decode the information item element. 如申請專利範圍第12項所述之方法,更包含當解碼該資訊項目時追蹤每一資訊項目元素之觀察數量之步驟。 The method of claim 12, further comprising the step of tracking the number of observations of each information item element when decoding the information item. 如申請專利範圍第12或13項所述之方法,其中該資訊項目係以預定的數個編碼記號群組編碼,並且其中識別該對應資訊項目元素之步驟包含使用定義連續群組間的該等編碼記號之置換的一置換規則。 The method of claim 12, wherein the information item is encoded by a predetermined plurality of coded token groups, and wherein the step of identifying the corresponding information item element comprises using the definition between the consecutive groups. A replacement rule for the replacement of the coded token. 如申請專利範圍第12或13項所述之方法,其中在識別該等對應資訊項目元素時,使用由該等電子表示型態所決定的該等位置。 The method of claim 12, wherein the locations determined by the electronic representations are used in identifying the corresponding information item elements. 如申請專利範圍第11、12或13項所述之方法,其中決定一位置與解碼該資訊項目二步驟皆包含決定該等編碼記號要從由一格柵所定義之個別名義上之位置來移開的位移量。 The method of claim 11, wherein the determining a location and decoding the information item comprises determining that the coding symbols are to be moved from an individual nominal position defined by a grid. The amount of displacement that is open. 如申請專利範圍第11、12或13項所述之方法,更包含處理如在一基部上所製造出的筆擊之該等位置、及處理該解碼的資訊項目以作為用於該筆擊之處理的一參數之步驟。 The method of claim 11, 12 or 13, further comprising processing the positions of the pen strokes produced on a base, and processing the decoded information items for use as the stroke. The step of processing a parameter. 一種用於解碼一組合位置與資訊碼之裝置,其中該組合位置與資訊碼包含編碼多個位置及一資訊項目的多個編碼記號,且每一位置係藉由預定數量的編碼記號來編碼;該裝置包含一解碼模組,該編碼模組具有:用於接收該組合碼之數個不同部分的一連串電子表示型態之構件,其中每一表示型態包含有至少該預定數量的編碼記號,但僅有該等編碼記號的一個子集編碼該資訊項目,用於由該等電子表示型態中的每一個表示型態來決定一位置之構件,及用於利用來自至少兩個該等電子表示型態的數個編碼記號來解碼該資訊項目之構件。 An apparatus for decoding a combined location and an information code, wherein the combined location and information code includes a plurality of coding symbols encoding a plurality of locations and an information item, and each location is encoded by a predetermined number of coding symbols; The apparatus includes a decoding module, the encoding module having: a plurality of electronic representations for receiving a plurality of different portions of the combined code, wherein each representation includes at least the predetermined number of coding marks, But only a subset of the coded symbols encodes the information item for determining a positional component from each of the electronic representations and for utilizing at least two of the electronic components A number of coding symbols representing the type to decode the components of the information item. 一種用於產生要被應用在基部上的一組合位置與資訊碼之方法,包含步驟有:產生一位置碼的一電子表示型態,其中該位置碼編碼多個位置,且每一位置係藉由第一預定數量的編碼記號來編碼,將一資訊碼的一電子表示型態覆蓋於該位置碼上以創造該組合碼,其中該資訊碼係藉由利用第二預定數量的編碼記號來編碼至少一個資訊項目,且該等位置與該 資訊項目二者皆係藉由將該等編碼記號從由一格柵所定義之個別名義上位置移開來編碼。 A method for generating a combined position and information code to be applied to a base, the method comprising the steps of: generating an electronic representation of a position code, wherein the position code encodes a plurality of positions, and each position is borrowed Encoded by a first predetermined number of coded symbols, an electronic representation of an information code overlaid on the location code to create the combined code, wherein the information code is encoded by using a second predetermined number of coded symbols At least one information item, and the location and the Both of the information items are encoded by shifting the coded symbols from the individual nominal positions defined by a grid. 如申請專利範圍第19項所述之方法,其中該等位置係藉由在不同方向上將該位置碼的該等編碼記號從由該格柵所定義之個別名義上位置移開來編碼,並且其中該資訊項目係藉由將該資訊碼的該等編碼記號從由該格柵所定義的個別名義上位置移開一段不同程度來編碼。 The method of claim 19, wherein the locations are encoded by shifting the coded symbols of the location code from different nominal locations defined by the grid in different directions, and The information item is encoded by shifting the coded symbols of the information code from a different nominal position defined by the grid. 如申請專利範圍第19或20項所述之方法,其中該資訊碼使用也被用於編碼位置之編碼記號。 The method of claim 19, wherein the information code use is also used to encode the coded position. 一種用於產生要被應用在基部的一組合位置與資訊碼之裝置,該裝置包含有一編碼模組,該編碼模組具有:用於產生編碼多個位置之一位置碼之一電子表示型態的構件,其中各位置係藉由第一預定數量的編碼記號來編碼,用於將一資訊碼的一電子表示型態覆蓋於該位置碼上以創造該組合碼之構件,其中該資訊碼係藉由利用第二預定數量的編碼記號來編碼至少一個資訊項目,其中該等位置與該資訊項目二者皆係藉由將該等編碼記號從由一格柵所定義之個別名義上位置移開來編碼。 A device for generating a combined location and information code to be applied to a base, the device comprising an encoding module, the encoding module having: an electronic representation for generating one of a plurality of locations And a component, wherein each location is encoded by a first predetermined number of coding symbols for overlaying an electronic representation of an information code on the location code to create a component of the combination code, wherein the information code is At least one information item is encoded by utilizing a second predetermined number of coded tokens, wherein the location and the information item are both removed from the individual nominal locations defined by a grid by the coded symbols To code. 如申請專利範圍第22項所述之裝置,其中該位置藉由從由該格柵所定義之各個名義上位置在不同方向上移開該位置編碼的該等編碼記號來編碼,且其中該資訊項目藉由將該資訊編碼之該等編碼記號從由該格柵所定義之各個名義上位置移開至一不同程度來編碼。 The device of claim 22, wherein the location is encoded by removing the encoded symbols encoded in the different directions from respective nominal locations defined by the grid, and wherein the information is encoded The item is encoded by shifting the coded symbols of the information from a nominal position defined by the grid to a different degree. 如申請專利範圍第22或23項所述之裝置,其中該資訊碼使用也被用於編碼位置之編碼記號。 The apparatus of claim 22 or 23, wherein the information code usage is also used to encode the coded position. 一種用於解碼一組合位置與資訊碼之方法,包含步驟有:接收該組合位置與資訊碼之一部分的一電子表示型態,局部化於該電子表示型態中促成一位置之編碼的至少一個位置編碼記號,從該至少一個位置編碼記號的一個名義上位置來決定一個位移方向,局部化於該電子表示型態中促成一資訊項目之編碼的至少一個資訊編碼記號,及決定要從該至少一個資訊編碼記號的一個名義上位置來移開的一個位移量。 A method for decoding a combined location and an information code, comprising the steps of: receiving an electronic representation of the combined location and a portion of the information code, localizing at least one of the encodings of the electronic representation that facilitates a location a position coding symbol, determining a displacement direction from a nominal position of the at least one position coding symbol, localizing at least one information coding symbol in the electronic representation that causes encoding of an information item, and determining from at least A displacement of a nominal position of an information coding token to remove. 如申請專利範圍第25項所述之方法,其中該資訊碼使用也被用於編碼位置之編碼記號。 The method of claim 25, wherein the information code usage is also used to encode the coded position. 一種用於解碼一組合位置與資訊碼之裝置,該裝置包含有一解碼模組,該解碼模組具有:用於接收該組合位置與資訊碼之一部分的一電子表示型態之構件,用於局部化於該電子表示型態中之促成一位置之編碼的至少一個位置編碼記號之構件,用於決定要從該至少一個位置編碼記號的一個名義上位置來移開的一個位移方向之構件, 用於局部化於該電子表示型態中促成一資訊項目之編碼的至少一個資訊編碼記號之構件,及用於決定要從該至少一個資訊編碼記號的一個名義上位置來移開的一個位移量之構件。 A device for decoding a combined position and an information code, the device comprising a decoding module, the decoding module having: an electronic representation for receiving the combined position and a part of the information code, for local Means constituting at least one position-coding symbol of the code that contributes to a position in the electronic representation, for determining a direction of displacement component to be removed from a nominal position of the at least one position-coded symbol, Means for localizing at least one information encoding symbol that facilitates encoding of an information item in the electronic representation, and a displacement for determining a nominal position to be removed from the at least one information encoding symbol The components. 如申請專利範圍第27項所述之裝置,其中該資訊碼使用也被用於編碼位置之編碼記號。 The apparatus of claim 27, wherein the information code usage is also used to encode a coded location.
TW95121917A 2005-06-17 2006-06-19 Coding and decoding methods and apparatuses TWI401607B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SE0501400 2005-06-17

Publications (2)

Publication Number Publication Date
TW200713082A TW200713082A (en) 2007-04-01
TWI401607B true TWI401607B (en) 2013-07-11

Family

ID=49225967

Family Applications (1)

Application Number Title Priority Date Filing Date
TW95121917A TWI401607B (en) 2005-06-17 2006-06-19 Coding and decoding methods and apparatuses

Country Status (1)

Country Link
TW (1) TWI401607B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW460804B (en) * 1999-11-09 2001-10-21 Chiang Ju Chung Data processing apparatus and method for converting the sequence and arrangement of strokes of Chinese characters into the composition of binary data codes
US20020163511A1 (en) * 2000-11-29 2002-11-07 Sekendur Oral Faith Optical position determination on any surface
TW519588B (en) * 1998-04-29 2003-02-01 Koninkl Philips Electronics Nv A method for encoding multiword information by wordwise interleaving and wordwise error protection with error locative clues derived from synchronizing channel bit groups and directed to target words, a method for decoding such information, a device for
US20030061188A1 (en) * 1999-12-23 2003-03-27 Linus Wiebe General information management system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW519588B (en) * 1998-04-29 2003-02-01 Koninkl Philips Electronics Nv A method for encoding multiword information by wordwise interleaving and wordwise error protection with error locative clues derived from synchronizing channel bit groups and directed to target words, a method for decoding such information, a device for
TW460804B (en) * 1999-11-09 2001-10-21 Chiang Ju Chung Data processing apparatus and method for converting the sequence and arrangement of strokes of Chinese characters into the composition of binary data codes
US20030061188A1 (en) * 1999-12-23 2003-03-27 Linus Wiebe General information management system
US20020163511A1 (en) * 2000-11-29 2002-11-07 Sekendur Oral Faith Optical position determination on any surface

Also Published As

Publication number Publication date
TW200713082A (en) 2007-04-01

Similar Documents

Publication Publication Date Title
KR101236809B1 (en) Method and system for combining a position and information code
KR101119310B1 (en) Coding and decoding of data
CN100430873C (en) General information management system
US6722574B2 (en) Business card
KR100745298B1 (en) Calendar
US7950589B2 (en) Program, information storage medium, two-dimensional code generation system, image generation system and printed material
CN100442216C (en) Decoding and error correction in 2-d arrays
US7422154B2 (en) Apparatus and methods relating to image coding
CN101398838B (en) handwritten information management system and handwritten information management method
JP2003508831A (en) System and apparatus for electronic recording of handwritten information
US20100073330A1 (en) Methods and Devices Relating To Transfer of Non-Pen Stroke Data
JP2008505387A (en) Data management with electronic pen
CN103098075B (en) Using the absolute position of light pen and the point code pattern of other information, printing point coding method, read point coding method
US20080235282A1 (en) Personal Computing Apparatus and a Method Therein
JP4934669B2 (en) Method and apparatus for transfer of non-pen stroke data
JP2005173672A (en) Form, electronic pen, and program
TWI401607B (en) Coding and decoding methods and apparatuses
JP4996461B2 (en) Data coding and decoding
JP2011022947A (en) Pattern recognition device
JP4765894B2 (en) Image generating apparatus, information reading apparatus, and recording medium
JP2008504598A5 (en)
JP2008092326A (en) Portable terminal, information display method and program
JP2002215319A (en) Coordinate input device
JP2009176249A (en) Image generation device, image processor, program and print medium
JP2009181504A (en) Electronic writing tool and program

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees