TW588246B - ANS. 1 encoding/decoding system using table lookup method - Google Patents
ANS. 1 encoding/decoding system using table lookup method Download PDFInfo
- Publication number
- TW588246B TW588246B TW91112949A TW91112949A TW588246B TW 588246 B TW588246 B TW 588246B TW 91112949 A TW91112949 A TW 91112949A TW 91112949 A TW91112949 A TW 91112949A TW 588246 B TW588246 B TW 588246B
- Authority
- TW
- Taiwan
- Prior art keywords
- data
- asn
- encoding
- decoding system
- refers
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 70
- 239000000463 material Substances 0.000 claims description 8
- 239000003550 marker Substances 0.000 claims description 5
- 101150069304 ASN1 gene Proteins 0.000 claims 1
- 238000012545 processing Methods 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 239000011257 shell material Substances 0.000 description 2
- 238000010561 standard procedure Methods 0.000 description 2
- NIXVMBBZNVOBHS-ASRKUVFVSA-N [(8r,9s,10r,13s,14s,17r)-17-acetyl-6,10,13-trimethyl-3-oxo-2,8,9,11,12,14,15,16-octahydro-1h-cyclopenta[a]phenanthren-17-yl] acetate;(8r,9s,13s,14s,17r)-17-ethynyl-13-methyl-7,8,9,11,12,14,15,16-octahydro-6h-cyclopenta[a]phenanthrene-3,17-diol Chemical compound OC1=CC=C2[C@H]3CC[C@](C)([C@](CC4)(O)C#C)[C@@H]4[C@@H]3CCC2=C1.C1=C(C)C2=CC(=O)CC[C@]2(C)[C@@H]2[C@@H]1[C@@H]1CC[C@@](C(C)=O)(OC(=O)C)[C@@]1(C)CC2 NIXVMBBZNVOBHS-ASRKUVFVSA-N 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 235000003642 hunger Nutrition 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000013439 planning Methods 0.000 description 1
- 230000001012 protector Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000001568 sexual effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000012384 transportation and delivery Methods 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
588246588246
發明領域 本發明為一種引用查表方法之ASN· 1編/解碼系統,此 種查表方法能直接參考文件槽的資料’藉此作A S N · 1資料 的編碼或解碼,任何ASN· i資料結構的更新只需針對文件 槽的資料,不需要更動程式。 發明背景 近年來由於電腦的普及與網際網路(internet)的蓬勃 ,展,再加上WWW(World Wide Web)技術的推波助瀾,造j =了網際網路成為現代最大的資訊傳播網與行銷媒介,1 ▼動了電子商務的全面興起,電子商務是利用電腦及網路 f術來進行商業交易自動化的方法,它可以說是電子資料 ”、〖(Electronic Date Interchange)及加值網路利用 伸,電子資料交換乃是指不同企業之間因交易而產生 —貝料往來,而此往來的資料,會在對方企業内的資訊系 二,造系統或業務系統中,引發連串的處理作業者,'也 可說疋一台電腦的應用系統,運用協定的標準與資料格 ,,經電子化傳遞方式,將資料傳送到另一台電腦的應 ^統,讓電腦能夠自動「瞭解」、「處理」和「回應」, L到作業效率提高生產力提高,#業成本降低獲益率提 南’企業更具競爭力之目的。 我久以來 、、 許多電子資料交換的網路管 ^ ^ ASN· 1 Abstract Syntax Notation 1 ) ^ ^ ^ , 述來描述,其目的是為了在不同機器間用統一的語法表工 588246 五、發明說明(2) 事物,也是描述資料結構的電腦語言。ASN· 1提出一套標 準的方法’以敛述各種類型的資料結構,使資料的表示法 有一種統一的方式。與ASN· 1相配的有一套資料編碼稱作 基本編碼規則(Basic Encoding Rule,BER ),其目的是 將ASN· 1所敘述的資料結構,以一定的方式編碼以便在網 路上傳遞。ASN· 1是描述在網路上傳輸信息格式的標準方 法。它有兩部分·描述信息内數據,數據類型及序列格式 的是一部分;另一部分描述如何將各部分組成消息。 ASN· 1疋一種廣泛用在密碼訊息傳遞、電子熳證、訊 息交換等等的資料編碼格式,由於網際網路的盛行,安°全 f生的而求、曰遍i’曰加,A S N · 1編碼袼式的資料使用也因此日 漸廣泛。然;而,為了使用綱」傳遞資料,必須不方便的 針對ASN· 1資料袼式調整程式。在此情形之下,另一個結 斗:遞,工具XML順勢興起。xml沒有資料結構調整 的問通’編/解碼程式自是容易製作。然而,在追求程式 3::2,其它的不方便也同時產生。飢與副."目 比有者下列的缺點:(1)傳遞的資料過多。一 的資料需要傳遞的訊自詈熹Α 从 又估片才门 蠖的方牵仍:= 的五倍以上。⑴加密保 ί t ° xml ^ ^ ^ # ^ tt i花= Γ 需要細密的規劃才能加以保護。 ()化費弄夕的時間在作資料轉換。xml 的編碼方式傳遞,電腦在使用及送出其= 线 過轉竭步驟。如可以讓㈣丄編二::二::1 貝枓傳遞應用的選擇,則將增添商業或網際傳輸 588246 五、發明說明(3) 上的無限便利。 傳統的方法必須針對ASN· 1資料格式調整程式,利用 預處理器(Pre-Processor)或是程式產生器 (Program-Generator)等等方式來配合資料結構格式的需 求,較麻煩費時,其流程如下:(1)更新定義資料,(2)執 行程式產生器,(3 )重新編譯,(4 )應用新功能 (Functions);FIELD OF THE INVENTION The present invention is an ASN · 1 encoding / decoding system that refers to a table lookup method. This table lookup method can directly refer to the data in the file slot, thereby encoding or decoding ASN · 1 data, and any ASN · i data structure. The update is only for the data in the document slot, no program changes are needed. BACKGROUND OF THE INVENTION In recent years, due to the popularity of computers and the vigorous development of the Internet, coupled with the promotion of WWW (World Wide Web) technology, the Internet has become the largest modern information dissemination network and marketing medium. , 1 ▼ The full rise of e-commerce has been launched. E-commerce is a method of using computer and network technology to automate business transactions. It can be said to be electronic data "," Electronic Date Interchange "and value-added network use extension Electronic data exchange refers to the exchange between different enterprises due to transactions—the exchange of materials, and the data of this exchange will trigger a series of processing operators in the information system of the other company or the business system. "You can also say that one computer's application system uses the agreed standards and data grids to send data to another computer's application system through electronic transmission, so that the computer can automatically" understand "," "Processing" and "Response", L to improve operational efficiency, increase productivity, reduce industry costs, improve profitability, and improve the competitiveness of enterprises. For a long time, many electronic data exchange network management ^ ^ ASN · 1 Abstract Syntax Notation 1) ^ ^ ^, described in order to describe, the purpose is to use a uniform syntax between different machines to work 588246 5. Description of the invention (2) Things are computer languages that describe the structure of data. ASN · 1 proposes a standard method to converge various types of data structures, so that there is a unified way of data representation. A set of data encoding that matches ASN · 1 is called the Basic Encoding Rule (BER). Its purpose is to encode the data structure described in ASN · 1 in a certain way for transmission on the network. ASN · 1 is a standard method for describing the format of information transmitted on the network. It has two parts. One part describes the data in the message, the data type and the sequence format. The other part describes how to compose each part into a message. ASN · 1 疋 A data encoding format widely used in cryptographic messaging, electronic identification, message exchange, etc. Due to the prevalence of the Internet, safety and security are all sought after, i'y added, ASN · The use of 1-coded data has therefore become increasingly widespread. However, in order to transfer data using the program, it is inconvenient to adjust the program for the ASN · 1 data mode. In this case, another struggle: hand, tool XML is on the rise. Wentong's encoding / decoding program without xml data structure adjustment is easy to make. However, in pursuit of formula 3 :: 2, other inconveniences also arise at the same time. Hunger and Vice. "The following disadvantages exist: (1) Too much information passed. The information of the data that needs to be transmitted is from Fang Qian, who also evaluates the talent of the film: = more than five times that of. ⑴Encryption protection ί t ° xml ^ ^ ^ # ^ tt i 花 = Γ requires careful planning to protect it. () The time spent in changing the data is for data conversion. The xml encoding is passed, and the computer is using and sending it = line. If you can let the editor edit 2 :: 2 :: 1, the choice of delivery application will increase the commercial or Internet transmission. 588246 5. Infinite convenience in the description of the invention (3). The traditional method must adjust the program for the ASN · 1 data format, and use pre-processors or program generators to meet the requirements of the data structure format. It is more troublesome and time-consuming. : (1) update definition data, (2) run program generator, (3) recompile, (4) apply new functions (Functions);
請參閱圖一其係傳統的方法,並必須針對ASN· i資料 格式調整程式’利用預處理器(pre—pr〇cess〇r)或是程式 產生器(Program-Generator)等方式來配合資料格式的^ 求,其流程如下(1)更新定義資料(2 )執行程式產生器(3 ) 重新編譯(4)程式使用新功能(Functi〇I〇。 ° 在傳統ASN· 1的資料格式調整程式中,輸入資料不是 文字化的資料(Text File)而是一串數字化的(Digital), 線性的(Serial)八位元組(〇ctet)資料。Please refer to Figure 1. This is a traditional method, and it is necessary to adjust the program for the ASN · i data format using a pre-processor (Program-Generator) or a Program-Generator to match the data format. The requirements are as follows: (1) update the definition data (2) execute the program generator (3) recompile (4) the program uses the new function (Functi〇I〇. ° In the traditional ASN · 1 data format adjustment program The input data is not a text file but a series of digital, linear octet data.
上段所述這一串數字化的資料中尚可能包含其它數字 化的為料,因此所有資料形成了一樹狀結構(Τ π e St二Cture),這一串數字化的資料中包含其它數字化的資 多,肖的深度愈深,為了達到將輸入資料恢復為原始 表格的目的,我們必須將樹狀結構(Tree structure)整個 展開’成為一串數字化的資料再輸入。 ,狀結構(Tree structure)的每一個節點(N〇de)都是 一串數字化的資料,ASN·丨的資料袼式調整程式使用前序 (reorder)、中序(In〇rder)或後序(p〇st〇rder)演算法的The series of digitized data described in the previous paragraph may still contain other digitized materials, so all the data form a tree structure (T π e St Two Cture). This series of digitized data contains other digitized resources. The deeper the depth of Xiao, in order to achieve the purpose of restoring the input data to the original form, we must expand the Tree structure into a series of digital data and then input. Each node (Node) of the tree structure is a series of digitized data. The data format adjustment program of ASN · 丨 uses preorder (reorder), middle order (In〇rder), or postorder. (P〇st〇rder) algorithm
第7頁 588246 五、發明說明(4) -- 程式分別將節點(Node)中的串列資料展開,最後一連串的 數字資料形成了輸入資料。樹狀結構(Tree structure)的 節點(Node)愈多,傳統的“^1編/解碼系統所要產生的程 式碼也就愈多,同時愈複雜。 為了達到將一長串輸入資料恢復為原始表格的目的, 傳統ASN· 1的資料格式調整程式必須參照許多不同的標的 表格(Reference Table),找出一長串輸入資料與標的表 格之間的對應部份,然後將一長串輸入資料恢復為原始表 格及原始表格中的内容。 由於原始表格不盡相同,傳統的方法必須針對Asn 1 資料格式調整程式做一些修正,包括預處理器 (Pre-Pr〇cessor)以及程式產生 n(Pr〇gram一Generat〇r)不 僅複雜而且速度較慢。 由上所述,由於ASN· 1的程式必須經過調整,因此必 須重新編譯。此種傳統之方法最後則接著再執行新功能 (Function)。 職是之故,申請人鑑於目前ASN. 1 (Abstract Syntax Notation One)編碼/解碼系統的查表方法之缺失,乃經悉 心試驗與研究,並一本鍥而不捨之精神,終研發出本案之 『一種引用查表方法之ASN. 1編碼/解碼系統』。 本發明之第一發明目的為:讓ASN. 1編/解碼系統更易 於使用。 本發明之第二發明目的為:改善傳統以程式產生器 (Program-Generator)方式來配合資料結構格式的需求。Page 7 588246 V. Description of the invention (4)-The program expands the serial data in the node, and the last series of digital data forms the input data. The more nodes there are in the tree structure, the more code generated by the traditional "^ 1 encoding / decoding system, and the more complicated it is. In order to restore a long list of input data to the original form, For the purpose, the traditional ASN · 1 data format adjustment program must refer to many different target tables (Reference Table) to find the correspondence between a long list of input data and the target table, and then restore a long list of input data to The original form and the contents of the original form. Because the original form is not the same, the traditional method must make some corrections to the Asn 1 data format adjustment program, including the pre-processor (Pre-Prcess) and the program to generate n (Pr〇gram A Generator is not only complicated but also slow. From the above, since the program of ASN · 1 must be adjusted, it must be recompiled. This traditional method is then followed by the execution of a new function (Function). Therefore, in view of the lack of the look-up table method of the current ASN. 1 (Abstract Syntax Notation One) encoding / decoding system, the applicant has carefully tested and studied, and A spirit of perseverance eventually developed the "ASN. 1 encoding / decoding system using a table lookup method" in the present case. The first object of the present invention is to make the ASN. 1 encoding / decoding system easier to use. The present invention The second invention aims to improve the traditional program-generator method to meet the requirements of the data structure format.
588246588246
五、發明說明(5) 本發明之第三發明目的為:簡化處理袼式化檔案之傳 統流程。詳言之,傳統流程如下:(1)更新定義資料、,(2) 執行程式產生器,(3)重新編譯,(4)應用新功能’ (Functions);新的流程如下:(1 )更新定義資料,應 用新功能(Functions) ; 本發明之第四發明目的為:不須更動程式即可處理格 式化檔案。 本發明之第五發明目的為:省去執行程式產生器和重 新編譯二個步驟。 本發明之更新流程只需:(1)更新定義資料(2)應用新 Functions。省去了執行程式產生器和重新編譯二個~步 驟,使任何ASN· 1資料結構的更新只需針對文件稽的^ 料,不需要更動程式。 曰貝 本發明的查表方法包含了一種ASN· 1定義資料的載入 器(loader),(1)建立ASN. 1專用的資料目錄以標明包含 IMPLICIT/EXPLICIT在内的各種資料標記(tag),set/s3et OF/SEQUENCE /SEQUENCE OF / INSTANCE OF/CHO I CE 等等 的資料結構類別,以及optional/default/any等等ASN j 的特性,並能(2)讓ASN· 1編/解碼程式隨時讀取,以至於 在(3)修改的時候不用更動ASN. 1編/解碼程式。 、 根據本發明之一具體構想,此ASN· 1編/解碼系統之杳 表方法的執行,其步驟包含接受一資料,加註自訂標記一 (fpeci fied Index)於該所接受資料,判別該所接受資料 是否存有顯性參照資料(Explicit),如有,調整存有該顯V. Description of the invention (5) The third invention of the present invention aims to simplify the traditional process of processing archives. In detail, the traditional process is as follows: (1) update the definition data, (2) execute the program generator, (3) recompile, (4) apply new functions' (Functions); the new process is as follows: (1) update Define data and apply new functions. The fourth object of the present invention is to process formatted files without changing the program. The fifth invention aims at eliminating the two steps of executing the program generator and recompiling. The update process of the present invention only needs to: (1) update definition data and (2) apply new functions. Eliminating the need to run the program generator and recompiling two steps, so that any update of the ASN · 1 data structure only needs to be documented, and no program changes are required. The table lookup method of the present invention includes a loader for ASN · 1 definition data, (1) establishing an ASN. 1 dedicated data directory to indicate various data tags including IMPLICIT / EXPLICIT , Set / s3et OF / SEQUENCE / SEQUENCE OF / INSTANCE OF / CHO I CE and other data structure categories, as well as optional / default / any and other characteristics of ASN j, and can (2) let ASN · 1 encoding / decoding program Read at any time, so that there is no need to change the ASN. 1 encoding / decoding program when (3) is modified. According to a specific concept of the present invention, the implementation of the watch list method of the ASN · 1 encoding / decoding system includes the steps of accepting a piece of data, adding a custom marker (fpeci fied Index) to the accepted piece of data, and determining the Whether the received data has explicit reference data (Explicit), if so, adjust the existence of this explicit data
588246 五、發明說明(6) 性參照資料(Explicit)範圍内之自訂標記(Specified d e x ),比對該經調整之该自訂標記(S p e c i f i e d I n d e X ) 是否與一標的表格之一自訂標記相符,以及如相符,即判 定該資料已完全解碼。 根據上述之資料之傳輸方法,比對該輸入資料與一標 的表格’若標的表格中含有’’ Exp 1 i c i tπ字串即知該輸入資 料含有顯性參照資料(Explicit)。 、 根據上述之資料之傳輸方法,該顯性參照資料 (^Explicit)的自訂標記(specif ied Index)與其資料内容 須合併成為調整後之資料。 ) 如上所述該引用查表方法的ASN· 1編/解碼系統,其中 该加=自訂標記係為一建立ASN· 1專用的資料目錄以標明 各種資料標記(taS),SET/ SET OF/ SEQUENCE OF/ OSTANCE OF/ CH0ICE的資料結構類別,以及 OPTIONAL/DEFAULT/ANY 之ASN.1 的特性。 同上所述之引用查表方法的ASN· 1編/解碼系統,其中 該所接受資料為數字性線性資料。該所接受資料尚包括 OPTIONAL/DEFAULT/ANY 。 —同$所述之引用查表方法的ASN· 1編/解碼系統,其中 該自訂標記用以判別該所接受資料所對應標的表袼之格 式。 根據以上所述之引用查表方法的ASN· 1編/解碼系統, 其中該所接受資料尚包括隱性參照資料(Implicit)。該所 接文貝料尚包括選擇性資料⑺口^⑽以)。588246 V. Description of the invention (6) The customized mark (Specified dex) within the scope of the explicit reference data (Explicit) is compared with whether the adjusted customized mark (S pecified I nde X) matches one of the tables of a target. The order tags match, and if they match, it is determined that the data has been completely decoded. According to the above-mentioned data transmission method, comparing the input data with a target form 'if the target form contains the' Exp 1 i c i tπ string, it is known that the input data contains explicit reference data (Explicit). According to the above-mentioned data transmission method, the explicit reference (^ Explicit) 's custom index (specif ied Index) and its data content must be merged into adjusted data. ) As mentioned above, the ASN · 1 encoding / decoding system that refers to the table lookup method, wherein the plus = custom mark is to create a data directory dedicated to ASN · 1 to indicate various data marks (taS), SET / SET OF / The data structure category of SEQUENCE OF / OSTANCE OF / CH0ICE, and the characteristics of ASN.1 of OPTIONAL / DEFAULT / ANY. The ASN · 1 encoding / decoding system using the table lookup method as described above, wherein the accepted data is digital linear data. The accepted information also includes OPTIONAL / DEFAULT / ANY. —The ASN · 1 encoding / decoding system that refers to the table lookup method described in $, wherein the custom mark is used to determine the format of the target list corresponding to the accepted data. According to the ASN · 1 encoding / decoding system using the table lookup method described above, the accepted data also includes implicit reference data (Implicit). The source text also includes optional information (e.g., ^^^).
第10頁 588246Page 10 588246
根據以上所述之引用查表方法的ASN j 若其中該選擇性資料(0ptional)的内容未作局/解碼系統, 該資料刪除。 、、没填註時,則將 根據本發明之另一具體構想,其係引 ASN· 1編/解碼系統,其步驟包含接受一資料〜表方法的 記(Specified Index)於該所接受資料,、匈’加註自訂標 料是否存有隱性參照資料(lmplicit),如有〗該所接受資 隱性參照資(Implicit)範圍内之自訂標記(s ^調整存有該 Index),比對該經調整之該自訂標記是否與 一自訂標記相符,如相符,即判定該資料已&二=表格之 根據以上所述之引用查表方法的ASN. 1 二 , 其中係比對=輸入資料與一標的表格,若標的表格㊁:有 π I mp 11 c : tπ字串即知該輸入資料含有隱性參照 (Implicit)。 、、’ 根據以上所述之引用查表方法的“、1編/解碼系統, 其中比對該隱性參照資料(Implicit)與—標的表格即知 資料屬性並恢復成為調整後之資料。 、 ^ 如上所述之引用查表方法的ASN.1編/解碼系統,其中 该所接受資料為一數字性線性資料。該所接受勺 OPTIONAL/DEFAULT/ANY。 、/ 间匕枯 如上所述之引用查表方法的ASN· i編/解碼系統,其中 該所接受資料尚包括選擇性資料⑶““⑽丨)。 、 如上所述之引用查表方法的ASN·丨編/解碼系統,若其 中该選擇性資料(Opti〇nal )的内容未經填註時,則將該資According to the ASN j that refers to the table lookup method described above, if the content of the optional data (Optional) has not been used for the office / decoding system, the data is deleted. If you do not fill in the note, you will use another specific idea of the present invention, which refers to the ASN · 1 encoding / decoding system, and its steps include accepting a data ~ table method (Specified Index) in the accepted data, , Hungarian's comment whether there is implicit reference data (lmplicit), if there is a custom mark within the range of implicit reference (Implicit) of the accepted asset (s ^ adjusted to store the Index), Compare the adjusted custom mark with a custom mark, and if it matches, it is judged that the data has been & two = ASN. 1 of the form according to the reference table lookup method described above, where the ratio is For = input data and a target form, if the target form ㊁: has π I mp 11 c: tπ string, it is known that the input data contains an implicit reference (Implicit). ,, 'According to the above-mentioned reference to the table lookup method ", 1 encoding / decoding system, which compares the implicit reference data (Implicit) with the target form to know the data attributes and restore the adjusted data. ^ The ASN.1 encoding / decoding system that refers to the table lookup method described above, wherein the accepted data is a digital linear data. The accepted spoon is OPTIONAL / DEFAULT / ANY. ASN · i encoding / decoding system based on the table method, wherein the accepted data also includes optional data ("" ⑽ 丨). "As mentioned above, the ASN · 丨 encoding / decoding system that refers to the table lookup method, if one is selected If the content of sexual information (OptiOnal) is not filled in,
588246 五、發明說明(8) — 料刪除。 同上所述之引用查表方法的ASN· 1編/解碼系統,其中 該自訂標記(Speci f ied Index)用以判別該所接受資料所 對應標的表格之格式。 以上所述之引用查表方法的ASN· 1編/解碼系統,其中 該加註自訂標記係為一建立ASN· 1專用的資料目錄以標明 包含各種資料標記(tag),SET/ SET OF/ SEQUENCE OF/ INSTANCE OF/ CHOICE的資料結構類別,以及〇pTI〇NAL/ DEFAULT/ ANY 之ASN· 1 的特性。 根據本發明之又一具體構想,其步驟包含接受一資 料,加注自δ丁標圮(s p e c i f i e d I n d e X )於該所接受資料, f =私的表格比對,以判別該所接受資料是否存有選擇性 2料(optional),如對應該選擇性資料(〇pti〇nal)部分無 資料時’自該標的表袼刪除對應該選擇性資料(〇pti〇nal) 部分’俾該標的表格與該所接受資料相符。 如上所述之引用查表方法的ASN· 1編/解碼系統,其中 該所接受資料尚包括顯性參照資料(explicit)。其中該所 接受資料尚包括隱性參照資料(implicit)。 如上所述之引用查表方法的ASN· 1編/解碼系統,其中 該加注自訂標記係為一建立ML 1專用的資料目錄以標明 包 a 各種貝料標記(tag) ,SET/ SET OF/ SEQUENCE OF/ INSTANCE OF/ CHOICE 5 OPTIONAL/ DEFAULT/ ANY 之ASN· 1 的特性。 根據以上所述之引用查表方法的ASN· 1編/解碼系統,588246 V. Description of the invention (8)-material deletion. The ASN · 1 encoding / decoding system that refers to the table lookup method described above, wherein the custom index is used to determine the format of the corresponding target form of the accepted data. The ASN · 1 encoding / decoding system that refers to the table lookup method described above, wherein the annotation custom mark is to create a data directory dedicated to ASN · 1 to indicate that it contains various data tags (SET / SET OF / SEQUENCE OF / INSTANCE OF / CHOICE data structure category, and the characteristics of 〇pTI〇NAL / DEFAULT / ANY ASN · 1. According to another specific concept of the present invention, the steps include accepting a data, annotating from δ 丁 标 圮 (specified Inde X) to the accepted data, f = private form comparison, to determine whether the accepted data is There are optional 2 materials (optional). If there is no data corresponding to the optional data (〇pti〇nal) section, 'delete the corresponding optional data (〇pti〇nal)' from the target table. Consistent with the information accepted. The ASN · 1 encoding / decoding system using the table lookup method described above, wherein the accepted data also includes explicit reference data (explicit). Among them, the accepted information also includes implicit reference data (implicit). The ASN · 1 encoding / decoding system that refers to the table look-up method as described above, wherein the annotation custom mark is to create a ML 1-specific data directory to indicate the package a various shell material tags (SET / SET OF) / SEQUENCE OF / INSTANCE OF / CHOICE 5 OPTIONAL / DEFAULT / ANY of ASN · 1 features. According to the ASN · 1 encoding / decoding system referring to the table lookup method described above,
588246 五、發明說明(9) 其中該所接受資料為一數字性線性資料。該所接受資料包 括OPTIONAL/DEFAULT/ANY 。 綜上所述之引用查表方法的ASN. 1編/解碼系統,其中 該自訂標記(S p e c i f i e d I n d e X)用以判別該所接受資料所 對應標的表格之格式。588246 V. Description of the invention (9) The accepted data is a digital linear data. The accepted materials include OPTIONAL / DEFAULT / ANY. In summary, the ASN. 1 encoding / decoding system that refers to the table lookup method, wherein the custom mark (Spe c i f i e d I n d e X) is used to determine the format of the form corresponding to the accepted data.
第13頁 588246Page 13 588246
式及詳細說明得到一更深入之瞭 本發明得藉由下列圖 解。 =圖係例示傳統針對亂丨資料格式調整程式之技術流 第二圖係例示本發明之機構圖引用查表方法的工 (Abstract Syntax N〇tation 0ne)編碼/解碼系 既, 第三圖係例示本發明將一般樹狀結構圖調整為線性資料以 做為輸入資料; 第四圖係例示一調整資料之步驟以顯示本發明將 照資料及隱性資料調整為原始標記之一 |以及 第五圖係例示一调整資料之步驟以顯示本發明調整選擇性 資料。 發明之詳細說明 本發明機構如圖二所示,一更新流程如下(丨)更新定義 資料(4)程式使用新功能(Function),簡化了傳統方法須 執行程式產生器及重新編譯的步驟。 本實作編/解碼系統的方法和傳統ASN· 1的資料格式調 整程式中的輸入資料定義是相同的,輸入資料不是文字化 的資料(Text File)而是一串數字化的,線性的 (Ser ial)八位元組(Octet)資料。 上段所述這一串數字化的資料中尚可能包含其它數字The formula and detailed description are further understood. The invention is illustrated by the following figures. = The diagram is an illustration of the traditional technical flow for adjusting the data format adjustment program. The second diagram is an illustration of the mechanism of the present invention, which refers to the table lookup method (Abstract Syntax No. 0ne) encoding / decoding system. The third diagram is an illustration. The present invention adjusts a general tree structure diagram to linear data as input data; the fourth diagram illustrates a step of adjusting data to show that the present invention adjusts the photographic data and hidden data to one of the original marks | and the fifth diagram This is an example of a step of adjusting data to show the adjustment of selective data of the present invention. Detailed description of the invention The mechanism of the present invention is shown in Figure 2. An update process is as follows (丨) Update definition data (4) The program uses a new function (Function), which simplifies the steps of the traditional method that must execute the program generator and recompile. The method of implementing the encoding / decoding system is the same as the input data definition in the traditional ASN · 1 data format adjustment program. The input data is not a text file but a series of digital, linear (Ser ial) Octet data. The digitized data described in the previous paragraph may contain other numbers
第14頁 588246Page 14 588246
圖式簡單說明 化的-貝料,因此所有資料形成了 —樹狀結構(Tree Structure),這一串數字化的資料中 料愈多,樹的深度愈深,為了達到將;:3二二數二化的資 ,^ Q , ^ y O j運到將輪入資料恢復為原始 ^ =的目的,我們必須將樹狀結構(Tree structure)整^ 展開,成為一串數字化的資料 個 再輸入。 樹狀結構(T r e e 一串樹字化的資料 (PreorderSchematic illustration of the shell material, so all the data formed a tree structure (Tree Structure), the more material in this series of digital data, the deeper the tree, in order to achieve; The binarized assets, ^ Q, ^ y O j are shipped to the purpose of restoring the rotation data to the original ^ =. We must expand the tree structure into a series of digitized data and then enter it. Tree structure (T r e e string of data
Structure)的每一個節點(N〇de)都是 ’ ASN· 1的資料格式調整程式使用前序Structure) Each node (No) is ’ASN · 1 data format adjustment program using the preamble
)、中序(Inorder)或後序(Postorder)演算法的程式一層 一層分別將節點(Node)中的串列資料展開,最後一連 數字資料形成了輸入資料。 、本實作編/解碼系統的方法和ASΝ· 1的資料格式調整程 式主要的不同點是ASN.;[的資料袼式調整程式是將樹狀結 構(Tree) —層一層的節點(Node)分別展開,而本實作編/ 解碼系統的方法是將樹狀結構(Tree)的節點(N〇de) 一次展 開’最後一連串的數字資料形成了輸入資料。), Inorder, or Postorder algorithm, one by one, expands the serial data in the node, and the last series of digital data forms the input data. 2. The main difference between the method of implementing the encoding / decoding system and the data format adjustment program of ASN · 1 is ASN .; [The data format adjustment program of [is a tree structure (Tree)-layer by layer node (Node) Expand each separately, and the method of implementing the encoding / decoding system is to expand the nodes (Node) of the tree structure (Tree) at a time 'the last series of digital data to form the input data.
根據ASN· 1的定義,當輸入資料内含顯性參照 (explicit)時,標明顯性參照(explicit)的標記(Tag)形 成了一個節點(Node),本發明將此節點(Node)重新定義為 一自訂標記(Specif ied Index),指標(Pointer)指向這個 自訂標記(Speci f i ed Index),,而實際資料形成了上述 節點的子節點,我們必須將這兩個節點合併成一個節點才 能獲得真正的資料,然後將指標(P〇inter)指向這個調整According to the definition of ASN · 1, when an explicit reference is contained in the input data, the tag marked with the explicit reference forms a node. The present invention redefined this node Is a custom index (Specif ied Index), the pointer (Pointer) points to this custom index (Speci fi ed Index), and the actual data forms the child nodes of the above nodes, we must merge these two nodes into a node To get real data, and then point the indicator (P〇inter) to this adjustment
第15頁 588246 圖式簡單說明 後的節點(Node),即此自訂標記(speci fied Index)。 根據ASN· 1的定義,當輸入資料内含隱性參照 (implicit)時,標明隱性參照(implicit)的標記(Tag)形 成了一個節點(Node),本發明將此節點(N〇de)重新定義為 一自訂標記(Speci fied Index),指標(pointer)指向這個 自訂標記(Speci fied Index),但實際資料的屬性已經喪 失’我們必須對照A S N · 1的標的表格(r e f e r e n c e τ a b 1 e )才 能找出資料屬性以獲得真正的資料,然後將指標 (Pointer)指向這個内含真正資料的節點(N〇de),即自訂 標記(Specified Index)。 根據ASN· 1的定義,當輸入資料内含選擇性資料 (optional)時,標明選擇性資料(opti〇nal)的標記(Tag) 及内容(c ο n t e n t )形成了一個節點(N 〇 d e ),本發明將此節 點(Node)重新定義為一自訂標記(Specif ied Index),我 們必須對照ASN· 1的標的表格(Reference Table)檢查資料 内容是否為空(Nu 1 1 ),若資料内容為空則將這筆資料(即 節點(N 〇 d e ))刪除。 如圖二(a )所不’頭端(即根節點R 〇 〇 t)含有三子節點 A,B以及C。A節點(Node)又含有一子節點Al,c節點 (Node)含有四子節點Cl,C2,C3,C4,此樹狀結構(Tree Structure)是唯一的,我們——拜訪樹狀結構之節點,將 之轉換為一線性資料,如圖三(b),其輸出順序為A \ A1, B2 , C , Cl , C2 , C3 , C4 ,其中1 , 11 , 2 , 3 , 31 , 32 , 33 ’ 34表示資料在樹狀結構(Tree Structure)中的;s級以Page 15 588246 Schematic description of the node (Node), which is the custom index (speci fied Index). According to the definition of ASN · 1, when the input data contains implicit references, the tags that indicate the implicit references form a node. The present invention refers to this node (Node). Redefined as a custom index (Speci fied Index), the pointer (pointer) points to this custom index (Speci fied Index), but the attributes of the actual data have been lost 'we must refer to the target form of ASN · 1 (reference τ ab 1 e) In order to find the data attributes to obtain the real data, and then point the pointer (Pointer) to the node (Node) containing the real data, that is, the Customized Index (Specified Index). According to the definition of ASN · 1, when the input data contains optional information (optional), the tag (Tag) and content (c ο ntent) indicating the optional data (optinal) form a node (N ode). In the present invention, the node is redefined as a custom index (Specif ied Index). We must check whether the content of the data is empty (Nu 1 1) according to the reference table of ASN · 1. If it is empty, delete this data (ie node (Node)). As shown in Fig. 2 (a), the head end (ie the root node R 〇 t) contains three child nodes A, B and C. A node (Node) contains a child node Al, c node (Node) contains four child nodes Cl, C2, C3, C4, this tree structure (Tree Structure) is unique, we-visit the nodes of the tree structure And convert it into a linear data, as shown in Figure 3 (b), the output order is A \ A1, B2, C, Cl, C2, C3, C4, of which 1, 11, 2, 2, 3, 31, 32, 33 '34 indicates that the data is in a tree structure; the s level starts with
588246 圖式簡單說明 ------- 及位置。 如圖四(a)所示,頭端(即根節點R〇〇t)含有三子節點 A,B以及C。其中A節點(Node)代表一遠端參照標記 (Explicit),C節點(Node)代表一近端參照標記 (Implicit),A節點(Node)又含有一子節點^,本發明將 此A節點(Node)重新定義為一自訂標記(Specif ied Index),指標(p〇inter)指向這個自訂標記(Specified I/iidex) ’而實際資料形成了上述節點的子節點人丨,我們必 須將這兩個節點合併成一個節點A3才能獲得真正的資料, 然後將指標(Pointer)指向這個調整後的節點43〇〇(1〇, 本發明將C節點(Node)重新定義為另一自訂標記 (Specif ied Index),指標(p〇inter)指向這個自訂標記 (Specified Index),但實際資料的屬性已經喪失,我們 必須對照ASN· 1的標的表格(Ref erence Tab 1 e)才能找出資 料屬性以獲得真正的資料,然後將指標(p〇inter)指向這 個内含真正資料的節點(N〇de)c。此樹狀結構(Tree Structure)是唯一的,我們調整此樹狀結構之節點,將之 轉換為原始碼標記。圖四(b)為調整後的樹狀結構。 如圖五(a)所示頭端(即根節點Root)含有三子節點A, B,C以及D。其中D節點(Node)代表一選擇性資料 (optional),當輸入資料内含選擇性資料(〇pti〇nai)D 時,私明選擇性資料(〇pt i〇nal)的標記(Tag)及内容 (content)形成了一個節點(N〇de)D,本發明將此節點 (N〇de)重新定義為一自訂標記(Specif ied Index),我們 588246 圖式簡單說明 必須對照ASN· 1的標的表格(Reference Table)檢查資料D 内容是否為空(Nul 1),若資料D内容為空則將這筆資料(即 節點(Node))刪除。如圖5(b)表調整後(即刪除D) 後之樹狀結構(Tree Structure)。 根據以上之圖式及發明詳細說明,本發明得由熟悉本 ^ Γ之人士任施匠思而為諸般修飾,然皆不脫如附申請專 力範圍所欲保護者。588246 Schematic description ------- and location. As shown in Figure 4 (a), the head end (ie, the root node Root) contains three child nodes A, B, and C. A node (Node) represents a remote reference mark (Explicit), C node (Node) represents a near reference mark (Implicit), and A node (Node) contains a child node ^, the present invention refers to this A node ( Node) is redefined as a custom index (Specif ied Index), the index (point) points to this custom index (Specified I / iidex) ', and the actual data forms the child nodes of the above nodes, we must change this The two nodes are combined into one node A3 to obtain real data, and then the pointer is pointed at this adjusted node 4300 (10). The present invention redefines C node (Node) as another custom marker ( Specif ied Index). The index points to this custom index, but the attributes of the actual data have been lost. We must refer to the ASN · 1 target table (Reference Tab 1 e) to find the data attributes. To get the real data, then point the index (point) to this node (Node) c that contains the real data. This tree structure is unique, we adjust the nodes of this tree structure, Will Converted to source code mark. Figure 4 (b) is the adjusted tree structure. As shown in Figure 5 (a), the head end (ie root node Root) contains three child nodes A, B, C and D. Among them, the D node (Node) represents an optional data (optional). When the input data contains optional data (〇pti〇nai) D, the tag and content of the optional data (〇pt i〇nal) ) Formed a node (Node) D, the present invention redefined this node (Node) as a custom index (Specified Index), our 588246 diagram simply illustrates that we must refer to the target form of ASN · 1 ( Reference Table) Check whether the content of data D is empty (Nul 1). If the content of data D is empty, delete this data (ie Node). As shown in Figure 5 (b) after adjusting the table (ie, deleting D) Tree Structure. According to the above drawings and the detailed description of the invention, the present invention may be modified by anyone who is familiar with this ^ Γ, but it is not as good as the attached scope of application protector.
第18頁Page 18
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW91112949A TW588246B (en) | 2002-06-13 | 2002-06-13 | ANS. 1 encoding/decoding system using table lookup method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW91112949A TW588246B (en) | 2002-06-13 | 2002-06-13 | ANS. 1 encoding/decoding system using table lookup method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| TW588246B true TW588246B (en) | 2004-05-21 |
Family
ID=34057742
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW91112949A TW588246B (en) | 2002-06-13 | 2002-06-13 | ANS. 1 encoding/decoding system using table lookup method |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TW588246B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI622931B (en) * | 2013-03-19 | 2018-05-01 | 動態微型系統公司 | Tool compiler |
-
2002
- 2002-06-13 TW TW91112949A patent/TW588246B/en not_active IP Right Cessation
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI622931B (en) * | 2013-03-19 | 2018-05-01 | 動態微型系統公司 | Tool compiler |
| US10452362B2 (en) | 2013-03-19 | 2019-10-22 | Brooks Automation (Germany) Gmbh | Tool compiler |
| US11372625B2 (en) | 2013-03-19 | 2022-06-28 | Brooks Automation (Germany) Gmbh | Tool compiler |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101755282B (en) | Method and system for providing inter-area communication of map | |
| CN101772780B (en) | inter-domain communication | |
| JP5787963B2 (en) | Computer platform programming interface | |
| US20110178981A1 (en) | Collecting community feedback for collaborative document development | |
| US20110185024A1 (en) | Embeddable metadata in electronic mail messages | |
| US7720885B2 (en) | Generating a word-processing document from database content | |
| TWI262439B (en) | Strategy for dynamically modeling ASN.1 data to an object model | |
| US20020198909A1 (en) | Method and system for semantically labeling data and providing actions based on semantically labeled data | |
| TW201616378A (en) | Page processing for mobile app | |
| CN111680477B (en) | Method, device, computer equipment and storage medium for exporting electronic spreadsheet files | |
| US12008083B2 (en) | Information processing apparatus, for storing consensus information among copyright holders in a blockchain | |
| JP2004038943A (en) | Numeric conversion method among different measurement laws, system therefor and device therefor | |
| JP2009543167A (en) | Computer-implemented method, computer program, and data processing system for inheriting page layout for a page | |
| US7716255B2 (en) | Modeling a data element | |
| JP2005518023A (en) | Method and software application and system for exchanging benchmark data | |
| JP4932240B2 (en) | Method and system for publishing nested data in computer-generated documents in a transparent manner | |
| WO2024182108A1 (en) | Computed values for knowledge graph | |
| US20180129827A1 (en) | Digital marking in a network environment | |
| US8875093B2 (en) | Instantiating a coding competition to develop a program module in a networked computing environment | |
| TW588246B (en) | ANS. 1 encoding/decoding system using table lookup method | |
| CN110471898A (en) | Dissemination method can be traced in a kind of information credit management method and Figures | |
| JP5459877B2 (en) | Message creation support apparatus, message creation support method, and program | |
| US8229963B2 (en) | Schema for federated searching | |
| JP3980974B2 (en) | Schedule information extracting and editing apparatus and method | |
| US20210157804A1 (en) | Reporting and knowledge discovery for databases |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| MM4A | Annulment or lapse of patent due to non-payment of fees |