TWI690854B - Barcode reading system and method - Google Patents

Barcode reading system and method Download PDF

Info

Publication number
TWI690854B
TWI690854B TW108102760A TW108102760A TWI690854B TW I690854 B TWI690854 B TW I690854B TW 108102760 A TW108102760 A TW 108102760A TW 108102760 A TW108102760 A TW 108102760A TW I690854 B TWI690854 B TW I690854B
Authority
TW
Taiwan
Prior art keywords
code
barcode
product
processing device
module
Prior art date
Application number
TW108102760A
Other languages
Chinese (zh)
Other versions
TW202029049A (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 TW108102760A priority Critical patent/TWI690854B/en
Application granted granted Critical
Publication of TWI690854B publication Critical patent/TWI690854B/en
Publication of TW202029049A publication Critical patent/TW202029049A/en

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Abstract

一種條碼讀取系統及其方法,包括以下步驟:以一預設條碼讀取裝置取得一產品的至少一條碼影像,再由一條碼處理裝置解析條碼影像得到一產品編碼及一自定義編碼;條碼處理裝置確認產品編碼正確時,條碼處理裝置將自定義編碼傳輸到一伺服器進行驗證比對;伺服器判斷自定義編碼是否符合預設條件,並回傳產品的一條件驗證結果至條碼處理裝置,條碼處理裝置依據條件驗證結果進行警示或顯示即時狀態訊息。本發明亦提供執行上述方法之條碼讀取系統。 A barcode reading system and method thereof include the following steps: obtaining at least one barcode image of a product with a preset barcode reading device, and then parsing the barcode image by a barcode processing device to obtain a product code and a custom code; barcode When the processing device confirms that the product code is correct, the barcode processing device transmits the custom code to a server for verification and comparison; the server determines whether the custom code meets the preset conditions, and returns the condition verification result of the product to the barcode processing device , The barcode processing device warns or displays real-time status information according to the condition verification result. The present invention also provides a barcode reading system that performs the above method.

Description

條碼讀取系統及其方法 Barcode reading system and method

一種條碼讀取系統及方法,特別是一種有關於具有即時狀態回報之條碼讀取系統及其方法。 A bar code reading system and method, in particular, a bar code reading system and method with instant status report.

目前市面上的賣場都會採取相關措施來管理所販售的產品,然而,對大多數的消費者而言,幾乎都有在賣場遇到購買過期產品、蓄意違法使用添加物、標示不實或仿冒造假等問題。一般而言,部分消費者會在購買產品前自行確認包裝上的有效日期,但由於標註有效日期的位置與方式不一致,不易判讀,添加物內容是否合乎規範於交易當下更是無法辨讀,且問題發生時,消費者或販售業者無法立即分辨受影響產品及其批號。 At present, the stores on the market will take relevant measures to manage the products they sell. However, for most consumers, almost all of them encounter purchases of expired products, deliberate illegal use of additives, false labels or counterfeiting in the stores. Counterfeiting and other issues. Generally speaking, some consumers will confirm the effective date on the packaging before purchasing the product, but because the location and method of marking the effective date are inconsistent, it is not easy to interpret, and it is even more difficult to read whether the content of the add-on conforms to the norm in the transaction, and When the problem occurs, consumers or vendors cannot immediately identify the affected product and its batch number.

另外,為了解決產品本身的識別問題,現行大多採用GS1全球產品編碼的規範,為產品提供一產品型號的識別標示,當消費者在購買產品時,利於系統辨識產品。然而,目前GS1條碼格式僅依產品型號來進行產品編碼,但產品在生產製造過程中,從生產端、物流端、加工廠端、檢驗端到消費者端,其過程相當繁瑣且資訊龐大,無法針對產品在各流程中的細部信息進行產品編碼及現場查驗。當發生某一原料來源有問題或是不符合相關規範時,就已在市面上所流通或販售的問題產品,難以有效回收 或下架,亦無法確保不會販售到消費者手上。 In addition, in order to solve the product identification problem, most of the current GS1 global product coding standards are used to provide products with a product model identification mark. When consumers buy products, it is conducive to system identification. However, the current GS1 barcode format only encodes products according to the product model, but during the manufacturing process of the product, from the production end, logistics end, processing plant end, inspection end to the consumer end, the process is quite tedious and the information is huge. Conduct product coding and on-site inspection for the detailed information of products in each process. When there is a problem with the source of a raw material or does not meet the relevant specifications, the problematic product that has been circulated or sold on the market is difficult to effectively recycle There is no guarantee that it will not be sold to consumers.

是以,如能建立一個不論是在倉儲端、物流端或銷售端的產品即時狀態系統,使有問題的產品追溯過程簡單化、資訊透明化,提供消費者正確的產品安全資訊及管理系統,為業界亟需解決的課題。 Therefore, if it is possible to establish a real-time product status system at the storage, logistics, or sales side, the problematic product traceability process is simplified and information is transparent, providing consumers with correct product safety information and management systems. The industry urgently needs to solve the problem.

鑑於習知產品條碼礙於產品外包裝的顯示面積限制,並無法完全揭露原料的資訊,包含著原料的來源及通路(例如製造端、倉儲端、物流端或銷售端),因此,本發明的主要目的在於提供一種條碼讀取系統及其方法,以解決使用者在讀取產品條碼時可立即排除有問題的產品。 In view of the fact that conventional product barcodes hinder the limitation of the display area of product outer packaging and cannot fully disclose the information of raw materials, including the source and access of raw materials (such as manufacturing end, storage end, logistics end or sales end), therefore, the present invention The main purpose is to provide a barcode reading system and method to solve the problem that the user can immediately eliminate the problematic product when reading the barcode of the product.

根據本發明所揭露條碼讀取系統,包括一條碼讀取裝置、一條碼處理裝置及一伺服器。其中,條碼讀取裝置用以取得一預設產品的至少一條碼影像。條碼處理裝置用以解析條碼影像,並得到一產品編碼及一自定義編碼。伺服器用以接收條碼處理裝置所傳輸的自訂義編碼。當條碼處理裝置確認產品編碼正確時,便會將該自定義編碼傳輸到伺服器,由伺服器判斷自定義編碼是否符合預設條件,並回傳產品的一條件驗證結果至條碼處理裝置,條碼處理裝置依據該條件驗證結果進行警示或顯示即時狀態訊息。 The barcode reading system disclosed according to the present invention includes a barcode reading device, a barcode processing device and a server. Wherein, the barcode reading device is used to obtain at least one barcode image of a preset product. The barcode processing device is used to parse the barcode image and obtain a product code and a custom code. The server is used to receive the customized code transmitted by the barcode processing device. When the barcode processing device confirms that the product code is correct, it will transmit the custom code to the server. The server determines whether the custom code meets the preset conditions, and returns the condition verification result of the product to the barcode processing device. The processing device alerts or displays real-time status messages according to the verification result of the condition.

根據本發明所揭露條碼讀取方法,係包括以下步驟:以一預設條碼讀取裝置取得一產品的至少一條碼影像,由一條碼處理裝置解析條碼影像得到一產品編碼及一自定義編碼;條碼處理裝置確認產品編碼是否正確無誤,若正確時,將自定義 編碼傳輸到一伺服器進行驗證比對;以及以伺服器判斷自定義編碼是否符合預設條件,若不符合,伺服器回傳產品的一條件驗證結果至條碼處理裝置進行警示或顯示即時狀態訊息。 The barcode reading method disclosed in the present invention includes the following steps: obtaining at least one barcode image of a product with a preset barcode reading device, and analyzing the barcode image by a barcode processing device to obtain a product code and a custom code; The barcode processing device confirms whether the product code is correct, if it is correct, it will be customized The code is transmitted to a server for verification and comparison; and the server determines whether the custom code meets the preset conditions. If it does not, the server returns a condition verification result of the product to the barcode processing device for warning or displays real-time status messages .

本發明之功效在於要透過讀取產品的條碼影像中的產品編碼及自定義編碼時,由管理系統確認產品的基本資訊,以及由伺服器的多個資料庫(例如供應商資料庫、製造商資料庫、檢驗商資料、物流商資料庫或警示資料庫)來確認產品目前的即時狀態,自定義編碼是否符合預設條件,將此產品的條件驗證結果由條碼讀取裝置顯示,可達到立即排除及避免售出有問題產品之功效。 The effect of the present invention is to confirm the basic information of the product by the management system when reading the product code and custom code in the barcode image of the product, and multiple databases of the server (such as supplier database, manufacturer) Database, inspector data, logistics provider database or warning database) to confirm the current real-time status of the product, whether the custom code meets the preset conditions, and the result of the product's condition verification is displayed by the barcode reading device, which can achieve immediate Eliminate and avoid the effect of selling problematic products.

