KR102622454B1 - Agricultural products eco-friendly certification verification server verifying eco-friendly certificated agricultural products, based on two-dimensional code, and the operating method thereof - Google Patents
Agricultural products eco-friendly certification verification server verifying eco-friendly certificated agricultural products, based on two-dimensional code, and the operating method thereof Download PDFInfo
- Publication number
- KR102622454B1 KR102622454B1 KR1020210095034A KR20210095034A KR102622454B1 KR 102622454 B1 KR102622454 B1 KR 102622454B1 KR 1020210095034 A KR1020210095034 A KR 1020210095034A KR 20210095034 A KR20210095034 A KR 20210095034A KR 102622454 B1 KR102622454 B1 KR 102622454B1
- Authority
- KR
- South Korea
- Prior art keywords
- agricultural product
- identification number
- eco
- friendly
- agricultural
- Prior art date
Links
- 238000012795 verification Methods 0.000 title claims description 31
- 238000011017 operating method Methods 0.000 title abstract description 4
- 238000012790 confirmation Methods 0.000 claims abstract description 160
- 238000004806 packaging method and process Methods 0.000 claims abstract description 41
- 238000000034 method Methods 0.000 claims abstract description 19
- 238000003860 storage Methods 0.000 claims description 50
- 230000005540 biological transmission Effects 0.000 claims description 37
- 230000006870 function Effects 0.000 claims description 29
- 239000011159 matrix material Substances 0.000 claims description 15
- 230000004044 response Effects 0.000 claims description 15
- 238000004364 calculation method Methods 0.000 claims description 10
- 238000000605 extraction Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 5
- 238000004519 manufacturing process Methods 0.000 claims description 5
- 239000000284 extract Substances 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 6
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000003337 fertilizer Substances 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000005226 mechanical processes and functions Effects 0.000 description 1
- 239000000575 pesticide Substances 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000000644 propagated effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
- G06Q50/02—Agriculture; Fishing; Mining
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/50—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Life Sciences & Earth Sciences (AREA)
- Physics & Mathematics (AREA)
- Agronomy & Crop Science (AREA)
- Animal Husbandry (AREA)
- Marine Sciences & Fisheries (AREA)
- Health & Medical Sciences (AREA)
- Economics (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Mining & Mineral Resources (AREA)
- General Business, Economics & Management (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- Artificial Intelligence (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
2차원 코드를 기반으로 농산물이 친환경 인증을 받은 농산물인지 여부에 대한 확인을 수행하는 농산물 친환경 인증 확인 서버 및 그 동작 방법이 개시된다. 본 발명은 농산물을 구매한 사용자가, 농산물의 포장지에 인쇄된 2차원 코드를 자신의 전자 단말로 인식시키게 되면, 상기 2차원 코드에 삽입된 정보를 기초로, 상기 사용자가 구매한 농산물이 친환경 인증을 받은 농산물인지 여부를 확인할 수 있는 농산물 친환경 인증 확인 서버 및 그 동작 방법에 대한 것이다.Disclosed is an agricultural product eco-friendly certification confirmation server and its operating method that checks whether agricultural products are eco-friendly certified agricultural products based on a two-dimensional code. The present invention provides that when a user who has purchased agricultural products recognizes a two-dimensional code printed on the packaging of the agricultural product with his or her electronic terminal, the agricultural products purchased by the user are certified as eco-friendly based on the information inserted in the two-dimensional code. This is about an agricultural product eco-friendly certification confirmation server that can check whether the agricultural product has received the certification and its operation method.
Description
본 발명은 2차원 코드를 기반으로 농산물이 친환경 인증을 받은 농산물인지 여부에 대한 확인을 수행하는 농산물 친환경 인증 확인 서버 및 그 동작 방법에 대한 것이다.The present invention relates to an agricultural product eco-friendly certification confirmation server and a method of operating the same, which checks whether agricultural products are eco-friendly certified agricultural products based on a two-dimensional code.
친환경 농산물이란, 환경을 보전하고 소비자에게 안전한 농산물을 공급하기 위해, 농약과 화학비료 등을 전혀 사용하지 않거나 최소량으로 사용하여 생산한 농산물을 의미하는 것으로, 국립 농산물 품질관리원과 민관업체의 엄격한 심사를 통해 인증을 받은 사업자만이 농산물 제품에 친환경 등급을 표시할 수 있는 것이 원칙이다.Eco-friendly agricultural products refer to agricultural products produced without using any or minimal amounts of pesticides and chemical fertilizers in order to preserve the environment and provide safe agricultural products to consumers. They undergo strict screening by the National Agricultural Quality Management Institute and public and private companies. The principle is that only businesses that have received certification can display an eco-friendly rating on agricultural products.
최근에는, 환경과 건강에 대한 사람들의 관심도가 증가함에 따라, 친환경 농산물에 대한 관심도도 함께 증가하고 있다.Recently, as people's interest in the environment and health increases, interest in eco-friendly agricultural products is also increasing.
하지만, 국립 농산물 품질관리원과 민관업체로부터 정상적으로 인증을 받지 못한 사업자가, 농산물의 포장지에 해당 농산물이 친환경 인증을 받은 농산물인 것처럼 무단으로 표시하는 경우, 해당 농산물을 구매한 사용자는 해당 농산물이 실제로 친환경 인증을 받은 농산물인지 여부를 확인하기 어렵다는 문제점이 있다.However, if a business operator that has not been properly certified by the National Agricultural Quality Management Institute and a public-private company labels the agricultural product on the packaging as if the agricultural product has been certified as eco-friendly, the user who purchased the agricultural product may not know that the agricultural product in question is actually eco-friendly. There is a problem that it is difficult to check whether the agricultural product has been certified.
만약, 친환경 농산물의 포장지에 농산물의 친환경 인증을 위한 정보가 삽입된 소정의 2차원 코드를 인쇄해 둠으로써, 해당 농산물을 구매한 사용자가, 농산물의 포장지에 인쇄되어 있는 2차원 코드를 자신의 전자 단말로 스캔하여, 해당 농산물이 실제로 친환경 인증을 받은 농산물인지 여부를 확인할 수 있다면, 사용자가 보다 정확하고 신속하게, 농산물에 대한 친환경 인증 여부를 확인할 수 있다는 점에서, 친환경 농산물에 대한 신뢰성을 증대시킬 수 있을 것이다.If a predetermined two-dimensional code containing information for eco-friendly certification of agricultural products is printed on the packaging of eco-friendly agricultural products, the user who purchases the agricultural products can use the two-dimensional code printed on the packaging of the agricultural products to his/her electronic device. If you can scan with a terminal to check whether the agricultural product in question has actually received eco-friendly certification, this will increase the reliability of eco-friendly agricultural products in that users can more accurately and quickly check whether the agricultural product is certified as eco-friendly. You will be able to.
따라서, 2차원 코드를 기반으로 농산물이 친환경 인증을 받은 농산물인지 여부에 대한 확인을 수행하는 기술에 대한 연구가 필요하다.Therefore, research is needed on technology to check whether agricultural products are certified as eco-friendly based on two-dimensional codes.
본 발명은 농산물을 구매한 사용자가, 농산물의 포장지에 인쇄된 2차원 코드를 자신의 전자 단말로 인식시키게 되면, 상기 2차원 코드에 삽입된 정보를 기초로, 상기 사용자가 구매한 농산물이 친환경 인증을 받은 농산물인지 여부를 확인할 수 있는 농산물 친환경 인증 확인 서버 및 그 동작 방법을 제시함으로써, 상기 사용자가 보다 정확하고 신속하게 농산물에 대한 친환경 인증 여부를 확인할 수 있도록 지원하고자 한다.The present invention provides that when a user who has purchased agricultural products recognizes a two-dimensional code printed on the packaging of the agricultural product with his or her electronic terminal, the agricultural products purchased by the user are certified as eco-friendly based on the information inserted in the two-dimensional code. By presenting an agricultural product eco-friendly certification confirmation server and its operation method that can check whether the agricultural product has received the certification, we aim to support the user to more accurately and quickly check whether the agricultural product is certified as eco-friendly.
본 발명의 일실시예에 따른 2차원 코드를 기반으로 농산물이 친환경 인증을 받은 농산물인지 여부에 대한 확인을 수행하는 농산물 친환경 인증 확인 서버는 친환경 인증을 받은 농산물인 것으로 사전 지정된 복수의 농산물들 - 상기 복수의 농산물들 각각에는, 각 농산물의 식별을 위한 n(n은 2 이상의 자연수임) 자릿수의 주 식별번호와 k(k는 2 이상의 자연수임) 자릿수의 보조 식별번호가 사전 할당되어 있고, 상기 복수의 농산물들 각각의 포장지에는, 각 농산물에 대한 주 식별번호가 삽입되어 있는 2차원 코드와, 각 농산물에 대한 보조 식별번호가 사전 인쇄되어 있음 - 각각에 대한 보조 식별번호와, 상기 복수의 농산물들 각각에 대한 사전 설정된 인증 토큰 - 상기 인증 토큰은 사전 설정된 토큰 생성 함수에, 각 농산물에 대한 주 식별번호와 보조 식별번호가 입력으로 인가되어 산출된 출력 값을 의미함 - 이 서로 대응되어 저장되어 있는 복합 정보 저장부, 상기 복수의 농산물들 중 어느 하나인 제1 농산물을 구매한 사용자의 전자 단말로부터, 상기 제1 농산물이 친환경 인증을 받은 농산물인지 여부에 대한 확인 요청이 수신되면, 상기 전자 단말로 상기 제1 농산물에 대한 보조 식별번호의 전송을 요청하는 보조 식별번호 요청부, 상기 제1 농산물에 대한 보조 식별번호의 전송 요청에 대응하여, 상기 전자 단말로부터, 상기 제1 농산물의 포장지에 인쇄되어 있는 제1 보조 식별번호가 수신되면, 상기 복합 정보 저장부로부터 상기 제1 보조 식별번호에 대응되어 저장되어 있는 제1 인증 토큰을 추출하는 인증 토큰 추출부, 상기 제1 인증 토큰이 추출되면, 상기 전자 단말로 상기 제1 농산물의 포장지에 인쇄된 2차원 코드에 삽입되어 있는 주 식별번호의 전송을 요청하는 주 식별번호 요청부, 상기 제1 농산물에 대한 주 식별번호의 전송 요청에 대응하여, 상기 전자 단말에서, 상기 제1 농산물의 포장지에 인쇄된 2차원 코드가 인식되어 상기 제1 농산물에 대한 주 식별번호인 제1 주 식별번호가 추출됨에 따라, 상기 제1 전자 단말로부터 상기 제1 주 식별번호가 수신되면, 상기 제1 주 식별번호와 상기 제1 보조 식별번호를, 상기 토큰 생성 함수에 입력으로 인가하여 검증용 인증 토큰을 산출하는 토큰 산출부, 상기 검증용 인증 토큰이 산출되면, 상기 검증용 인증 토큰이 상기 제1 인증 토큰과 동일한지 여부를 확인하여, 상기 검증용 인증 토큰이 상기 제1 인증 토큰과 동일한 것으로 확인되는 경우, 상기 제1 농산물이 친환경 인증을 받은 농산물인 것으로 확인하는 인증 확인부 및 상기 제1 농산물이 친환경 인증을 받은 농산물인 것으로 확인되면, 상기 제1 농산물이 친환경 인증을 받은 농산물임을 지시하는 인증 확인 메시지를 생성하여 상기 전자 단말로 전송하는 인증 확인 메시지 전송부를 포함한다.According to an embodiment of the present invention, the agricultural product eco-friendly certification confirmation server, which checks whether the agricultural product is an eco-friendly certified agricultural product based on a two-dimensional code, selects a plurality of agricultural products that are pre-designated as eco-friendly certified agricultural products - the above Each of the plurality of agricultural products is pre-assigned a main identification number of n (n is a natural number of 2 or more) digits and a secondary identification number of k (k is a natural number of 2 or more) digits for identification of each agricultural product, and the plurality of On the packaging of each agricultural product, a two-dimensional code in which the main identification number for each agricultural product is inserted, and a secondary identification number for each agricultural product are pre-printed - a secondary identification number for each and the plurality of agricultural products. Preset authentication token for each - The authentication token refers to the output value calculated by applying the main identification number and secondary identification number for each agricultural product as input to the preset token generation function - These are stored in correspondence with each other. Complex information storage unit, when a request for confirmation as to whether the first agricultural product is an agricultural product that has received eco-friendly certification is received from the electronic terminal of a user who purchased a first agricultural product among the plurality of agricultural products, the electronic terminal is sent An auxiliary identification number request unit for requesting transmission of an auxiliary identification number for the first agricultural product, printed on the packaging of the first agricultural product from the electronic terminal in response to a request for transmission of the auxiliary identification number for the first agricultural product When a first auxiliary identification number is received, an authentication token extraction unit extracts a first authentication token stored corresponding to the first auxiliary identification number from the complex information storage unit, and when the first authentication token is extracted, A state identification number request unit that requests transmission of the state identification number inserted in the two-dimensional code printed on the packaging of the first agricultural product to an electronic terminal, in response to a request for transmission of the state identification number for the first agricultural product, In the electronic terminal, the two-dimensional code printed on the packaging of the first agricultural product is recognized and the first state identification number, which is the state identification number for the first agricultural product, is extracted, thereby identifying the first state from the first electronic terminal. When a number is received, a token calculation unit that calculates an authentication token for verification by applying the first primary identification number and the first auxiliary identification number as input to the token generation function, and when the authentication token for verification is calculated, Check whether the authentication token for verification is the same as the first authentication token, and if the authentication token for verification is confirmed to be the same as the first authentication token, confirm that the first agricultural product is an agricultural product that has received eco-friendly certification. It includes a certification confirmation unit and a certification confirmation message transmission unit that, when it is confirmed that the first agricultural product is an agricultural product that has received eco-friendly certification, generates a certification confirmation message indicating that the first agricultural product is an agricultural product that has received eco-friendly certification and transmits it to the electronic terminal. do.
또한, 본 발명의 일실시예에 따른 2차원 코드를 기반으로 농산물이 친환경 인증을 받은 농산물인지 여부에 대한 확인을 수행하는 농산물 친환경 인증 확인 서버의 동작 방법은 친환경 인증을 받은 농산물인 것으로 사전 지정된 복수의 농산물들 - 상기 복수의 농산물들 각각에는, 각 농산물의 식별을 위한 n(n은 2 이상의 자연수임) 자릿수의 주 식별번호와 k(k는 2 이상의 자연수임) 자릿수의 보조 식별번호가 사전 할당되어 있고, 상기 복수의 농산물들 각각의 포장지에는, 각 농산물에 대한 주 식별번호가 삽입되어 있는 2차원 코드와, 각 농산물에 대한 보조 식별번호가 사전 인쇄되어 있음 - 각각에 대한 보조 식별번호와, 상기 복수의 농산물들 각각에 대한 사전 설정된 인증 토큰 - 상기 인증 토큰은 사전 설정된 토큰 생성 함수에, 각 농산물에 대한 주 식별번호와 보조 식별번호가 입력으로 인가되어 산출된 출력 값을 의미함 - 이 서로 대응되어 저장되어 있는 복합 정보 저장부를 유지하는 단계, 상기 복수의 농산물들 중 어느 하나인 제1 농산물을 구매한 사용자의 전자 단말로부터, 상기 제1 농산물이 친환경 인증을 받은 농산물인지 여부에 대한 확인 요청이 수신되면, 상기 전자 단말로 상기 제1 농산물에 대한 보조 식별번호의 전송을 요청하는 단계, 상기 제1 농산물에 대한 보조 식별번호의 전송 요청에 대응하여, 상기 전자 단말로부터, 상기 제1 농산물의 포장지에 인쇄되어 있는 제1 보조 식별번호가 수신되면, 상기 복합 정보 저장부로부터 상기 제1 보조 식별번호에 대응되어 저장되어 있는 제1 인증 토큰을 추출하는 단계, 상기 제1 인증 토큰이 추출되면, 상기 전자 단말로 상기 제1 농산물의 포장지에 인쇄된 2차원 코드에 삽입되어 있는 주 식별번호의 전송을 요청하는 단계, 상기 제1 농산물에 대한 주 식별번호의 전송 요청에 대응하여, 상기 전자 단말에서, 상기 제1 농산물의 포장지에 인쇄된 2차원 코드가 인식되어 상기 제1 농산물에 대한 주 식별번호인 제1 주 식별번호가 추출됨에 따라, 상기 제1 전자 단말로부터 상기 제1 주 식별번호가 수신되면, 상기 제1 주 식별번호와 상기 제1 보조 식별번호를, 상기 토큰 생성 함수에 입력으로 인가하여 검증용 인증 토큰을 산출하는 단계, 상기 검증용 인증 토큰이 산출되면, 상기 검증용 인증 토큰이 상기 제1 인증 토큰과 동일한지 여부를 확인하여, 상기 검증용 인증 토큰이 상기 제1 인증 토큰과 동일한 것으로 확인되는 경우, 상기 제1 농산물이 친환경 인증을 받은 농산물인 것으로 확인하는 단계 및 상기 제1 농산물이 친환경 인증을 받은 농산물인 것으로 확인되면, 상기 제1 농산물이 친환경 인증을 받은 농산물임을 지시하는 인증 확인 메시지를 생성하여 상기 전자 단말로 전송하는 단계를 포함한다.In addition, the operation method of the agricultural product eco-friendly certification confirmation server that checks whether the agricultural product is an eco-friendly certified agricultural product based on a two-dimensional code according to an embodiment of the present invention is to use a plurality of agricultural products pre-designated as eco-friendly certified agricultural products. Agricultural products - Each of the plurality of agricultural products is pre-assigned a main identification number of n (n is a natural number of 2 or more) digits and a secondary identification number of k (k is a natural number of 2 or more) digits for identification of each agricultural product. On the packaging of each of the plurality of agricultural products, a two-dimensional code in which the main identification number for each agricultural product is inserted, and a secondary identification number for each agricultural product are pre-printed - a secondary identification number for each, A preset authentication token for each of the plurality of agricultural products - the authentication token refers to an output value calculated by applying the main identification number and secondary identification number for each agricultural product as input to a preset token generation function - these are mutually exclusive. Maintaining a composite information storage unit stored in correspondence, requesting confirmation from the electronic terminal of a user who has purchased a first agricultural product, which is one of the plurality of agricultural products, as to whether the first agricultural product is an agricultural product that has received eco-friendly certification; When received, requesting transmission of an auxiliary identification number for the first agricultural product to the electronic terminal, in response to a request for transmission of the auxiliary identification number for the first agricultural product, from the electronic terminal, When the first auxiliary identification number printed on the packaging is received, extracting a first authentication token stored corresponding to the first auxiliary identification number from the complex information storage unit, when the first authentication token is extracted, Requesting transmission of a state identification number inserted in a two-dimensional code printed on the packaging of the first agricultural product to the electronic terminal, in response to a request for transmission of the state identification number for the first agricultural product, from the electronic terminal , As the two-dimensional code printed on the packaging of the first agricultural product is recognized and the first state identification number, which is the state identification number for the first agricultural product, is extracted, the first state identification number is received from the first electronic terminal. When this happens, calculating an authentication token for verification by applying the first primary identification number and the first auxiliary identification number as input to the token generation function. When the authentication token for verification is calculated, the authentication token for verification is Checking whether the verification token is the same as the first authentication token, and if it is confirmed that the verification token is the same as the first authentication token, confirming that the first agricultural product is an agricultural product that has received eco-friendly certification; and When it is confirmed that the agricultural product is an agricultural product that has received eco-friendly certification, it includes generating a certification confirmation message indicating that the first agricultural product is an agricultural product that has received eco-friendly certification and transmitting it to the electronic terminal.
본 발명은 농산물을 구매한 사용자가, 농산물의 포장지에 인쇄된 2차원 코드를 자신의 전자 단말로 인식시키게 되면, 상기 2차원 코드에 삽입된 정보를 기초로, 상기 사용자가 구매한 농산물이 친환경 인증을 받은 농산물인지 여부를 확인할 수 있는 농산물 친환경 인증 확인 서버 및 그 동작 방법을 제시함으로써, 상기 사용자가 보다 정확하고 신속하게 농산물에 대한 친환경 인증 여부를 확인할 수 있도록 지원할 수 있다.The present invention provides that when a user who has purchased agricultural products recognizes a two-dimensional code printed on the packaging of the agricultural product with his or her electronic terminal, the agricultural products purchased by the user are certified as eco-friendly based on the information inserted in the two-dimensional code. By presenting an agricultural product eco-friendly certification confirmation server and its operation method that can check whether the agricultural product has received the certification, it is possible to support the user to more accurately and quickly check whether the agricultural product is certified as eco-friendly.
도 1은 본 발명의 일실시예에 따른 2차원 코드를 기반으로 농산물이 친환경 인증을 받은 농산물인지 여부에 대한 확인을 수행하는 농산물 친환경 인증 확인 서버의 구조를 도시한 도면이다.
도 2는 본 발명의 일실시예에 따른 2차원 코드를 기반으로 농산물이 친환경 인증을 받은 농산물인지 여부에 대한 확인을 수행하는 농산물 친환경 인증 확인 서버의 동작을 설명하기 위한 도면이다.
도 3은 본 발명의 일실시예에 따른 2차원 코드를 기반으로 농산물이 친환경 인증을 받은 농산물인지 여부에 대한 확인을 수행하는 농산물 친환경 인증 확인 서버의 동작 방법을 도시한 순서도이다.Figure 1 is a diagram illustrating the structure of an agricultural product eco-friendly certification confirmation server that checks whether agricultural products are eco-friendly certified agricultural products based on a two-dimensional code according to an embodiment of the present invention.
Figure 2 is a diagram illustrating the operation of an agricultural product eco-friendly certification confirmation server that checks whether agricultural products are certified eco-friendly based on a two-dimensional code according to an embodiment of the present invention.
Figure 3 is a flowchart showing the operation method of the agricultural product eco-friendly certification confirmation server that checks whether the agricultural product is eco-friendly certified agricultural product based on a two-dimensional code according to an embodiment of the present invention.
이하에서는 본 발명에 따른 실시예들을 첨부된 도면을 참조하여 상세하게 설명하기로 한다. 이러한 설명은 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였으며, 다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 본 명세서 상에서 사용되는 모든 용어들은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 사람에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다.Hereinafter, embodiments according to the present invention will be described in detail with reference to the attached drawings. This description is not intended to limit the present invention to specific embodiments, but should be understood to include all changes, equivalents, and substitutes included in the spirit and technical scope of the present invention. In describing each drawing, similar reference numerals are used for similar components, and unless otherwise defined, all terms used in this specification, including technical or scientific terms, are within the scope of common knowledge in the technical field to which the present invention pertains. It has the same meaning as generally understood by those who have it.
본 문서에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있다는 것을 의미한다. 또한, 본 발명의 다양한 실시예들에 있어서, 각 구성요소들, 기능 블록들 또는 수단들은 하나 또는 그 이상의 하부 구성요소로 구성될 수 있고, 각 구성요소들이 수행하는 전기, 전자, 기계적 기능들은 전자회로, 집적회로, ASIC(Application Specific Integrated Circuit) 등 공지된 다양한 소자들 또는 기계적 요소들로 구현될 수 있으며, 각각 별개로 구현되거나 2 이상이 하나로 통합되어 구현될 수도 있다. In this document, when a part "includes" a certain component, this means that it may further include other components rather than excluding other components, unless specifically stated to the contrary. Additionally, in various embodiments of the present invention, each component, functional block, or means may be composed of one or more subcomponents, and the electrical, electronic, and mechanical functions performed by each component may be electronic. It may be implemented with various known elements or mechanical elements such as circuits, integrated circuits, and ASICs (Application Specific Integrated Circuits), and may be implemented separately or by integrating two or more into one.
한편, 첨부된 블록도의 블록들이나 흐름도의 단계들은 범용 컴퓨터, 특수용 컴퓨터, 휴대용 노트북 컴퓨터, 네트워크 컴퓨터 등 데이터 프로세싱이 가능한 장비의 프로세서나 메모리에 탑재되어 지정된 기능들을 수행하는 컴퓨터 프로그램 명령들(instructions)을 의미하는 것으로 해석될 수 있다. 이들 컴퓨터 프로그램 명령들은 컴퓨터 장치에 구비된 메모리 또는 컴퓨터에서 판독 가능한 메모리에 저장될 수 있기 때문에, 블록도의 블록들 또는 흐름도의 단계들에서 설명된 기능들은 이를 수행하는 명령 수단을 내포하는 제조물로 생산될 수도 있다. 아울러, 각 블록 또는 각 단계는 특정된 논리적 기능(들)을 실행하기 위한 하나 이상의 실행 가능한 명령들을 포함하는 모듈, 세그먼트 또는 코드의 일부를 나타낼 수 있다. 또, 몇 가지 대체 가능한 실시예들에서는 블록들 또는 단계들에서 언급된 기능들이 정해진 순서와 달리 실행되는 것도 가능함을 주목해야 한다. 예컨대, 잇달아 도시되어 있는 두 개의 블록들 또는 단계들은 실질적으로 동시에 수행되거나, 역순으로 수행될 수 있으며, 경우에 따라 일부 블록들 또는 단계들이 생략된 채로 수행될 수도 있다.Meanwhile, the blocks in the attached block diagram or the steps in the flow chart are computer program instructions that are mounted on the processor or memory of equipment capable of data processing, such as general-purpose computers, special-purpose computers, portable laptop computers, and network computers, and perform designated functions. It can be interpreted to mean. Because these computer program instructions can be stored in a memory provided in a computer device or in a computer-readable memory, the functions described in the blocks of a block diagram or the steps of a flow diagram can be produced as a manufactured product containing instruction means to perform them. It could be. In addition, each block or each step may represent a module, segment, or portion of code that includes one or more executable instructions for executing specified logical function(s). Additionally, it should be noted that in some alternative embodiments, it is possible for functions mentioned in blocks or steps to be executed in a different order. For example, two blocks or steps shown in succession may be performed substantially simultaneously or in reverse order, and in some cases, some blocks or steps may be omitted.
도 1은 본 발명의 일실시예에 따른 2차원 코드를 기반으로 농산물이 친환경 인증을 받은 농산물인지 여부에 대한 확인을 수행하는 농산물 친환경 인증 확인 서버의 구조를 도시한 도면이다.Figure 1 is a diagram illustrating the structure of an agricultural product eco-friendly certification confirmation server that checks whether agricultural products are eco-friendly certified agricultural products based on a two-dimensional code according to an embodiment of the present invention.
도 1을 참조하면, 본 발명에 따른 농산물 친환경 인증 확인 서버(110)는 복합 정보 저장부(111), 보조 식별번호 요청부(112), 인증 토큰 추출부(113), 주 식별번호 요청부(114), 토큰 산출부(115), 인증 확인부(116) 및 인증 확인 메시지 전송부(117)를 포함한다.Referring to Figure 1, the agricultural product eco-friendly
먼저, 본 발명에서의 복수의 농산물들은, 친환경 인증을 받은 농산물인 것으로 사전 지정된 농산물들로, 상기 복수의 농산물들 각각에는, 각 농산물의 식별을 위한 n(n은 2 이상의 자연수임) 자릿수의 주 식별번호와 k(k는 2 이상의 자연수임) 자릿수의 보조 식별번호가 사전 할당되어 있고, 상기 복수의 농산물들 각각의 포장지에는, 각 농산물에 대한 주 식별번호가 삽입되어 있는 2차원 코드와, 각 농산물에 대한 보조 식별번호가 사전 인쇄되어 있다.First, the plurality of agricultural products in the present invention are agricultural products that have been pre-designated as eco-friendly certified agricultural products, and each of the plurality of agricultural products has a main digit of n (n is a natural number of 2 or more) for identification of each agricultural product. An identification number and an auxiliary identification number of k (k is a natural number of 2 or more) digits are pre-allocated, and on the packaging of each of the plurality of agricultural products, a two-dimensional code in which the main identification number for each agricultural product is inserted, and each Supplementary identification numbers for agricultural products are pre-printed.
여기서, 상기 2차원 코드는 2차원 이미지 패턴 상에 다양한 문자 등의 정보를 삽입할 수 있는 코드를 의미하는 것으로, QR 코드(Quick Response Code), veri code, 닷 코드 등이 사용되거나 한국등록특허 제10-1897960호에 개시된 다수의 점으로 구성된 픽셀 공간을 통해 2차원 이미지 상에 소정의 데이터를 표현할 수 있는 디지털 코드 등이 사용될 수 있다. 이와 관련해서, 도 2의 도시된 그림은 흰색 포장지(210)의 표면에 다수의 노란색 점으로 구성된 픽셀 공간을 통해 2차원 이미지 상에 소정의 데이터를 표현할 수 있는 디지털 코드(211)가 상기 2차원 코드로 삽입되어 있는 예를 나타낸 것이다. 이러한 디지털 코드는 도면부호 211에 도시된 바와 같이, 노란색의 점으로 구성되어 있어서, 흰색 바탕의 배경과 대비하였을 때, 색상의 대비가 명확하지 않아서, 육안으로는 명확하게 관찰되기가 어렵지만, 전자 단말의 카메라는 사람의 시각과 다르게 노란색의 점에 대한 식별을 수행할 수 있다는 점에서, 전자 단말을 통해서는 노란색 점의 패턴이 명확하게 식별될 수 있는 특징을 갖는다.Here, the two-dimensional code refers to a code that can insert information such as various characters into a two-dimensional image pattern. QR code (Quick Response Code), veri code, dot code, etc. are used, or Korean registered patent codes are used. A digital code that can express certain data on a two-dimensional image through a pixel space composed of a plurality of points disclosed in No. 10-1897960 can be used. In this regard, the picture shown in FIG. 2 shows that a digital code 211 capable of expressing predetermined data on a two-dimensional image through a pixel space composed of a plurality of yellow dots on the surface of the white packaging paper 210 is displayed in the two-dimensional image. This shows an example inserted as code. As shown in reference numeral 211, this digital code is composed of yellow dots, and when compared to a white background, the color contrast is not clear, so it is difficult to clearly observe with the naked eye, but it is difficult to observe clearly with the naked eye. The camera has the characteristic of being able to identify yellow dots differently from human vision, allowing the pattern of yellow dots to be clearly identified through an electronic terminal.
이러한 상황에서, 농산물 친환경 인증 확인 서버(110)의 복합 정보 저장부(111)에는 상기 복수의 농산물들 각각에 대한 보조 식별번호와, 상기 복수의 농산물들 각각에 대한 사전 설정된 인증 토큰(상기 인증 토큰은 사전 설정된 토큰 생성 함수에, 각 농산물에 대한 주 식별번호와 보조 식별번호가 입력으로 인가되어 산출된 출력 값을 의미함)이 서로 대응되어 저장되어 있다.In this situation, the complex
이때, 본 발명의 일실시예에 따르면, 상기 토큰 생성 함수는 상기 복수의 농산물들 중 어느 하나의 농산물에 사전 할당된 n 자릿수의 주 식별번호와 k 자릿수의 보조 식별번호가 입력으로 인가되면, 입력으로 인가된 n 자릿수의 주 식별번호를 구성하는 n개의 숫자들을 성분으로 갖는 열벡터와, 입력으로 인가된 k 자릿수의 보조 식별번호를 구성하는 k개의 숫자들을 성분으로 갖는 행벡터 간의 크로네커 곱(Kronecker Product)을 연산하여 n x k 크기의 연산 행렬을 생성한 후, 상기 연산 행렬의 유클리드 노름(Euclidean Norm)을, 상기 어느 하나의 농산물에 대응되는 인증 토큰으로 산출하는 함수일 수 있다.At this time, according to one embodiment of the present invention, when the n-digit primary identification number and k-digit auxiliary identification number pre-assigned to any one agricultural product among the plurality of agricultural products are applied as input, the token generation function inputs Kronecker product (Kronecker product) between a column vector whose components are n numbers constituting the n-digit primary identification number applied as input, and a row vector whose components are k numbers constituting the k-digit auxiliary identification number applied as input. It may be a function that calculates (Product) to generate an operation matrix of size n
여기서, 크로네커 곱이란 두 행렬의 텐서곱을 구체적으로 표현한 행렬을 의미하는 것으로, 하기의 수학식 1과 같은 a x b 크기의 행렬 A와 하기의 수학식 2와 같은 p x q 크기의 행렬 B가 주어졌다고 하였을 때, 행렬 A와 행렬 B 간의 크로네커 곱은 하기의 수학식 3과 같이 나타낼 수 있다.Here, the Kronecker product refers to a matrix that specifically expresses the tensor product of two matrices. Given a matrix A of size a x b as in Equation 1 below and matrix B of size p x q as in Equation 2 below, , the Kronecker product between matrix A and matrix B can be expressed as Equation 3 below.
또한, 유클리드 노름이란 벡터나 행렬의 유클리드 공간 상에서의 크기를 나타내는 L2 노름으로, 하기의 수학식 4와 같이 나타낼 수 있다.Additionally, the Euclidean norm is an L2 norm that represents the size of a vector or matrix in Euclidean space, and can be expressed as Equation 4 below.
이때, 는 상기 유클리드 노름을 의미하는 것으로, 는 벡터 또는 행렬의 i번째 성분을 의미한다.At this time, means the Euclidean norm, means the ith component of a vector or matrix.
예컨대, n을 '5', k를 '6'이라고 하고, 상기 복수의 농산물들을 '농산물 1, 농산물 2, 농산물 3'이라고 가정하자.For example, let us assume that n is '5' and k is '6', and that the plurality of agricultural products are 'Agricultural Product 1, Agricultural Product 2, and Agricultural Product 3'.
이때, '농산물 1'에 대해, 주 식별번호로 '32123'이 사전 할당되어 있다고 하고, 보조 식별번호로 '123321'이 사전 할당되어 있다고 하는 경우, '농산물 1'의 포장지에는, '32123'이 삽입되어 있는 2차원 코드와 '123321'이 사전 인쇄되어 있을 수 있다.At this time, if '32123' is pre-allocated as the main identification number for 'Agricultural Product 1' and '123321' is pre-allocated as the secondary identification number, '32123' is written on the packaging of 'Agricultural Product 1'. The inserted 2D code and '123321' may be pre-printed.
또한, '32123'과 '123321'이 상기 토큰 생성 함수에 입력으로 인가되어 산출된 출력 값을 '인증 토큰 1'이라고 하는 경우, 복합 정보 저장부(111)에는, '123321'과 '인증 토큰 1'이 서로 대응되어 저장되어 있을 수 있다.In addition, when '32123' and '123321' are input to the token generation function and the calculated output value is called 'authentication token 1', '123321' and 'authentication token 1' are stored in the complex
이러한 방식으로, 복합 정보 저장부(111)에는 하기의 표 1과 같이, '농산물 1, 농산물 2, 농산물 3' 각각에 대한 보조 식별번호와, '농산물 1, 농산물 2, 농산물 3' 각각에 대한 사전 설정된 인증 토큰이 서로 대응되어 저장되어 있을 수 있다.In this way, the complex
보조 식별번호 요청부(112)는 상기 복수의 농산물들 중 어느 하나인 제1 농산물을 구매한 사용자(130)의 전자 단말(131)로부터, 상기 제1 농산물이 친환경 인증을 받은 농산물인지 여부에 대한 확인 요청이 수신되면, 전자 단말(131)로 상기 제1 농산물에 대한 보조 식별번호의 전송을 요청한다.The auxiliary identification
인증 토큰 추출부(113)는 상기 제1 농산물에 대한 보조 식별번호의 전송 요청에 대응하여, 전자 단말(131)로부터, 상기 제1 농산물의 포장지에 인쇄되어 있는 제1 보조 식별번호가 수신되면, 복합 정보 저장부(111)로부터 상기 제1 보조 식별번호에 대응되어 저장되어 있는 제1 인증 토큰을 추출한다.When the authentication
주 식별번호 요청부(114)는 인증 토큰 추출부(113)에 의해 상기 제1 인증 토큰이 추출되면, 전자 단말(131)로 상기 제1 농산물의 포장지에 인쇄된 2차원 코드에 삽입되어 있는 주 식별번호의 전송을 요청한다. When the first authentication token is extracted by the authentication
토큰 산출부(115)는 상기 제1 농산물에 대한 주 식별번호의 전송 요청에 대응하여, 전자 단말(131)에서, 상기 제1 농산물의 포장지에 인쇄된 2차원 코드가 인식되어 상기 제1 농산물에 대한 주 식별번호인 제1 주 식별번호가 추출됨에 따라, 전자 단말(131)로부터 상기 제1 주 식별번호가 수신되면, 상기 제1 주 식별번호와 상기 제1 보조 식별번호를, 상기 토큰 생성 함수에 입력으로 인가하여 검증용 인증 토큰을 산출한다.In response to a request to transmit the main identification number for the first agricultural product, the
인증 확인부(116)는 토큰 산출부(115)에 의해 상기 검증용 인증 토큰이 산출되면, 상기 검증용 인증 토큰이 상기 제1 인증 토큰과 동일한지 여부를 확인하여, 상기 검증용 인증 토큰이 상기 제1 인증 토큰과 동일한 것으로 확인되는 경우, 상기 제1 농산물이 친환경 인증을 받은 농산물인 것으로 확인한다.When the authentication token for verification is calculated by the
인증 확인 메시지 전송부(117)는 인증 확인부(116)에 의해 상기 제1 농산물이 친환경 인증을 받은 농산물인 것으로 확인되면, 상기 제1 농산물이 친환경 인증을 받은 농산물임을 지시하는 인증 확인 메시지를 생성하여 전자 단말(131)로 전송한다.When it is confirmed by the
이하에서는, 보조 식별번호 요청부(112), 인증 토큰 추출부(113), 주 식별번호 요청부(114), 토큰 산출부(115), 인증 확인부(116) 및 인증 확인 메시지 전송부(117)의 동작을 예를 들어, 상세히 설명하기로 한다.Hereinafter, the auxiliary identification
먼저, 전술한 예와 같이, 상기 복수의 농산물들을 '농산물 1, 농산물 2, 농산물 3'이라고 하고, '농산물 1'을 구매한 사용자(130)가 전자 단말(131)에, '농산물 1'이 친환경 인증을 받은 농산물인지 여부에 대한 확인 명령을 인가하였다고 가정하자.First, as in the above-mentioned example, the plurality of agricultural products are called 'Agricultural Product 1, Agricultural Product 2, and Agricultural Product 3', and the
이때, 본 발명의 일실시예 따르면, 전자 단말(131)은 농산물 친환경 인증 확인 서버(110)로, '농산물 1'이 친환경 인증을 받은 농산물인지 여부에 대한 확인 요청을 전송할 수 있다.At this time, according to one embodiment of the present invention, the
이에 따라, 농산물 친환경 인증 확인 서버(110)에 '농산물 1'에 대한 확인 요청이 수신되면, 보조 식별번호 요청부(112)는 전자 단말(131)로 '농산물 1'에 대한 보조 식별번호의 전송을 요청할 수 있다.Accordingly, when a confirmation request for 'agricultural product 1' is received by the agricultural product eco-friendly
이때, 본 발명의 일실시예에 따르면, 전자 단말(131)은 농산물 친환경 인증 확인 서버(110)로부터, '농산물 1'에 대한 보조 식별번호의 전송 요청이 수신되면, 사용자(130)에 대해, '농산물 1'에 대한 보조 식별번호를 전자 단말(131)에 입력할 것을 지시하는 입력 안내 메시지를 화면 상에 표시할 수 있다.At this time, according to an embodiment of the present invention, when a request to transmit an auxiliary identification number for 'agricultural product 1' is received from the agricultural product eco-friendly
이에 대응하여, 사용자(130)가 '농산물 1'의 포장지에 인쇄되어 있는 '농산물 1'에 대한 보조 식별번호인 '123321'을 확인한 후, 전자 단말(131)에 '123321'을 입력하면, 전자 단말(131)은 '123321'을 농산물 친환경 인증 확인 서버(110)로 전송할 수 있다.In response, when the
이에 따라, 농산물 친환경 인증 확인 서버(110)에 '123321'이 수신되면, 인증 토큰 추출부(113)는 상기 표 1과 같은 복합 정보 저장부(111)로부터, '123321'에 대응되어 저장되어 있는 '인증 토큰 1'을 추출할 수 있다.Accordingly, when '123321' is received by the agricultural product eco-friendly
그러고 나서, 주 식별번호 요청부(114)는 전자 단말(131)로 '농산물 1'의 포장지에 인쇄된 2차원 코드에 삽입되어 있는 주 식별번호의 전송을 요청할 수 있다.Then, the main identification
이때, 본 발명의 일실시예에 따르면, 전자 단말(131)은 농산물 친환경 인증 확인 서버(110)로부터, '농산물 1'의 포장지에 인쇄된 2차원 코드에 삽입되어 있는 주 식별번호의 전송 요청이 수신되면, 상기 사용자(130)에 대해, 전자 단말(131)을 이용하여 '농산물 1'의 포장지에 사전 인쇄되어 있는 2차원 코드를 인식시킬 것을 지시하는 코드 인식 메시지를 화면 상에 표시할 수 있다.At this time, according to one embodiment of the present invention, the
그러면, 사용자(130)는 상기 코드 인식 메시지에 대응하여, '농산물 1'의 포장지에 인쇄된 2차원 코드를 전자 단말(131)에 인식시킬 수 있다.Then, the
이때, 전술한 예에 따르면, '농산물 1'의 포장지에 인쇄된 2차원 코드에는, '농산물 1'에 대한 주 식별번호인 '32123'이 삽입되어 있으므로, 전자 단말(131)은 사용자(130)에 의해 '농산물 1'의 포장지에 인쇄된 2차원 코드가 인식되면, '농산물 1'의 포장지에 인쇄된 2차원 코드로부터 '32123'을 추출한 후, 농산물 친환경 인증 확인 서버(110)로 '32123'을 전송할 수 있다.At this time, according to the above-mentioned example, '32123', the main identification number for 'Agricultural Product 1', is inserted in the two-dimensional code printed on the packaging of 'Agricultural Product 1', so the
이에 따라, 농산물 친환경 인증 확인 서버(110)에, '32123'이 수신되면, 토큰 산출부(115)는 '32123'과 '123321'을 상기 토큰 생성 함수에 입력으로 인가하여, 검증용 인증 토큰을 생성할 수 있다.Accordingly, when '32123' is received by the agricultural product eco-friendly
이때, 본 발명의 일실시예에 따르면, 토큰 산출부(115)는 상기 토큰 생성 함수에 '32123'과 '123321'을 입력으로 인가함으로써, '32123'을 구성하는 '5'개의 숫자들을 성분으로 갖는 열벡터인 ''과, '123321'을 구성하는 '6'개의 숫자들을 성분으로 갖는 행벡터인 '' 간의 크로네커 곱을 연산하여 '5 x 6'의 크기를 갖는 제1 연산 행렬을 ''과 같이 생성할 수 있다.At this time, according to one embodiment of the present invention, the
그러고 나서, 토큰 산출부(115)는 상기 수학식 4에 따라, 상기 제1 연산 행렬의 유클리드 노름을 '27.49'와 같이 연산함으로써, 상기 검증용 인증 토큰을 '27.49'와 같이 산출할 수 있다.Then, the
그러면, 인증 확인부(116)는 상기 검증용 인증 토큰인 '27.49'와 '인증 토큰 1'이 동일한지 여부를 확인하여, '27.49'와 '인증 토큰 1'이 동일한 것으로 확인되는 경우, 상기 제1 농산물이 친환경 인증을 받은 농산물인 것으로 확인할 수 있다.Then, the
관련해서, 전술한 예에 따르면, 상기 검증용 인증용 토큰인 '27.49'와 '인증 토큰 1'은 모두, 상기 토큰 생성 함수에 '32123'과 '123321'이 입력으로 인가되어 산출된 출력 값들이므로, 인증 확인부(116)는 '27.49'와 '인증 토큰 1'이 동일한 것으로 확인할 수 있다.In relation to this, according to the above-mentioned example, the verification authentication tokens '27.49' and 'authentication token 1' are both output values calculated by applying '32123' and '123321' as input to the token creation function. , the
여기서, '27.49'와 '인증 토큰 1'이 동일하다는 것은, '농산물 1'의 포장지에 인쇄된 2차원 코드에 삽입되어 있는 주 식별번호가, '농산물 1'에 사전 할당된 주 식별번호와 일치한다는 의미이므로, 인증 확인부(116)는 '27.49'와 '인증 토큰 1'이 동일한 것으로 확인되면, '농산물 1'이 친환경 인증을 받은 농산물인 것으로 확인할 수 있다.Here, '27.49' and 'Authentication Token 1' are identical, which means that the state identification number inserted in the two-dimensional code printed on the packaging of 'Agricultural Product 1' matches the state identification number pre-assigned to 'Agricultural Product 1'. Therefore, if '27.49' and 'Certification Token 1' are confirmed to be the same, the
이렇게, 인증 확인부(116)에 의해 '농산물 1'이 친환경 인증을 받은 농산물인 것으로 확인되면, 인증 확인 메시지 전송부(117)는 '농산물 1'이 친환경 인증을 받은 농산물임을 지시하는 인증 확인 메시지를 생성하여 전자 단말(131)로 전송할 수 있다.In this way, when it is confirmed by the
이때, 본 발명의 일실시예에 따르면, 전자 단말(131)은 농산물 친환경 인증 확인 서버(110)로부터 상기 인증 확인 메시지가 수신되면, 상기 인증 확인 메시지를 화면 상에 텍스트로 출력할 수도 있고, 소정의 음성 합성 모델을 이용하여 상기 인증 확인 메시지를 음성으로 합성한 후, 이에 대한 음성을 스피커로 출력할 수도 있다. 이를 통해, 사용자(130)는 자신이 구매한 '농산물 1'이 친환경 인증을 받은 농산물인지 여부를 확인할 수 있다.At this time, according to an embodiment of the present invention, when the
또한, 본 발명의 일실시예에 따른 농산물 친환경 인증 확인 서버(110)는 영상 콘텐츠 저장부(118)을 더 포함할 수 있다. Additionally, the agricultural product eco-friendly
영상 콘텐츠 저장부(118)에는 상기 복수의 농산물들이 친환경 인증을 받기까지에 대한, 친환경 방식의 전체 생산 과정을 소개하는 사전 제작된 영상 콘텐츠가 저장되어 있다.The video
예컨대, 전술한 예와 같이, 상기 복수의 농산물들을 '농산물 1, 농산물 2, 농산물 3'이라고 하고, '농산물 1, 농산물 2, 농산물 3'이 친환경 인증을 받기까지에 대한, 친환경 방식의 전체 생산 과정을 소개하는 사전 제작된 영상 콘텐츠를 '영상 콘텐츠 1'이라고 하는 경우, 영상 콘텐츠 저장부(118)에는 '영상 콘텐츠 1'이 저장되어 있을 수 있다.For example, as in the above-mentioned example, the plurality of agricultural products are referred to as 'Agricultural Product 1, Agricultural Product 2, Agricultural Product 3', and the overall production in an eco-friendly manner until 'Agricultural Product 1, Agricultural Product 2, Agricultural Product 3' receives eco-friendly certification. If the pre-produced video content introducing the process is called 'video content 1', 'video content 1' may be stored in the video
이때, 인증 확인 메시지 전송부(117)는 인증 확인부(116)에 의해 상기 제1 농산물이 친환경 인증을 받은 농산물인 것으로 확인되면, 영상 콘텐츠 저장부(118)로부터 상기 영상 콘텐츠를 다운로드하기 위한 다운로드 경로 정보를 생성하고, 상기 다운로드 경로 정보를 포함하는 다운로드 안내 메시지와 상기 인증 확인 메시지를 생성한 후, 상기 다운로드 안내 메시지와 상기 인증 확인 메시지를 전자 단말(131)로 전송할 수 있다.At this time, when the authentication confirmation
예컨대, 전술한 예와 같이, 인증 확인부(116)에 의해 '농산물 1'이 친환경 인증을 받은 농산물인 것으로 확인되었다고 하는 경우, 인증 확인 메시지 전송부(117)는 영상 콘텐츠 저장부(118)로부터 '영상 콘텐츠 1'을 다운로드하기 위한 다운로드 경로 정보를 생성할 수 있고, 상기 다운로드 경로 정보를 포함하는 다운로드 안내 메시지와 상기 인증 확인 메시지를 생성한 후, 상기 다운로드 안내 메시지와 상기 인증 확인 메시지를 전자 단말(131)로 전송할 수 있다.For example, as in the above-mentioned example, if 'agricultural product 1' is confirmed by the
이를 통해, 사용자(130)는 상기 다운로드 안내 메시지에 포함되어 있는 상기 다운로드 경로 정보를 기초로, 영상 콘텐츠 저장부(118)로부터 '영상 콘텐츠 1'을 다운로드하여, '영상 콘텐츠 1'을 확인할 수 있다.Through this, the
또한, 본 발명의 일실시예에 따른 농산물 친환경 인증 확인 서버(110)는 유통기한 정보 저장부(119), 잔여기간 확인부(120) 및 안내 메시지 전송부(121)를 더 포함할 수 있다.In addition, the agricultural product eco-friendly
유통기한 정보 저장부(119)에는 상기 복수의 농산물들 각각에 대한 보조 식별번호와, 각 농산물에 대응되는 사전 설정된 유통기한에 대한 정보가 서로 대응되어 저장되어 있다.In the expiration date
예컨대, 전술한 예와 같이, 상기 복수의 농산물들을 '농산물 1, 농산물 2, 농산물 3'이라고 하는 경우, 유통기한 정보 저장부(119)에는 하기의 표 2와 같은 '농산물 1, 농산물 2, 농산물 3' 각각에 대한 보조 식별번호와, 각 농산물에 대응되는 사전 설정된 유통기한에 대한 정보가 서로 대응되어 저장되어 있을 수 있다.For example, as in the above-mentioned example, when the plurality of agricultural products are called 'agricultural product 1, agricultural product 2, and agricultural product 3', the expiration date
잔여기간 확인부(120)는 인증 확인 메시지 전송부(117)에 의해, 상기 인증 확인 메시지가 전자 단말(131)로 전송되면, 유통기한 정보 저장부(119)를 참조하여, 상기 제1 농산물에 대응되는 제1 유통기한에 대한 정보를 확인한 후, 상기 인증 확인 메시지가 전자 단말(131)로 전송된 현재 시점으로부터 상기 제1 유통기한까지의 잔여기간을 확인한다.When the authentication confirmation message is transmitted to the
안내 메시지 전송부(121)는 잔여기간 확인부(120)에 의해 상기 잔여기간이 확인되면, 상기 잔여기간에 대한 정보를 안내하는 잔여기간 안내 메시지를 생성하여 전자 단말(131)로 전송한다.When the remaining period is confirmed by the remaining
이하에서는, 잔여기간 확인부(120) 및 안내 메시지 전송부(121)의 동작을 예를 들어, 상세히 설명하기로 한다.Hereinafter, the operations of the remaining
먼저, '2021년 7월 14일'에, 인증 확인부(116)에 의해 '농산물 1'이 친환경 인증을 받은 농산물인 것으로 확인됨에 따라, 인증 확인 메시지 전송부(117)에 의해 상기 인증 확인 메시지가 전자 단말(131)로 전송되었다고 가정하자.First, on 'July 14, 2021', as 'Agricultural Product 1' was confirmed by the
그러면, 잔여기간 확인부(120)는 상기 표 2와 같은 유통기한 정보 저장부(119)를 참조하여, '농산물 1'에 대응되는 제1 유통기한에 대한 정보로, '2021년 7월 20일'을 확인할 수 있다.Then, the remaining
그러고 나서, 잔여기간 확인부(120)는 상기 인증 확인 메시지가 전자 단말(131)로 전송된 현재 시점인 '2021년 7월 14일'로부터 '2021년 7월 20일'까지의 잔여기간을 '6일'과 같이 확인할 수 있다.Then, the remaining
그러면, 안내 메시지 전송부(121)는 상기 잔여기간인 6일'에 대한 정보를 안내하는 잔여기간 안내 메시지를 생성하여 전자 단말(131)로 전송할 수 있다.Then, the information
이를 통해, 사용자(130)는 현재 시점으로부터 '농산물 1'에 대응되는 제1 유통기한까지의 상기 잔여기간이 '6일'임을 확인한 후, 상기 제1 유통기한 내에 '농산물 1'을 소비할 수 있다.Through this, the
또한, 본 발명의 일실시예에 따르면, 농산물 친환경 인증 확인 서버(110)는 확인 이력 정보 생성부(122) 및 등록 요청부(123)를 더 포함할 수 있다.Additionally, according to one embodiment of the present invention, the agricultural product eco-friendly
확인 이력 정보 생성부(122)는 인증 확인 메시지 전송부(117)에 의해, 상기 인증 확인 메시지가 전자 단말(131)로 전송되면, 전자 단말(131)로부터 전자 단말(131)이 위치하고 있는 지점의 위치 정보를 수신하고, 상기 제1 농산물이 친환경 인증을 받은 농산물인 것으로 확인된 시점에 대한 시간 정보를 생성한 후, 상기 위치 정보, 상기 시간 정보, 상기 제1 주 식별번호 및 상기 제1 보조 식별번호로 구성된 확인 이력 정보를 생성한다.When the authentication confirmation message is transmitted to the
등록 요청부(123)는 확인 이력 정보 생성부(122)에 의해 상기 확인 이력 정보가 생성되면, 상기 확인 이력 정보가 포함된 트랜잭션을 생성한 후, 블록체인 네트워크(100)를 구성하고 있는 복수의 노드 장치들(101, 102, 103, 104, 105, 106) 중 어느 하나인 제1 노드 장치를 랜덤하게 선택하여, 상기 제1 노드 장치로 상기 트랜잭션을 전송하면서, 상기 트랜잭션의 블록체인 네트워크(100)로의 등록 요청을 전송한다.When the confirmation history information is generated by the confirmation history
예컨대, 전술한 예와 같이, 인증 확인부(116)에 의해 '농산물 1'이 친환경 인증을 받은 농산물인 것으로 확인됨에 따라, 인증 확인 메시지 전송부(117)에 의해, '농산물 1'이 친환경 인증을 받은 농산물임을 지시하는 인증 확인 메시지가 전자 단말(131)로 전송되었다고 가정하자.For example, as in the above-mentioned example, as 'agricultural product 1' is confirmed by the
그러면, 확인 이력 정보 생성부(122)는 전자 단말(131)로부터 전자 단말(131)이 위치하고 있는 지점의 위치 정보를 수신할 수 있고, '농산물 1'이 친환경 인증을 받은 농산물인 것으로 확인된 시점에 대한 시간 정보를 생성할 수 있다.Then, the confirmation history
관련해서, 상기 위치 정보를 '위치 정보 1'이라고 하고, 상기 시간 정보를 '시간 정보 1'이라고 하는 경우, 확인 이력 정보 생성부(122)는 '위치 정보 1', '시간 정보 1', '32123' 및 '123321'로 구성된 확인 이력 정보를 생성할 수 있다.In relation to this, when the location information is referred to as 'location information 1' and the time information is referred to as 'time information 1', the confirmation
그러면, 등록 요청부(123)는 상기 확인 이력 정보가 포함된 트랜잭션을 생성한 후, 블록체인 네트워크(100)를 구성하고 있는 복수의 노드 장치들(101, 102, 103, 104, 105, 106) 중 어느 하나인 제1 노드 장치를 랜덤하게 선택할 수 있다.Then, the
이때, 상기 제1 노드 장치를 노드 장치(101)라고 하는 경우, 등록 요청부(123)는 노드 장치(101)로 상기 트랜잭션을 전송하면서, 상기 트랜잭션의 블록체인 네트워크(100)로의 등록 요청을 전송할 수 있다.At this time, when the first node device is called the
이때, 상기 제1 노드 장치는 농산물 친환경 인증 확인 서버(110)로부터, 상기 트랜잭션과 상기 등록 요청이 수신되면, 상기 제1 노드 장치의 메모리 상에 저장되어 있는 블록체인 데이터에 체인으로 연결된 이전 블록을 기초로, 상기 트랜잭션이 포함된 제1 블록을 생성하고, 상기 제1 블록을 상기 블록체인 데이터에 체인으로 연결함으로써, 상기 제1 블록에 대한 저장을 완료한 후, 블록체인 네트워크(100)를 통해 상기 제1 블록을, 복수의 노드 장치들(101, 102, 103, 104, 105, 106) 중 상기 제1 노드 장치를 제외한 나머지 노드 장치들로 전파한다.At this time, when the transaction and the registration request are received from the agricultural product eco-friendly
예컨대, 전술한 예와 같이, 상기 제1 노드 장치를 노드 장치(101)라고 하고, 등록 요청부(123)가 노드 장치(101)로 상기 트랜잭션을 전송하면서, 상기 트랜잭션의 블록체인 네트워크(100)로의 등록 요청을 전송함에 따라, 노드 장치(101)에, 상기 트랜잭션과 상기 등록 요청이 수신되었다고 하는 경우, 노드 장치(101)는 노드 장치(101)의 메모리 상에 저장되어 있는 블록체인 데이터에 체인으로 연결된 이전 블록을 기초로, 상기 트랜잭션이 포함된 제1 블록을 생성하고, 상기 제1 블록을 상기 블록체인 데이터에 체인으로 연결함으로써, 상기 제1 블록에 대한 저장을 완료한 후, 상기 블록체인 네트워크를 통해 상기 제1 블록을, 복수의 노드 장치들(101, 102, 103, 104, 105, 106) 중 노드 장치(101)를 제외한 나머지 노드 장치들(102, 103, 104, 105, 106)로 전파할 수 있다.For example, as in the above-mentioned example, the first node device is called the
구체적으로, 노드 장치(101)는 농산물 친환경 인증 확인 서버(110)로부터 상기 트랜잭션과 상기 등록 요청이 수신되면, 상기 블록체인 데이터에 체인으로 연결되어 있는 이전 블록의 블록 헤더를 참조하여 상기 트랜잭션이 포함된 새로운 블록인 상기 제1 블록을 생성할 수 있다. 그러고 나서, 노드 장치(101)는 상기 제1 블록을 상기 블록체인 데이터에 체인으로 연결함으로써, 상기 제1 블록에 대한 저장을 완료한 후 블록체인 네트워크(100)를 통해 상기 제1 블록을 나머지 노드 장치들(102, 103, 104, 105, 106)로 전파할 수 있다.Specifically, when the
이렇게, 본 발명에 따른 농산물 친환경 인증 확인 서버(110)는 상기 인증 확인 메시지가 전자 단말(131)로 전송 완료되면, 상기 확인 이력 정보를 생성하여 블록체인 네트워크(100)에 등록해 둠으로써, 농산물을 판매하는 관리자가 이러한 확인 이력 정보를 확인하여, 농산물이 판매된 시간에 대한 정보와, 농산물을 구매한 사용자(130)의 위치에 대한 정보를 모니터링할 수 있도록 지원할 수 있다.In this way, when the authentication confirmation message is completely transmitted to the
도 3은 본 발명의 일실시예에 따른 2차원 코드를 기반으로 농산물이 친환경 인증을 받은 농산물인지 여부에 대한 확인을 수행하는 농산물 친환경 인증 확인 서버의 동작 방법을 도시한 순서도이다.Figure 3 is a flowchart showing the operation method of the agricultural product eco-friendly certification confirmation server that checks whether the agricultural product is eco-friendly certified agricultural product based on a two-dimensional code according to an embodiment of the present invention.
단계(S310)에서는 친환경 인증을 받은 농산물인 것으로 사전 지정된 복수의 농산물들(상기 복수의 농산물들 각각에는, 각 농산물의 식별을 위한 n(n은 2 이상의 자연수임) 자릿수의 주 식별번호와 k(k는 2 이상의 자연수임) 자릿수의 보조 식별번호가 사전 할당되어 있고, 상기 복수의 농산물들 각각의 포장지에는, 각 농산물에 대한 주 식별번호가 삽입되어 있는 2차원 코드와, 각 농산물에 대한 보조 식별번호가 사전 인쇄되어 있음) 각각에 대한 보조 식별번호와, 상기 복수의 농산물들 각각에 대한 사전 설정된 인증 토큰(상기 인증 토큰은 사전 설정된 토큰 생성 함수에, 각 농산물에 대한 주 식별번호와 보조 식별번호가 입력으로 인가되어 산출된 출력 값을 의미함)이 서로 대응되어 저장되어 있는 복합 정보 저장부를 유지한다.In step S310, a plurality of agricultural products pre-designated as eco-friendly certified agricultural products (each of the plurality of agricultural products includes a main identification number of n (n is a natural number of 2 or more) digits and k ( k is a natural number of 2 or more) A auxiliary identification number of 2 digits is pre-assigned, and on the packaging of each of the plurality of agricultural products, a two-dimensional code in which the main identification number for each agricultural product is inserted, and a auxiliary identification for each agricultural product number is pre-printed) and a secondary identification number for each of the plurality of agricultural products, and a preset authentication token for each of the plurality of agricultural products (the authentication token is sent to the preset token generation function, and the primary identification number and secondary identification number for each agricultural product means the output value calculated by being applied as an input) maintains a complex information storage unit in which the values are stored in correspondence with each other.
단계(S320)에서는 상기 복수의 농산물들 중 어느 하나인 제1 농산물을 구매한 사용자의 전자 단말로부터, 상기 제1 농산물이 친환경 인증을 받은 농산물인지 여부에 대한 확인 요청이 수신되면, 상기 전자 단말로 상기 제1 농산물에 대한 보조 식별번호의 전송을 요청한다.In step S320, when a request for confirmation as to whether the first agricultural product is an agricultural product that has received eco-friendly certification is received from the electronic terminal of the user who purchased the first agricultural product, which is one of the plurality of agricultural products, the electronic terminal is sent Request transmission of an auxiliary identification number for the first agricultural product.
단계(S330)에서는 상기 제1 농산물에 대한 보조 식별번호의 전송 요청에 대응하여, 상기 전자 단말로부터, 상기 제1 농산물의 포장지에 인쇄되어 있는 제1 보조 식별번호가 수신되면, 상기 복합 정보 저장부로부터 상기 제1 보조 식별번호에 대응되어 저장되어 있는 제1 인증 토큰을 추출한다.In step S330, when the first auxiliary identification number printed on the packaging of the first agricultural product is received from the electronic terminal in response to a request for transmission of the auxiliary identification number for the first agricultural product, the complex information storage unit The first authentication token stored corresponding to the first auxiliary identification number is extracted from.
단계(S340)에서는 상기 제1 인증 토큰이 추출되면, 상기 전자 단말로 상기 제1 농산물의 포장지에 인쇄된 2차원 코드에 삽입되어 있는 주 식별번호의 전송을 요청한다.In step S340, when the first authentication token is extracted, transmission of the main identification number inserted in the two-dimensional code printed on the packaging of the first agricultural product is requested to the electronic terminal.
단계(S350)에서는 상기 제1 농산물에 대한 주 식별번호의 전송 요청에 대응하여, 상기 전자 단말에서, 상기 제1 농산물의 포장지에 인쇄된 2차원 코드가 인식되어 상기 제1 농산물에 대한 주 식별번호인 제1 주 식별번호가 추출됨에 따라, 상기 제1 전자 단말로부터 상기 제1 주 식별번호가 수신되면, 상기 제1 주 식별번호와 상기 제1 보조 식별번호를, 상기 토큰 생성 함수에 입력으로 인가하여 검증용 인증 토큰을 산출한다.In step S350, in response to a request to transmit the state identification number for the first agricultural product, the electronic terminal recognizes the two-dimensional code printed on the packaging of the first agricultural product to obtain the state identification number for the first agricultural product. As the first primary identification number is extracted, when the first primary identification number is received from the first electronic terminal, the first primary identification number and the first auxiliary identification number are applied as input to the token generation function. This produces an authentication token for verification.
단계(S360)에서는 상기 검증용 인증 토큰이 산출되면, 상기 검증용 인증 토큰이 상기 제1 인증 토큰과 동일한지 여부를 확인하여, 상기 검증용 인증 토큰이 상기 제1 인증 토큰과 동일한 것으로 확인되는 경우, 상기 제1 농산물이 친환경 인증을 받은 농산물인 것으로 확인한다.In step S360, when the authentication token for verification is calculated, it is checked whether the authentication token for verification is the same as the first authentication token, and if it is confirmed that the authentication token for verification is the same as the first authentication token. , Confirm that the first agricultural product is an agricultural product that has received eco-friendly certification.
단계(S370)에서는 상기 제1 농산물이 친환경 인증을 받은 농산물인 것으로 확인되면, 상기 제1 농산물이 친환경 인증을 받은 농산물임을 지시하는 인증 확인 메시지를 생성하여 상기 전자 단말로 전송한다.In step S370, when it is confirmed that the first agricultural product is an agricultural product that has received eco-friendly certification, a certification confirmation message indicating that the first agricultural product is an agricultural product that has received eco-friendly certification is generated and transmitted to the electronic terminal.
이때, 본 발명의 일실시예에 따르면, 상기 토큰 생성 함수는 상기 복수의 농산물들 중 어느 하나의 농산물에 사전 할당된 n 자릿수의 주 식별번호와 k 자릿수의 보조 식별번호가 입력으로 인가되면, 입력으로 인가된 n 자릿수의 주 식별번호를 구성하는 n개의 숫자들을 성분으로 갖는 열벡터와, 입력으로 인가된 k 자릿수의 보조 식별번호를 구성하는 k개의 숫자들을 성분으로 갖는 행벡터 간의 크로네커 곱을 연산하여 n x k 크기의 연산 행렬을 생성한 후, 상기 연산 행렬의 유클리드 노름을, 상기 어느 하나의 농산물에 대응되는 인증 토큰으로 산출하는 함수일 수 있다.At this time, according to one embodiment of the present invention, when the n-digit primary identification number and k-digit auxiliary identification number pre-assigned to any one agricultural product among the plurality of agricultural products are applied as input, the token generation function inputs By calculating the Kronecker product between a column vector whose components are n numbers constituting the n-digit primary identification number applied as input, and a row vector whose components are k numbers constituting the k-digit auxiliary identification number applied as input, It may be a function that generates an operation matrix of size n x k and then calculates the Euclidean norm of the operation matrix as an authentication token corresponding to one of the agricultural products.
또한, 본 발명의 일실시예에 따르면, 상기 농산물 친환경 인증 확인 서버의 동작 방법은 상기 복수의 농산물들이 친환경 인증을 받기까지에 대한, 친환경 방식의 전체 생산 과정을 소개하는 사전 제작된 영상 콘텐츠가 저장되어 있는 영상 콘텐츠 저장부를 유지하는 단계를 더 포함할 수 있고, 이때, 단계(S370)에서는, 상기 제1 농산물이 친환경 인증을 받은 농산물인 것으로 확인되면, 상기 영상 콘텐츠 저장부로부터 상기 영상 콘텐츠를 다운로드하기 위한 다운로드 경로 정보를 생성하고, 상기 다운로드 경로 정보를 포함하는 다운로드 안내 메시지와 상기 인증 확인 메시지를 생성한 후, 상기 다운로드 안내 메시지와 상기 인증 확인 메시지를 상기 전자 단말로 전송할 수 있다.In addition, according to one embodiment of the present invention, the operating method of the agricultural product eco-friendly certification confirmation server stores pre-produced video content introducing the entire production process in an eco-friendly manner until the plurality of agricultural products receive eco-friendly certification. It may further include the step of maintaining a video content storage unit, and at this time, in step S370, if it is confirmed that the first agricultural product is an agricultural product that has received eco-friendly certification, the video content is downloaded from the video content storage unit. After generating download path information and generating a download guide message and the authentication confirmation message including the download path information, the download guide message and the authentication confirmation message can be transmitted to the electronic terminal.
또한, 본 발명의 일실시예에 따르면, 상기 농산물 친환경 인증 확인 서버의 동작 방법은 상기 복수의 농산물들 각각에 대한 보조 식별번호와, 각 농산물에 대응되는 사전 설정된 유통기한에 대한 정보가 서로 대응되어 저장되어 있는 유통기한 정보 저장부를 유지하는 단계, 단계(S370)에 의해, 상기 인증 확인 메시지가 상기 전자 단말로 전송되면, 상기 유통기한 정보 저장부를 참조하여, 상기 제1 농산물에 대응되는 제1 유통기한에 대한 정보를 확인한 후, 상기 인증 확인 메시지가 상기 전자 단말로 전송된 현재 시점으로부터 상기 제1 유통기한까지의 잔여기간을 확인하는 단계 및 상기 잔여기간이 확인되면, 상기 잔여기간에 대한 정보를 안내하는 잔여기간 안내 메시지를 생성하여 상기 전자 단말로 전송하는 단계를 더 포함할 수 있다.In addition, according to an embodiment of the present invention, the operating method of the agricultural product eco-friendly certification confirmation server is such that the auxiliary identification number for each of the plurality of agricultural products and information on the preset expiration date corresponding to each agricultural product correspond to each other. A step of maintaining a stored expiration date information storage unit. When the authentication confirmation message is transmitted to the electronic terminal in step S370, the first distribution corresponding to the first agricultural product is performed with reference to the expiration date information storage unit. After confirming the information about the expiration date, confirming the remaining period from the current time when the authentication confirmation message is transmitted to the electronic terminal to the first expiration date, and when the remaining period is confirmed, information about the remaining period is provided. The method may further include generating a remaining period information message and transmitting it to the electronic terminal.
또한, 본 발명의 일실시예에 따르면, 단계(S370)에 의해, 상기 인증 확인 메시지가 상기 전자 단말로 전송되면, 상기 전자 단말로부터 상기 전자 단말이 위치하고 있는 지점의 위치 정보를 수신하고, 상기 제1 농산물이 친환경 인증을 받은 농산물인 것으로 확인된 시점에 대한 시간 정보를 생성한 후, 상기 위치 정보, 상기 시간 정보, 상기 제1 주 식별번호 및 상기 제1 보조 식별번호로 구성된 확인 이력 정보를 생성하는 단계 및 상기 확인 이력 정보가 생성되면, 상기 확인 이력 정보가 포함된 트랜잭션을 생성한 후, 블록체인 네트워크를 구성하고 있는 복수의 노드 장치들 중 어느 하나인 제1 노드 장치를 랜덤하게 선택하여, 상기 제1 노드 장치로 상기 트랜잭션을 전송하면서, 상기 트랜잭션의 상기 블록체인 네트워크로의 등록 요청을 전송하는 단계를 더 포함할 수 있고, 이때, 상기 제1 노드 장치는 상기 농산물 친환경 인증 확인 서버로부터, 상기 트랜잭션과 상기 등록 요청이 수신되면, 상기 제1 노드 장치의 메모리 상에 저장되어 있는 블록체인 데이터에 체인으로 연결된 이전 블록을 기초로, 상기 트랜잭션이 포함된 제1 블록을 생성하고, 상기 제1 블록을 상기 블록체인 데이터에 체인으로 연결함으로써, 상기 제1 블록에 대한 저장을 완료한 후, 상기 블록체인 네트워크를 통해 상기 제1 블록을, 상기 복수의 노드 장치들 중 상기 제1 노드 장치를 제외한 나머지 노드 장치들로 전파할 수 있다.In addition, according to an embodiment of the present invention, when the authentication confirmation message is transmitted to the electronic terminal in step S370, location information of the point where the electronic terminal is located is received from the electronic terminal, and the first 1 After generating time information about the time when the agricultural product was confirmed to be an eco-friendly certified agricultural product, generating confirmation history information consisting of the location information, the time information, the first main identification number, and the first auxiliary identification number When the confirmation history information is generated, a transaction including the confirmation history information is created, and then a first node device, which is one of a plurality of node devices constituting the blockchain network, is randomly selected, While transmitting the transaction to the first node device, it may further include transmitting a request for registration of the transaction to the blockchain network, wherein the first node device receives from the agricultural product eco-friendly certification confirmation server, When the transaction and the registration request are received, a first block containing the transaction is generated based on a previous block chained to blockchain data stored on the memory of the first node device, and the first block is generated. By chaining a block to the blockchain data, after completing storage of the first block, the first block is transferred through the blockchain network, excluding the first node device among the plurality of node devices. It can propagate to the remaining node devices.
이상, 도 3을 참조하여 본 발명의 일실시예에 따른 2차원 코드를 기반으로 농산물이 친환경 인증을 받은 농산물인지 여부에 대한 확인을 수행하는 농산물 친환경 인증 확인 서버의 동작 방법에 대해 설명하였다. 여기서, 본 발명의 일실시예에 따른 2차원 코드를 기반으로 농산물이 친환경 인증을 받은 농산물인지 여부에 대한 확인을 수행하는 농산물 친환경 인증 확인 서버의 동작 방법은 도 1 내지 도 2를 이용하여 설명한 농산물 친환경 인증 확인 서버(110)의 동작에 대한 구성과 대응될 수 있으므로, 이에 대한 보다 상세한 설명은 생략하기로 한다.Above, with reference to FIG. 3, the operation method of the agricultural product eco-friendly certification confirmation server that checks whether the agricultural product is an agricultural product that has received eco-friendly certification based on a two-dimensional code according to an embodiment of the present invention has been described. Here, the operation method of the agricultural product eco-friendly certification confirmation server that checks whether the agricultural product is an environmentally friendly certified agricultural product based on a two-dimensional code according to an embodiment of the present invention is the agricultural product described using FIGS. 1 and 2. Since this may correspond to the configuration of the operation of the eco-friendly
본 발명의 일실시예에 따른 2차원 코드를 기반으로 농산물이 친환경 인증을 받은 농산물인지 여부에 대한 확인을 수행하는 농산물 친환경 인증 확인 서버의 동작 방법은 컴퓨터와의 결합을 통해 실행시키기 위한 저장매체에 저장된 컴퓨터 프로그램으로 구현될 수 있다.A method of operating an agricultural product eco-friendly certification confirmation server that checks whether agricultural products are eco-friendly certified agricultural products based on a two-dimensional code according to an embodiment of the present invention involves storing a storage medium for execution through combination with a computer. It can be implemented as a stored computer program.
또한, 본 발명의 일실시예에 따른 2차원 코드를 기반으로 농산물이 친환경 인증을 받은 농산물인지 여부에 대한 확인을 수행하는 농산물 친환경 인증 확인 서버의 동작 방법은 컴퓨터와의 결합을 통해 실행시키기 위한 컴퓨터 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다.In addition, the method of operating the agricultural product eco-friendly certification confirmation server, which checks whether the agricultural product is an eco-friendly certified agricultural product based on a two-dimensional code according to an embodiment of the present invention, includes a computer for execution through combination with a computer. It may be implemented in the form of program instructions and recorded on a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, etc., singly or in combination. Program instructions recorded on the medium may be specially designed and constructed for the present invention or may be known and usable by those skilled in the art of computer software. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical media such as CD-ROMs and DVDs, and magnetic media such as floptical disks. -Includes optical media (magneto-optical media) and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, flash memory, etc. Examples of program instructions include machine language code, such as that produced by a compiler, as well as high-level language code that can be executed by a computer using an interpreter, etc.
이상과 같이 본 발명에서는 구체적인 구성 요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다.As described above, the present invention has been described with specific details such as specific components and limited embodiments and drawings, but this is only provided to facilitate a more general understanding of the present invention, and the present invention is not limited to the above embodiments. , those skilled in the art can make various modifications and variations from this description.
따라서, 본 발명의 사상은 설명된 실시예에 국한되어 정해져서는 아니되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등하거나 등가적 변형이 있는 모든 것들은 본 발명 사상의 범주에 속한다고 할 것이다.Accordingly, the spirit of the present invention should not be limited to the described embodiments, and the scope of the patent claims described below as well as all modifications that are equivalent or equivalent to the scope of this patent claim shall fall within the scope of the spirit of the present invention. .
110: 2차원 코드를 기반으로 농산물이 친환경 인증을 받은 농산물인지 여부에 대한 확인을 수행하는 농산물 친환경 인증 확인 서버
111: 복합 정보 저장부 112: 보조 식별번호 요청부
113: 인증 토큰 추출부 114: 주 식별번호 요청부
115: 토큰 산출부 116: 인증 확인부
117: 인증 확인 메시지 전송부 118: 영상 콘텐츠 저장부
119: 유통기한 정보 저장부 120: 잔여기간 확인부
121: 안내 메시지 전송부 122: 확인 이력 정보 생성부
123: 등록 요청부
100: 블록체인 네트워크
101, 102, 103, 104, 105, 106: 복수의 노드 장치들
130: 사용자
131: 전자 단말110: Agricultural product eco-friendly certification confirmation server that checks whether the agricultural product is an eco-friendly certified agricultural product based on a two-dimensional code
111: Complex information storage unit 112: Secondary identification number request unit
113: Authentication token extraction unit 114: Main identification number request unit
115: token calculation unit 116: authentication confirmation unit
117: Authentication confirmation message transmission unit 118: Video content storage unit
119: Expiration date information storage unit 120: Remaining period confirmation unit
121: Information message transmission unit 122: Confirmation history information generation unit
123: Registration request section
100: Blockchain network
101, 102, 103, 104, 105, 106: multiple node devices
130: user
131: Electronic terminal
Claims (12)
친환경 인증을 받은 농산물인 것으로 사전 지정된 복수의 농산물들 - 상기 복수의 농산물들 각각에는, 각 농산물의 식별을 위한 n(n은 2 이상의 자연수임) 자릿수의 주 식별번호와 k(k는 2 이상의 자연수임) 자릿수의 보조 식별번호가 사전 할당되어 있고, 상기 복수의 농산물들 각각의 포장지에는, 각 농산물에 대한 주 식별번호가 삽입되어 있는 2차원 코드와, 각 농산물에 대한 보조 식별번호가 사전 인쇄되어 있음 - 각각에 대한 보조 식별번호와, 상기 복수의 농산물들 각각에 대한 사전 설정된 인증 토큰 - 상기 인증 토큰은 사전 설정된 토큰 생성 함수에, 각 농산물에 대한 주 식별번호와 보조 식별번호가 입력으로 인가되어 산출된 출력 값을 의미함 - 이 서로 대응되어 저장되어 있는 복합 정보 저장부;
상기 복수의 농산물들 중 어느 하나인 제1 농산물을 구매한 사용자의 전자 단말로부터, 상기 제1 농산물이 친환경 인증을 받은 농산물인지 여부에 대한 확인 요청이 수신되면, 상기 전자 단말로 상기 제1 농산물에 대한 보조 식별번호의 전송을 요청하는 보조 식별번호 요청부;
상기 제1 농산물에 대한 보조 식별번호의 전송 요청에 대응하여, 상기 전자 단말로부터, 상기 제1 농산물의 포장지에 인쇄되어 있는 제1 보조 식별번호가 수신되면, 상기 복합 정보 저장부로부터 상기 제1 보조 식별번호에 대응되어 저장되어 있는 제1 인증 토큰을 추출하는 인증 토큰 추출부;
상기 제1 인증 토큰이 추출되면, 상기 전자 단말로 상기 제1 농산물의 포장지에 인쇄된 2차원 코드에 삽입되어 있는 주 식별번호의 전송을 요청하는 주 식별번호 요청부;
상기 제1 농산물에 대한 주 식별번호의 전송 요청에 대응하여, 상기 전자 단말에서, 상기 제1 농산물의 포장지에 인쇄된 2차원 코드가 인식되어 상기 제1 농산물에 대한 주 식별번호인 제1 주 식별번호가 추출됨에 따라, 상기 전자 단말로부터 상기 제1 주 식별번호가 수신되면, 상기 제1 주 식별번호와 상기 제1 보조 식별번호를, 상기 토큰 생성 함수에 입력으로 인가하여 검증용 인증 토큰을 산출하는 토큰 산출부;
상기 검증용 인증 토큰이 산출되면, 상기 검증용 인증 토큰이 상기 제1 인증 토큰과 동일한지 여부를 확인하여, 상기 검증용 인증 토큰이 상기 제1 인증 토큰과 동일한 것으로 확인되는 경우, 상기 제1 농산물이 친환경 인증을 받은 농산물인 것으로 확인하는 인증 확인부;
상기 제1 농산물이 친환경 인증을 받은 농산물인 것으로 확인되면, 상기 제1 농산물이 친환경 인증을 받은 농산물임을 지시하는 인증 확인 메시지를 생성하여 상기 전자 단말로 전송하는 인증 확인 메시지 전송부;
상기 인증 확인 메시지 전송부에 의해, 상기 인증 확인 메시지가 상기 전자 단말로 전송되면, 상기 전자 단말로부터 상기 전자 단말이 위치하고 있는 지점의 위치 정보를 수신하고, 상기 제1 농산물이 친환경 인증을 받은 농산물인 것으로 확인된 시점에 대한 시간 정보를 생성한 후, 상기 위치 정보, 상기 시간 정보, 상기 제1 주 식별번호 및 상기 제1 보조 식별번호로 구성된 확인 이력 정보를 생성하는 확인 이력 정보 생성부; 및
상기 확인 이력 정보가 생성되면, 상기 확인 이력 정보가 포함된 트랜잭션을 생성한 후, 블록체인 네트워크를 구성하고 있는 복수의 노드 장치들 중 어느 하나인 제1 노드 장치를 랜덤하게 선택하여, 상기 제1 노드 장치로 상기 트랜잭션을 전송하면서, 상기 트랜잭션의 상기 블록체인 네트워크로의 등록 요청을 전송하는 등록 요청부
를 포함하고,
상기 토큰 생성 함수는
상기 복수의 농산물들 중 어느 하나의 농산물에 사전 할당된 n 자릿수의 주 식별번호와 k 자릿수의 보조 식별번호가 입력으로 인가되면, 입력으로 인가된 n 자릿수의 주 식별번호를 구성하는 n개의 숫자들을 성분으로 갖는 열벡터와, 입력으로 인가된 k 자릿수의 보조 식별번호를 구성하는 k개의 숫자들을 성분으로 갖는 행벡터 간의 크로네커 곱(Kronecker Product)을 연산하여 n x k 크기의 연산 행렬을 생성한 후, 상기 연산 행렬의 유클리드 노름(Euclidean Norm)을, 상기 어느 하나의 농산물에 대응되는 인증 토큰으로 산출하는 함수이고,
상기 제1 노드 장치는
상기 농산물 친환경 인증 확인 서버로부터, 상기 트랜잭션과 상기 등록 요청이 수신되면, 상기 제1 노드 장치의 메모리 상에 저장되어 있는 블록체인 데이터에 체인으로 연결된 이전 블록을 기초로, 상기 트랜잭션이 포함된 제1 블록을 생성하고, 상기 제1 블록을 상기 블록체인 데이터에 체인으로 연결함으로써, 상기 제1 블록에 대한 저장을 완료한 후, 상기 블록체인 네트워크를 통해 상기 제1 블록을, 상기 복수의 노드 장치들 중 상기 제1 노드 장치를 제외한 나머지 노드 장치들로 전파하는 것을 특징으로 하는 농산물 친환경 인증 확인 서버.In the agricultural product eco-friendly certification confirmation server that checks whether the agricultural product is an eco-friendly certified agricultural product based on a two-dimensional code,
A plurality of agricultural products pre-designated as eco-friendly certified agricultural products - Each of the plurality of agricultural products includes a main identification number of n (n is a natural number of 2 or more) digits and k (k is a natural number of 2 or more) for identification of each agricultural product. A auxiliary identification number of several digits is pre-allocated, and on the packaging of each of the plurality of agricultural products, a two-dimensional code in which the main identification number for each agricultural product is inserted and a auxiliary identification number for each agricultural product are pre-printed. - A secondary identification number for each, and a preset authentication token for each of the plurality of agricultural products - The authentication token is input to a preset token generation function with the main identification number and secondary identification number for each agricultural product. refers to the calculated output value - a complex information storage unit in which these are stored in correspondence with each other;
When a request for confirmation as to whether the first agricultural product is an environmentally friendly certified agricultural product is received from the electronic terminal of a user who has purchased a first agricultural product among the plurality of agricultural products, the first agricultural product is sent to the electronic terminal. a secondary identification number request unit that requests transmission of a secondary identification number;
In response to a request to transmit an auxiliary identification number for the first agricultural product, when the first auxiliary identification number printed on the packaging of the first agricultural product is received from the electronic terminal, the first auxiliary identification number is transmitted from the complex information storage unit. an authentication token extraction unit that extracts a first authentication token stored in correspondence to an identification number;
When the first authentication token is extracted, a state identification number request unit that requests transmission of the state identification number inserted in the two-dimensional code printed on the packaging of the first agricultural product to the electronic terminal;
In response to a request to transmit the state identification number for the first agricultural product, in the electronic terminal, the two-dimensional code printed on the packaging of the first agricultural product is recognized to identify the first state, which is the state identification number for the first agricultural product. As the number is extracted, when the first primary identification number is received from the electronic terminal, the first primary identification number and the first auxiliary identification number are applied as input to the token generation function to calculate an authentication token for verification. Token calculation unit;
When the authentication token for verification is calculated, it is checked whether the authentication token for verification is the same as the first authentication token, and if it is confirmed that the authentication token for verification is the same as the first authentication token, the first agricultural product A certification confirmation department that verifies that the agricultural products have received this eco-friendly certification;
a certification confirmation message transmitting unit that, when it is confirmed that the first agricultural product is an agricultural product that has received eco-friendly certification, generates a certification confirmation message indicating that the first agricultural product is an agricultural product that has received eco-friendly certification and transmits it to the electronic terminal;
When the authentication confirmation message is transmitted to the electronic terminal by the authentication confirmation message transmission unit, location information of the point where the electronic terminal is located is received from the electronic terminal, and the first agricultural product is an agricultural product that has received eco-friendly certification. a confirmation history information generating unit that generates time information about a point in time at which confirmation was confirmed, and then generates confirmation history information consisting of the location information, the time information, the first primary identification number, and the first auxiliary identification number; and
When the confirmation history information is generated, a transaction including the confirmation history information is created, and then a first node device, which is one of a plurality of node devices constituting the blockchain network, is randomly selected, and the first node device is randomly selected. A registration request unit that transmits a request for registration of the transaction to the blockchain network while transmitting the transaction to the node device.
Including,
The token creation function is
When the n-digit main identification number and k-digit auxiliary identification number pre-allocated to any one of the plurality of agricultural products are input, n numbers constituting the n-digit main identification number applied as input are entered. After calculating the Kronecker product between the column vector as a component and the row vector as components of the k numbers constituting the k-digit auxiliary identification number applied as input, an operation matrix of nxk size is generated, It is a function that calculates the Euclidean Norm of the operation matrix with an authentication token corresponding to one of the above agricultural products,
The first node device is
When the transaction and the registration request are received from the agricultural product eco-friendly certification confirmation server, based on the previous block chained to the blockchain data stored on the memory of the first node device, the first node containing the transaction After completing storage of the first block by creating a block and connecting the first block to the blockchain data as a chain, the first block is sent to the plurality of node devices through the blockchain network. An agricultural product eco-friendly certification confirmation server, characterized in that it propagates to the remaining node devices except the first node device.
상기 복수의 농산물들이 친환경 인증을 받기까지에 대한, 친환경 방식의 전체 생산 과정을 소개하는 사전 제작된 영상 콘텐츠가 저장되어 있는 영상 콘텐츠 저장부
를 더 포함하고,
상기 인증 확인 메시지 전송부는
상기 제1 농산물이 친환경 인증을 받은 농산물인 것으로 확인되면, 상기 영상 콘텐츠 저장부로부터 상기 영상 콘텐츠를 다운로드하기 위한 다운로드 경로 정보를 생성하고, 상기 다운로드 경로 정보를 포함하는 다운로드 안내 메시지와 상기 인증 확인 메시지를 생성한 후, 상기 다운로드 안내 메시지와 상기 인증 확인 메시지를 상기 전자 단말로 전송하는 것을 특징으로 하는 농산물 친환경 인증 확인 서버.According to paragraph 1,
A video content storage unit that stores pre-produced video content introducing the entire production process in an eco-friendly manner until the plurality of agricultural products receive eco-friendly certification.
It further includes,
The authentication confirmation message transmission unit
When it is confirmed that the first agricultural product is an agricultural product that has received eco-friendly certification, download path information for downloading the video content from the video content storage unit is generated, and a download guide message including the download path information and the certification confirmation message are generated. After generating, the agricultural product eco-friendly certification confirmation server characterized in that it transmits the download guide message and the certification confirmation message to the electronic terminal.
상기 복수의 농산물들 각각에 대한 보조 식별번호와, 각 농산물에 대응되는 사전 설정된 유통기한에 대한 정보가 서로 대응되어 저장되어 있는 유통기한 정보 저장부;
상기 인증 확인 메시지 전송부에 의해, 상기 인증 확인 메시지가 상기 전자 단말로 전송되면, 상기 유통기한 정보 저장부를 참조하여, 상기 제1 농산물에 대응되는 제1 유통기한에 대한 정보를 확인한 후, 상기 인증 확인 메시지가 상기 전자 단말로 전송된 현재 시점으로부터 상기 제1 유통기한까지의 잔여기간을 확인하는 잔여기간 확인부; 및
상기 잔여기간이 확인되면, 상기 잔여기간에 대한 정보를 안내하는 잔여기간 안내 메시지를 생성하여 상기 전자 단말로 전송하는 안내 메시지 전송부
를 더 포함하는 농산물 친환경 인증 확인 서버.According to paragraph 1,
an expiration date information storage unit in which auxiliary identification numbers for each of the plurality of agricultural products and information on a preset expiration date corresponding to each agricultural product are stored in correspondence with each other;
When the authentication confirmation message is transmitted to the electronic terminal by the authentication confirmation message transmission unit, information on the first expiration date corresponding to the first agricultural product is confirmed with reference to the expiration date information storage unit, and then the authentication a remaining period confirmation unit that checks the remaining period from the current point at which the confirmation message is transmitted to the electronic terminal to the first expiration date; and
When the remaining period is confirmed, a guidance message transmission unit generates a remaining period guidance message providing information about the remaining period and transmits it to the electronic terminal.
An agricultural product eco-friendly certification confirmation server that further includes.
친환경 인증을 받은 농산물인 것으로 사전 지정된 복수의 농산물들 - 상기 복수의 농산물들 각각에는, 각 농산물의 식별을 위한 n(n은 2 이상의 자연수임) 자릿수의 주 식별번호와 k(k는 2 이상의 자연수임) 자릿수의 보조 식별번호가 사전 할당되어 있고, 상기 복수의 농산물들 각각의 포장지에는, 각 농산물에 대한 주 식별번호가 삽입되어 있는 2차원 코드와, 각 농산물에 대한 보조 식별번호가 사전 인쇄되어 있음 - 각각에 대한 보조 식별번호와, 상기 복수의 농산물들 각각에 대한 사전 설정된 인증 토큰 - 상기 인증 토큰은 사전 설정된 토큰 생성 함수에, 각 농산물에 대한 주 식별번호와 보조 식별번호가 입력으로 인가되어 산출된 출력 값을 의미함 - 이 서로 대응되어 저장되어 있는 복합 정보 저장부를 유지하는 단계;
상기 복수의 농산물들 중 어느 하나인 제1 농산물을 구매한 사용자의 전자 단말로부터, 상기 제1 농산물이 친환경 인증을 받은 농산물인지 여부에 대한 확인 요청이 수신되면, 상기 전자 단말로 상기 제1 농산물에 대한 보조 식별번호의 전송을 요청하는 단계;
상기 제1 농산물에 대한 보조 식별번호의 전송 요청에 대응하여, 상기 전자 단말로부터, 상기 제1 농산물의 포장지에 인쇄되어 있는 제1 보조 식별번호가 수신되면, 상기 복합 정보 저장부로부터 상기 제1 보조 식별번호에 대응되어 저장되어 있는 제1 인증 토큰을 추출하는 단계;
상기 제1 인증 토큰이 추출되면, 상기 전자 단말로 상기 제1 농산물의 포장지에 인쇄된 2차원 코드에 삽입되어 있는 주 식별번호의 전송을 요청하는 단계;
상기 제1 농산물에 대한 주 식별번호의 전송 요청에 대응하여, 상기 전자 단말에서, 상기 제1 농산물의 포장지에 인쇄된 2차원 코드가 인식되어 상기 제1 농산물에 대한 주 식별번호인 제1 주 식별번호가 추출됨에 따라, 상기 전자 단말로부터 상기 제1 주 식별번호가 수신되면, 상기 제1 주 식별번호와 상기 제1 보조 식별번호를, 상기 토큰 생성 함수에 입력으로 인가하여 검증용 인증 토큰을 산출하는 단계;
상기 검증용 인증 토큰이 산출되면, 상기 검증용 인증 토큰이 상기 제1 인증 토큰과 동일한지 여부를 확인하여, 상기 검증용 인증 토큰이 상기 제1 인증 토큰과 동일한 것으로 확인되는 경우, 상기 제1 농산물이 친환경 인증을 받은 농산물인 것으로 확인하는 단계;
상기 제1 농산물이 친환경 인증을 받은 농산물인 것으로 확인되면, 상기 제1 농산물이 친환경 인증을 받은 농산물임을 지시하는 인증 확인 메시지를 생성하여 상기 전자 단말로 전송하는 단계;
상기 인증 확인 메시지를 생성하여 상기 전자 단말로 전송하는 단계에 의해, 상기 인증 확인 메시지가 상기 전자 단말로 전송되면, 상기 전자 단말로부터 상기 전자 단말이 위치하고 있는 지점의 위치 정보를 수신하고, 상기 제1 농산물이 친환경 인증을 받은 농산물인 것으로 확인된 시점에 대한 시간 정보를 생성한 후, 상기 위치 정보, 상기 시간 정보, 상기 제1 주 식별번호 및 상기 제1 보조 식별번호로 구성된 확인 이력 정보를 생성하는 단계; 및
상기 확인 이력 정보가 생성되면, 상기 확인 이력 정보가 포함된 트랜잭션을 생성한 후, 블록체인 네트워크를 구성하고 있는 복수의 노드 장치들 중 어느 하나인 제1 노드 장치를 랜덤하게 선택하여, 상기 제1 노드 장치로 상기 트랜잭션을 전송하면서, 상기 트랜잭션의 상기 블록체인 네트워크로의 등록 요청을 전송하는 단계
를 포함하고,
상기 토큰 생성 함수는
상기 복수의 농산물들 중 어느 하나의 농산물에 사전 할당된 n 자릿수의 주 식별번호와 k 자릿수의 보조 식별번호가 입력으로 인가되면, 입력으로 인가된 n 자릿수의 주 식별번호를 구성하는 n개의 숫자들을 성분으로 갖는 열벡터와, 입력으로 인가된 k 자릿수의 보조 식별번호를 구성하는 k개의 숫자들을 성분으로 갖는 행벡터 간의 크로네커 곱(Kronecker Product)을 연산하여 n x k 크기의 연산 행렬을 생성한 후, 상기 연산 행렬의 유클리드 노름(Euclidean Norm)을, 상기 어느 하나의 농산물에 대응되는 인증 토큰으로 산출하는 함수이고,
상기 제1 노드 장치는
상기 농산물 친환경 인증 확인 서버로부터, 상기 트랜잭션과 상기 등록 요청이 수신되면, 상기 제1 노드 장치의 메모리 상에 저장되어 있는 블록체인 데이터에 체인으로 연결된 이전 블록을 기초로, 상기 트랜잭션이 포함된 제1 블록을 생성하고, 상기 제1 블록을 상기 블록체인 데이터에 체인으로 연결함으로써, 상기 제1 블록에 대한 저장을 완료한 후, 상기 블록체인 네트워크를 통해 상기 제1 블록을, 상기 복수의 노드 장치들 중 상기 제1 노드 장치를 제외한 나머지 노드 장치들로 전파하는 것을 특징으로 하는 농산물 친환경 인증 확인 서버의 동작 방법.In a method of operating an agricultural product eco-friendly certification confirmation server that checks whether agricultural products are eco-friendly certified agricultural products based on a two-dimensional code,
A plurality of agricultural products pre-designated as eco-friendly certified agricultural products - Each of the plurality of agricultural products includes a main identification number of n (n is a natural number of 2 or more) digits and k (k is a natural number of 2 or more) for identification of each agricultural product. A auxiliary identification number of several digits is pre-allocated, and on the packaging of each of the plurality of agricultural products, a two-dimensional code in which the main identification number for each agricultural product is inserted and a auxiliary identification number for each agricultural product are pre-printed. - A secondary identification number for each, and a preset authentication token for each of the plurality of agricultural products - The authentication token is input to a preset token generation function with the main identification number and secondary identification number for each agricultural product. Means the calculated output value - maintaining a complex information storage unit in which these are stored in correspondence with each other;
When a request for confirmation as to whether the first agricultural product is an environmentally friendly certified agricultural product is received from the electronic terminal of a user who has purchased a first agricultural product among the plurality of agricultural products, the first agricultural product is sent to the electronic terminal. requesting transmission of an auxiliary identification number for;
In response to a request to transmit an auxiliary identification number for the first agricultural product, when the first auxiliary identification number printed on the packaging of the first agricultural product is received from the electronic terminal, the first auxiliary identification number is transmitted from the complex information storage unit. extracting a first authentication token stored in correspondence with the identification number;
When the first authentication token is extracted, requesting transmission of the main identification number inserted in the two-dimensional code printed on the packaging of the first agricultural product to the electronic terminal;
In response to a request to transmit the state identification number for the first agricultural product, in the electronic terminal, the two-dimensional code printed on the packaging of the first agricultural product is recognized to identify the first state, which is the state identification number for the first agricultural product. As the number is extracted, when the first primary identification number is received from the electronic terminal, the first primary identification number and the first auxiliary identification number are applied as input to the token generation function to calculate an authentication token for verification. steps;
When the authentication token for verification is calculated, it is checked whether the authentication token for verification is the same as the first authentication token, and if it is confirmed that the authentication token for verification is the same as the first authentication token, the first agricultural product Confirming that this agricultural product has received eco-friendly certification;
When it is confirmed that the first agricultural product is an agricultural product that has received eco-friendly certification, generating a certification confirmation message indicating that the first agricultural product is an agricultural product that has received eco-friendly certification and transmitting it to the electronic terminal;
By generating the authentication confirmation message and transmitting it to the electronic terminal, when the authentication confirmation message is transmitted to the electronic terminal, location information of the point where the electronic terminal is located is received from the electronic terminal, and the first After generating time information about the time when the agricultural product was confirmed to be an eco-friendly certified agricultural product, generating confirmation history information consisting of the location information, the time information, the first main identification number, and the first auxiliary identification number. step; and
When the confirmation history information is generated, a transaction including the confirmation history information is created, and then a first node device, which is one of a plurality of node devices constituting the blockchain network, is randomly selected, and the first node device is randomly selected. transmitting a request for registration of the transaction to the blockchain network while transmitting the transaction to a node device
Including,
The token creation function is
When the n-digit main identification number and k-digit auxiliary identification number pre-allocated to any one of the plurality of agricultural products are input, n numbers constituting the n-digit main identification number applied as input are entered. After calculating the Kronecker product between the column vector as a component and the row vector as components of the k numbers constituting the k-digit auxiliary identification number applied as input, an operation matrix of nxk size is generated, It is a function that calculates the Euclidean Norm of the operation matrix with an authentication token corresponding to one of the above agricultural products,
The first node device is
When the transaction and the registration request are received from the agricultural product eco-friendly certification confirmation server, based on the previous block chained to the blockchain data stored on the memory of the first node device, the first node containing the transaction After completing storage of the first block by creating a block and connecting the first block to the blockchain data as a chain, the first block is sent to the plurality of node devices through the blockchain network. A method of operating an agricultural product eco-friendly certification confirmation server, characterized in that it propagates to the remaining node devices except the first node device.
상기 복수의 농산물들이 친환경 인증을 받기까지에 대한, 친환경 방식의 전체 생산 과정을 소개하는 사전 제작된 영상 콘텐츠가 저장되어 있는 영상 콘텐츠 저장부를 유지하는 단계
를 더 포함하고,
상기 인증 확인 메시지를 생성하여 상기 전자 단말로 전송하는 단계는
상기 제1 농산물이 친환경 인증을 받은 농산물인 것으로 확인되면, 상기 영상 콘텐츠 저장부로부터 상기 영상 콘텐츠를 다운로드하기 위한 다운로드 경로 정보를 생성하고, 상기 다운로드 경로 정보를 포함하는 다운로드 안내 메시지와 상기 인증 확인 메시지를 생성한 후, 상기 다운로드 안내 메시지와 상기 인증 확인 메시지를 상기 전자 단말로 전송하는 것을 특징으로 하는 농산물 친환경 인증 확인 서버의 동작 방법.According to clause 6,
Maintaining a video content storage unit that stores pre-produced video content introducing the entire production process in an eco-friendly manner until the plurality of agricultural products receive eco-friendly certification.
It further includes,
The step of generating the authentication confirmation message and transmitting it to the electronic terminal is
When it is confirmed that the first agricultural product is an agricultural product that has received eco-friendly certification, download path information for downloading the video content from the video content storage unit is generated, and a download guide message including the download path information and the certification confirmation message are generated. A method of operating an agricultural product eco-friendly certification confirmation server, characterized in that after generating, transmitting the download guide message and the authentication confirmation message to the electronic terminal.
상기 복수의 농산물들 각각에 대한 보조 식별번호와, 각 농산물에 대응되는 사전 설정된 유통기한에 대한 정보가 서로 대응되어 저장되어 있는 유통기한 정보 저장부를 유지하는 단계;
상기 인증 확인 메시지를 생성하여 상기 전자 단말로 전송하는 단계에 의해, 상기 인증 확인 메시지가 상기 전자 단말로 전송되면, 상기 유통기한 정보 저장부를 참조하여, 상기 제1 농산물에 대응되는 제1 유통기한에 대한 정보를 확인한 후, 상기 인증 확인 메시지가 상기 전자 단말로 전송된 현재 시점으로부터 상기 제1 유통기한까지의 잔여기간을 확인하는 단계; 및
상기 잔여기간이 확인되면, 상기 잔여기간에 대한 정보를 안내하는 잔여기간 안내 메시지를 생성하여 상기 전자 단말로 전송하는 단계
를 더 포함하는 농산물 친환경 인증 확인 서버의 동작 방법.According to clause 6,
maintaining an expiration date information storage unit in which auxiliary identification numbers for each of the plurality of agricultural products and information on a preset expiration date corresponding to each agricultural product are stored in correspondence with each other;
By generating the authentication confirmation message and transmitting it to the electronic terminal, when the authentication confirmation message is transmitted to the electronic terminal, referring to the expiration date information storage unit, the first expiration date corresponding to the first agricultural product After confirming the information, checking the remaining period from the current time when the authentication confirmation message is transmitted to the electronic terminal to the first expiration date; and
When the remaining period is confirmed, generating a remaining period information message providing information about the remaining period and transmitting it to the electronic terminal.
A method of operating an agricultural product eco-friendly certification confirmation server further comprising:
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR20210039066 | 2021-03-25 | ||
KR1020210039066 | 2021-03-25 |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20220133730A KR20220133730A (en) | 2022-10-05 |
KR102622454B1 true KR102622454B1 (en) | 2024-01-08 |
Family
ID=83596404
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020210095034A KR102622454B1 (en) | 2021-03-25 | 2021-07-20 | Agricultural products eco-friendly certification verification server verifying eco-friendly certificated agricultural products, based on two-dimensional code, and the operating method thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR102622454B1 (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101441418B1 (en) * | 2012-11-21 | 2014-10-13 | 목원대학교 산학협력단 | Automatic inventory management apparatus for daily necessaries |
KR20160009822A (en) * | 2014-07-17 | 2016-01-27 | 백정임 | Genuine certification and standard production about agricultural, fishery and forestry products. Confirmation system of seller's real name ,and that way. |
KR20180030001A (en) * | 2018-03-12 | 2018-03-21 | 주식회사 비케이소프트 | System, method and program for detecting replica by individual key |
KR20200092194A (en) * | 2019-01-24 | 2020-08-03 | 주식회사 하나은행 | System and method for preventing forgery and illegal replacement of goods using blockchain |
KR102274132B1 (en) * | 2019-09-16 | 2021-07-08 | 주식회사 포스팟 | User authentication server that performs verification of electronic signature data generated based on biometric authentication in association with a plurality of verification servers and operating method thereof |
-
2021
- 2021-07-20 KR KR1020210095034A patent/KR102622454B1/en active IP Right Grant
Also Published As
Publication number | Publication date |
---|---|
KR20220133730A (en) | 2022-10-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109075971A (en) | System and method for document information authenticity verification | |
KR102431144B1 (en) | Service prociding method for registration service of object using nft based on blockchain | |
KR102479477B1 (en) | Blockchain-based metaverse service operation server to operate the metaverse service that can provide the item matching the real product in the metaverse environment through interlocking with the two-dimensional code printed in the real product and the operating method thereof | |
KR102363064B1 (en) | Precious metal goods genuine product certification server to perform genuine product certification for the precious metal goods based on a two-dimensional code and operating method thereof | |
KR102622454B1 (en) | Agricultural products eco-friendly certification verification server verifying eco-friendly certificated agricultural products, based on two-dimensional code, and the operating method thereof | |
KR102338354B1 (en) | Blockchain-based data management server that enables the storage and management of data through interlocking with the two-dimensional code inserted in the souvenir and operating method thereof | |
KR102319663B1 (en) | Content data management server that enables storage and management of content data through interlocking with the two-dimensional code inserted in precious metal goods and operating method thereof | |
KR102578855B1 (en) | Operating server of nft trading service which enables modification of storage route information, included in nft, and the operating method thereof | |
KR102636312B1 (en) | Regionally specialized product confirmation server that performs confirmation of whether a regionally specialized product is the regionally specialized product that has been genuinely authenticated based on the two-dimensional code, and operating method thereof | |
KR102361231B1 (en) | Mask genuine product certification server to perform genuine product certification for the mask based on a two-dimensional code and operating method thereof | |
KR102574299B1 (en) | Certificate verification server that performs the verification of the authenticity for the certificate based on a two-dimensional code and operating method thereof | |
KR102559485B1 (en) | Content certification verification server which performs verification of content which has been certified for copyright based on the two-dimensional code and the operating method thereof | |
KR102565114B1 (en) | Genuine medicines certification verification server which performs verification of genuine certificated medicines based on two-dimensional codes, and the operating method thereof | |
KR102602202B1 (en) | Electronic terminal apparatus that can perform genuine product certification for the product based on augmented reality through the recognition of a two-dimensional code printed on the product and operating method thereof | |
KR102602213B1 (en) | Electronic terminal apparatus that performs genuine product certification and additional information offer for the product based on two-dimensional code recognition and biometric information authentication and operating method thereof | |
KR102302948B1 (en) | Gold bar genuine product certification server to perform genuine product certification for gold bar and operating method thereof | |
KR102302949B1 (en) | Digital content provision service server supporting the provision of digital limited content through linkage with gold bar and operating method thereof | |
KR102574293B1 (en) | Blockchain-based author information management server that enables storage and inquiry of author information for the electronic document through interworking with the two-dimensional code inserted into the electronic document, and operating method thereof | |
KR102574296B1 (en) | Electronic contract processing server that processes electronic contracts between parties by utilizing the two-dimensional code and operating method thereof | |
KR102462657B1 (en) | Used luxury products trading platform service server for managing used luxury products trading platform service, and the operating method thereof | |
KR102352488B1 (en) | Blockchain-based data management server that enables the storage and management of data through interlocking with the two-dimensional code inserted in the business card and operating method thereof | |
KR102508523B1 (en) | Metaverse service server to operate the metaverse service that can provide the item matching the real product in the metaverse environment based on the two-dimensional code and the operating method thereof | |
KR20230049872A (en) | Assignments evaluation service server that supports to be able to conduct evaluation about students' result of assignments and operating method thereof | |
KR102602208B1 (en) | Electronic terminal apparatus that outputs a voice-based guidance message by performing genuine product certification for the product based on a two-dimensional code printed on the product and operating method thereof | |
KR20220125136A (en) | Web site confirmation server that performs confirmation of whether a web site is a normal web site based on the two-dimensional code and operating method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant |