[go: up one dir, main page]

TWI578236B - Method for creating a triggerable barcode icon for electronic document and transformation system thereof - Google Patents

Method for creating a triggerable barcode icon for electronic document and transformation system thereof Download PDF

Info

Publication number
TWI578236B
TWI578236B TW105111502A TW105111502A TWI578236B TW I578236 B TWI578236 B TW I578236B TW 105111502 A TW105111502 A TW 105111502A TW 105111502 A TW105111502 A TW 105111502A TW I578236 B TWI578236 B TW I578236B
Authority
TW
Taiwan
Prior art keywords
graphic
file
bar code
barcode
electronic file
Prior art date
Application number
TW105111502A
Other languages
Chinese (zh)
Other versions
TW201737160A (en
Inventor
蔡競賢
杜偉漢
Original Assignee
湛天創新科技股份有限公司
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 湛天創新科技股份有限公司 filed Critical 湛天創新科技股份有限公司
Priority to TW105111502A priority Critical patent/TWI578236B/en
Application granted granted Critical
Publication of TWI578236B publication Critical patent/TWI578236B/en
Publication of TW201737160A publication Critical patent/TW201737160A/en

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Description

產生可觸發動作的條碼圖形的方法與電子文件轉換系統 Method and electronic file conversion system for generating bar code graphics capable of triggering actions

本發明關於一種產生可觸發動作的條碼圖形的技術,特別是一種將電子文件上顯示的條碼圖形轉為可觸發圖形而執行條碼圖形所記載互動內容的方法與電子文件轉換系統。 The present invention relates to a technique for generating a bar code graphic capable of triggering an action, and more particularly to a method and an electronic file conversion system for converting a bar code graphic displayed on an electronic document into a triggerable graphic and performing interactive content recorded by the bar code graphic.

QR-CODE(全稱為快速響應矩陣碼,Quick Response Code)是二維條碼的一種,使用四種標準化編碼模式(數字,字母數字,字節(二進制)和漢字)來存儲資料。QR-CODE的主要應用可分成四類:自動化文字傳輸,讓人可以輕鬆取得地址、電話號碼、行事曆等;數位內容下載,其中記載網頁位址讓人輕易連線到特定位址下載檔案;網址快速連結,提供使用者進行網址快速連結、電話快速撥號等;身分鑑別與商務交易,可以提供交易防偽機制,利用商品提供的QR-CODE連結至交易網站,付款完成後系統發回QR-CODE當成購買身分鑑別,可應用於購買票券、販賣機等。在消費者端,也開始有企業提供了商品品牌確認的服務,透過QR-CODE連結至統一驗證中心,去核對商品資料是否正確,並提供生產履歷供消費者查詢。 QR-CODE (collectively referred to as Quick Response Code) is a type of 2D barcode that uses four standardized encoding modes (numbers, alphanumerics, bytes (binary) and Chinese characters) to store data. The main applications of QR-CODE can be divided into four categories: automatic text transmission, which makes it easy to obtain address, phone number, calendar, etc.; digital content download, which records the address of the web page to easily connect to a specific address to download the file; Quick link to the website, providing users with quick link to the website, speed dialing, etc.; identity identification and business transactions, can provide transaction anti-counterfeiting mechanism, use the QR-CODE provided by the product to link to the transaction website, and send back the QR-CODE after the payment is completed. As a purchase identity, it can be applied to purchase tickets, vending machines, and the like. On the consumer side, companies have also begun to provide goods brand confirmation services, link to the unified verification center through QR-CODE, check whether the product information is correct, and provide production history for consumers to inquire.

如QR-CODE的二維條碼一般的讀取方式為利用具有照相機模組的行動裝置拍攝後以軟體解碼,以取得其中資訊;習知技術 也有提供應用在個人電腦(PC)上的解碼軟體,能夠直接擷取顯示在電腦螢幕上的QR-CODE而解碼與取得其中資訊。 For example, QR-CODE's 2D barcode is generally read by a mobile device with a camera module and then decoded by software to obtain information. Conventional technology There is also a decoding software for application on a personal computer (PC), which can directly capture the QR-CODE displayed on the computer screen to decode and obtain the information.

由於QR-CODE帶來的便利性,所以出版業者或個人作家在製作書籍或雜誌時,逐漸會在書籍或雜誌內容中添加QR-CODE,以利民眾者在閱讀書籍或雜誌的過程中,能獲取出版業者或個人作家想提供給民眾者的資訊,例如出版社的官網、個人作家的部落格、出版社的促銷方案與行銷活動等,另可能為廣告頁內含的QR-CODE。對於此類列印在紙本書籍或雜誌的QR-CODE,讀者可以使用手機或平板等智慧型裝置拍攝而解碼其中資訊。 Due to the convenience brought by QR-CODE, publishers or individual writers gradually add QR-CODE to books or magazines when making books or magazines, so that people can read books or magazines. Get information that the publisher or individual writer wants to provide to the public, such as the official website of the publisher, the blog of the individual writer, the promotion plan and marketing activities of the publisher, etc., and may also be the QR-CODE included in the advertisement page. For QR-CODE printed on paper books or magazines, readers can use a smart device such as a mobile phone or tablet to capture and decode the information.

當讀者逐漸利用智慧型裝置來閱讀電子書籍及雜誌時,原本載於電子書籍及雜誌的QR-CODE仍需要另一部具有照相模組的智慧型裝置讀取,並得出其中資訊,產生不方便也不切實際的狀況。 When readers gradually use smart devices to read e-books and magazines, the QR-CODE originally contained in e-books and magazines still needs another smart device with a camera module to read and get the information, resulting in no Convenient and unrealistic.

為了解決上述需要另一部智慧型裝置掃描電子書中QR-CODE或其他條碼的不方便的問題,習知技術中,業者仍可採用人工方式,在電子書中所有的QR-Code位置覆蓋一個新的QR-Code圖檔,再將QR-Code的資料利用超連結的方式內嵌在新的QR-Code圖檔中,此方式可以讓讀者閱讀電子書時能以點擊人工覆蓋的QR-Code的圖檔而獲得原QR-Code所記載的資料,但此方式卻是浪費人力與耗費相當的時間成本。 In order to solve the above inconvenient problem that another smart device needs to scan the QR-CODE or other bar code in the e-book, in the prior art, the operator can still manually use the method to cover all the QR-Code positions in the e-book. The new QR-Code file, and then the QR-Code data is embedded in the new QR-Code file by means of hyperlinks. This way, the reader can read the e-book with the QR-Code manually clicked. The image file of the original QR-Code is obtained, but this method is a waste of manpower and a considerable time cost.

本發明揭露書揭示一種產生可觸發動作的條碼圖形的方法與電子文件轉換系統,藉由此系統,可以使得讀者在閱覽載有條碼圖形的電子文件時,可以讓原本需要利用智慧型裝置掃描而執行其中條碼圖形的動作轉換為可以經由讀者觸按而執行其中記載動作的互動圖形,讓讀者可以順利地獲取電子文件中條碼圖形所要傳達的資訊。 The present invention discloses a method and an electronic file conversion system for generating a bar code pattern capable of triggering an action, whereby the system allows a reader to scan an electronic file carrying a bar code graphic by using a smart device. The action of executing the bar code graphic is converted into an interactive graphic in which the action can be recorded by the reader, so that the reader can smoothly obtain the information to be conveyed by the bar code graphic in the electronic file.

根據揭露書所載實施例之一,發明涉及的產生可觸發動作的條碼圖形的方法主要係先解析載於電子文件中的至少一個條碼圖形以及其中所載的訊息,再將各條碼圖形轉換為一可觸發動作的互動圖形。 According to one of the embodiments disclosed in the disclosure, the method for generating a barcode pattern capable of triggering an action mainly analyzes at least one barcode pattern contained in an electronic file and a message contained therein, and then converts each barcode pattern into An interactive graphic that triggers an action.

根據實施例,產生可觸發動作的條碼圖形的方法主要流程包括取得一電子文件後,先轉換電子文件為一圖檔,之後以圖形處理手段解析圖檔內的至少一個條碼圖形,並取得各條碼圖形的資訊,相關資訊如條碼圖形所記載的互動內容,以及在電子文件中的位置與大小,互動內容包括原條碼圖形欲傳達的各種訊息,可以網頁連結、資訊傳輸、檔案下載取得,或為身份識別的資訊。 According to an embodiment, a main process of generating a barcode pattern capable of triggering an action includes: after obtaining an electronic file, first converting the electronic file into an image file, and then parsing at least one barcode pattern in the image file by using a graphic processing method, and obtaining each barcode Graphical information, related information such as the interactive content recorded in the bar code graphic, and the location and size in the electronic file. The interactive content includes various information to be conveyed by the original bar code graphic, which can be obtained by web link, information transmission, file download, or Identification information.

所得到的條碼圖形對應形成一互動圖形,並依據各條碼圖形的資訊編輯電子文件,以嵌入各條碼圖形記載的互動內容,之後使用互動圖形建立一新的電子文件。 The obtained barcode pattern correspondingly forms an interactive graphic, and edits the electronic file according to the information of each barcode graphic to embed the interactive content recorded in each barcode graphic, and then uses the interactive graphic to create a new electronic file.

新的電子文件將可傳輸至一電子文件服務平台,提供使用者以智慧型裝置閱覽,由於原本文件中內嵌的條碼圖形已經成為可以觸按而獲取其中資訊的互動圖形,因此增加讀者取得其中資訊的方便性。 The new electronic files will be transmitted to an electronic document service platform, providing users with a smart device to view. Since the barcode graphics embedded in the original document have become interactive images that can be accessed by tapping, the readers are added. The convenience of information.

在另一實施例中,在產生可觸發動作的條碼圖形的方法中,經解析得到由電子文件轉換的圖檔後,若文件的某頁中具有兩個或以上的條碼圖形時,將須先遮蔽所獲得的第一條碼圖形後,才能順利處理另一條碼圖形。方法實施例中,先取得某頁的第一條碼圖形,並取得第一條碼圖形的資訊,接著形成對應第一條碼圖形的第一互動圖形,再依據第一條碼圖形的資訊編輯電子文件,嵌入第一條碼圖形記載的互動內容。此時,可以先以一圖形遮蔽第一條碼圖形,並再次解析圖檔,若得到圖檔內的第二條碼圖形,則繼續取得第二條碼圖形的資訊、形成對應第二條碼圖形的第二互動圖形,以及依據第二條碼圖形的資訊編輯電子文件,嵌入第二條碼圖形記載的互動內容。最後,使用第一互動圖形與第二互 動圖形建立一新的電子文件。同理,將適用同頁包括更多條碼圖形的情況下。 In another embodiment, in the method of generating a barcode pattern capable of triggering an action, after the image file converted by the electronic file is parsed, if there are two or more barcode patterns in a page of the file, After the first barcode image obtained is masked, another barcode pattern can be processed smoothly. In the method embodiment, the first barcode graphic of a certain page is obtained first, and the information of the first barcode graphic is obtained, and then the first interactive graphic corresponding to the first barcode graphic is formed, and then the electronic file is edited according to the information of the first barcode graphic, and embedded. The interactive content recorded in the first code graphic. At this time, the first barcode pattern may be first masked by a graphic, and the image file may be parsed again. If the second barcode image in the image file is obtained, the information of the second barcode graphic is further obtained, and the second barcode pattern is formed. The interactive graphic, and the information editing electronic file according to the second barcode graphic, embed the interactive content recorded in the second barcode graphic. Finally, use the first interactive graphic and the second mutual Dynamic graphics create a new electronic file. For the same reason, the case where the same page includes more bar code graphics will be applied.

在本發明實施例中,電子文件轉換系統係以一電腦系統實現,其中具有中央處理單元與記憶體,記憶體儲存執行產生可觸發動作的條碼圖形的方法的程式集,程式集包括:經一傳輸介面自電子文件庫輸入電子文件的指令、轉換電子文件為一圖檔的指令、掃描圖檔並解析圖檔內的至少一個條碼圖形的指令、取得各條碼圖形的資訊的指令、轉換各條碼圖形為一互動圖形的指令、依據各條碼圖形的資訊編輯電子文件以嵌入各條碼圖形記載的互動內容的指令、使用互動圖形建立新的電子文件的指令,以及輸出新的電子文件至一電子文件服務平台的指令。 In the embodiment of the present invention, the electronic file conversion system is implemented by a computer system having a central processing unit and a memory, and the memory stores a program that executes a method for generating a barcode pattern that can trigger an action, and the program includes: The transmission interface inputs an instruction of the electronic file from the electronic file library, converts the electronic file into an image file instruction, scans the image file and parses at least one bar code graphic instruction in the image file, obtains information of each bar code graphic information, and converts each bar code The graphic is an instruction of an interactive graphic, an instruction to edit an electronic file according to the information of each barcode graphic to embed the interactive content recorded in each barcode graphic, an instruction to create a new electronic file using the interactive graphic, and output a new electronic file to an electronic file. Service platform instructions.

為了能更進一步瞭解本發明為達成既定目的所採取之技術、方法及功效,請參閱以下有關本發明之詳細說明、圖式,相信本發明之目的、特徵與特點,當可由此得以深入且具體之瞭解,然而所附圖式僅提供參考與說明用,並非用來對本發明加以限制者。 In order to further understand the technology, method and effect of the present invention in order to achieve the intended purpose, reference should be made to the detailed description and drawings of the present invention. The drawings are to be considered in all respects as illustrative and not restrictive

10‧‧‧智慧型裝置 10‧‧‧Smart device

101‧‧‧電子文件 101‧‧‧ electronic documents

103‧‧‧條碼圖形 103‧‧‧ barcode graphics

103’‧‧‧互動圖形 103’‧‧‧ interactive graphics

105‧‧‧資訊提示框 105‧‧‧Information Alert Box

21‧‧‧電子文件庫 21‧‧‧Electronic Document Library

20‧‧‧電子文件轉換系統 20‧‧‧Electronic Document Conversion System

23‧‧‧電子文件服務平台 23‧‧‧Electronic Document Service Platform

201‧‧‧使用者裝置一 201‧‧‧User device one

202‧‧‧使用者裝置二 202‧‧‧User device II

203‧‧‧使用者裝置三 203‧‧‧User device three

301‧‧‧輸入單元 301‧‧‧ input unit

302‧‧‧轉換單元 302‧‧‧Transition unit

303‧‧‧掃描單元 303‧‧‧ scan unit

304‧‧‧解析單元 304‧‧‧ analytical unit

305‧‧‧圖形產生單元 305‧‧‧Graphic generation unit

306‧‧‧編輯單元 306‧‧‧editing unit

307‧‧‧電子文件形成單元 307‧‧‧Electronic document forming unit

308‧‧‧輸出單元 308‧‧‧Output unit

801‧‧‧文件內容 801‧‧‧ file content

803‧‧‧二維條碼 803‧‧‧2D barcode

805‧‧‧互動圖形 805‧‧‧ interactive graphics

805’‧‧‧文件中互動圖形 Interactive graphics in 805’‧‧‧ documents

步驟S401~S417‧‧‧產生可觸發動作的條碼圖形流程 Steps S401~S417‧‧‧ generate bar code graphics flow that can trigger actions

步驟S501~S527‧‧‧產生可觸發動作的條碼圖形流程 Steps S501~S527‧‧‧ generate bar code graphics flow that can trigger actions

步驟S601~S611‧‧‧產生可觸發動作的條碼圖形流程 Steps S601~S611‧‧‧ generate bar code graphics flow that can trigger actions

步驟S701~S711‧‧‧產生可觸發動作的條碼圖形流程 Steps S701~S711‧‧‧ generate bar code graphics flow that can trigger actions

圖1顯示使用本發明方法產生可觸發動作的條碼圖形的情境示意圖;圖2產生本發明可觸發動作的條碼圖形的電子文件轉換系統架構示意圖;圖3顯示本發明產生可觸發動作的條碼圖形的電子文件轉換系統功能模組實施例圖;圖4顯示之流程描述產生可觸發動作的條碼圖形的方法的實施例之一;圖5顯示之流程描述產生可觸發動作的條碼圖形的方法的實施例之二; 圖6顯示之流程描述產生可觸發動作的條碼圖形的方法的實施例之三;圖7顯示之流程描述產生可觸發動作的條碼圖形的方法的實施例之四;圖8顯示使用本發明方法產生可觸發動作的條碼圖形的流程示意圖。 1 is a schematic diagram showing the context of a bar code graphic for generating a triggerable action using the method of the present invention; FIG. 2 is a schematic diagram showing the architecture of an electronic file conversion system for generating a bar code graphic capable of triggering an action of the present invention; FIG. 3 is a view showing the bar code pattern of the present invention for generating a triggerable action. Electronic file conversion system function module embodiment diagram; FIG. 4 shows a flow chart describing one embodiment of a method of generating a bar code pattern that can trigger an action; FIG. 5 shows a flow chart describing an embodiment of a method of generating a bar code pattern that can trigger an action of two; Figure 6 shows a flow describing a third embodiment of a method of generating a bar code pattern that can trigger an action; Figure 7 shows a flow describing a fourth embodiment of a method of generating a bar code pattern that can trigger an action; Figure 8 shows the use of the method of the present invention to produce A schematic diagram of the flow of a bar code graphic that can trigger an action.

根據揭露書所記載實施例,關於一種產生可觸發動作的條碼圖形的發明,利用電子文件轉換系統將電子文件上顯示的條碼圖形轉為可觸發圖形,讓讀者無需在使用智慧型裝置閱讀電子文件時還需要另一部智慧型裝置掃描而執行其中條碼圖形的內容,取而代之的是轉換為可讓讀者直接觸按後取得原條碼圖形所欲傳遞的訊息的互動圖形,藉由此互動圖形提供的一網頁連結、傳遞特定資訊、提供檔案下載,或利用條碼圖形進行身份識別。 According to the embodiment disclosed in the disclosure, with respect to an invention for generating a bar code pattern capable of triggering an action, an electronic file conversion system is used to convert a bar code graphic displayed on an electronic file into a triggerable graphic, so that the reader does not need to read the electronic file using the smart device. At the same time, another smart device is required to scan and execute the content of the bar code graphic, and instead is converted into an interactive graphic that allows the reader to directly touch the message desired to be transmitted by the original bar code graphic, thereby providing the interactive graphic. A web link, delivery of specific information, provision of file downloads, or identification using barcode graphics.

其中條碼圖形如原本列印於紙本文件(書籍、報章、雜誌等)上的一維條碼或二維條碼(如QR碼),藉由本發明提出的方法可以在閱讀電子文件時,將其中條碼圖形轉換為可觸發執行動作的圖形。 The bar code graphic is a one-dimensional bar code or a two-dimensional bar code (such as a QR code) originally printed on a paper document (book, newspaper, magazine, etc.), and the bar code can be used when reading the electronic file by the method proposed by the invention. The graphic is converted to a graphic that triggers the action.

本發明另提出一解決特定問題的方案,與一般利用智慧型裝置以高影像解析能力拍攝條碼圖形解碼不同的是,例如,出版社製作電子書籍或雜誌的品質不一,所以文件中的條碼圖形(如QR碼)圖案的清晰程度也有所不同,使得利用軟體程式掃描與解碼時,效能與成功率會被條碼圖形的圖形清晰度影響。本揭露書描述的發明對此提出一解決方案。 The present invention further proposes a solution to a specific problem, which is different from the general use of a smart device for capturing bar code graphics with high image resolution capability. For example, a publishing house produces electronic books or magazines of different quality, so the bar code graphics in the file The clarity of the pattern (such as QR code) is also different, so that when scanning and decoding with software programs, the performance and success rate will be affected by the graphic clarity of the bar code graphic. The invention described in the present disclosure proposes a solution to this.

應用本發明產生可觸發動作的條碼圖形的方法,將可以讓原本顯示在電子文件上的條碼圖形(如一維、二維條碼)經過解析後得到其中記載的資訊,進而形成可以讓讀者能立即獲得原條碼 資訊的可直接點擊而觸發動作的條碼圖形。 The method for generating a bar code graphic capable of triggering an action by using the invention can enable the bar code graphic (such as a one-dimensional and two-dimensional bar code) originally displayed on the electronic file to be parsed to obtain the information recorded therein, thereby forming an instant access for the reader. Original barcode A bar code graphic that triggers an action by clicking directly on the message.

圖1顯示使用本發明方法產生可觸發動作的條碼圖形的情境示意圖。 Figure 1 shows a schematic diagram of a scenario for generating a bar code pattern that can trigger an action using the method of the present invention.

在圖1圖式(a)中,顯示有一智慧型裝置10,不排除可為手機、平板電腦、個人電腦等,讀者利用其中顯示屏幕閱讀電子文件101,電子文件101內某頁上顯示有一如QR碼的條碼圖形103,透過本發明揭露書提出產生可觸發動作的條碼圖形的方法,可將條碼圖形103轉換為可觸發取得其中記載內容的互動圖形103’;如圖1圖式(b),在智慧型裝置10上顯示的電子文件101中,內嵌有一可讓讀者以手指觸按後觸發動作的互動圖形103’,例如連結到特定網頁、顯示資訊、檔案下載或用於身份識別。圖1圖式(c)顯示的範例為當經讀者觸發互動圖形103’的動作後,根據其中記載內容,可以透過顯示一資訊提示框105表示其中資訊。 In the figure (a) of FIG. 1, a smart device 10 is displayed. It is not excluded that it can be a mobile phone, a tablet computer, a personal computer, etc., and the reader uses the display screen to read the electronic file 101, and the electronic file 101 displays on the page as well. The barcode pattern 103 of the QR code, through the method of the present invention, proposes a method for generating a barcode pattern that can trigger an action, and the barcode pattern 103 can be converted into an interactive graphic 103' that can trigger the content recorded therein; FIG. 1(b) The electronic file 101 displayed on the smart device 10 has an interactive graphic 103' embedded therein for triggering the action with a finger, for example, linking to a specific web page, displaying information, downloading files, or for identification. An example shown in the figure (c) of FIG. 1 is that after the action of the interactive graphic 103' is triggered by the reader, according to the content recorded therein, the information can be represented by displaying a information prompt box 105.

如圖1所示的示意圖為實現產生可觸發動作的條碼圖形的方法,其中技術係透過所提出的電子文件轉換系統執行互動圖形的轉換步驟,方法步驟主要是先以軟體方法解析載於一電子文件中的至少一個條碼圖形,每頁可能存在一個或是多個條碼圖形,再以軟體手段取得各條碼圖形所記載的資訊,例如連結的網頁位址、顯示的文字內容等,再根據各條碼圖形所記載的資訊編輯電子文件,並能將各條碼圖形轉換為一可觸發所記載資訊的互動圖形,觸發後執行的內容即為原條碼圖形所欲傳達的訊息,以此建立一新的電子文件。 The schematic diagram shown in FIG. 1 is a method for implementing a barcode pattern that can trigger a motion, wherein the technology performs a conversion step of an interactive graphic through the proposed electronic file conversion system, and the method step is mainly to first analyze the software in an electronic method. At least one bar code graphic in the file, one or more bar code graphics may exist on each page, and then the information recorded by each bar code graphic is obtained by software means, such as the linked webpage address, the displayed text content, etc., according to each bar code The information recorded in the graphic edits the electronic file, and can convert each barcode graphic into an interactive graphic that can trigger the recorded information, and the content executed after the trigger is the message to be conveyed by the original barcode graphic, thereby establishing a new electronic file.

實現此技術的手段之一係可提出以電腦系統所實現的電子文件轉換系統,如圖2顯示的產生本發明可觸發動作的條碼圖形的電子文件轉換系統架構示意圖。 One of the means for realizing this technology is to propose an electronic file conversion system implemented by a computer system, as shown in FIG. 2, which is a schematic diagram of an electronic file conversion system for generating a barcode pattern capable of triggering actions of the present invention.

其中顯示的電子文件轉換系統20係以軟體程式,或配合電路系統所實現的系統,一端透過遠端或近端連線連接一電子文件庫21,自此電子文件庫21輸入電子文件,以影像處理方法將電子文 件逐頁轉換為圖檔,利用圖形處理方法解析圖檔中的條碼圖形,並解碼取得條碼圖形中的資訊,相關資訊如條碼圖形記載的互動內容、內嵌在該電子文件中的位置與大小等。圖形處理方法的方法之一(但非用於限制本發明)係針對圖檔中各畫素(pixel)逐行或逐列掃描,以區塊影像的方式比對一維或二維條碼圖型的特徵,以取得當中符合條碼圖形的區塊。 The electronic file conversion system 20 shown therein is a software program or a system implemented by a circuit system, and one end is connected to an electronic file library 21 through a remote or near-end connection, and an electronic file is input from the electronic file library 21 to the image. Processing method will be electronic The piece is converted into a picture file page by page, and the bar code graphic in the image file is parsed by the graphic processing method, and the information in the bar code graphic is decoded and decoded, and the related information such as the interactive content recorded in the bar code graphic and the position and size embedded in the electronic file are decoded. Wait. One of the methods of the graphics processing method (but not for limiting the invention) is to scan the pixels in the image file row by row or column by column, and compare the one-dimensional or two-dimensional barcode patterns in the manner of block images. The feature is to obtain a block that conforms to the bar code graphic.

為了提供讀者可以方便互動而取得原條碼圖形記載的資訊,系統可以將條碼圖形轉換形成一對應各條碼圖形的一互動圖形,此互動圖形可以為新的電子文件中可以觸發執行互動內容的圖形,經一座標轉換而覆蓋各對應的條碼圖形,可以為另一圖案或是如原條碼圖形的圖案,依據各條碼圖形的資訊編輯電子文件,以嵌入各條碼圖形記載的互動內容,在一實施例中,可透過重新編輯電子文件檔而重新賦予互動圖形成為一軟體按鈕。之後,使用此互動圖形建立一新的電子文件。 In order to provide the information that the reader can conveniently interact and obtain the original bar code graphic, the system can convert the bar code graphic into an interactive graphic corresponding to each bar code graphic, and the interactive graphic can be a graphic that can trigger the execution of the interactive content in the new electronic file. The corresponding bar code graphic is covered by a standard conversion, and the other file or the pattern of the original bar code graphic may be edited according to the information of each bar code graphic to embed the interactive content recorded in each bar code graphic, in an embodiment. In the middle, the interactive graphic can be re-assigned as a software button by re-editing the electronic file. Then, use this interactive graphic to create a new electronic file.

新的電子文件即將原電子文件原本顯示的條碼圖形轉換為可觸發動作的互動圖形,新的電子文件將輸出(上架)至電子文件服務平台23,供使用者(如使用者裝置一201、使用者裝置二202、使用者裝置三203)以智慧型裝置下載而閱讀,特別是以特定閱讀程式(如APP)閱讀此具有可觸發動作互動圖形的電子文件。 The new electronic file converts the original barcode image displayed by the original electronic file into an interactive graphic that can trigger the action, and the new electronic file will be output (uploaded) to the electronic file service platform 23 for the user (eg, user device 201, use). The device 2202 and the user device 203) are read by the smart device, and the electronic file with the actionable interactive graphic is read by a specific reading program (such as an APP).

圖3接著顯示本發明提出的電子文件轉換系統功能模組實施例圖。 FIG. 3 is a view showing an embodiment of an electronic file conversion system function module according to the present invention.

所述的電子文件轉換系統20可以軟體程式,或配合相關電路系統,實現轉換具有可觸發動作的互動圖形的方法,電子文件轉換系統20可以一電腦系統實現,其中具有一中央處理單元與一記憶體,記憶體用以儲存執行產生可觸發動作的條碼圖形的方法的程式集,相關手段係以各功能單元表示。 The electronic file conversion system 20 can implement a method of converting an interactive graphic with a triggerable action by using a software program or a related circuit system. The electronic file conversion system 20 can be implemented by a computer system, which has a central processing unit and a memory. The memory is used to store a set of methods for performing a bar code pattern that generates a triggerable action, and the related means are represented by functional units.

電子文件轉換系統20具有一輸入單元301,實現有線或無線的傳輸介面,可以經此傳輸介面自電子文件庫21輸入電子文件, 電子文件經儲存後,交與轉換單元302,以一軟體手段逐頁轉換為圖檔,除非電子文件已經為可執行圖形處理的圖檔。之後,再以掃描單元303掃描圖檔,而解析其中是否具有可供讀取而獲得更進一步資訊的條碼圖形,經取得條碼圖形後,系統將以記憶體儲存各個條碼圖形處於電子文件的所在位置(座標、頁次)與所佔的大小(包括長寬比)。 The electronic file conversion system 20 has an input unit 301 for implementing a wired or wireless transmission interface through which an electronic file can be input from the electronic document library 21. After the electronic file is stored, it is transferred to the conversion unit 302 and converted into a picture file by a software means, unless the electronic file is already an image file that can be processed by the graphic. Then, the scanning unit 303 scans the image file to analyze whether there is a barcode graphic for reading further information. After obtaining the barcode graphic, the system stores the barcode image in the location of the electronic file. (coordinates, pages) and size (including aspect ratio).