10‧‧‧條碼讀取裝置 10‧‧‧ Barcode reading device

11‧‧‧雷射掃描器 11‧‧‧Laser scanner

12‧‧‧影像感測器 12‧‧‧Image sensor

20‧‧‧條碼處理裝置 20‧‧‧ Barcode processing device

21‧‧‧解碼模組 21‧‧‧decoding module

22‧‧‧分析模組 22‧‧‧Analysis module

221‧‧‧分流程式 221‧‧‧Sub-process

222‧‧‧處理程式 222‧‧‧Processor

23‧‧‧加密模組 23‧‧‧Encryption module

24‧‧‧傳輸模組 24‧‧‧Transmission module

25‧‧‧警示模組 25‧‧‧Alarm module

30‧‧‧結帳裝置 30‧‧‧Checkout device

40‧‧‧伺服器 40‧‧‧Server

41‧‧‧內部通信介面 41‧‧‧Internal communication interface

42‧‧‧資料篩選模組 42‧‧‧Data screening module

43‧‧‧驗證模組 43‧‧‧Verification module

44‧‧‧外部通信介面 44‧‧‧External communication interface

50‧‧‧資料庫 50‧‧‧Database

70‧‧‧條碼影像 70‧‧‧ barcode image

71‧‧‧一維條碼影像 71‧‧‧One-dimensional barcode image

72‧‧‧二維條碼影像 72‧‧‧Two-dimensional barcode image

73‧‧‧複合條碼影像 73‧‧‧Complex barcode image

80‧‧‧產品編碼 80‧‧‧Product code

90‧‧‧自定義編碼 90‧‧‧Custom coding

第1圖 係為本發明的條碼讀取系統的架構示意圖;第2圖 係為本發明的伺服器的架構示意圖;第3圖 係為本發明的資料庫的架構示意圖;第4圖 係為本發明的條碼讀取方法的流程示意圖。 Figure 1 is a schematic diagram of the barcode reading system of the invention; Figure 2 is a schematic diagram of the server of the invention; Figure 3 is a schematic diagram of the database of the invention; Figure 4 is a diagram of the invention The schematic flow chart of the inventive barcode reading method.

請參考第1圖所示,其係為本發明條碼讀取系統的架構示意圖。本發明之條碼讀取系統包括至少一條碼讀取裝置10、一條碼處理裝置20、一結帳裝置30及一伺服器40。其中,條碼讀取裝置10係包括但不侷限於雷射掃描器11(Laser Scanner)或影像感測器12(CMOS或CCD),用以讀取一 產品的至少一條碼影像70,並傳輸至條碼處理裝置20進行條碼影像解析及分流解析後的編碼資訊。本發明用語「條碼影像」包括在單一方向(例如水平方向)表達資訊的一維條碼、在一維條碼的基礎上擴充出另一維可讀性資訊的二維條碼、或是結合一維條碼及二維條碼的複合型條碼。在本發明中,條碼讀取裝置10可同時或分次讀取一維條碼影像及/或二維條碼影像,其條碼讀取裝置10讀取條碼影像的手段並不侷限本發明之申請專利範圍。 Please refer to FIG. 1, which is a schematic structural diagram of the barcode reading system of the present invention. The barcode reading system of the present invention includes at least a barcode reading device 10, a barcode processing device 20, a checkout device 30, and a server 40. Among them, the barcode reading device 10 includes but is not limited to a laser scanner 11 (Laser Scanner) or an image sensor 12 (CMOS or CCD) for reading a The at least one barcode image 70 of the product is transmitted to the barcode processing device 20 for barcode image analysis and coded information after shunt analysis. The term "barcode image" of the present invention includes a one-dimensional bar code expressing information in a single direction (for example, a horizontal direction), a two-dimensional bar code that expands another dimension of readability information based on the one-dimensional bar code, or a combination of one-dimensional bar codes And two-dimensional bar code composite bar code. In the present invention, the bar code reading device 10 can read one-dimensional bar code images and/or two-dimensional bar code images simultaneously or in batches. The method of the bar code reading device 10 reading the bar code images does not limit the scope of the patent application of the present invention .

