TWI325235B - System and method for encoding and decoding information contained in a two-dimension barcode - Google Patents

System and method for encoding and decoding information contained in a two-dimension barcode Download PDF

Info

Publication number
TWI325235B
TWI325235B TW95113227A TW95113227A TWI325235B TW I325235 B TWI325235 B TW I325235B TW 95113227 A TW95113227 A TW 95113227A TW 95113227 A TW95113227 A TW 95113227A TW I325235 B TWI325235 B TW I325235B
Authority
TW
Taiwan
Prior art keywords
word
text
barcode
bar code
code
Prior art date
Application number
TW95113227A
Other languages
Chinese (zh)
Other versions
TW200740128A (en
Inventor
Ching Fen Hsu
Hua Sen Cheng
Feng Lin Chang
Original Assignee
Simpleact Inc
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 Simpleact Inc filed Critical Simpleact Inc
Priority to TW95113227A priority Critical patent/TWI325235B/en
Publication of TW200740128A publication Critical patent/TW200740128A/en
Application granted granted Critical
Publication of TWI325235B publication Critical patent/TWI325235B/en

Links

Landscapes

  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Description

1325235 document or a printer. Then a client uses a mobile device that contains a reader and a decoder reading the barcode by the camera sensor. A decoder decodes the information contained in the barcode and shows a result. The client could choose process modes to decide the follow-up objective. The mobile device could offer someA client decodes the information contained in the barcode and shows a result. The client could choose process modes to decide The follow-up objective. The mobile device could offer some

services· send an email,add a contact to the address book, send a SMS or make a phone call. 七、指定代表圖: (一) 本案指定代表圖為:第(3)圖。 (二) 本代表圖之元件符號簡單說明: 301 :使用者 302,306 ’ 311 :使用者界面 305 :顯示媒體 307 :條碼讀取設備 303 ’ 304,308,309,310 :程序及方法 ί式t案右有話化學式時,請揭示最_示發明特徵的化 九、發明說明: 【發明所屬之技術領域】 本發明技術領域係針對二 碼與解碼的方法。依據資料产:條碼貝枓奴進仃編 計机特徵及屬性進行編碼與 5 降低二維條顯取環境的限制及提 【先前技術】 „依專利證書號119348號及公告號0〇287685「罝機 =資訊之條碼化表f及表單條碼薄」先前技術;係 字表f之格式、攔位、資料加以條碼化,進而將條碼化 ,表單製成條碼薄,以供自動辨識或掃瞄,減少重新 製表單或避免重複輸入表單資料,並可節省表單製' 資料輸入之人力成本及紙張浪費。 【發明内容】 本發明是一種二維條碼資訊之編碼與解碼 及方法,針對條碼資訊内容進行編碼與解碼最佳化^ 以增進行動設備讀取辨識的效能。 ’ 請參考第1圖,為一般以行動設備(M〇biie Device)讀取二維條碼資訊及應用示意圖。使用者 由個人電腦101或筆記型電腦103内之二維條碼^ 用程式,將個人或他人資訊由提供之使用者界面ς 入,產生代表此資訊的二維條碼,使用者可選^ 過印表機1〇2將之列印於紙張1G4或直接顯示 幕上101、103。使用者或其他人可利用行動 _、PM設備106,設備上含有辨識二維條庫= 程式’經由105、106之鏡頭掃描先前產生之二心用 碼,可能置於1〇1、1〇3或1〇4之媒體 ^二維條 果顯示於105、及106界面上,使用者利用辨2 = 將其資訊新增至通訊錄107,^化原本通訊錄$ 1325235 輸入繁瑣過程。 但此類系統卻有以下限制: 行動設備本身鏡頭的限制:依不同規格行動設 備,所能辨識的二維條碼大小受限於其鏡頭品質。 二維條碼條碼大小的限制:一般應用二維條碼場 合,依其需要有時得受限於條碼大小,如印製二維條 碼於名片上,條碼大小不允許太大,相對而言,條碼 大小的限制,造就條碼所能存放的資訊限制。 讀取環境的限制:因周遭環境光源及條碼放置位 置影響,所能辨識的二維條碼大小受限制。 有鑒於此,本發明提出一種二維條碼資訊之編碼 與解碼系統及方法;針對編碼資訊進行資訊壓縮,以 達條碼大小限制下,但條碼資訊内容容量擴增之功 能;或條碼資訊内容容量限制下,但條碼大小縮小之 功能。 本發明提出一種二維條碼資訊之編碼與解碼系 統及方法,其系統及方法包含產生二維條碼於顯示媒 體上及以行動設備或具有攝影機(Camera)的電腦設 備讀取二維條碼進行解碼並顯示結果。其中,產生二 維條碼於顯示媒體上,包括使用者界面、編碼程式及 顯示條碼程式。 使用者界面係指視覺化界面,將條碼資訊存放内 容以文字輸入框或選擇輸入框方式呈現於使用者,使 用者藉由界面進行資料輸入。此使用者界面可為應用 軟體界面或網頁產生界面。 編碼程式係針對使用者輸入資料,進行最佳化編 7 碼m内容特性,編碼㈣其方法包括文字編 =地址編碼及其它資訊編碼。其中,文字編碼包括 '率比對程式及字詞集;地址編碼包括規則比對程 ,、規則集、字詞比對程式及字詞集。頻率比對程式, 糸指對使用者界面輸入之資料與字詞集進行比對,進 壓縮或取代;其中字詞集為系統自行定義或利 ^异法分析而來。此字詞集容量大小受限於讀取設 備之儲存容量大小。 地址編碼係指-般郵遞地址而言,預先針對郵遞 也址資訊進行分析,產生規則集,此規則集可多筆呈 現。規則比對程式係指對由使用者界面輸入的資料進 =規則集比對,將輸人資料進行切割與重組動作, 則字串。字詞比對程式係指針對規則 =對%式輸㈣結果與字詞集進行比對,依規則集定 ί字進,或取代。此字詞集為系統自行定義 之子巧,容垔亦受限於讀取設備的儲存容量大小。 則外2資訊編碼係指除了本發明所提供之編碼原 則外之編碼規則,依採用之二維條碼規袼而定。 出條碼Λ式係與編碼程式連接’將編碼程式輸 果顯不,其中包括位元字串產生程式及圖形產生 字元串字產串;^^^ 4子串模式顯不於顯示媒體上。圖形產生 輸出結,換為圖形格式顯示於 ...貝丁媒體上,如bmp、避或png格 示媒體可為文件格式、電子顯示或列印顯示,之』 針對本發明編碼原則,本發明亦提出解碼方法, 1325235 其方法步驟為以行動設備或具有攝影 備’利用其鏡頭設備讀取二維條竭解竭、_=汉 輸出界面。包括條碼讀取程式、解供.,、、不、,,°果於 程式及輸出界面。 ㈣料、資訊組合 條碼讀取程式係指二維條碼資訊取〜 取設備鏡頭相賴,依讀岐備鏡轉 若為可辨識之=,依採用之二維條碼解 檢查錯誤檢查碼或錯誤修正碼程序,將其鈐果做為^ 碼程式的輸入。 、 解碼程式係與條碼讀取程式相連接,針對條 取程式的輸出進打解碼,依資訊内容攔位資訊',、^ 文字解碼、地址解碼及其它資訊解碼。立中, 碼包括代碼取代程式及字詞集;地址觫子解 割程式、規㈣、字_原程式及4集規則切 代碼取代程式係指條碼讀取程式的輸出進行代 碼取代作*,原字詞取自於字詞^字詞集係與 編碼程式中之文字編碼字詞集相互對應。’ 規則切割程式係與規職相連接r對條碼讀取程 式輸出字串以規則集^義進行切割,以利字詞還原。 規則集係與編瑪程式之地址編碼規則集相互配人'。、 字詞還原程式與規則切割程式相連接,針^規則 集定義,將切割後的字串進行字詞還原或新增字詞。 字詞集係定義還料詞或新增㈣,與編碼程式之地 址編碼字詞集相互呼應。 其它資訊解碼係指本發明解媽原則外之解碼規 9 1325235 則*依其採用之二維條碼規格解碼。 資訊組合程式係與解碼程式相連接,針對解碼程 式的輸出結果進行資訊重組或連接動作。 輸出界面係與資訊組合程式相連接,將資訊組合 程式輸出結果輸出於顯示媒體上。顯示媒體為電子顯 示或文件格式。 【實施方式】 請參照第2圖,其繪示的是依照本發明一較佳實 施例的一種二維條碼資訊之編碼與解碼系統及方 法,係有關於編碼視覺化的使用者界面。使用者透過 輸入界面(界面含文字框及選擇框等)201,輸入資料 202,經由編碼程式,針對輸入資料202内容進行最 佳化編碼,將其資料轉換為位元(0與1)資訊203, 作為組成二維條碼的位元資訊。 請參照第3圖,其繪示的是依照本發明一較佳實 施例的一種二維條碼資訊之編碼與解碼系統及方 法。使用者301經由本發明所提供之使用者界面302 輸入資料,編碼程式303針對資料進行編碼方法選 擇,與顯示條碼程式304程式相連接,將產生之條碼 或資訊顯示於顯示媒體305上。使用者306經由條碼 讀取設備307,讀取顯示媒體305上的二維條碼影 像,將其影像做為條碼讀取程式308的輸入,進行條 碼辨識,將可辨識的條碼位元資料流做為解碼程式 306的輸入,解碼程式306依據解碼原則進行資料解 碼,最後與資訊組合程式310相連接,將解碼之資料 字串輸出於界面311上,完成編碼與解碼的流程作 10 1325235 業。 請參照第4圖,其繪示的是依照本發明一較佳實 施例的一種二維條碼資訊之編碼與解碼系統及方 法,係有關於產生條碼於顯示媒體上之系統及方法。 使用者401進入使用者界面402,為一般應用程式界 面或網頁頁面界面,進行輸入資料403,當資料輸入 完成後,編碼程式404針對輸入資料403進行編碼, 依輸入資料403型態可能為文字編碼405、地址編碼 406及其他資訊編碼407,最後經由條碼顯示程式408 顯示條碼資訊,使用者401可選擇將其條碼直接於螢 幕顯示409、將其列印410或儲存成檔案型式411以 備用。 請參照第5圖,其繪示的是依照本發明一較佳實 施例的一種二維條碼資訊之編碼與解碼系統及方 法,係有關於編碼程式編碼之方法。編碼程式針對使 用者輸入的資料501,依輸入資料501的欄位屬性, 若隸屬於文字編碼502,載入預先定義之字詞集 504,與輸入資料501字串進行頻率比對程式503, 若含有頻率高之字詞505,查詢字詞集504以單字或 單一字碼取代所找尋的字詞506,壓縮文字攔位資料 長度以節省編碼空間,上述所提之字詞集504系統可 自行歸納定義,以符資訊之最佳化;但不以大量列表 為原則,以符合解碼程式效能最佳化。 ^ 其次判讀輸入資料501是否為地址編碼507,若為 地址資訊則載入地址規則508,針對規則集509所定義 之規則,例如中文地址950台東縣台東市明華路一段 11 1325235Services· send an email, add a contact to the address book, send a SMS or make a phone call. VII. Designated representative map: (1) The representative representative of the case is: (3). (2) A brief description of the component symbols of the representative figure: 301: User 302, 306 '311: User interface 305: Display medium 307: Bar code reading device 303 '304, 308, 309, 310: Program and method When there is a chemical formula on the right side of the case, please disclose the most obvious features of the invention. 9. Description of the Invention The technical field of the invention is directed to a method of decoding and decoding. According to the data production: the barcode and the characteristics and attributes of the barcode machine are encoded and 5 to reduce the limitation of the two-dimensional strip display environment and [previous technology] „ according to patent certificate No. 119348 and announcement number 0〇287685 “罝Machine = information bar code table f and form bar code thin" prior art; the format, block, and data of the word table f are bar coded, and then the bar code is formed, and the form is made into a bar code for automatic identification or scanning. Reduce re-formation or avoid re-entry of form data, and save on the labor costs and paper waste of the form input. SUMMARY OF THE INVENTION The present invention is a method and method for encoding and decoding two-dimensional bar code information, and is optimized for encoding and decoding bar code information content to improve the performance of mobile device reading and recognition. Please refer to Figure 1 for a general description of the 2D barcode information and application diagrams using the mobile device (M〇biie Device). The user inserts the personal or other information from the provided user interface by the two-dimensional barcode program in the personal computer 101 or the notebook computer 103 to generate a two-dimensional barcode representing the information, and the user can select the overprint. The watch machine 1〇2 prints it on the paper 1G4 or directly on the screen 101, 103. The user or other person can use the action_, PM device 106, and the device includes the identification two-dimensional bar code = program 'scanning the previously generated two-heart code through the lens of 105, 106, which may be placed at 1,1,1〇3 Or 1〇4 media ^ 2D bar is displayed on the 105, and 106 interface, the user uses the identification 2 = to add its information to the address book 107, ^ the original address book $ 1325235 input cumbersome process. However, such systems have the following limitations: Limitations of the lens of the mobile device itself: The device can be identified by different specifications, and the size of the 2D barcode that can be recognized is limited by the quality of the lens. 2D bar code bar code size limitation: Generally, when applying 2D bar code, it is sometimes limited by bar code size according to its needs. For example, if a 2D bar code is printed on a business card, the bar code size is not allowed to be too large. Relatively speaking, the bar code size The restrictions limit the information that can be stored in the barcode. Restrictions on the reading environment: The size of the 2D barcode that can be recognized is limited due to the surrounding ambient light source and bar code placement. In view of this, the present invention provides a system and method for encoding and decoding two-dimensional bar code information; performing information compression on the encoded information to achieve the function of barcode size limitation, but the bar code information content capacity is expanded; or bar code information content capacity limitation Down, but the bar code size is reduced. The invention provides a system and method for encoding and decoding two-dimensional bar code information, the system and method thereof comprise generating a two-dimensional bar code on a display medium and reading a two-dimensional bar code by a mobile device or a computer device having a camera (camera) for decoding and Show results. The two-dimensional barcode is generated on the display medium, including a user interface, an encoding program, and a display barcode program. The user interface refers to a visual interface. The bar code information storage content is presented to the user by a text input box or a selection input box, and the user inputs data through the interface. This user interface can create an interface for the application software interface or web page. The encoding program optimizes the 7-m content feature for the user input data, and encodes (4) the method includes text encoding = address encoding and other information encoding. Among them, the text encoding includes a 'rate comparison program and a word set; the address coding includes a rule comparison procedure, a rule set, a word comparison program, and a word set. In the frequency comparison program, the data input to the user interface is compared with the word set, and is compressed or replaced; wherein the word set is defined by the system or analyzed by different methods. The size of this word set is limited by the storage capacity of the read device. Address coding refers to the general postal address, which analyzes the postal address information in advance and generates a rule set. This rule set can be presented in multiples. The rule comparison program refers to the comparison of the data entered by the user interface into the rule set, and the input data is cut and reorganized, and then the string is used. The word comparison program pointer to the rule = the result of the % input (4) is compared with the set of words, according to the rule set ί word into, or replaced. This word set is a sub-detail of the system, and the capacity is limited by the storage capacity of the reading device. Then, the outer 2 information coding means an encoding rule other than the coding principle provided by the present invention, depending on the two-dimensional bar code rule adopted. The bar code type is connected to the code program to display the code program output, including the bit string generation program and the graphic generation character string word production string; ^^^ 4 substring mode is not displayed on the display medium. The graphic produces an output knot, which is displayed in a graphic format on the Beiding media, such as bmp, circumvent or png. The display medium can be a file format, an electronic display or a print display, and the present invention is directed to the coding principle of the present invention. A decoding method is also proposed, 1325235. The method steps are to use a mobile device or a camera device to read a two-dimensional exhaustion using a lens device, and a _=han output interface. Including the bar code reading program, the solution for ., , , , , , , , , , , , , , , , , , , , (4) Material and information combination bar code reading program refers to the 2D bar code information to take ~ take the device lens to rely on, according to the reading mirror, if it is identifiable =, according to the 2D barcode solution used to check the error check code or error correction The code program uses the result as an input to the code program. The decoding program is connected with the bar code reading program, and decodes the output of the program, and blocks information according to the information content, ', ^ text decoding, address decoding and other information decoding. In the middle, the code includes the code to replace the program and the word set; the address dicecutting program, the rule (4), the word_original program and the 4 sets of rule-cutting code replace the program means the output of the bar code reading program is replaced by the code*, the original The words are taken from the word ^ word set and the text code word set in the coding program corresponds to each other. The rule cutting program is linked to the rules. The bar code reading output string is cut by the rule set to restore the words. The rule set is matched with the address coding rule set of the coder. The word restoration program is connected to the rule cutting program, and the rule set is defined by the rule set to restore the word after the cut word or add a new word. The word set defines the compound words or adds (4), which echoes the coded word address word set. Other information decoding refers to the decoding specification of the invention according to the principle of solving the mother. 9 1325235 * is decoded according to the 2D barcode specification adopted by the method. The information assembly program is connected to the decoding program to perform information recombination or connection operations on the output of the decoding method. The output interface is connected to the information combination program, and the output of the information combination program is outputted to the display medium. The display media is in electronic display or file format. [Embodiment] Please refer to FIG. 2, which illustrates a system and method for encoding and decoding two-dimensional bar code information according to a preferred embodiment of the present invention, and relates to a user interface for coding visualization. The user inputs the data 202 through the input interface (the interface includes a text box and a selection box, etc.) 201, and optimizes the content of the input data 202 through the encoding program, and converts the data into bit (0 and 1) information 203. , as bit information that constitutes a two-dimensional bar code. Referring to Figure 3, there is shown a system and method for encoding and decoding two-dimensional bar code information in accordance with a preferred embodiment of the present invention. The user 301 inputs the data through the user interface 302 provided by the present invention. The encoding program 303 selects the encoding method for the data, connects to the display barcode program 304, and displays the generated barcode or information on the display medium 305. The user 306 reads the two-dimensional barcode image on the display medium 305 via the barcode reading device 307, and uses the image as the input of the barcode reading program 308 to perform barcode identification, and the identifiable barcode bit data stream is The input of the decoding program 306, the decoding program 306 performs data decoding according to the decoding principle, and finally connects with the information combination program 310, and outputs the decoded data string to the interface 311, and completes the encoding and decoding process for 10 1325235. Please refer to FIG. 4, which illustrates a system and method for encoding and decoding two-dimensional bar code information according to a preferred embodiment of the present invention, and relates to a system and method for generating a bar code on a display medium. The user 401 enters the user interface 402 and inputs the data 403 for the general application interface or the web page interface. After the data input is completed, the encoding program 404 encodes the input data 403, and may be text coded according to the input data type 403. 405, address code 406 and other information code 407, and finally display the bar code information via the bar code display program 408. The user 401 can select the bar code directly on the screen display 409, print it 410 or store it as the file type 411 for use. Please refer to FIG. 5, which illustrates a method and a method for encoding and decoding two-dimensional bar code information according to a preferred embodiment of the present invention, and relates to a method for encoding a coding program. For the data 501 input by the user, according to the field attribute of the input data 501, if it belongs to the text code 502, the predefined word set 504 is loaded, and the frequency comparison program 503 is performed with the input data 501 string. The word 505 with high frequency is included, and the query word set 504 replaces the searched word 506 with a single word or a single word code, and compresses the length of the text block data to save the coding space. The above-mentioned word set 504 system can be self-inductively defined. , to optimize the information; but not based on a large number of lists, in order to optimize the performance of the decoding program. ^ Next, it is judged whether the input data 501 is the address code 507, and if it is the address information, the address rule 508 is loaded, and the rules defined for the rule set 509, for example, the Chinese address 950, a section of Minghua Road, Taitung City, Taitung County, 11 1325235

88巷88號6樓,規則集509定義其規則為依字詞集512 所列之區隔符號(如縣、市、路)進行規則比對程式 510’再依規則集509定義之順序進行位元排列並且剔 除特定字元或區隔符號514以壓縮編碼資訊。如上例 中文地址依規則集509定義以縣、市、路進行規則比 對程式410並將地址切割為950台東縣、台東市、明華 路及一段88巷88號6樓,各段資訊與字詞集512進行字 詞比對程式511,判別是否為地址特定的字气513 ,如 郵遞區號” 950”與”台東縣”字詞代表為特定字 ’兩者同義;將符合特定字詞之字詞剔除514,以 單一或單一字詞取代符合特定之字詞或兩者取其 一:如取郵遞區號,,950”而不取,,台東縣,,字詞;、 區隔符號亦屬特定字詞,將其剔除,依地址切割資訊 進行優化排列,最後將地址編碼為位元字串515。° 最後將文字、地址及其它資訊編碼進行排列鸪 丨’啟動辨識應用程式,開始6〇丨進行 二維條碼602影像由鏡頭設備取得, 12 1325235 將條碼602作為條碼讀取程式603的輸入,條碼讀取 程式603依條碼定義規則確認是否為可辨識的條碼 604,若為可辨識的條碼,進行錯誤檢查碼或錯誤修 正碼605,條碼編碼資訊正確的話606,將條碼讀取 程式603的結果位元字串做為解碼程式607的輸入, 進行解碼作業,資訊組合程式608依解碼程式607 的輸出進行字串組合,使用者可依資訊組合程式608 的輸出結果選擇撥出電話609、傳送訊息610、新增 至連絡人611、傳送電子郵件612或取消,最後結束 611讀碼解碼作業。 請參照第7圖,其繪示的是依照本發明一較佳實 施例的一種二維條碼資訊之編碼與解碼系統及方 法,係有關於解碼程式的解碼方法。解碼程式接收到 等待解碼的位元字串701,首先依條碼攔位屬性判讀 是否為文字解碼702位元字串,若是則進行代碼比對 703,判別是否有預先定義的代碼704,若有則執行 代碼取代程式705,其次判讀是否為地址解碼706, 若是則載入規則集707,依規則切割地址資訊708, 進行特定字詞比對,若有字詞集709所定義的特定字 詞,則將地址特定字詞還原新增710,再來依規則組 合地址字串711;最後將各區塊資訊依條碼定義解 碼,將各區塊資訊組合成字串713,將結果顯示714 於輸出界面上。 【圖示簡單說明】 第1圖繪示的是一般以行動設備讀取二維條碼資訊及 13 1325235 應用示意圖; 第2圖繪示的是本發明之編碼視覺化示意圖; 第3圖繪示的是本發明之編碼與解碼的架構示意圖; 第4圖繪示的是本發明之產生條碼於顯示媒體上流程 架構不意圖, 第5圖繪示的是本發明之編碼流程示意圖; 第6圖繪示的是本發明之以行動設備或具有攝影機的 電腦設備,利用其鏡頭設備讀取二維條碼解碼並 顯示結果於輸出界面流程架構示意圖; 第7圖繪示的是本發明之解碼流程示意圖。 【主要元件符號說明】 1(U、103 :電腦設備 102 :印表機 104 :紙張 105,106 :行動設備 107 :通訊錄 201,302,311,402 :使用界面 202 :輸入資料檔 203 :二維條碼位元字串 301,306,401 :使用者 3051325235 顯示媒體 條碼讀取設備 307 303 ,304,308,309,310, 403, 404, 405, 406, 407, 408 ,409,410,4U,501, 502, 503, 505, 506, 507, 508 ,510,5U,513,514, 515, 516, 517, 518, 601, 603 ,604,605,606 ’ 607 ’ 608, 609, 610, 611 » 612, 613 ,701,702,703,704, 705, 706, 707, 708, 710, 711 504 602 712,713,714 :程序及方法 509,512,709 :資料檔 二維條碼 十、申請專利範圍: 1. 一種表記文件文字資訊的二維條碼之編碼方法,其特 徵在於先依據各文件攔位特性來減少有關地址及常 用字詞之文字數量,然後在依二維條碼編碼方法產生 二維條碼,該編喝方法包含以下步驟: (a) 使用者啟動二維條碼編碼應用軟體; (b) 二維條碼蝙碼應用軟體產生包含至少一個條 碼顯不方式選項及至少一個文字輸入攔位之文件 輸入界面; (c) 使用者在文件輪入界面選擇條碼輸出顯示方式 及在各文字輸入攔位輸入文字; 15On the 6th floor of 88th Lane 88, Rule Set 509 defines the rules for the interval symbols (such as counties, cities, and roads) listed in the word set 512. The rule comparison program 510' is then in the order defined by the rule set 509. The meta-array and cull specific characters or segmentation symbols 514 to compress the encoded information. In the above example, the Chinese address is defined by the rule set 509. The rule comparison program 410 is executed by the county, city, and road, and the address is cut into 950 Taitung County, Taitung City, Minghua Road, and 88th Lane 88, No. 88, and the information and words of each section. The word set 512 performs a word matching program 511 to determine whether it is an address-specific word 513. For example, the postal code number "950" and the "Taitong County" word are synonymous with the specific word '; the words corresponding to the specific word will be met. Word culling 514, replacing a specific word with a single or single word or one of the two: if the postal area code is used, 950" without taking, Taitung County, the word; Words, remove them, optimize the arrangement according to the address cutting information, and finally encode the address into the bit string 515. ° Finally, arrange the text, address and other information encodings to start the identification application, start 6〇丨The 2D barcode 602 image is obtained by the lens device, 12 1325235 is used as the input of the barcode reading program 603, and the barcode reading program 603 confirms whether it is the identifiable barcode 604 according to the barcode definition rule. The bar code is subjected to an error check code or an error correction code 605. If the bar code encoding information is correct, the result bit string of the bar code reading program 603 is used as an input of the decoding program 607 to perform a decoding operation, and the information combination program 608 decodes. The output of the program 607 is combined in a string, and the user can select the outgoing call 609, transmit the message 610, add to the contact 611, transmit the email 612 or cancel according to the output result of the information combination program 608, and finally end the 611 reading decoding. Please refer to FIG. 7 , which illustrates a system and method for encoding and decoding two-dimensional barcode information according to a preferred embodiment of the present invention, and relates to a decoding method for a decoding program. The decoding program receives a wait for decoding. The bit string 701 first determines whether the 702-bit string is decoded for the text according to the barcode blocking attribute. If yes, the code comparison 703 is performed to determine whether there is a predefined code 704. If so, the code is replaced by the program 705. Secondly, it is interpreted as address decoding 706. If yes, the rule set 707 is loaded, and the address information 708 is cut according to the rule to perform a specific word ratio. Yes, if there is a specific word defined by the word set 709, the address specific word is restored by 710, and then the address string 711 is combined according to the rule; finally, the block information is decoded according to the bar code definition, and each area is The block information is combined into a string 713, and the result is displayed 714 on the output interface. [Simplified illustration] FIG. 1 is a schematic diagram of generally reading a two-dimensional bar code information and a 13 1325235 application device by using a mobile device; Shown is a schematic diagram of the coding visualization of the present invention; FIG. 3 is a schematic diagram of the architecture of the encoding and decoding of the present invention; FIG. 4 is a schematic diagram showing the flow of the barcode generated on the display medium of the present invention, 5 is a schematic diagram of the encoding process of the present invention; FIG. 6 is a computer device with a mobile device or a camera of the present invention, which uses the lens device to read the 2D barcode decoding and display the result in the output interface flow. Schematic diagram of the architecture; Figure 7 is a schematic diagram of the decoding process of the present invention. [Main component symbol description] 1 (U, 103: computer device 102: printer 104: paper 105, 106: mobile device 107: address book 201, 302, 311, 402: use interface 202: input data file 203: two Dimensional barcode bit string 301, 306, 401: user 3051325235 displays media barcode reading devices 307 303, 304, 308, 309, 310, 403, 404, 405, 406, 407, 408, 409, 410, 4U, 501, 502, 503, 505, 506, 507, 508, 510, 5U, 513, 514, 515, 516, 517, 518, 601, 603, 604, 605, 606 ' 607 ' 608, 609, 610, 611 » 612, 613, 701, 702, 703, 704, 705, 706, 707, 708, 710, 711 504 602 712, 713, 714: procedures and methods 509, 512, 709: data file two-dimensional bar code ten, patent application scope 1. A method for encoding a two-dimensional barcode of document text information, which is characterized in that the number of characters of the address and common words is reduced according to the characteristics of each file blocking, and then the two-dimensional barcode is generated according to the two-dimensional barcode encoding method. The method of compiling includes the following steps: (a) The user activates the 2D barcode encoding application software; (b) The 2D barcode barcode application software generates a file input interface including at least one barcode display mode option and at least one text input barrier; (c) the user turns in the file The interface selects the bar code output display mode and inputs text in each text input block; 15

Claims (1)

3051325235 顯示媒體 條碼讀取設備 307 303 ,304,308,309,310, 403, 404, 405, 406, 407, 408 ,409,410,4U,501, 502, 503, 505, 506, 507, 508 ,510,5U,513,514, 515, 516, 517, 518, 601, 603 ,604,605,606 ’ 607 ’ 608, 609, 610, 611 » 612, 613 ,701,702,703,704, 705, 706, 707, 708, 710, 711 504 602 712,713,714 :程序及方法 509,512,709 :資料檔 二維條碼 十、申請專利範圍: 1. 一種表記文件文字資訊的二維條碼之編碼方法,其特 徵在於先依據各文件攔位特性來減少有關地址及常 用字詞之文字數量,然後在依二維條碼編碼方法產生 二維條碼,該編喝方法包含以下步驟: (a) 使用者啟動二維條碼編碼應用軟體; (b) 二維條碼蝙碼應用軟體產生包含至少一個條 碼顯不方式選項及至少一個文字輸入攔位之文件 輸入界面; (c) 使用者在文件輪入界面選擇條碼輸出顯示方式 及在各文字輸入攔位輸入文字; 15 (d) 二維條碼編碼應用軟體依據欄位規則集之特 定字詞和格式將各文字輸入攔位之輸入文字區分 為常用字詞群、地址群及其他資訊群之一種; (e) 二維條碼編碼應用軟體將屬於常用字詞群的 文字,依據預先定義的該文字輸入欄位之字詞集 及頻率比對程式,以單字或單一字碼取代; (f) 二維條碼編碼應用軟體將屬於地址群的文 子依據該文子輪入攔位之預先定義的地址規則 集’使用頻率比對程式找尋代表相同資訊之字 詞,然後使用切割與重組程式將所找到的第一個 字詞以單字或單一字碼取代並刪除其他代表相同 資訊之字詞; (g) 二維條碼編碼應用軟體將各文字輸入欄位的 處理後文字依序進行字串組合排列,然後再依二 維條碼編碼方法產生二維條碼圖形; ⑹二維條蜗編褐應用軟體傳遞二維條碼圖形到 所選擇的條竭輸出顯示方式之顯示農置上。 如申明專利範圍第1項所述之:維條碼之編碼方法, 其文件輸人界面包含文字輸入框(Text B〇x)、選擇輸 (Select Opti〇ns > Check Box , Radio B〇x)^# 1325235 3.如 4·如申請專利_第〗項所述之二維條碼 2¾ fcL #4 ^ ,» 碼碼方法,其頻 羊比對程式係星字詞集與輸入資料比對, 出最佳取代的單字或單一字碼 迷經一演算法計算 5. 如申細咖第!項所述之二維條竭之 詞集係為事歧義或利用演算法而得之字詞其子6. 如申請專利範圍第i項所述之二維其地址規則集係包含切割與重組規則及地扁瑪方法, 址字詞集 7.如申請專利範圍第6項所述之二 其地址字詞集為事先定義之字詞 維條碼之編碼方法, 8. —種表記文件文字資訊的二維條碼 碼方法包含以下步驟·· 之解碼方法,該解 ⑷使用者啟動二維條瑪解碼應用軟體來㈣ 條碼圖形, 二維 1325235 ⑻二維條碼解韻用軟體對二維條碼圖形使用 二維條碼解碼方法解析出字串; (c) 二維條碼解碼應用軟體將解析出字串切割為 各文字輸入攔位所對應之字串; (d) 二維條碼解碼應用軟體依據攔位規則集之特 疋早字或單-字碼和格式將各文字輸人攔位對應 之子串區分為常用字詞群、地址群及其他資訊群 之一種,· (e) 二維條碼解碼應用軟體將屬於常用字詞群的 文子,依據預先定義的該文字輸入欄位之字詞 集,使用代碼取代程式比對文字與字詞集中的代 碼,若比對符合則代碼取代程式以該代碼所對應 的字詞取代比對文字,取代完畢後產生還原字串; (f) 二維條碼解碼應用軟體將屬於地址群的文 字,依據預先定義的該文字輸入欄位之地址規則 集’使用切割與重組程式將文字切割分開,然後 使用代碼取代程式比對切開文字與地址規則集中 的代碼,若比對符合則代碼取代程式以該代碼所 對應的字詞取代比對文字並且使用切割與重組程 式依地址規則集的規則新增字詞於切開文字中, 最後切割與重組程式將處理完的字詞合成為還原 字串; 18 1325235 (g)二維條碼解碼應用軟體產生包含各文字輸入 欄位之文件輸入界面,然後顯示各文字輸入攔位 之還原字串於文件輸入界面的對應攔位中。 9.如申請專利範圍第8項所述之二維條碼之解碼方法, 其地址規則集係包含切割與重組規則及地址字詞集。 193051325235 Display media barcode reading device 307 303, 304, 308, 309, 310, 403, 404, 405, 406, 407, 408, 409, 410, 4U, 501, 502, 503, 505, 506, 507, 508, 510, 5U, 513, 514, 515, 516, 517, 518, 601, 603, 604, 605, 606 ' 607 ' 608, 609, 610, 611 » 612, 613, 701, 702, 703, 704, 705, 706, 707, 708, 710, 711 504 602 712, 713, 714: procedures and methods 509, 512, 709: data file two-dimensional barcode ten, patent application scope: 1. a two-dimensional barcode encoding the document text information The method is characterized in that the number of words related to addresses and common words is reduced according to the characteristics of each file blocking function, and then the two-dimensional bar code is generated according to the two-dimensional bar code encoding method, and the method of compiling includes the following steps: (a) user Launching the 2D barcode encoding application software; (b) The 2D barcode barcode application software generates a file input interface including at least one barcode display mode option and at least one text input barrier; (c) the user enters the file boundary Select the bar code output display mode and input text in each text input block; 15 (d) 2D bar code coding application software divides the input text of each text input block into common words according to the specific words and format of the field rule set a group of word groups, address groups, and other information groups; (e) The two-dimensional bar code encoding application software will belong to the words of the common word group, according to the predefined word input field and frequency matching program of the text input field, Substitute a single word or a single word; (f) The 2D barcode encoding application software will use the pre-defined address rule set of the text group to search for the words representing the same information according to the pre-defined address rule set of the article. Use the cut and reorganize program to replace the first word found with a single word or a single word and delete other words that represent the same information; (g) 2D barcode encoding application software to enter the text into the processed text of the field The sequence is arranged in a string, and then the two-dimensional bar code pattern is generated according to the two-dimensional bar code coding method; (6) two-dimensional snail knitting application software transmission The 2D bar code graphic is sent to the display of the selected output display mode. As described in the first paragraph of the patent scope: the encoding method of the bar code, the file input interface includes a text input box (Text B〇x), and a selection input (Select Opti〇ns > Check Box, Radio B〇x) ^# 1325235 3. For example, if the 2D barcode 23⁄4 fcL #4 ^ , » code method described in the patent application _ 〗 〖, the frequency sheep comparison program star word set and input data comparison, out The best-replaced single-word or single-word puzzle is calculated by an algorithm. 5. Such as the fine coffee! The two-dimensional set of words described in the item is a ambiguity or a word obtained by using an algorithm. The two-dimensional address rule set described in item i of the patent application includes cutting and recombination rules. And the flat-horse method, the address word set 7. As stated in the sixth paragraph of the patent application scope, the address word set is a pre-defined word-code bar code encoding method, 8. The trellis code method includes the following steps: · The solution (4) The user activates the 2D bar code decoding application software (4) Bar code graphics, 2D 1325235 (8) 2D bar code solution rhyme software uses 2D bar code graphics 2D The barcode decoding method parses the string; (c) the two-dimensional barcode decoding application software cuts the parsed string into a string corresponding to each text input block; (d) the two-dimensional barcode decoding application software according to the block rule set The special early word or single-word code and format distinguishes the substring corresponding to each character input block into a common word group, an address group and other information groups. (e) The 2D barcode decoding application software will belong to the common word. The group of texts, according to the predefined set of words in the text input field, use the code to replace the code in the program and the word set. If the comparison matches, the code replaces the program with the word corresponding to the code. For the text, the replacement string is generated after the replacement; (f) The 2D barcode decoding application software will belong to the address group of the text, according to the pre-defined address input rule set of the text field, using the cutting and recombining program to separate the text And then use the code instead of the program to cut the code in the text and address rule set. If the match matches, the code replaces the program to replace the match word with the word corresponding to the code and uses the cutting and recombining program according to the rules of the address rule set. Adding words in the cut text, the final cutting and recombining program synthesizes the processed words into a restored string; 18 1325235 (g) The 2D barcode decoding application software generates a file input interface including each text input field, and then displays The restored string of each text input block is in the corresponding block of the file input interface. 9. The method for decoding a two-dimensional barcode according to claim 8, wherein the address rule set includes a cutting and recombination rule and an address word set. 19
TW95113227A 2006-04-13 2006-04-13 System and method for encoding and decoding information contained in a two-dimension barcode TWI325235B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW95113227A TWI325235B (en) 2006-04-13 2006-04-13 System and method for encoding and decoding information contained in a two-dimension barcode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW95113227A TWI325235B (en) 2006-04-13 2006-04-13 System and method for encoding and decoding information contained in a two-dimension barcode

Publications (2)

Publication Number Publication Date
TW200740128A TW200740128A (en) 2007-10-16
TWI325235B true TWI325235B (en) 2010-05-21

Family

ID=45074241

Family Applications (1)

Application Number Title Priority Date Filing Date
TW95113227A TWI325235B (en) 2006-04-13 2006-04-13 System and method for encoding and decoding information contained in a two-dimension barcode

Country Status (1)

Country Link
TW (1) TWI325235B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI692724B (en) * 2012-11-13 2020-05-01 共同印刷股份有限公司 QR code, QR code creation system and analysis program

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI354933B (en) 2007-12-28 2011-12-21 Wistron Corp Preamble data generating method and related appara

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI692724B (en) * 2012-11-13 2020-05-01 共同印刷股份有限公司 QR code, QR code creation system and analysis program

Also Published As

Publication number Publication date
TW200740128A (en) 2007-10-16

Similar Documents

Publication Publication Date Title
Kato et al. Pervasive 2D barcodes for camera phone applications
Zhang et al. Viscode: Embedding information in visualization images using encoder-decoder network
EP1513074A2 (en) Apparatus and method for generating reusable composite components during dynamic document construction
JP2007193409A (en) Image processor and image processing method
CN101799800B (en) Method for coding electronic book, electronic newspaper and electronic magazine with hyperlink
WO2010015184A1 (en) Generating method, decoding method and device of 2-dimensional barcode
JP2004153798A5 (en)
JPWO2011087030A1 (en) 2D code, code generation system, program, printed matter
TWI325235B (en) System and method for encoding and decoding information contained in a two-dimension barcode
JP2008042259A (en) Image processing system, image processing method and program
RU2631164C2 (en) Method of animating sms-messages
CN108495174B (en) Method and system for generating video file by H5 page effect
JP2005215951A (en) Encoding or decoding method for document data, and program therefor
Fang Offline QR code authorization based on visual cryptography
Abas et al. Expanding the data capacity of QR codes using multiple compression algorithms and base64 encode/decode
CN115512378A (en) Chinese environment mathematical formula extraction and identification method based on Transformer
RU2648636C2 (en) Storage of the content in converted documents
CN112417087A (en) Character-based tracing method and system
JP2012015775A (en) Image processor
JP2004206447A (en) Two-dimensional encoding device, and two-dimensional code reproducing unit
JP2008227910A5 (en)
JP5807592B2 (en) Encoding method, encoding apparatus, and computer program
JP2008158581A (en) Image processor, its control method, program, and storage medium
JP2007148751A (en) Encoding method, encoding device, encoding program and decoding device for structured document and data structure for encoded structured document
CN102426581A (en) Method and device for generating file preview

Legal Events

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