系統再以解析單元304,解碼所取得的條碼圖形,取得當中的互動內容,相關互動內容例如網頁連結、資訊傳輸、檔案下載或身份識別等動作。此時,系統以圖形產生單元305將此條碼圖形轉換為一互動圖形,互動圖形的較佳實施例係用以覆蓋原電子文件中對應的條碼圖形,可以一圖案表示,讓讀者知道此處條碼圖形已經成為可觸按的按鈕;或可採用原條碼圖形,只是改變而賦予可觸按的功能;或可改變圖形顏色、形成閃動圖形等方式,提醒讀者可以觸按而取得其中欲傳遞的訊息。 The system further decodes the obtained barcode pattern by the parsing unit 304, and obtains the interactive content, such as web link, information transmission, file download or identity recognition. At this time, the system converts the barcode pattern into an interactive graphic by the graphic generating unit 305. The preferred embodiment of the interactive graphic is used to cover the corresponding barcode graphic in the original electronic file, and can be represented by a pattern to let the reader know the barcode here. The graphic has become a touchable button; or the original bar code graphic can be used, but the change can be made to give a touchable function; or the graphic color can be changed to form a flashing graphic, etc., to remind the reader to touch and obtain the desired to be transmitted. message.

此時,系統的編輯單元306將編輯電子文件,依據各條碼圖形的資訊編輯電子文件以嵌入各條碼圖形記載的互動內容,加入可觸發特定動作的互動圖形。舉例來說,電子文件可以包括有內容檔(如pdf檔)與一標籤檔(如xml檔),編輯時,可以編輯內容檔使之內嵌取代原條碼圖形的互動圖形,可以編輯標籤檔使得文件內嵌原記載於條碼圖形內的互動內容,例如可以在互動圖形對應的位置加入超連結(hyperlink)、或提供資訊傳輸的內容、或提供檔案下載的連結,或是身份識別的功能等語法。 At this time, the editing unit 306 of the system will edit the electronic file, edit the electronic file according to the information of each barcode graphic to embed the interactive content recorded in each barcode graphic, and add an interactive graphic that can trigger a specific action. For example, the electronic file may include an content file (such as a pdf file) and a tag file (such as an xml file). When editing, the content file may be edited to replace the interactive graphic of the original bar code graphic, and the tag file may be edited. The file embeds the interactive content originally recorded in the bar code graphic, for example, a hyperlink may be added at a position corresponding to the interactive graphic, or a content for providing information transmission, a link for providing file downloading, or a function for identification function. .