本發明之條碼影像70可以是一維條碼影像71、二維條碼影像72或複合條碼影像73,但不以此為限,條碼影像70亦可以是三維條碼影像或未來其他形式之條碼影像。 The barcode image 70 of the present invention may be a one-dimensional barcode image 71, a two-dimensional barcode image 72 or a composite barcode image 73, but not limited to this, the barcode image 70 may also be a three-dimensional barcode image or other future barcode images.

本發明所指的一維條碼影像71係包括但不限於Code 39條碼、交錯式25條碼(ITF條碼)、EAN-13條碼、EAN-8條碼、ISBN書籍碼、ISSN期刊碼、Code 128條碼、Codabar條碼、UPC條碼、Code 93條碼、Code 11條碼、MSI條碼、Plessey條碼、Toshiba code條碼、Code 32條碼、RSS條碼及諸如此類之條碼。 The one-dimensional barcode image 71 referred to in the present invention includes but is not limited to Code 39 barcode, interlaced 25 barcode (ITF barcode), EAN-13 barcode, EAN-8 barcode, ISBN book code, ISSN journal code, Code 128 barcode, Codabar barcode, UPC barcode, Code 93 barcode, Code 11 barcode, MSI barcode, Plessey barcode, Toshiba code barcode, Code 32 barcode, RSS barcode and the like.

本發明所指的二維條碼影像72係包括但不限於線性堆疊式二維條碼、矩陣式二維條碼及郵政碼二維條碼。其中,線性堆疊式二維條碼是在一維條碼編碼原理的基礎上將多個一維條碼在縱向堆疊而產生的二維條碼,其包括但不限於Code 16K條碼、Code 49條碼、PDF417條碼及諸如此類。矩陣式二維條碼是在一個矩形空間藉由黑、白圖元在矩陣中的不同分佈而進行編碼,其包括但不限於Aztec條碼、Maxi code條碼、快速回應條碼(Quick response code,QR code)、Data matrix條碼、Vericode條碼、Ultracode 條碼、漢信碼、彩色條碼及諸如此類。 The two-dimensional barcode image 72 referred to in the present invention includes but is not limited to linear stacked two-dimensional barcode, matrix two-dimensional barcode and postal code two-dimensional barcode. Among them, the linear stacked two-dimensional barcode is a two-dimensional barcode generated by stacking multiple one-dimensional barcodes in the vertical direction based on the one-dimensional barcode encoding principle, which includes but not limited to Code 16K barcode, Code 49 barcode, PDF417 barcode and And so on. Matrix-type two-dimensional barcodes are encoded in a rectangular space by different distributions of black and white pixels in the matrix, including but not limited to Aztec barcodes, Maxi code barcodes, Quick response codes (QR code) , Data matrix barcode, Vericode barcode, Ultracode Barcode, Hanxin code, color barcode and so on.

複合條碼影像73指的是將上述一維條碼影像71及二維條碼影像72同時排列在一起的多種類型的條碼影像。 The composite barcode image 73 refers to multiple types of barcode images in which the one-dimensional barcode image 71 and the two-dimensional barcode image 72 are arranged together.

條碼處理裝置20包括一解碼模組21、一分析模組22、一加密模組23、一傳輸模組24及一警示模組25。其中,當條碼處理裝置20接收條碼讀取裝置10所傳輸之條碼影像70時,解碼模組21可將條碼影像70轉換為數位化資訊再傳輸到分析模組22進行處理。本發明之解碼模組21用以解析至少一條碼影像70,例如解析一維條碼影像71得到一產品編碼80,或者是解析二維條碼影像72同時得到一產品編碼80及一自定義編碼90,又或是解析二維條碼影像72得到一自定義編碼90。 The barcode processing device 20 includes a decoding module 21, an analysis module 22, an encryption module 23, a transmission module 24, and a warning module 25. When the barcode processing device 20 receives the barcode image 70 transmitted by the barcode reading device 10, the decoding module 21 can convert the barcode image 70 into digitized information and then transmit it to the analysis module 22 for processing. The decoding module 21 of the present invention is used to parse at least one barcode image 70, such as parsing a one-dimensional barcode image 71 to obtain a product code 80, or parsing a two-dimensional barcode image 72 to obtain a product code 80 and a custom code 90 at the same time. Alternatively, the two-dimensional barcode image 72 may be analyzed to obtain a custom code 90.

當分析模組22接收到解碼模組21所傳輸之產品編碼80及/或自定義編碼90時,分析模組22會將產品編碼80或自定義編碼90進行編碼資料分流。在本發明中,分析模組22具有一分流程式221及一處理程式222,分流程式221用以判斷解碼模組21所傳輸之產品編碼80及/或自定義編碼90,當分流程式221確認為產品編碼80時,會將產品編碼80輸出到結帳裝置30進行零售端的消費結帳作業。本發明之結帳裝置30可以是但不侷限於銷售點終端系統(Point of Sales)、進銷存系統或倉儲系統。 When the analysis module 22 receives the product code 80 and/or the custom code 90 transmitted by the decoding module 21, the analysis module 22 distributes the product code 80 or the custom code 90 to the encoded data. In the present invention, the analysis module 22 has a sub-flow type 221 and a processing program 222. The sub-flow type 221 is used to determine the product code 80 and/or the custom code 90 transmitted by the decoding module 21. When the sub-flow type 221 is confirmed as When the product code is 80, the product code 80 is output to the checkout device 30 for retail consumer consumption checkout. The checkout device 30 of the present invention may be, but not limited to, a Point of Sales terminal system (Point of Sales), an invoicing system, or a warehousing system.

