TWI841323B - Method of using blockchain technology to ensure the authenticity of traceable agricultural product - Google Patents
Method of using blockchain technology to ensure the authenticity of traceable agricultural product Download PDFInfo
- Publication number
- TWI841323B TWI841323B TW112111581A TW112111581A TWI841323B TW I841323 B TWI841323 B TW I841323B TW 112111581 A TW112111581 A TW 112111581A TW 112111581 A TW112111581 A TW 112111581A TW I841323 B TWI841323 B TW I841323B
- Authority
- TW
- Taiwan
- Prior art keywords
- crop
- hash value
- record
- blockchain
- procedure
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 84
- 238000012545 processing Methods 0.000 claims abstract description 34
- 230000007613 environmental effect Effects 0.000 claims abstract description 20
- 238000001514 detection method Methods 0.000 claims abstract description 4
- 238000012795 verification Methods 0.000 claims description 40
- 239000002689 soil Substances 0.000 claims description 24
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 13
- 238000003384 imaging method Methods 0.000 claims description 6
- 235000015097 nutrients Nutrition 0.000 claims description 6
- 238000004519 manufacturing process Methods 0.000 description 15
- 230000006870 function Effects 0.000 description 4
- 238000003860 storage Methods 0.000 description 4
- 238000012790 confirmation Methods 0.000 description 3
- 238000002372 labelling Methods 0.000 description 3
- 235000016709 nutrition Nutrition 0.000 description 3
- 230000018514 detection of nutrient Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 206010016952 Food poisoning Diseases 0.000 description 1
- 208000019331 Foodborne disease Diseases 0.000 description 1
- 238000012271 agricultural production Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 238000012552 review Methods 0.000 description 1
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
本發明係與農作物管理有關,特別是指一種利用區塊鏈確保農作物履歷有效性及真實性的區塊鏈保存農作物履歷之方法。 The present invention relates to crop management, and in particular to a method for storing crop records using a blockchain to ensure the validity and authenticity of the crop records.
按,近年來有關食品安全的新聞層出不窮,許多消費者花大錢所購買的標榜在地生產之農產品,實際上很多是由不肖業者以劣質的其他地區或進口之農產品魚目混珠,等消費者回到家後拆開發現其外觀與味道跟真正在地的農產品不相同時已經來不及了,只能當成花了一筆冤枉錢。這種負面的行銷策略不只影響到消費者的購買體驗,也連帶影響到消費者對這個地區的農產品的觀感,許多腳踏實地、童叟無欺的在地業者,因為少數不良業者的行為而被迫背上這個地區都在賣假產品的負面形象。更甚者,如果那些不良業者提供的農產品因為品質上有問題而導致消費者食物中毒或不舒服的話,又會引發更嚴重的食安危機。 In recent years, there has been an endless stream of news about food safety. Many consumers spend a lot of money to buy agricultural products that are advertised as locally produced, but in fact, many of them are mixed with low-quality agricultural products from other regions or imported by unscrupulous businesses. When consumers get home and open the boxes and find that the appearance and taste are different from the real local agricultural products, it is too late and they can only think that they have wasted their money. This negative marketing strategy not only affects consumers' purchasing experience, but also affects consumers' perception of agricultural products in this region. Many down-to-earth and honest local businesses are forced to bear the negative image of this region selling fake products because of the behavior of a few unscrupulous businesses. Worse still, if the agricultural products provided by unscrupulous businesses cause food poisoning or discomfort to consumers due to quality problems, it will lead to a more serious food safety crisis.
為了解決上述的農產品亂象,近年來政府與民間農產品相關產業都積極在推動所謂的「產銷履歷」,即透過農民自己將生產農作物時的相關履歷資料上傳,使消費者得以在購買時明確得知農作物的生產過程、生產地及生產方式,藉以與未標示產銷履歷的不明來源之農作物作區隔。這項政策從出發 點來看,對消費者及業者雙方都有好處。但,上有對策下有政策,由於現今的產銷履歷主要是由生產者自行上傳,其真實性全依賴生產者的個人良心,因此仍有不肖生產者開始偽造假的產銷履歷,試圖取得消費者對農產品的信任,這個行為對產銷履歷的公信力而言無疑是極大的打擊。因此,如何解決上述產銷履歷之真實性無法被確認的問題,是相關領域之業者亟待解決之課題之一。 In order to solve the above-mentioned chaos in agricultural products, in recent years, the government and private agricultural product-related industries have actively promoted the so-called "production and sales history", that is, through farmers themselves uploading relevant record data when producing crops, consumers can clearly know the production process, production place and production method of agricultural products when purchasing, so as to distinguish them from agricultural products of unknown origin without production and sales history marked. From the starting point, this policy is beneficial to both consumers and businesses. However, there are countermeasures from above and policies from below. Since the current production and sales records are mainly uploaded by the producers themselves, their authenticity depends entirely on the personal conscience of the producers. Therefore, there are still unscrupulous producers who have begun to forge production and sales records in an attempt to gain consumers' trust in agricultural products. This behavior is undoubtedly a huge blow to the credibility of production and sales records. Therefore, how to solve the problem that the authenticity of the above-mentioned production and sales records cannot be confirmed is one of the issues that the relevant industry players need to solve urgently.
本發明的主要發明目的在於提供一種利用區塊鏈保存農作物履歷之方法,其可以確保農作物履歷的真實性、不被竄改性及公開性,提升消費者對農作物履歷的信任。 The main purpose of this invention is to provide a method for preserving crop records using blockchain, which can ensure the authenticity, non-tampering and publicity of crop records, and enhance consumers' trust in crop records.
為達成上述之發明目的,本發明所提供之一種利用區塊鏈保存農作物履歷之方法,包含有以下步驟:一農作物偵測程序,係偵測種植有一農作物之一培養空間中的一環境資訊及一農作物資訊;一農作物履歷生成程序,係將該環境資訊與該農作物資訊上傳至一處理模組之一資料庫,並保存為該農作物之一農作物履歷;一雜湊處理程序,係將該農作物履歷以一特定雜湊函數進行雜湊處理,藉以產生一雜湊值;一數位簽名程序,係透過該生產者端之一私鑰對該雜湊值進行數位簽名,以形成一被簽章雜湊值;一區塊鏈寫入程序,係將該被簽章雜湊值寫入一區塊鏈平台之一區塊中記錄,並生成一交易序號與一交易時間保存至該資料庫;以及一發布程序,係將該農作物履歷發布至一農作物履歷檢視模組供一使用者端檢視或查詢。 To achieve the above-mentioned purpose of the invention, the present invention provides a method for storing crop records using blockchain, which includes the following steps: a crop detection procedure, which detects environmental information and crop information in a cultivation space where a crop is planted; a crop record generation procedure, which uploads the environmental information and the crop information to a database of a processing module and stores them as a crop record of the crop; a hashing procedure, which converts the crop record into a specific hash. A hash function performs hashing to generate a hash value; a digital signature program digitally signs the hash value through a private key of the producer end to form a signed hash value; a blockchain writing program writes the signed hash value into a block of a blockchain platform for recording, and generates a transaction sequence number and a transaction time to save to the database; and a publishing program publishes the crop record to a crop record viewing module for a user end to view or query.
在一實施例中,在該發布程序後更包含以下步驟:一檢視程序,係該使用者端透過該農作物履歷檢視模組之一顯示單元瀏覽其中的該農作物及該農作物履歷;一查詢程序,係透過一查詢單元查詢該資料庫中與該農作物履 歷有關之資料;一簽名驗證程序,從該區塊鏈平台取得該被簽章雜湊值以進行簽名驗證,若簽名驗證失敗則提示驗證失敗,若簽名驗證成功則繼續下一步驟;以及一雜湊驗證程序,將該農作物履歷以該特定雜湊函數進行雜湊處理,藉以產生一第二雜湊值;將該第二雜湊值與該被簽章雜湊值進行比對;若該第二雜湊值與該被簽章雜湊值不一致則該提示真實性驗證失敗;若該第二雜湊值與該被簽章雜湊值一致則提示真實性驗證成功。 In one embodiment, the publishing process further includes the following steps: a viewing process, in which the user browses the crop and the crop history therein through a display unit of the crop history viewing module; a query process, in which a query unit queries the database for data related to the crop history; a signature verification process, in which the signed hash value is obtained from the blockchain platform for signature verification. If the signature verification fails, Prompts verification failure, and proceeds to the next step if signature verification succeeds; and a hash verification procedure, hashing the crop record with the specific hash function to generate a second hash value; compares the second hash value with the signed hash value; if the second hash value is inconsistent with the signed hash value, prompts authenticity verification failure; if the second hash value is consistent with the signed hash value, prompts authenticity verification success.
在一實施例中,在該簽名驗證程序中,係利用該生產者端之一公鑰對該被簽章雜湊值進行比對;若該公鑰與該被簽章雜湊值不匹配則代表簽名驗證失敗,若該公鑰與該被簽章雜湊值匹配則代表簽名驗證成功。 In one embodiment, in the signature verification process, a public key of the producer is used to compare the signed hash value; if the public key does not match the signed hash value, it means that the signature verification fails; if the public key matches the signed hash value, it means that the signature verification succeeds.
在一實施例中,在該查詢程序與該簽名驗證程序之間更包含一上鏈驗證程序,係搜尋該資料庫中對應於該農作物履歷之該交易序號與該交易時間,若該資料庫未紀錄該交易序號與該交易時間,則提示該使用者端該農作物履歷尚未上鏈,若有記錄則繼續進行下一步驟。 In one embodiment, a chain verification process is included between the query process and the signature verification process, which searches the database for the transaction number and the transaction time corresponding to the crop history. If the database does not record the transaction number and the transaction time, the user terminal is prompted that the crop history has not been chained. If there is a record, the user terminal proceeds to the next step.
在一實施例中,該環境資訊係透過一感測單元偵測該培養空間中之光照程度、溫度、土壤濕度、空氣濕度、土壤養分、水質及風向中之至少一者。 In one embodiment, the environmental information is detected by a sensing unit to detect at least one of the light level, temperature, soil humidity, air humidity, soil nutrients, water quality and wind direction in the cultivation space.
在一實施例中,該農作物資訊係透過一影像單元偵測該培養空間中之該農作物的影像、照片及熱影像中之至少一者。 In one embodiment, the crop information is obtained by detecting at least one of an image, a photograph, and a thermal image of the crop in the cultivation space through an imaging unit.
在一實施例中,一種利用區塊鏈保存農作物履歷之方法,包含有以下步驟:一預訂流程,係一使用者端透過一農作物履歷檢視系統之一交易單元預先跟一生產者端下訂一尚未種植之農作物,並產生一訂單;一農作物環境履歷生成流程,係該生產者端在收到訂單後,偵測預訂要種植該農作物之一培 養空間中的一環境資訊;將該環境資訊上傳至一處理模組之一資料庫,並保存為該農作物之一農作物環境履歷;一發布流程,係將該農作物環境履歷發布至該農作物履歷檢視系統供該使用者端檢視;以及一預訂確認流程,係該使用者端在查看該農作物環境履歷後決定是否繼續預訂該農作物。 In one embodiment, a method for storing crop records using a blockchain includes the following steps: a reservation process, in which a user side places an order with a producer side through a transaction unit of a crop record viewing system for a crop that has not yet been planted, and generates an order; a crop environment record generation process, in which the producer side detects a cultivation environment of the crop to be planted after receiving the order; Environmental information in a growing space; uploading the environmental information to a database of a processing module and saving it as an environmental history of the crop; a publishing process, publishing the environmental history of the crop to the crop history viewing system for the user to view; and a reservation confirmation process, in which the user decides whether to continue to reserve the crop after viewing the environmental history of the crop.
在一實施例中,該農作物環境履歷生成流程與該發布流程之間更包含一上鏈流程,係將該農作物環境履歷寫入一區塊鏈平台之一區塊中紀錄。 In one embodiment, the crop environment history generation process and the publishing process further include an on-chain process, which is to write the crop environment history into a block on a blockchain platform for recording.
在一實施例中,在該預訂確認流程中該使用者端查看該農作物環境履歷之前,該使用者端可預先透過一查詢單元連線至該區塊鏈平台,將該農作物環境履歷與該區塊鏈平台中之資料比對,以確認該農作物環境履歷之真實性。 In one embodiment, before the user terminal views the crop environment history in the reservation confirmation process, the user terminal can connect to the blockchain platform through a query unit in advance to compare the crop environment history with the data in the blockchain platform to confirm the authenticity of the crop environment history.
在一實施例中,該環境資訊係透過一感測單元偵測該培養空間中之光照程度、溫度、土壤濕度、空氣濕度、土壤養分、水質及風向中之至少一者。 In one embodiment, the environmental information is detected by a sensing unit to detect at least one of the light level, temperature, soil humidity, air humidity, soil nutrients, water quality and wind direction in the cultivation space.
以下即依本發明所揭示的目的、功效及結構組態,舉出較佳實施例,並配合圖式詳細說明。 The following is a list of preferred embodiments based on the purpose, efficacy and structural configuration disclosed by the present invention, and is described in detail with accompanying drawings.
2:生產者端 2: Producer side
4:使用者端 4: User side
10:區塊鏈農作物履歷系統 10: Blockchain crop history system
100:農作物 100: Crops
101:農作物履歷 101: Agricultural crop resume
102:培養空間 102: Cultivation space
20:農作物履歷上傳模組 20:Crop record upload module
21:感測單元 21: Sensing unit
210:光照感測器 210: Light sensor
211:溫度感測器 211: Temperature sensor
212:土壤濕度感測器 212:Soil humidity sensor
213:空氣濕度感測器 213: Air humidity sensor
214:土壤養分感測器 214:Soil nutrient sensor
215:水質感測器 215: Water quality sensor
216:風向感測器 216: Wind direction sensor
217:感測訊號上傳單元 217: Sensing signal uploading unit
22:影像單元 22: Image unit
220:影像擷取單元 220: Image capture unit
221:影像上傳單元 221: Image upload unit
23:發布單元 23: Release unit
30:處理模組 30: Processing module
31:伺服器 31: Server
32:資料庫 32: Database
33:控制單元 33: Control unit
34:接收單元 34: Receiving unit
35:上鏈單元 35: Chain unit
40:農作物履歷檢視模組 40:Crop history viewing module
41:儲存單元 41: Storage unit
42:顯示單元 42: Display unit
43:查詢單元 43: Query unit
44:交易單元 44: Trading unit
50:區塊鏈平台 50: Blockchain platform
第1圖為本發明一較佳實施例的示意圖。 Figure 1 is a schematic diagram of a preferred embodiment of the present invention.
第2圖為本發明一較佳實施例的方塊圖。 Figure 2 is a block diagram of a preferred embodiment of the present invention.
第3圖為本發明一較佳實施例的流程圖,顯示一農作物履歷真實性保護流程。 Figure 3 is a flow chart of a preferred embodiment of the present invention, showing a process for protecting the authenticity of crop records.
第4圖為本發明一較佳實施例的流程圖,顯示一農作物履歷真實性驗證流程。 Figure 4 is a flow chart of a preferred embodiment of the present invention, showing a process for verifying the authenticity of crop records.
第5圖為本發明一較佳實施例的流程圖,顯示一農作物預訂流程。 Figure 5 is a flow chart of a preferred embodiment of the present invention, showing a crop reservation process.
請參閱第1圖及第2圖所示,本發明一較佳實施例提供一區塊鏈農作物履歷系統10,主要包含有一農作物履歷上傳模組20、一處理模組30及一農作物履歷檢視模組40。該農作物履歷上傳模組20係供一生產者端2操作以生成一農作物100之一農作物履歷101。該生產者端2包含但不限於個人戶農民、農業產銷班、各地區農會、或是農業相關業者。該處理模組30通訊連接於該農作物履歷上傳模組20與該農作物履歷檢視模組40,可對該農作物履歷上傳模組20生成的該農作物履歷101進行加密或驗證處理。其中,該處理模組30透過網路連接於一區塊鏈平台50,利用區塊鏈上傳技術將經過加密後的該農作物履歷101有關的資訊寫入該區塊鏈平台50之一區塊中。該區塊鏈平台50為習用技術,在此容不贅述其詳細內容。該農作物履歷檢視模組40供一使用者端4操作以接收或查詢對應之該農作物履歷101。該使用者端4可包含但不限於消費者、政府的檢核人員、產銷履歷的第三方檢核機關等等。
Please refer to FIG. 1 and FIG. 2, a preferred embodiment of the present invention provides a blockchain
該農作物履歷上傳模組20包含有一感測單元21、一影像單元22及一發布單元23。其中:該感測單元21係裝設於種植有該農作物100之一培養空間102。該培養空間102可包含但不限於一室內空間(如溫室)或一室外空間(如農田)。其中,該感測單元21用以感測該農作物100之在整個生產過程中之一環境資訊,包含但不限於光照程度、溫度、土壤濕度、空氣濕度、土壤成分、水質及風向中之至
少一者。在本實施例中,該感測單元21包含一光照感測器210、一溫度感測器211、一土壤濕度感測器212、一空氣濕度感測器213、一土壤養分感測器214、一水質感測器215、一風向感測器216及一感測訊號上傳單元217。
The crop history upload
該光照感測器210設於該培養空間102,用以感測該培養空間102中的光照程度(光之亮度、頻率或波長),據以產生一光照感測訊號。該溫度感測器211設於該培養空間102,用以感測該培養空間102中的溫度高低,據以產生一溫度感測訊號。該土壤溼度感測器212設於該培養空間102之一土壤中,用以感測該培養空間102中的該土壤中之濕度高低,據以產生一土壤濕度感測訊號。該空氣溼度感測器213設於該培養空間102,用以感測該培養空間102中的空氣之濕度高低,據以產生一空氣濕度感測訊號。該土壤養分感測器214設於該培養空間102之該土壤中,用以感測該土壤中之各有機元素之成分比例,據以產生一土壤養分感測訊號。該水質感測單元215設於該培養空間102之一供水系統,用以感測該供水系統提供給該農作物100之水中的成分比例,據以產生一水質感測訊號。該風向感測單元216設於該培養空間102,用以感測該培養空間102中的氣流方向,據以產生一風向感測訊號。該光照感測訊號、該溫度感測訊號、該土壤濕度感測訊號、該空氣濕度感測訊號、該土壤養分感測訊號、該水質感測訊號、該風向感測訊號之其中一者或組合可轉化為該環境資訊,透過該感測訊號上傳單元217以有線或無線(藍芽、紅外線,WIFI,網路等)上傳至該處理模組30。
The
該影像單元22係通訊連接於該處理模組30,用以獲取該農作物之一農作物資訊。該影像單元22具有一影像擷取單元220及一影像上傳單元221。該影像擷取單元220設於該培養空間102中,可為一攝影機、一相機、一紅外線熱影像儀之其中一者或其組合。該影像擷取單元220可受該處理模組30控制而對該培
養空間中之該農作物100進行影像擷取,例如透過該攝影機對該農作物100進行長時間所錄製成之一影片;透過該相機對該農作物100進行特定時機或特定角度所拍攝之一照片;亦或是透過該紅外線熱影像儀對該農作物100擷取之一熱影像。該農作物100之該影片、該照片及/或該熱影像可被轉化為該農作物資訊,經由該影像上傳單元221上傳至該處理模組30。
The
該發布單元23通訊連接於該處理模組30與該農作物履歷檢視模組40,供該生產者端2操作以上傳該農作物100之該農作物履歷101及農作物相關資訊至該農作物履歷檢視模組40,包含但不限於外觀照片、數量、重量、生產地、生產時間、營養標示之至少一者;更包含上述之該環境資訊及該農作物資訊。
The
該處理模組30包含一伺服器31、一資料庫32、一控制單元33、一接收單元34、及一上鏈單元35。該伺服器31可為實體伺服器或雲端伺服器。該資料庫32儲存於該伺服器31中。該控制單元33通訊連接於該感測單元21與該影像單元22,用以控制該感測單元21與該影像單元22開始或停止進行感測與影像擷取。該接收單元34通訊連接於該感測單元21及該影像單元22,用以接收該感測訊號上傳單元217傳輸之該環境資訊及/或該影像上傳單元221傳輸之該農作物資訊,將其儲存於該資料庫32中,並被記錄為該農作物100之該農作物履歷101。該上鏈單元35可供操作而將該資料庫32中之該農作物履歷101上傳至該區塊鏈模組進行上鏈的動作。該上鏈單元35通訊連接於該區塊鏈平台50,可將上傳至該資料庫32中的該農作物履歷101進行加密與上鏈的動作,例如數位簽名、雜湊處理或將資訊寫入該區塊鏈平台50之一區塊中;並可對使用者端4透過該農作物履歷檢視模組40查詢的該農作物履歷101進行真實性驗證。
The
該農作物履歷檢視模組40係通訊連接於該農作物履歷上傳模組20與該處理模組30,係可供該使用者端4透過一電子設備(例如電腦、手機、平板…)操作的虛擬平台呈現,例如一線上網站、一APP、或是可連接至前述的網站或APP之一QR-CODE。在本實施例中,該農作物履歷檢視模組40係為一交易平台,包含一儲存單元41、一顯示單元42、一查詢單元43、及一交易單元44。該儲存單元預存有許多來自各地區的生產者端所發布之來自各地區的農作物之資訊,包含但不限於其價錢、重量、數量、產地、營養標示及對應之農作物履歷。該顯示單元42可為該電子設備之螢幕或使用者介面,用以顯示來自該生產者端2所上傳的價錢、重量、數量、產地、營養標示及對應之農作物履歷等。該查詢單元43通訊連接於該處理模組30之該資料庫32及該區塊鏈平台50,供該使用者端4上傳接收到的該農作物履歷101以進行查詢或真實性驗證。該交易單元44供該使用者端4操作以預訂或直接購買農作物。
The crop
根據以上的結構組態,本發明提供一種使用區塊鏈保存農作物履歷之方法,包含有一農作物履歷真實性保護流程及一農作物履歷真實性驗證流程。該農作物履歷真實性保護流程主要供該生產者端2操作該農作物履歷上傳模組20生成該農作物履歷101並透過該處理模組30寫入該區塊鏈平台50中記錄;該農作物履歷真實性驗證流程主要供該使用者端4查詢特定的該農作物履歷101並驗證其真實性。請參閱第3圖所示,該農作物履歷真實性保護流程之步驟如下:一農作物偵測程序:藉由該感測單元21之該等感測單元210,211,212,213,214,215,216以偵測種植有該農作物100之該培養空間102中的光照程度、溫度、土壤濕度、空氣濕度、土壤成分、水質及風向,以生成該環境資
訊;並透過該影像單元22之該影像擷取單元220對該農作物100進行影像的擷取,以生成該農作物資訊。
According to the above structural configuration, the present invention provides a method for using blockchain to save crop records, including a crop record authenticity protection process and a crop record authenticity verification process. The crop record authenticity protection process is mainly for the
一農作物履歷生成程序:將該環境資訊與該農作物資訊透過該感測訊號上傳單元217與該影像上傳單元221上傳至該處理模組30之該資料庫32中,並記錄為該農作物100之該農作物履歷101來保存。
A crop history generation process: the environmental information and the crop information are uploaded to the
一雜湊處理程序:該處理模組30將該農作物履歷101以一特定雜湊函數進行雜湊處理,藉以產生一雜湊值。
A hashing process: The processing
一數位簽名程序:該生產者端2具有一私鑰及對應於該私鑰之一公鑰。該處理模組30利用該生產者端2之該私鑰對該雜湊值進行數位簽名,以形成一被簽章雜湊值。該被簽章雜湊值可經由驗證以確保該雜湊值係由該生產者端2所發布。
A digital signature process: The
一區塊鏈寫入程序:該處理模組30將該被簽章雜湊值以一智能合約的形式上傳到該區塊鏈平台50之其中一區塊,且該區塊鏈平台50同時記錄下該智能合約生成時一交易時間及一交易序號,完成此筆寫入紀錄。接著,該區塊鏈平台50透過網路將該交易時間與該交易序號回傳至該資料庫32中,以供後續查詢。
A blockchain writing process: The processing
一發布程序:該生產者端2可操作該農作物履歷上傳模組20之該發布單元23將該農作物履歷101發布至該農作物履歷檢視模組40供後續的該使用者端4檢視或查詢。
A publishing procedure: The
請參閱第4圖所示,該農作物履歷真實性驗證流程的步驟如下:
一檢視程序:該使用者端4可透過該農作物履歷檢視模組40之該顯示單元42,瀏覽儲存於該儲存單元41之中的各式農作物,並可檢視任一農作物之農作物履歷,在本實施例中以該農作物100為例。
Please refer to FIG. 4 , the steps of the crop record authenticity verification process are as follows:
1. Viewing procedure: The user terminal 4 can browse various crops stored in the
一查詢程序:當該使用者端4透過該顯示單元42找到該農作物100後欲確認該農作物履歷101之真實性,即可傳輸從該農作物履歷上傳模組20傳輸之該農作物履歷101與對應之該雜湊值至該查詢單元43,該查詢單元43即透過網路連線至該處理模組30及該區塊鏈平台50,以與該資料庫32及區塊鏈平台50中之該農作物履歷101之相關資料進行比對。
1. Query procedure: When the user terminal 4 finds the
一上鏈驗證程序:該處理模組30搜尋該資料庫32中是否紀錄對應於該農作物履歷101的該交易序號與該交易時間,若該資料庫32中未記錄該交易序號與該交易時間,則回傳該農作物履歷101給該使用者端4查看,並提示該農作物履歷101尚未上鏈(尚未寫入該區塊鏈平台50之任一區塊中)。若該資料庫32中有紀錄該交易序號與該交易時間,則繼續進行下一驗證程序。
1. On-chain verification procedure: The processing
一數位簽名驗證程序:該處理模組30從該區塊鏈平台50取得該被簽章雜湊值,並使用該生產者端2之該A公鑰進行簽名驗證,若該雜湊值與該公鑰不匹配,則該處理模組30提示該生產者端2驗證失敗;若匹配則繼續進行下一驗證程序。
A digital signature verification procedure: The processing
一雜湊驗證程序:該處理模組30對該農作物履歷101以該特定雜湊函數進行雜湊處理,藉以產生一第二雜湊值。接著該處理模組30將該第二雜湊值與該區塊鏈平台50中的該被簽章雜湊值進行比對,查看二者是否一致。若該第二雜湊值與該被簽章雜湊值不一致則該處理模組30提示該農作物履歷101驗證失敗的訊息給該使用者端4。該使用者端4透過此提示即可了解到該農作物履歷
101可能遭到竄改,可進一步聯繫該生產者端2確認該農作物履歷101的真實狀況。若該第二雜湊值與該被簽章雜湊值一致,則該處理模組30回傳該農作物履歷101驗證成功的訊息給該使用者端4。如此該使用者端4通過該查詢單元43即可驗證該農作物履歷101的真實性。
A hash verification procedure: The processing
透過上述的農作物真實性保護流程及農作物真實性驗證流程,本發明之所有農作物履歷的相關資訊皆接受區塊鏈綁定且無法竄改,可即時驗證有效性,確保真實性,有效降低偽造農作物履歷對雙方造成的損失。 Through the above-mentioned crop authenticity protection process and crop authenticity verification process, all crop record-related information of the present invention is bound to the blockchain and cannot be tampered with. The validity can be verified in real time to ensure authenticity, effectively reducing the losses caused to both parties by forged crop records.
在本實施例中,由於該農作物履歷檢視模組40為一交易平台,因此更包含一農作物預訂流程。請參閱第5圖所示,該農作物預訂流程之步驟如下:一預訂流程:該使用者端4可透過該農作物履歷檢視模組40之該交易單元44預先跟該生產者端2下單該農作物100所需之品項與數量,並產生一訂單。此時,該生產者端2尚未生產該農作物100。
In this embodiment, since the crop
一農作物環境履歷生成流程:該生產者端2在收到該使用者端4之該訂單後,需透過該感測單元21與該影像單元22,對預訂要種植該農作物100的該培養空間102進行相關資訊與影像的感測,上傳至該處理模組30之該資料庫32中以一農作物環境履歷之形式保存。
A process of generating a crop environment history: After receiving the order from the user end 4, the
一上鏈流程,係將該農作物環境履歷透過網路上傳至該處理模組30進行雜湊處理、數位簽名加密與上鏈的動作,其步驟與先前之農作物履歷真實性保護流程中所述相同,在此容不贅述其詳細內容。在另一實施例中,該生產者端2亦可跳過此步驟並繼續下一步驟。
The first chaining process is to upload the crop environment record to the
一發布流程,該生產者端2可操作該農作物履歷上傳模組20將該農作物環境履歷發布至該農作物履歷檢視模組40供該使用者端4檢視或查詢。
In a publishing process, the
一預訂確認流程:該使用者端4在收到該生產者端傳送之該農作物環境履歷後,若其有進行過該上鏈流程,則可以透過該查詢單元43連線至該區塊鏈平台50以對該農作物環境履歷進行真實性驗證,若真實性驗證失敗則可取消預約。若真實性驗證成功後,該使用者端4亦可在看完該農作物環境履歷之相關資訊後再決定是否要預約生產。
1. Booking confirmation process: After receiving the crop environment history sent by the producer, if the user terminal 4 has performed the on-chain process, it can connect to the
如此一來,該使用者端4可以先行預訂之後需要的農作物,不需要親自到現場即可觀看其生產環境是否符合需求,透過區塊鏈上鏈的方式,亦可確保該農作物環境履歷之真實性。另一方面,該生產者端也可以根據該使用者端4預約的數量來規劃未來需要生產的農作物之種類與數量,更可以藉由上傳該環境履歷增加該使用者端4對該生產者端的信任,有效解決生產者端的庫存掌控問題並提升其行銷形象。 In this way, the user end 4 can pre-order the crops that will be needed in the future, and can check whether the production environment meets the needs without going to the site in person. The authenticity of the crop environment history can also be ensured through the blockchain on-chain method. On the other hand, the producer end can also plan the types and quantities of crops that need to be produced in the future according to the quantity reserved by the user end 4, and can also increase the user end 4's trust in the producer end by uploading the environment history, effectively solving the inventory control problem of the producer end and improving its marketing image.
綜上所述,本發明所提供之利用區塊鏈保存農作物履歷之方法,透過將農作物履歷以區塊鏈上鏈的形式,藉由區塊鏈的去中心化、真實性與不可竄改性,使農作物履歷可被消費者信任;並藉由農作物履歷檢視模組40使消費者可隨時查詢農作物履歷。藉此,不但可以保護在地業者形象、提升整體的食安環境及確保消費者的購買體驗,達到在地業者與消費者的雙贏模式。
In summary, the method of using blockchain to save crop records provided by the present invention makes crop records trustworthy to consumers through the decentralization, authenticity and immutability of blockchain by putting crop records on the blockchain; and enables consumers to check crop records at any time through the crop
上述實施例僅為例示性說明本發明之技術及其功效,而非用於限制本發明。任何熟於此項技術人士均可在不違背本發明之技術原理及精神的情況下,對上述實施例進行修改及變化,因此本發明之權利保護範圍應如後所述之申請專利範圍。 The above embodiments are only for illustrative purposes to illustrate the technology and its effects of the present invention, and are not intended to limit the present invention. Anyone skilled in the art can modify and change the above embodiments without violating the technical principles and spirit of the present invention. Therefore, the scope of protection of the present invention shall be as described below in the scope of the patent application.
2:生產者端 2: Producer side
4:使用者端 4: User side
10:區塊鏈農作物履歷系統 10: Blockchain crop history system
100:農作物 100: Crops
101:農作物履歷 101: Agricultural crop resume
102:培養空間 102: Cultivation space
20:農作物履歷上傳模組 20:Crop record upload module
30:處理模組 30: Processing module
40:農作物履歷檢視模組 40:Crop history viewing module
50:區塊鏈平台 50: Blockchain platform
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW112111581A TWI841323B (en) | 2023-03-27 | 2023-03-27 | Method of using blockchain technology to ensure the authenticity of traceable agricultural product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW112111581A TWI841323B (en) | 2023-03-27 | 2023-03-27 | Method of using blockchain technology to ensure the authenticity of traceable agricultural product |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI841323B true TWI841323B (en) | 2024-05-01 |
TW202441921A TW202441921A (en) | 2024-10-16 |
Family
ID=92076933
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW112111581A TWI841323B (en) | 2023-03-27 | 2023-03-27 | Method of using blockchain technology to ensure the authenticity of traceable agricultural product |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI841323B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI636411B (en) * | 2017-09-13 | 2018-09-21 | 現代財富控股有限公司 | System to provide non-repudiation for non-blockchain node and method thereof |
CN109377244A (en) * | 2018-10-24 | 2019-02-22 | 武汉珞樱联创信息科技有限公司 | A kind of quick traceability system of food and method based on multichain interconnection block chain network |
CN109559122A (en) * | 2018-12-07 | 2019-04-02 | 北京瑞卓喜投科技发展有限公司 | Block chain data transmission method and block chain data transmission system |
CN110097373A (en) * | 2019-03-18 | 2019-08-06 | 杭州特股软件开发有限公司 | The traceability system and method combined based on block chain with Internet of Things |
TWI777465B (en) * | 2021-03-23 | 2022-09-11 | 顏榮宏 | Industrial traceability management system and method |
-
2023
- 2023-03-27 TW TW112111581A patent/TWI841323B/en active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI636411B (en) * | 2017-09-13 | 2018-09-21 | 現代財富控股有限公司 | System to provide non-repudiation for non-blockchain node and method thereof |
CN109377244A (en) * | 2018-10-24 | 2019-02-22 | 武汉珞樱联创信息科技有限公司 | A kind of quick traceability system of food and method based on multichain interconnection block chain network |
CN109559122A (en) * | 2018-12-07 | 2019-04-02 | 北京瑞卓喜投科技发展有限公司 | Block chain data transmission method and block chain data transmission system |
CN110097373A (en) * | 2019-03-18 | 2019-08-06 | 杭州特股软件开发有限公司 | The traceability system and method combined based on block chain with Internet of Things |
TWI777465B (en) * | 2021-03-23 | 2022-09-11 | 顏榮宏 | Industrial traceability management system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200242547A1 (en) | Distributed ledger certification | |
US11379852B2 (en) | Authenticity identification system | |
US11468198B2 (en) | Secure digital media authentication and analysis | |
WO2020001105A1 (en) | Blockchain-based data verification method and apparatus, and electronic device | |
CN112036901A (en) | Method for protecting supply chain data in block chain and system for recording supply chain information | |
CN111861515A (en) | Organic agricultural product security traceability system and method based on cloud computing | |
US20220215382A1 (en) | Blockchain-based product authentication system | |
CN110097373A (en) | The traceability system and method combined based on block chain with Internet of Things | |
CN106910076A (en) | Agricultural product quality supervisory systems and method based on electric business platform | |
US20130268679A1 (en) | Information processing apparatus, information processing method, and program | |
CN109858921A (en) | Agricultural and sideline product based on block chain is traced to the source and marketing method and system | |
US20170193569A1 (en) | Three dimensional web crawler | |
CN111092851A (en) | Data verification method and device of Internet of things temperature detection equipment based on block chain | |
CN113760958B (en) | Information query method, device, equipment and storage medium | |
CN113240435A (en) | Agricultural product safety credible traceability system based on block chain | |
TWI696926B (en) | Establishment and inquiry method of production and sales resume of agricultural product quality | |
KR20230117723A (en) | Automated generation of video-based electronic solicitations | |
Shwetha et al. | A comprehensive review of blockchain based solutions in food supply chain management | |
CN111581293A (en) | Block chain-based user content processing method, device, system and equipment | |
TWI841323B (en) | Method of using blockchain technology to ensure the authenticity of traceable agricultural product | |
CN117240605B (en) | Data transaction method, device, equipment and storage medium | |
CN117993923A (en) | Agricultural product tracing method and system | |
TWM643468U (en) | Anti-tampering blockchain crop history system | |
CN114528600B (en) | Block chain tracing method and system for resisting copy attack | |
TWI615793B (en) | Product traceability system and method thereof |