最後,系統將以電子文件形成單元307重新建立新的電子文件,特別是具有可觸發動作的互動圖形的電子文件,進而透過輸出單元308輸出至電子文件服務平台23,提供終端讀者下載閱讀與使用。 Finally, the system will re-create a new electronic file by the electronic file forming unit 307, in particular, an electronic file having an interactive graphic that can trigger the action, and then output to the electronic file service platform 23 through the output unit 308 to provide the terminal reader to download and use. .

在一實施例中,在用以解析與轉換電子文件中條碼圖形的手段中,此類電子文件轉檔程式及辨識解碼QR碼的程式可以內嵌在 閱讀電子文件的程式(如APP)當中,當讀者在閱讀電子文件時,閱讀電子文件的閱讀程式將先偵測到電子書當中具有QR碼等的條碼圖形,於是閱讀程式就會呼叫電子文件轉檔程式及辨識解碼程式進行辨識與解碼作業,當完成辨識解碼後取得條碼圖形內記載的資訊。 In an embodiment, in the means for parsing and converting the barcode pattern in the electronic file, such an electronic file conversion program and a program for recognizing the decoded QR code may be embedded in the In the program for reading electronic files (such as APP), when the reader reads the electronic file, the reading program for reading the electronic file will first detect the bar code pattern with the QR code and the like in the e-book, so the reading program will call the electronic file to turn. The file program and the identification decoding program perform the identification and decoding operations, and obtain the information recorded in the barcode pattern when the identification and decoding are completed.