當分流程式221確認為自定義編碼90時,會將自定義編碼90傳輸到加密模組23進行高級加密標準(AES)或資料加密標準(DES)作業。當加密模組23將自定義編碼90進行加密作業後,會將自定義編碼90透過傳輸模組24傳輸到一伺服器40。傳輸模組24可為無線傳輸技術或有線傳輸技 術,無線傳輸技術係包括但不侷限於藍芽、IEEE802.11、紅外線、GSM、GPRS、3G通訊系統或物聯網(IoT)。而有線傳輸技術係包括但不侷限於網際網路、非對稱數位用戶迴路、有線電視網路或光纖。 When the sub-process 221 is confirmed as the custom code 90, the custom code 90 is transmitted to the encryption module 23 for advanced encryption standard (AES) or data encryption standard (DES) operations. After the encryption module 23 encrypts the custom code 90, the custom code 90 is transmitted to a server 40 through the transmission module 24. The transmission module 24 can be a wireless transmission technology or a wired transmission technology Technically, wireless transmission technology includes but is not limited to Bluetooth, IEEE802.11, infrared, GSM, GPRS, 3G communication systems or Internet of Things (IoT). The cable transmission technology department includes but is not limited to the Internet, asymmetric digital subscriber loop, cable TV network or optical fiber.

請參閱第2圖所示,本發明之伺服器40可以是但不侷限於雲端伺服器或本地伺服器,伺服器40包括有一內部通信介面41、一資料篩選模組42、一驗證模組43及一外部通信介面44。其中,內部通信介面41用以與條碼處理裝置20之傳輸模組24進行有線或無線之傳輸連接,並接收條碼處理裝置20所傳輸之自定義編碼90。資料篩選模組42用以從自定義編碼90中選擇所需驗證的編碼內容。驗證模組43設定至少一預設條件,用以驗證所選擇的自定義編碼90中的編碼內容是否符合預設條件。外部通信介面44用以將自定義編碼90傳輸到一資料庫50。 Referring to FIG. 2, the server 40 of the present invention may be, but not limited to, a cloud server or a local server. The server 40 includes an internal communication interface 41, a data filtering module 42, and a verification module 43 And an external communication interface 44. The internal communication interface 41 is used for wired or wireless transmission connection with the transmission module 24 of the barcode processing device 20 and receives the custom code 90 transmitted by the barcode processing device 20. The data screening module 42 is used to select the code content to be verified from the custom code 90. The verification module 43 sets at least one preset condition for verifying whether the encoded content in the selected custom code 90 meets the preset condition. The external communication interface 44 is used to transmit the custom code 90 to a database 50.

請參閱第3圖所示,資料庫50可以是一封閉式資料庫51或一開放式資料庫52,封閉式資料庫51可供企業內部使用,例如封閉式資料庫51係包括但不侷限於供應商資料庫、製造商資料庫、檢驗商資料、物流商資料庫或警示資料庫。而開放式資料庫52則是依據政府法規要求而公開給大眾使用,例如開放式資料庫52係包括但不侷限於不合格資料庫、需合格登錄資料庫等。 As shown in FIG. 3, the database 50 may be a closed database 51 or an open database 52. The closed database 51 may be used internally by the enterprise. For example, the closed database 51 includes but is not limited to Supplier database, manufacturer database, inspector data, logistics provider database or warning database. The open database 52 is open to the public in accordance with the requirements of government regulations. For example, the open database 52 includes but is not limited to unqualified databases and qualified registration databases.

當伺服器40之驗證模組43驗證自定義編碼90是否符合預設條件後,伺服器40會將條件驗證結果透過內部通信介面41傳輸到條碼處理裝置20,以使條碼處理裝置20透過傳輸模組24接收到伺服器40所回報的條件驗證結果,由分析模組22之處理程式222判斷條件驗證結果是否符合規 定,若條件驗證結果不符合規定,處理程式222會控制警示模組25發出一警示訊息,警示訊息可為光線、影像、聲音、振動或其組合,視實際應用而定。舉例來說,本發明亦可利用一般條碼讀取裝置10的指示燈作為警示模組25,由條碼處理裝置20之分析模組22控制定位指示燈以閃光方式提示操作者。若條件驗證結果符合規定,處理程式222會依據條件驗證結果所指定的操作進行即時狀態訊息之顯示。 After the verification module 43 of the server 40 verifies whether the custom code 90 meets the preset condition, the server 40 transmits the condition verification result to the barcode processing device 20 through the internal communication interface 41, so that the barcode processing device 20 passes the transmission mode The group 24 receives the condition verification result reported by the server 40, and the processing program 222 of the analysis module 22 determines whether the condition verification result meets the regulations If the condition verification result does not meet the requirements, the processing program 222 will control the warning module 25 to issue a warning message. The warning message may be light, image, sound, vibration, or a combination thereof, depending on the actual application. For example, the present invention can also use the indicator light of the general barcode reading device 10 as the warning module 25, and the analysis module 22 of the barcode processing device 20 controls the positioning indicator light to prompt the operator by flashing. If the condition verification result meets the requirements, the processing program 222 displays the real-time status message according to the operation specified by the condition verification result.

請參閱第4圖所示,係為本發明條碼讀取方法的流程示意圖,係包括以下步驟:步驟210:以預設條碼讀取裝置取得產品的至少一條碼影像,再以一條碼處理裝置解析條碼影像得到一產品編碼及一自定義編碼;步驟220:條碼處理裝置確認產品編碼是否正確,若產品編碼正確時,條碼處理裝置會將自定義編碼傳輸到一伺服器進行驗證比對;以及步驟230:以伺服器判斷自定義編碼是否符合預設條件,若不符合時,伺服器回傳產品的條件驗證結果至一條碼處理裝置進行警示。 Please refer to FIG. 4, which is a schematic flowchart of the barcode reading method of the present invention, and includes the following steps: Step 210: Obtain at least one barcode image of the product with a default barcode reading device, and then parse it with a barcode processing device The barcode image gets a product code and a custom code; Step 220: The barcode processing device confirms whether the product code is correct. If the product code is correct, the barcode processing device transmits the custom code to a server for verification and comparison; and steps 230: The server determines whether the custom code meets the preset conditions. If not, the server returns the verification result of the product condition to a barcode processing device for warning.

在步驟210中,係以條碼讀取裝置10掃瞄讀取產品上的至少一條碼影像70,進而得到一維條碼影像71、二維條碼影像72或同時得到一維條碼影像71及二維條碼影像72,並藉由條碼處理裝置20之解碼模組21解析一維條碼影像71而得到產品編碼80的通用資訊,常見有包括起始碼(start code)、資料碼(data code)、檢查碼(check code)、終止碼(end code),例如一 維條碼影像71可為EAN13、EAN8、UPC-A、UPC-E等相關格式的條碼,但不以此為限。 In step 210, the barcode reading device 10 scans and reads at least one barcode image 70 on the product to obtain a one-dimensional barcode image 71, a two-dimensional barcode image 72, or a one-dimensional barcode image 71 and a two-dimensional barcode at the same time The image 72, and the decoding module 21 of the barcode processing device 20 parses the one-dimensional barcode image 71 to obtain the general information of the product code 80. Common information includes a start code, a data code, and a check code. (check code), end code (end code), such as a The dimensional barcode image 71 can be EAN13, EAN8, UPC-A, UPC-E and other related barcodes, but not limited to this.

同樣的,條碼處理裝置20之解碼模組21解析二維條碼影像72而得到此產品的自定義編碼90,所謂的自定義編碼90是指在二維條碼在產生時,加入額外的特定資訊,例如供應商登錄資訊、製造商登錄資訊、檢驗商登錄資料、物流商登錄資訊、銷售商登錄資訊、產地來源、製造日期、有效日期等資訊,但不以此為限,自定義編碼90係將產品本身的履歷資訊更加完整記錄及呈現。 Similarly, the decoding module 21 of the barcode processing device 20 parses the two-dimensional barcode image 72 to obtain the custom code 90 of this product. The so-called custom code 90 refers to adding additional specific information when the two-dimensional barcode is generated. For example, supplier registration information, manufacturer registration information, inspector registration information, logistics supplier registration information, vendor registration information, origin, manufacturing date, effective date and other information, but not limited to this, the custom code 90 series will The resume information of the product itself is more fully recorded and presented.

換句話說,當產品在被生產或製造時,會將此產品的生產製造履歷(例如供應、製造、物流、檢驗或銷售等資訊)登錄在伺服器40中,並依照產品的種類屬性,從產品的履歷資訊中挑選所需要的資訊,亦即自定義編碼90,並透過標籤生成系統產生含有自定義編碼90的二維條碼影像或複合條碼影像,此二維條碼會被輸出而貼覆在此產品上。 In other words, when a product is being manufactured or manufactured, the manufacturing history of the product (such as supply, manufacturing, logistics, inspection, or sales) is registered in the server 40, and according to the type attribute of the product, from Select the required information from the product's resume information, that is, the custom code 90, and generate a two-dimensional barcode image or composite barcode image containing the custom code 90 through the label generation system. This two-dimensional barcode will be output and pasted on On this product.

在步驟220中,當解碼模組21解析得到產品編碼80或自定義編碼90後,再由分析模組22之處理程式222先檢核驗證產品編碼80是否正確無誤,若確認無誤時,分流程式221便會將自定義編碼90傳輸到加密模組23進行加密作業,並透過傳輸模組24將自定義編碼90傳輸到伺服器40進行比對。 In step 220, after the decoding module 21 parses to obtain the product code 80 or the custom code 90, the processing program 222 of the analysis module 22 first checks to verify whether the product code 80 is correct. 221 transmits the custom code 90 to the encryption module 23 for encryption, and transmits the custom code 90 to the server 40 through the transmission module 24 for comparison.

在步驟230中,伺服器40之內部通信介面41接收到自定義編碼90後,可由伺服器40的資料篩選模組42從自定義編碼90之中選擇所欲驗證比對的編碼內容,再由驗證模組43驗證比對此編碼內容是否符合預設條 件,例如某一原料供應來源有問題或製造商生產不符合相關法規時,驗證模組43會將條件驗證結果透過內部通信介面41立即回報至條碼處理裝置20之分析模組22,由處理程式222控制警示模組25進行警示訊息顯示,並且處理程式222會通知結帳裝置30停止消費結帳。若驗證模組43比對自定義編碼90符合預設條件時,處理程式22便會將產品編碼80傳輸到結帳裝置30進行結帳消費,或是處理程式222依據條件驗證結果所指定的操作進行即時狀態訊息之顯示。 In step 230, after the internal communication interface 41 of the server 40 receives the custom code 90, the data filtering module 42 of the server 40 can select the code content to be verified and compared among the custom codes 90, and then The verification module 43 verifies whether the encoded content matches the preset For example, when there is a problem with a raw material supply source or the manufacturer’s production does not comply with the relevant regulations, the verification module 43 will immediately report the result of the condition verification to the analysis module 22 of the barcode processing device 20 through the internal communication interface 41. 222 controls the warning module 25 to display a warning message, and the processing program 222 notifies the checkout device 30 to stop consumption checkout. If the verification module 43 matches the custom code 90 and meets the preset condition, the processing program 22 will transfer the product code 80 to the checkout device 30 for checkout consumption, or the operation specified by the processing program 222 according to the condition verification result Display real-time status messages.

在本發明中,最佳的方式先由條碼處理裝置20確認欲消費產品的產品編碼80是否正確無誤,若確認產品本身的產品編碼80無誤後,便會將自定義編碼90傳輸到伺服器40進行驗證,以確認產品的自定義編碼90是否有符合預設條件。若伺服器40驗證自定義編碼90符合預設條件時,才會啟動結帳裝置30進行消費結帳。 In the present invention, the best way is to first confirm whether the product code 80 of the product to be consumed is correct by the barcode processing device 20. If the product code 80 of the product itself is confirmed to be correct, the custom code 90 is transmitted to the server 40 Perform verification to confirm whether the custom code 90 of the product meets the preset conditions. If the server 40 verifies that the custom code 90 meets the preset condition, the checkout device 30 will be activated to perform the consumption checkout.