相關描述產生可觸發動作的條碼圖形的方法的實施例流程可參考圖4。 A flow of an embodiment of a method of generating a bar code pattern that can trigger an action can be referred to FIG.

開始如步驟S401,系統輸入電子文件,在特定電子文件格式中,電子文件可以包括內容檔與標籤檔。運作時,如步驟S403,利用轉檔程序將電子文件逐頁轉換為一系列圖檔,例如將內容檔的每一頁對應轉換為各頁圖檔,而獲得電子文件的圖檔,電子文件圖檔格式可如JPG、PNG及BMP等。 Beginning in step S401, the system inputs an electronic file, and in a particular electronic file format, the electronic file can include an content file and a label file. In operation, in step S403, the electronic file is converted into a series of image files by page by using a conversion program, for example, each page of the content file is converted into each page image file, and the image file of the electronic file is obtained, and the electronic file image is obtained. The file format can be like JPG, PNG and BMP.

接著,如步驟S405,系統解析各頁圖檔,解析轉檔後的電子文件圖檔,以取得條碼圖形,解碼可獲取並記錄電子文件圖檔中的條碼圖形的資訊,以QR碼為例,可以獲得QR碼的頁次、資訊、大小與座標等資訊,如步驟S407所述。 Then, in step S405, the system parses each page image file, parses the electronic file file after the conversion, to obtain a barcode graphic, and decodes and can acquire and record the information of the barcode graphic in the electronic file image, taking the QR code as an example. Information such as page number, information, size, and coordinates of the QR code can be obtained, as described in step S407.

之後,再比對電子文件中條碼圖形與電子文件圖檔辨識解碼後的條碼圖形的資訊,比對條碼圖形所在頁次、大小與座標等,之後可根據條碼圖形的比對資訊將其中識解碼後的互動內容內嵌於電子文件中,如步驟S409,修改電子文件標籤檔,加入條碼圖形的互動內容,再如步驟S411,根據原本條碼圖形形成一互動圖形,其中如步驟S413所述,形成此互動圖形時,因為最初將電子文件轉換為圖檔時會有比例的改變,因此可能需要根據電子文件與轉換的圖檔比例進行互動圖形座標轉換,再使用互動圖形轉檔建立新的電子文件,如步驟S415。最後,如步驟S417,輸出電子文件的內容檔與標籤檔。 After that, the bar code graphic and the electronic file image in the electronic file are compared with the information of the decoded bar code graphic, and the page number, size and coordinates of the bar code graphic are compared, and then the information can be decoded according to the comparison information of the bar code graphic. The interactive content is embedded in the electronic file. In step S409, the electronic file label file is modified, and the interactive content of the barcode graphic is added. Then, in step S411, an interactive graphic is formed according to the original barcode pattern, wherein the step is formed as described in step S413. When this interactive graphic is used, since the initial conversion of the electronic file to the image file will change proportionally, it may be necessary to perform interactive graphic coordinate conversion according to the ratio of the electronic file and the converted image file, and then use the interactive graphic file to create a new electronic file. , as in step S415. Finally, in step S417, the content file of the electronic file and the label file are output.

所述於步驟S409編輯電子文件的步驟中,特別是編輯電子文件中記載其中動作的標籤檔,如一種XML檔,將原本記載於條碼 圖形的動作內嵌於XML語法中。之後建立新的電子文件時,再將新的電子文件內容及XML檔上傳到服務平台,或是特定電子書資料庫中,知後由使用者下載閱讀,閱讀過程可以讓讀者點擊電子文件的條碼圖形(被互動圖形取代)而執行其中動作,動作包括執行一網頁瀏覽器前往連結網址,或是調出文字對話框顯示其中傳遞的訊息,或可執行特定任務,如撥打電話及呼叫電子地圖等。 In the step of editing the electronic file in step S409, in particular, editing the electronic file to record the label file in which the action, such as an XML file, is originally recorded in the barcode. Graphical actions are embedded in the XML syntax. After the new electronic file is created, the new electronic file content and the XML file are uploaded to the service platform or the specific e-book database, and the user can download and read it after reading. The reading process allows the reader to click on the barcode of the electronic file. The graphics (replaced by the interactive graphics) perform the actions, including executing a web browser to the link URL, or calling up a text dialog to display the message delivered, or performing a specific task, such as making a call and calling an electronic map. .

所述於步驟411建立的互動圖形可以與原本條碼圖形圖檔一樣,或可改變顏色、邊框等樣式,或是改變顯示模式,或是取代為另一圖形,再將原條碼圖形記載的資料利用超連結或是圖文資料顯示內容的方式內嵌在新的圖形相對應的電子文件碼中,可讓讀者在閱讀電子文件時,可以從原本條碼圖形處取得其中記載內容,包括提供點擊而獲得記載的內容,或可轉跳至網頁內容上。 The interactive graphic created in step 411 may be the same as the original barcode graphic file, or may change the color, the border, etc., or change the display mode, or replace it with another graphic, and then use the data recorded in the original barcode graphic. The hyperlink or the way in which the graphic data is displayed is embedded in the corresponding electronic file code of the new graphic, so that the reader can obtain the recorded content from the original barcode graphic when reading the electronic file, including providing a click. The recorded content can be transferred to the content of the webpage.

圖5描述本發明另一實施例,其中流程描述一次處理兩個或以上條碼圖形的步驟,開始如步驟S501,系統輸入電子文件,在步驟S503中,系統將電子文件轉換為圖檔。舉例來說,可藉由電子裝置將電子文件檔案下載到電子裝置中,電子文件原始檔的格式包括PDF、Word、PPT、Epub、ZIP(JPG)等。電子文件原始檔下載到電子裝置後,經程式軟體轉檔電子文件原始檔案格式轉變為圖檔,圖檔的格式包括JPG、PNG、BMP等圖檔格式。 Figure 5 depicts another embodiment of the present invention in which the flow describes the step of processing two or more bar code patterns at a time, beginning with the step S501, the system inputs an electronic file, and in step S503, the system converts the electronic file into a picture file. For example, the electronic file file can be downloaded to the electronic device by using an electronic device, and the format of the electronic file original file includes PDF, Word, PPT, Epub, ZIP (JPG), and the like. After the original file of the electronic file is downloaded to the electronic device, the original file format of the electronic file converted by the program software is converted into a picture file, and the format of the picture file includes a picture file format such as JPG, PNG, BMP, and the like.

以上轉換為圖檔時,圖檔與原電子文件之間有一個圖形轉換比例,圖檔可為一系列對應電子文件多頁的多個圖檔,並開始解析各頁圖檔,如步驟S505。在同一個處理程序中,當某頁或是某個程序中有兩個或以上的條碼圖形,則需要如圖5的處理流程。 When the above is converted into a picture file, there is a graphic conversion ratio between the image file and the original electronic file, and the image file may be a plurality of image files corresponding to multiple pages of the electronic file, and the image file of each page is started to be parsed, as in step S505. In the same processing program, when there are two or more barcode patterns in a page or a program, the processing flow as shown in FIG. 5 is required.

當系統的掃描程式掃描辨識解碼出第一條碼圖形時,會記錄第一個條碼圖形的資訊,包括其座標與大小,同時給予編號以利後續遮蔽與比對作業。 When the scanning program of the system scans and decodes the first barcode graphic, the information of the first barcode graphic is recorded, including its coordinates and size, and the number is given for subsequent masking and comparison operations.

如步驟S507,系統處理某頁時,經掃描後會取得第一條碼圖形,並經解碼取得其中資訊,如此第一條碼圖形記載的互動內容、 所處頁次、位置與大小;之後,如步驟S509,系統根據其中資訊修改電子文件,特別是其中記載格式與動作的標籤檔,加入第一條碼圖形的互動內容;接著,系統將形成取代此第一條碼圖形的第一互動圖形,如步驟S511。 In step S507, when the system processes a certain page, the first barcode image is obtained after scanning, and the information is obtained by decoding, so that the interactive content recorded in the first barcode graphic, After the page, location and size; then, in step S509, the system modifies the electronic file according to the information therein, in particular the tag file in which the format and action are recorded, and adds the interactive content of the first bar code graphic; then, the system will form a replacement for this The first interactive graphic of the first code graphic is as shown in step S511.