在本發明中,另一應用方式在於以條碼讀取裝置10讀取產品的二維條碼影像72後,可藉由條碼處理裝置20將解析到的自定義編碼90透過伺服器40上傳到多個資料庫50進行登錄儲存。換句話說,係利用網路雲端設備,將各類產品所讀取的自定義編碼90登錄到伺服器40驗證,並廣泛的蒐集及歸納到這些資料庫50,並以此建立標準的供應商登錄資訊、製造商登錄資訊、檢驗商登錄資料、物流商登錄資訊或銷售商登錄資訊的統一平台。 In the present invention, another application method is that after reading the two-dimensional barcode image 72 of the product with the barcode reading device 10, the parsed custom code 90 can be uploaded to multiple pieces through the server 40 by the barcode processing device 20 The database 50 is registered and stored. In other words, it uses network cloud devices to register the custom codes 90 read by various products to the server 40 for verification, and extensively collects and summarizes these databases 50 to establish a standard supplier. A unified platform for registration information, manufacturer registration information, inspector registration information, logistics dealer registration information, or seller registration information.

本發明試舉一超商零售食品的實施例作為說明,但不以此限制本發明的申請專利範圍。舉例來說,當超商店員以條碼讀取裝置10讀取 某一食品的一維條碼影像71及/或二維條碼影像72後,即可由條碼處理裝置20得到此食品的產品編碼80,產品編碼80包括食品的品項、售價等相關資訊,並由條碼處理裝置20確認食品的產品編碼80正確無誤。同時,條碼處理裝置20亦得到此食品的自定義編碼90,並藉由傳輸模組24將自定義編碼90上傳到伺服器40進行驗證。若該食品的某一添加原料有違反食安法規或已過有效期時,即可由伺服器40回傳即時狀態資訊給條碼處理裝置20,並控制警示模組25進行警示訊息顯示。此時,超商店員即可馬上得知,消費者所欲購買的食品有問題不能售出。 The present invention cites an example of an over-the-counter retail food as an illustration, but does not limit the patent application scope of the present invention. For example, when a super clerk reads with the barcode reading device 10 After the one-dimensional barcode image 71 and/or the two-dimensional barcode image 72 of a food, the product code 80 of the food can be obtained by the bar code processing device 20. The product code 80 includes relevant information such as food items, selling prices, etc. The barcode processing device 20 confirms that the product code 80 of the food is correct. At the same time, the barcode processing device 20 also obtains the custom code 90 of the food, and uploads the custom code 90 to the server 40 via the transmission module 24 for verification. If an added raw material of the food violates the food safety regulations or the expiration date has expired, the server 40 can return real-time status information to the barcode processing device 20, and control the warning module 25 to display the warning message. At this time, the super clerk can immediately know that the food the consumer wants to buy has problems and cannot be sold.

如此一來,當各種類型的食品在市面上大量流通時,遇上供應原料、製造過程或物流配送過程中發生問題時,或是不合格銷售食品的情況發生時,即可透過本發明具有即時狀態回報之條碼讀取方法及其系統,可在讀取食品的條碼影像時,立即得知食品是否符合目前的生產製造規範或相關法規規定,若出現警示訊息時,也可立即處理此食品不得銷售或另外回收。以此杜絕違法添加物或標示不實等問題,進而確保食品安全無虞。 In this way, when various types of foods are circulated in large quantities on the market, when there are problems in the supply of raw materials, manufacturing processes or logistics distribution processes, or when unqualified foods are sold, the instant The barcode reading method and system for status reporting can immediately know whether the food complies with the current manufacturing specifications or relevant regulations when reading the barcode image of the food. If a warning message appears, the food can also be processed immediately. Sale or additional recycling. In this way, problems such as illegal additives or false labels are eliminated to ensure the safety of food.

本發明試舉另一實施例作為說明,但不以此限制本發明的申請專利範圍。舉例來說,當原製造商生產製造產品後,可將相關生產履歷擷取所需的自定義編碼90製成二維條碼後,將二維條碼設置在產品上。當消費者購買此產品時,即可透過讀取產品的二維條碼影像72,將二維條碼影像72的自定義編碼90連結到伺服器40進行驗證。若查無此自定義編碼90時,即可判斷產品為仿冒品,以避免消費者購買到仿冒品。 本發明藉由讀取產品之至少一條碼影像並得到產品編碼及自定義編碼後,由條碼處理裝置確認產品編碼資訊後,再由伺服器的多個資料庫比對自定義編碼是否符合預設條件,進而確認產品目前的即時狀態,並由伺服器將產品的條件驗證結果回傳到條碼處理裝置進行警示,即可有效排除市面上已流通的問題產品,並且可將自定義編碼即時登錄到伺服器的多個資料庫進行廣泛的蒐集及歸納,以此建立標準的統一平台。本發明亦可利用自定義編碼的唯一性或批次性,應用於產品編碼及自定義編碼的同步資料蒐集,上傳到封閉式資料庫51或開放式資料庫52進行管理,以利建立產品溯源管理等其他應用。 The present invention cites another embodiment as an illustration, but does not limit the scope of patent application of the present invention. For example, after the original manufacturer manufactures the manufactured product, the custom code 90 required for the relevant production history retrieval can be made into a two-dimensional barcode, and then the two-dimensional barcode can be set on the product. When the consumer purchases this product, he can read the two-dimensional barcode image 72 of the product and connect the custom code 90 of the two-dimensional barcode image 72 to the server 40 for verification. If there is no such custom code 90, the product can be judged as counterfeit to avoid consumers buying counterfeit products. In the present invention, after reading at least one barcode image of a product and obtaining a product code and a custom code, after the bar code processing device confirms the product code information, multiple databases of the server compare whether the custom code meets the preset Condition, and then confirm the current real-time status of the product, and the server sends the verification result of the product's condition back to the barcode processing device for warning, which can effectively eliminate the problematic products on the market and register the custom code to the real-time The multiple databases of the server are extensively collected and summarized to establish a standard unified platform. The present invention can also use the uniqueness or batch nature of the custom code to apply to the simultaneous data collection of the product code and the custom code and upload it to the closed database 51 or the open database 52 for management to facilitate the establishment of product traceability Management and other applications.

10‧‧‧條碼讀取裝置 10‧‧‧ Barcode reading device

11‧‧‧雷射掃描器 11‧‧‧Laser scanner

12‧‧‧影像感測器 12‧‧‧Image sensor

20‧‧‧條碼處理裝置 20‧‧‧ Barcode processing device

21‧‧‧解碼模組 21‧‧‧decoding module

22‧‧‧分析模組 22‧‧‧Analysis module

221‧‧‧分流程式 221‧‧‧Sub-process

222‧‧‧處理程式 222‧‧‧Processor

23‧‧‧加密模組 23‧‧‧Encryption module

24‧‧‧傳輸模組 24‧‧‧Transmission module

25‧‧‧警示模組 25‧‧‧Alarm module

30‧‧‧結帳裝置 30‧‧‧Checkout device

40‧‧‧伺服器 40‧‧‧Server

70‧‧‧條碼影像 70‧‧‧ barcode image

71‧‧‧一維條碼影像 71‧‧‧One-dimensional barcode image

72‧‧‧二維條碼影像 72‧‧‧Two-dimensional barcode image

80‧‧‧產品編碼 80‧‧‧Product code

90‧‧‧自定義編碼 90‧‧‧Custom coding

Claims (6)

一種條碼讀取系統,包括:一條碼讀取裝置,用以讀取一產品的至少一條碼影像;一條碼處理裝置,用以接收該條碼讀取裝置所傳輸的該條碼影像,並解析該條碼影像得到一產品編碼及一自定義編碼,該條碼處理裝置更包括:一解碼模組,用以將該條碼影像轉換為數位化資訊,並得到該產品編碼及該自定義編碼;一分析模組,用以接收該解碼模組所傳輸的該產品編碼及該自定義編碼並進行編碼資料分流;一加密模組,用以接收該分析模組所傳輸的該自定義編碼並進行加密作業;以及一傳輸模組,用以接收加密模組所傳輸的加密後的該自定義標碼並傳輸到該伺服器;以及一伺服器,用以接收該條碼處理裝置所傳輸的該自訂義編碼;其中,該分析模組更包括一分流程式,用以判斷該解碼模組所傳輸之該產品編碼及/或該自定義編碼,當該分流程式確認為該產品編碼並驗證無誤時,便會將該產品編碼輸出到一結帳裝置進行零售端的消費結帳作業;當該分流程式確認為該自定義編碼時,便會將該自定義編碼傳輸到該加密模組進行加密作業,該條碼處理裝置確認該產品編碼正確時,該條碼處理裝置便會將該自定義編碼傳輸到該伺服器,由該伺服器判斷該自定義編碼是否符合預設條件,並回傳該產品的一條件驗證結果至該 條碼處理裝置,該條碼處理裝置依據該條件驗證結果進行警示或顯示即時狀態訊息。 A barcode reading system includes: a barcode reading device for reading at least one barcode image of a product; a barcode processing device for receiving the barcode image transmitted by the barcode reading device and parsing the barcode The image gets a product code and a custom code. The barcode processing device further includes: a decoding module for converting the barcode image into digital information, and obtaining the product code and the custom code; and an analysis module To receive the product code and the custom code transmitted by the decoding module and distribute coded data; an encryption module to receive the custom code transmitted by the analysis module and perform encryption; and A transmission module for receiving the encrypted customized code transmitted by the encryption module and transmitting to the server; and a server for receiving the customized code transmitted by the barcode processing device; Among them, the analysis module further includes a sub-procedure to determine the product code and/or the custom code transmitted by the decoding module. When the sub-procedure is confirmed as the product code and verified without error, it will be The product code is output to a checkout device for retail consumer checkout operations; when the sub-process is confirmed as the custom code, the custom code will be transmitted to the encryption module for encryption operation, the barcode processing device When confirming that the product code is correct, the barcode processing device transmits the custom code to the server, and the server determines whether the custom code meets the preset conditions and returns a condition verification result of the product to The Barcode processing device, the bar code processing device alerts or displays real-time status information according to the verification result of the condition. 如請求項1所述的條碼讀取系統,其中該分析模組更包括一處理程式,用以判斷該伺服器所回報的該條件驗證結果是否符合規定,若該條件驗證結果不符合規定,該處理程式會控制一警示模組發出一警示訊息。 The bar code reading system according to claim 1, wherein the analysis module further includes a processing program for determining whether the condition verification result reported by the server meets the requirements, and if the condition verification result does not meet the requirements, the The processing program will control a warning module to issue a warning message. 如請求項1所述的條碼讀取系統,其中該伺服器更包括:一內部通信介面,用以與該條碼處理裝置進行有線或無線之傳輸連接,並接收該條碼處理裝置所傳輸的該自定義編碼;一資料篩選模組,用以從該自定義編碼中選擇所欲驗證比對的編碼內容;一驗證模組,用以設定至少一預設條件,驗證所選擇的該自定義編碼中的編碼內容是否符合該預設條件;以及一外部通信介面,用以將該自定義編碼傳輸到一資料庫進行儲存。 The barcode reading system according to claim 1, wherein the server further comprises: an internal communication interface for wired or wireless transmission connection with the barcode processing device and receiving the self-transmitted data transmitted by the barcode processing device Define the code; a data screening module to select the content of the code to be verified from the custom code; a verification module to set at least one preset condition to verify the selected custom code Whether the content of the code meets the preset condition; and an external communication interface for transmitting the custom code to a database for storage. 一種條碼讀取方法,包括以下步驟:以一條碼讀取裝置取得一產品的至少一條碼影像,再由一條碼處理裝置的一解碼模組解析該條碼影像並轉換為數位化資訊,得到一產品編碼及一自定義編碼;以該條碼處理裝置的一分析模組檢核驗證該產品是否正確無誤,該分析模組更包括一分流程式,用以判斷該解碼模組所傳輸之該產品編碼及/或該自定義編碼,當該分流程式確認為該產品編碼並驗證無誤時,便會將該產品編碼輸出到一結帳裝置進行零售端的消費結帳作業;當該分流程式確認為該自定義編碼時,若確認無誤時,該分析模組會將該自定 義編碼傳輸到一加密模組進行加密作業,並透過一傳輸模組將該自定義編碼傳輸到該伺服器進行比對;以及以該伺服器判斷該自定義編碼是否符合預設條件,若不符合,該伺服器回傳該產品的一條件驗證結果至該條碼處理裝置進行警示或顯示即時狀態訊息。 A barcode reading method includes the following steps: a barcode reading device is used to obtain at least one barcode image of a product, and then a decoding module of a barcode processing device parses the barcode image and converts it into digital information to obtain a product Code and a custom code; an analysis module of the barcode processing device is used to verify whether the product is correct. The analysis module further includes a sub-procedure for determining the product code and the code transmitted by the decoding module /Or the custom code, when the sub-process is confirmed as the product code and the verification is correct, the product code will be output to a checkout device for retail consumer checkout operations; when the sub-process is confirmed as the custom When coding, if the confirmation is correct, the analysis module will customize The encryption code is transmitted to an encryption module for encryption, and the customized code is transmitted to the server for comparison through a transmission module; and the server determines whether the customized code meets the preset conditions, if not In compliance, the server returns a condition verification result of the product to the barcode processing device for warning or displaying real-time status messages. 如請求項4所述的條碼讀取方法,其中該自定義編碼係為二維條碼在產生時加入額外的特定資訊,該特定資訊可為一供應商登錄資訊、一製造商登錄資訊、一檢驗商登錄資料、一物流商登錄資訊、一銷售商登錄資訊、一產地來源、一製造日期或一有效日期等資訊。 The barcode reading method as described in claim 4, wherein the custom code is a two-dimensional barcode with additional specific information added when it is generated. The specific information may be a supplier registration information, a manufacturer registration information, and an inspection Business registration data, a logistics company registration information, a seller registration information, a source of origin, a manufacturing date or an effective date and other information. 如請求項4所述的條碼讀取方法,其中以該伺服器判斷該自定義編碼是否符合預設條件的步驟中,更包括:以該伺服器的一內部通信介面接收到該自定義編碼後,由該伺服器的一資料篩選模組從該自定義編碼之中選擇所欲驗證比對的編碼內容,再由該伺服器的一驗證模組驗證比對該編碼內容是否符合預設條件,若符合預設條件時,該伺服器回傳該條件驗證結果至該條碼處理裝置,由該條碼處理裝置啟動一結帳裝置進行消費結帳。 The barcode reading method according to claim 4, wherein the step of determining whether the custom code meets the preset condition by the server further includes: after receiving the custom code through an internal communication interface of the server , A data filtering module of the server selects the code content to be verified and compared among the custom codes, and a verification module of the server verifies whether the code content matches the preset condition, If the preset condition is met, the server returns the condition verification result to the bar code processing device, and the bar code processing device activates a checkout device for consumption checkout.
TW108102760A 2019-01-24 2019-01-24 Barcode reading system and method TWI690854B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108102760A TWI690854B (en) 2019-01-24 2019-01-24 Barcode reading system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108102760A TWI690854B (en) 2019-01-24 2019-01-24 Barcode reading system and method