之後,系統繼續在同一頁,或同一程序中掃描另一條碼圖形,會先如步驟S513所述,利用一圖形或一特定手段遮蔽第一條碼圖形,使得掃描程序可以跳過第一條碼圖形。 Thereafter, the system continues to scan another code pattern on the same page or in the same program, and first masks the first barcode pattern by using a graphic or a specific means as described in step S513, so that the scanning program can skip the first barcode pattern.

接著執行S515,系統重新解析同一頁圖檔,如步驟S517,取得第二條碼圖形的資訊,再據以修改電子文件標籤檔,加入第二條碼圖形的互動內容,如步驟S519,同時系統建立另一取代第二條碼圖形的第二互動圖形,如步驟S521。以上步驟可以適用同頁取得更多的條碼圖形的情況,直到同頁次電子文件圖檔中所有的條碼圖形的資訊完全取得。 Then, in S515, the system re-parses the same page image file. In step S517, the second barcode graphic information is obtained, and then the electronic file label file is modified to add the interactive content of the second barcode graphic. In step S519, the system establishes another A second interactive graphic that replaces the second barcode pattern, as in step S521. The above steps can be applied to the same page to obtain more bar code graphics until the information of all bar code graphics in the same page electronic file file is completely obtained.

第一互動圖形與第二互動圖形為新的電子文件中可以分別觸發執行第一條碼圖形記載的互動內容與第二條碼圖形記載的互動內容的圖形,經一座標轉換而覆蓋各對應的條碼圖形。此例如步驟S523,使用第一與第二互動圖形,系統將根據電子文件與轉換的圖檔比例進行互動圖形座標轉換,將第一與第二互動圖形能夠根據特定比例進行縮放,以能覆蓋原本顯示在電子文件上的第一與第二條碼圖形的位置,將編輯後的電子文件標籤檔,以及更新互動圖形的內容檔轉換,以建立新的電子文件,如步驟S525。最後輸出電子文件的內容檔與標籤檔,如步驟S527。 The first interactive graphic and the second interactive graphic respectively trigger a graphic of the interactive content recorded by the first barcode graphic and the interactive content recorded by the second barcode graphic in the new electronic file, and cover each corresponding barcode graphic by a label conversion. . For example, in step S523, using the first and second interactive graphics, the system will perform interactive graphic coordinate conversion according to the ratio of the electronic file and the converted image file, and the first and second interactive graphics can be scaled according to a specific ratio to cover the original The positions of the first and second bar code graphics displayed on the electronic file, the edited electronic file tag file, and the content file of the updated interactive graphic are converted to create a new electronic file, as by step S525. Finally, the content file and the label file of the electronic file are output, as in step S527.

圖6顯示之流程描述閱讀經系統轉換為可觸發動作的條碼圖形的電子文件的實施例。 The flow shown in Figure 6 depicts an embodiment of reading an electronic file that is converted by the system into a bar code graphic that can trigger an action.

當使用者操作智慧型裝置下載經上述程序建立的新的電子文件時,如步驟S601,開始以一閱讀軟體閱讀電子文件,使用者一般來說是以具有觸控顯示屏幕的智慧型裝置閱讀電子文件,並以觸控方式操作閱讀,但實施例並不排除可以滑鼠操作個人電腦閱 讀此電子文件的實施樣態。 When the user operates the smart device to download a new electronic file created by the above program, in step S601, the electronic file is read by a reading software, and the user generally reads the electronic device with a smart device having a touch display screen. File and operate in touch mode, but the embodiment does not preclude the mouse to operate on a personal computer Read the implementation of this electronic file.

此例中,如步驟S603,智慧型裝置內閱讀軟體感測到觸控事件,同時產生觸控訊號(或以滑鼠產生的點擊訊號),閱讀軟體將可據此判斷觸控訊號位置,如步驟S605,並同時查詢電子文件的標籤檔,如步驟S607。經查詢標籤檔對應觸控訊號的位置,確認為互動圖形後,將可執行原條碼圖形互動內容,如步驟S609,並輸出結果,如步驟S611。 In this example, in step S603, the reading software in the smart device senses the touch event and generates the touch signal (or the click signal generated by the mouse), and the reading software can determine the position of the touch signal according to the reading function, such as Step S605, and simultaneously query the label file of the electronic file, as in step S607. After the query label file corresponds to the position of the touch signal and is confirmed as the interactive graphic, the original bar code graphic interactive content is executed, as in step S609, and the result is output, as in step S611.

此外,在系統執行電子文件條碼圖形解碼之前,為了避免條碼圖形因為解析度與品質問題產生軟體程式不易解碼的問題,系統將以軟體程式將電子文件所轉出的圖檔複製多份圖檔,複製的電子文件圖檔的格式與原圖檔的格式相同,程式將調整所複製的整份電子文件圖檔的畫質,且每份電子文件圖檔具有不同的圖形屬性,包括對比、亮度等,經調整每份電子文件圖檔畫質後,程式接著進行解碼作業。 In addition, before the system performs the decoding of the electronic document bar code graphics, in order to avoid the problem that the bar code graphics are difficult to decode due to the resolution and quality problems, the system will copy the image files transferred from the electronic files into multiple images by the software program. The format of the copied electronic document file is the same as that of the original image file. The program will adjust the image quality of the copied electronic document file, and each electronic document file has different graphic attributes, including contrast, brightness, etc. After adjusting the image quality of each electronic document, the program then performs the decoding operation.

相關解決條碼圖形畫質問題的實施例可參考圖7所示之流程。開始如步驟S701,系統輸入電子文件檔案,如步驟S703,將電子文件轉換為圖檔,特別於步驟S705中,複製多份圖檔。 For an embodiment of the related problem of solving the barcode image quality problem, reference may be made to the flow shown in FIG. Beginning in step S701, the system inputs the electronic file file. In step S703, the electronic file is converted into a file file, and in step S705, the plurality of image files are copied.

在步驟S707中,系統調整各份複製圖檔的圖形屬性,如步驟S709,同樣解析各頁圖檔(包括複製圖檔),再嘗試從複製圖檔中取得條碼圖形的資訊,如步驟S711。 In step S707, the system adjusts the graphic attributes of each copy of the image file. In step S709, the page image files (including the copied image files) are also parsed, and then the information of the bar code graphic is obtained from the copied image file, as in step S711.

在另一實施例,系統可將電子文件圖檔的圖檔格式轉換成與圖檔格式不相同的另一圖檔格式,再進行複製電子文件圖檔,接續執行電子文件圖檔中條碼圖形的解碼作業。 In another embodiment, the system may convert the image file format of the electronic document file into another image file format that is different from the image file format, and then copy the electronic file image file to continue the execution of the bar code graphic in the electronic file image file. Decode the job.

圖8接著顯示使用本發明方法產生可觸發動作的條碼圖形的流程示意圖。 Figure 8 then shows a flow diagram of a bar code pattern that produces a triggerable action using the method of the present invention.

在其中圖8圖式(a)中,顯示電子文件可以包括分開的兩個檔案,如PDF檔與XML檔。在圖8圖式(b)中,利用智慧型裝置閱讀文件內容801,其中在某頁包括有二維條碼803,如一個QR碼。 在圖8圖式(c)中,電子文件轉換系統將依據此二維條碼803產生一個對應的互動圖形805,並如圖8圖式(d),轉換電子文件時,除解析二維條碼803所執行的動作外,經比對原電子文件與轉換時產生的圖檔,經座標轉換後可將互動圖形805嵌入電子文件內容801中,形成圖示的文件中互動圖形805’。在其中圖8圖式(e)中,系統接著編輯XML檔,依照原二維條碼803所記載的互動內容將相關動作編入XML檔,如一段xml語法。圖8圖式(f)示意顯示系統重新建立新的電子文件,轉換得到新的PDF檔與XML檔。 In the figure (a) of FIG. 8, the display electronic file may include two separate files, such as a PDF file and an XML file. In the diagram (b) of Fig. 8, the file content 801 is read by the smart device, wherein a page includes a two-dimensional barcode 803, such as a QR code. In the figure (c) of FIG. 8, the electronic file conversion system will generate a corresponding interactive graphic 805 according to the two-dimensional barcode 803, and when converting the electronic file as shown in FIG. 8 (d), in addition to analyzing the two-dimensional barcode 803 In addition to the executed actions, the interactive graphic 805 can be embedded in the electronic file content 801 after the coordinate conversion of the original electronic file and the image file generated during the conversion to form an interactive graphic 805' in the illustrated file. In the figure (e) of FIG. 8, the system then edits the XML file, and the related action is compiled into an XML file according to the interactive content recorded by the original two-dimensional barcode 803, such as a xml syntax. Figure 8 (f) shows the system re-establishing a new electronic file, converting the new PDF files and XML files.

以上實施例揭露的電子文件轉換系統可以一電腦系統實現,於執行記憶體所儲存的程式集時,將執行產生可觸發動作的條碼圖形的方法流程,相關程式集包括:經傳輸介面自一電子文件庫輸入電子文件的指令、轉換電子文件為一圖檔的指令、掃描圖檔並解析圖檔內的至少一個條碼圖形的指令、取得各條碼圖形的資訊的指令、形成對應各條碼圖形的互動圖形的指令、依據各條碼圖形的資訊編輯電子文件以嵌入各條碼圖形記載的互動內容的指令、使用互動圖形建立一新的電子文件的指令,以及輸出新的電子文件至一電子文件服務平台的指令。 The electronic file conversion system disclosed in the above embodiments can be implemented by a computer system. When executing the program stored in the memory, a method flow for generating a barcode pattern capable of triggering actions is performed. The related program set includes: an electronic interface via the transmission interface The file library inputs an instruction of the electronic file, converts the electronic file into an image file instruction, scans the image file and parses the at least one bar code graphic instruction in the image file, and obtains information of each bar code graphic information, and forms an interaction corresponding to each bar code graphic. Graphical instructions, instructions for editing electronic files based on information of each bar code graphic to embed interactive content recorded in each bar code graphic, instructions for creating a new electronic file using interactive graphics, and outputting new electronic files to an electronic file service platform instruction.

是以,根據揭露書所描述的產生可觸發動作的條碼圖形的方法與電子文件轉換系統,經轉換電子文件中條碼圖形為可觸發動作的互動圖形後,讓讀者閱讀電子文件時,可直接利用觸控屏幕或滑鼠點擊電子文件中所有的條碼圖形,此時,若原條碼圖形記載的互動內容為帶出一網址時,則會啟動網頁瀏覽器,或閱讀程式的另一功能而連結到網址的位置;若條碼圖形記載為一純文字內容、電話號碼、地址等文字內容,則可在讀者用滑鼠點擊電子文件或觸控位置的附近跳出資訊提示框,以利讀者知道條碼圖形所傳遞的訊息;若條碼圖形記載的資訊為一電話號碼,則可在讀者觸發後跳出電話撥打模式;條碼圖形記載的資訊為地址,則會在讀者觸發後跳出電子地圖,讀者立即取得相關地理位置。然而, 上述觸發電子文件中條碼圖形的動作不限上述方式。 Therefore, according to the method for generating a barcode pattern capable of triggering actions and the electronic file conversion system described in the disclosure, after the barcode pattern in the converted electronic file is an interactive graphic that can trigger an action, the reader can directly use the electronic file when reading the electronic file. The touch screen or the mouse clicks on all the bar code graphics in the electronic file. At this time, if the interactive content recorded in the original bar code graphic brings out a web address, the web browser is started, or another function of the reading program is linked to the web address. If the barcode graphic is recorded as a text content, a phone number, an address, etc., the information prompt box can be jumped out near the electronic file or the touch position by the reader to facilitate the reader to know the barcode graphic. If the information recorded in the bar code graphic is a phone number, the call mode can be jumped out after the reader triggers; the information recorded in the bar code graphic is the address, and the electronic map will be jumped out after the reader triggers, and the reader immediately obtains the relevant geographical location. however, The above action of triggering the barcode pattern in the electronic file is not limited to the above manner.

惟以上所述僅為本發明之較佳可行實施例,非因此即侷限本發明之專利範圍,故舉凡運用本發明說明書及圖示內容所為之等效結構變化,均同理包含於本發明之範圍內,合予陳明。 However, the above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Therefore, equivalent structural changes that are made by using the specification and the contents of the present invention are equally included in the present invention. Within the scope, it is combined with Chen Ming.

S401‧‧‧輸入電子文件(內容檔、標籤檔) S401‧‧‧ Input electronic file (content file, label file)

S403‧‧‧轉換電子文件為圖檔 S403‧‧‧ Convert electronic files to images

S405‧‧‧解析各頁圖檔 S405‧‧‧Analysis of each page image

S407‧‧‧取得條碼圖形的資訊(互動內容、位置、大小) S407‧‧‧Get information on barcode graphics (interactive content, location, size)

S409‧‧‧修改電子文件標籤檔,加入條碼圖形的互動內容 S409‧‧‧Modify the electronic document label file and add the interactive content of the barcode graphic

S411‧‧‧形成一互動圖形 S411‧‧‧ forms an interactive graphic

S413‧‧‧根據電子文件與轉換的圖檔比例進行互動圖形座標轉換 S413‧‧‧ Interactive graphic coordinate conversion based on the ratio of electronic documents to converted images

S415‧‧‧使用互動圖形建立新的電子文件 S415‧‧‧Create new electronic files using interactive graphics

S417‧‧‧輸出電子文件的內容檔與標籤檔 S417‧‧‧ Output electronic file content file and label file

Claims (14)