Publications (2)

Publication Number Publication Date
TWI690854B true TWI690854B (en) 2020-04-11
TW202029049A TW202029049A (en) 2020-08-01

Family

ID=71134676

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108102760A TWI690854B (en) 2019-01-24 2019-01-24 Barcode reading system and method

Country Status (1)

Country Link
TW (1) TWI690854B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201723938A (en) * 2015-12-28 2017-07-01 英業達股份有限公司 Picking system based on scan barcode and method thereof
TWM548838U (en) * 2017-06-27 2017-09-11 Fu-Tang Cheng Barcode integration system
TWM559465U (en) * 2018-01-10 2018-05-01 Wang Shu Yuan Financial and goods merchandise information system
TWM569450U (en) * 2018-08-21 2018-11-01 樂清服務股份有限公司 Logistics management system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201723938A (en) * 2015-12-28 2017-07-01 英業達股份有限公司 Picking system based on scan barcode and method thereof
TWM548838U (en) * 2017-06-27 2017-09-11 Fu-Tang Cheng Barcode integration system
TWM559465U (en) * 2018-01-10 2018-05-01 Wang Shu Yuan Financial and goods merchandise information system
TWM569450U (en) * 2018-08-21 2018-11-01 樂清服務股份有限公司 Logistics management system

Also Published As

Publication number Publication date
TW202029049A (en) 2020-08-01

Similar Documents

Publication Publication Date Title
US11734640B2 (en) Method and system for cold chain quality control and security
US20070050305A1 (en) RFID system for predictive product purchase date evaluation
US20050247778A1 (en) Point-of-sale system and method for processing product-specific information and item-specific information
EP1548641A1 (en) Method for preventing false indication in commodity distribution and label write device having false alteration prevention function used for the same
US20190043059A1 (en) Monitoring supply chains, authenticating goods and authorizing payment
CN112163801A (en) Cargo warehouse management method and system based on block chain
US20210256464A1 (en) System for generating and maintaining unique identifier data
US10192223B2 (en) Method of identifying authentic versus counterfeit products using warranty tracking
JP2007086861A (en) Settlement-processing system and label-recording device
CN102855513B (en) A kind of false proof and quality data code generating means and its system
TWI690854B (en) Barcode reading system and method
KR100578377B1 (en) Method and Device for issuing connecting-code corresponding electric-tag
KR20040026028A (en) Mobile phone image barcode scanner and method for orderring and payment using that
TWI480815B (en) Visible code-tracing platform
JP2020086813A (en) Food allergen information management system, food allergen information management method, and food allergen information management program
KR20180125855A (en) Network marketing management system using barcode
TW201743058A (en) A food safety Cloud system and tracking method
EP3968254A1 (en) Method for tracking product history
Taniguchi et al. IC tag based traceability: System and solutions
KR20180122972A (en) Method, system and computer program for providing information on use-by-date of products
JP4552504B2 (en) Label issuance management system
KR101293527B1 (en) Product tracking management integrated method and apparatus for generating 2D barcode using a number of one-dimensional barcode data
TWI776402B (en) Inventory management system and method thereof with date and time codes of products
JP2006318111A (en) Medium recording device
KR20060017282A (en) System and method of tracing and managing product