一種產生可觸發動作的條碼圖形的方法,包括:解析載於一電子文件中的至少一個條碼圖形,並取得各條碼圖形所記載的資訊;根據各條碼圖形所記載的資訊編輯該電子文件,以嵌入各條碼圖形記載的資訊,將各條碼圖形轉換為一可觸發所記載資訊的互動圖形,該互動圖形經一座標轉換而覆蓋各對應的條碼圖形;以及使用對應各條碼圖形的該互動圖形建立一新的電子文件。 A method for generating a barcode pattern capable of triggering an action, comprising: parsing at least one barcode pattern contained in an electronic file, and obtaining information recorded by each barcode pattern; editing the electronic file according to information recorded in each barcode pattern, Embedding information recorded in each bar code graphic, converting each bar code graphic into an interactive graphic that can trigger the recorded information, the interactive graphic overlays each corresponding bar code graphic by a standard conversion; and establishing the interactive graphic corresponding to each bar code graphic A new electronic file. 如請求項1所述的產生可觸發動作的條碼圖形的方法,於解析該電子文件步驟之前,更包括先將該電子文件逐頁轉換該電子文件為一圖檔,以一圖形處理手段解析該圖檔中的條碼圖形,並解碼取得條碼圖形中的資訊。 The method for generating a bar code pattern capable of triggering an action according to claim 1, before the step of parsing the electronic file, further comprising: converting the electronic file page by page into an image file, and parsing the image file by a graphic processing means The bar code graphic in the image file, and decodes the information in the bar code graphic. 如請求項2所述的產生可觸發動作的條碼圖形的方法,其中該電子文件包括一內容檔與一標籤檔。 A method for generating a bar code pattern that triggers an action as described in claim 2, wherein the electronic file includes an content file and a tag file. 如請求項3所述的產生可觸發動作的條碼圖形的方法,其中於轉換該電子文件為該圖檔的步驟係將該內容檔的每一頁對應轉換為各頁圖檔。 A method for generating a bar code pattern capable of triggering an action as described in claim 3, wherein the step of converting the electronic file to the image file is to convert each page of the content file into a page image file. 如請求項3所述的產生可觸發動作的條碼圖形的方法,其中編輯該電子文件的該標籤檔,以嵌入各條碼圖形記載的互動內容。 A method for generating a bar code pattern capable of triggering an action as claimed in claim 3, wherein the tag file of the electronic file is edited to embed the interactive content recorded in each bar code graphic. 如請求項5所述的產生可觸發動作的條碼圖形的方法,其中各條碼圖形的資訊包括該條碼圖形記載的互動內容、內嵌在該電子文件中的位置與大小。 The method for generating a bar code pattern capable of triggering an action according to claim 5, wherein the information of each bar code graphic comprises an interactive content recorded by the bar code graphic, and a position and a size embedded in the electronic file. 如請求項5所述的產生可觸發動作的條碼圖形的方法,其中該條碼圖形記載的互動內容為一網頁連結、資訊傳輸、檔案下載或身份識別。 The method for generating a barcode pattern that can trigger an action, as described in claim 5, wherein the interactive content recorded by the barcode graphic is a webpage link, information transmission, file downloading, or identification. 如請求項1所述的產生可觸發動作的條碼圖形的方法,其中該條碼圖形為嵌入於該電子文件的QR碼。 A method of generating a bar code pattern capable of triggering an action as described in claim 1, wherein the bar code pattern is a QR code embedded in the electronic file. 一種產生可觸發動作的條碼圖形的方法,包括:輸入一電子文件;轉換該電子文件為一圖檔;解析得到該圖檔內的一頁的一第一條碼圖形,並取得該第一條碼圖形的資訊;形成一對應該第一條碼圖形的一第一互動圖形,該第一互動圖形為可觸發該第一條碼圖形記載資訊的互動圖形;依據該第一條碼圖形的資訊編輯該電子文件,嵌入該第一條碼圖形記載的互動內容;遮蔽該第一條碼圖形,並再次解析該圖檔,得到該圖檔內的一第二條碼圖形,並取得該第二條碼圖形的資訊;形成一對應該第二條碼圖形的一第二互動圖形,該第二互動圖形為可觸發該第二條碼圖形記載資訊的互動圖形;依據該第二條碼圖形的資訊編輯該電子文件,嵌入該第二條碼圖形記載的互動內容;以及使用該第一互動圖形與該第二互動圖形建立一新的電子文件;於該新的電子文件中,該第一互動圖形與該第二互動圖形用以分別觸發執行該第一條碼圖形記載的互動內容與該第二條碼圖形記載的互動內容的互動圖形,經一座標轉換而覆蓋各對應的條碼圖形。 A method for generating a bar code graphic capable of triggering an action, comprising: inputting an electronic file; converting the electronic file into a picture file; parsing a first bar code graphic of a page in the image file, and obtaining the first bar code graphic Forming a pair of first interactive graphics that should be the first barcode graphic, the first interactive graphic being an interactive graphic that can trigger the information recorded by the first barcode graphic; editing the electronic file according to the information of the first barcode graphic, Embedding the interactive content recorded in the first barcode graphic; masking the first barcode graphic, and parsing the image file again, obtaining a second barcode graphic in the image file, and obtaining information of the second barcode graphic; forming a pair a second interactive graphic of the second barcode graphic, the second interactive graphic being an interactive graphic that can trigger the second barcode graphic recording information; editing the electronic file according to the information of the second barcode graphic, embedding the second barcode graphic Recording the interactive content; and using the first interactive graphic to create a new electronic file with the second interactive graphic; in the new electronic file The first interactive graphic and the second interactive graphic respectively trigger an interaction graphic of the interactive content recorded by the first barcode graphic and the interactive content recorded by the second barcode graphic, and overwrite each corresponding barcode graphic by a label conversion . 如請求項9所述的產生可觸發動作的條碼圖形的方法,其中該電子文件包括一內容檔與一標籤檔。 A method of generating a barcode pattern that triggers an action as described in claim 9, wherein the electronic file includes an content file and a label file. 如請求項10所述的產生可觸發動作的條碼圖形的方法,其中編輯該電子文件的該標籤檔,以嵌入各條碼圖形記載的互動內容。 A method of generating a bar code pattern capable of triggering an action as described in claim 10, wherein the tag file of the electronic file is edited to embed the interactive content recorded in each bar code graphic. 如請求項9所述的產生可觸發動作的條碼圖形的方法,其中各條碼圖形的資訊包括該條碼圖形記載的互動內容、內嵌在該電子文件中的位置與大小。 The method for generating a bar code pattern capable of triggering an action according to claim 9, wherein the information of each bar code graphic comprises an interactive content recorded by the bar code graphic, and a position and a size embedded in the electronic file. 如請求項12所述的產生可觸發動作的條碼圖形的方法,其中各條碼圖形記載的互動內容為一網頁連結、資訊傳輸、檔案下載或身份識別。 The method for generating a barcode pattern capable of triggering an action according to claim 12, wherein the interactive content recorded by each barcode graphic is a webpage link, information transmission, file downloading or identification. 一種電子文件轉換系統,係以一電腦系統實現,其中具有一中央處理單元與一記憶體,該記憶體儲存執行一產生可觸發動作的條碼圖形的方法的程式集,該程式集包括:經一傳輸介面自一電子文件庫輸入一電子文件的指令;轉換該電子文件為一圖檔的指令;掃描該圖檔並解析該圖檔內的至少一個條碼圖形的指令;取得各條碼圖形的資訊的指令;形成對應各條碼圖形的互動圖形的指令,其中該互動圖形為可觸發對應條碼圖形所記載資訊的圖形;依據各條碼圖形的資訊編輯該電子文件以嵌入各條碼圖形記載的互動內容的指令;經一座標轉換而覆蓋各對應的條碼圖形以使用該互動圖形建立一新的電子文件的指令;以及輸出該新的電子文件至一電子文件服務平台的指令。 An electronic file conversion system is implemented by a computer system having a central processing unit and a memory, the memory storing a program for executing a method for generating a barcode pattern capable of triggering an action, the program set comprising: The instruction that the transmission interface inputs an electronic file from an electronic document library; the instruction to convert the electronic file into an image file; the instruction to scan the image file and parse at least one barcode graphic in the image file; and obtain the information of each barcode graphic An instruction for forming an interactive graphic corresponding to each bar code graphic, wherein the interactive graphic is a graphic that can trigger information recorded by the corresponding bar code graphic; and the instruction for editing the electronic file to embed the interactive content recorded by each bar code graphic according to information of each bar code graphic An instruction to overlay a corresponding bar code graphic to create a new electronic file using the interactive graphic; and an instruction to output the new electronic file to an electronic file service platform.
TW105111502A 2016-04-13 2016-04-13 Method for creating a triggerable barcode icon for electronic document and transformation system thereof TWI578236B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105111502A TWI578236B (en) 2016-04-13 2016-04-13 Method for creating a triggerable barcode icon for electronic document and transformation system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105111502A TWI578236B (en) 2016-04-13 2016-04-13 Method for creating a triggerable barcode icon for electronic document and transformation system thereof

Publications (2)

Publication Number Publication Date
TWI578236B true TWI578236B (en) 2017-04-11
TW201737160A TW201737160A (en) 2017-10-16

Family

ID=59240784

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105111502A TWI578236B (en) 2016-04-13 2016-04-13 Method for creating a triggerable barcode icon for electronic document and transformation system thereof

Country Status (1)

Country Link
TW (1) TWI578236B (en)

Also Published As

Publication number Publication date
TW201737160A (en) 2017-10-16

Similar Documents

Publication Publication Date Title
CN107818143B (en) Page configuration and generation method and device
CN100565601C (en) A kind of bill processing apparatus and method
TWI627540B (en) A font cloud service system
CN102369724A (en) Automatically capturing information, such as capturing information using a document-aware device
CN103797518A (en) Method and system for personalizing images rendered in scenes for personalized customer experience
US20210133645A1 (en) Automated generation of documents and labels for use with machine learning systems
JP2016522464A (en) System and method for printable document viewer optimization
WO2007023484A2 (en) System and method for image customization
CN110727481A (en) Picture editing method and device, computer equipment and storage medium
CN113391808A (en) Page configuration method and device and electronic equipment
TW201237784A (en) Commodity information providing system
KR20150135707A (en) Method and apparatus for providing advertisement image by producing in real time
US9965446B1 (en) Formatting a content item having a scalable object
TWI578236B (en) Method for creating a triggerable barcode icon for electronic document and transformation system thereof
JP2009093389A (en) Information processor, information processing method, and program
CN111079399A (en) Image-text data processing method and device, computer equipment and storage medium
KR101160973B1 (en) Effective Graphic Format image file forming method and device therefor
US7562822B1 (en) Methods and devices for creating and processing content
CN102142004A (en) Service processing method and service engine
CN108197687A (en) A kind of webpage two-dimensional code generation method
JP2005107635A (en) Electronic form input system, method and program, and medium
KR20160144136A (en) Method and program of generating a smart catalog
JP6672666B2 (en) Information processing apparatus and program
JP7537041B1 (en) Information processing system, information processing method, and information processing program
KR102774599B1 (en) method of providing logo creating service by use of Augmented Reality