KR102383830B1 - Gas station device using smart contract - Google Patents

Gas station device using smart contract Download PDF

Info

Publication number
KR102383830B1
KR102383830B1 KR1020190108958A KR20190108958A KR102383830B1 KR 102383830 B1 KR102383830 B1 KR 102383830B1 KR 1020190108958 A KR1020190108958 A KR 1020190108958A KR 20190108958 A KR20190108958 A KR 20190108958A KR 102383830 B1 KR102383830 B1 KR 102383830B1
Authority
KR
South Korea
Prior art keywords
gas station
sensor unit
alcohol
water level
transaction
Prior art date
Application number
KR1020190108958A
Other languages
Korean (ko)
Other versions
KR20210027907A (en
Inventor
서화정
최승주
김경호
김현준
임지훈
이현우
Original Assignee
한성대학교 산학협력단
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 한성대학교 산학협력단 filed Critical 한성대학교 산학협력단
Priority to KR1020190108958A priority Critical patent/KR102383830B1/en
Publication of KR20210027907A publication Critical patent/KR20210027907A/en
Application granted granted Critical
Publication of KR102383830B1 publication Critical patent/KR102383830B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry
    • G06Q50/30
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B67OPENING, CLOSING OR CLEANING BOTTLES, JARS OR SIMILAR CONTAINERS; LIQUID HANDLING
    • B67DDISPENSING, DELIVERING OR TRANSFERRING LIQUIDS, NOT OTHERWISE PROVIDED FOR
    • B67D7/00Apparatus or devices for transferring liquids from bulk storage containers or reservoirs into vehicles or into portable containers, e.g. for retail sale purposes
    • B67D7/06Details or accessories
    • B67D7/08Arrangements of devices for controlling, indicating, metering or registering quantity or price of liquid transferred
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/14Payment architectures specially adapted for billing systems
    • G06Q20/145Payments according to the detected use or quantity
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B67OPENING, CLOSING OR CLEANING BOTTLES, JARS OR SIMILAR CONTAINERS; LIQUID HANDLING
    • B67DDISPENSING, DELIVERING OR TRANSFERRING LIQUIDS, NOT OTHERWISE PROVIDED FOR
    • B67D7/00Apparatus or devices for transferring liquids from bulk storage containers or reservoirs into vehicles or into portable containers, e.g. for retail sale purposes
    • B67D7/04Apparatus or devices for transferring liquids from bulk storage containers or reservoirs into vehicles or into portable containers, e.g. for retail sale purposes for transferring fuels, lubricants or mixed fuels and lubricants
    • B67D7/0401Apparatus or devices for transferring liquids from bulk storage containers or reservoirs into vehicles or into portable containers, e.g. for retail sale purposes for transferring fuels, lubricants or mixed fuels and lubricants arrangements for automatically fuelling vehicles, i.e. without human intervention
    • B67D2007/0444Sensors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q2220/00Business processing using cryptography
    • G06Q2220/10Usage protection of distributed data files

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Development Economics (AREA)
  • Mathematical Physics (AREA)
  • Mechanical Engineering (AREA)
  • Operations Research (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Loading And Unloading Of Fuel Tanks Or Ships (AREA)

Abstract

본 발명은 스마트 컨트랙트를 활용한 주유소 장치에 관한 것이다.
본 발명은 차량 운전자로부터 주입할 희망주류량을 입력받는 입력부와, 희망주류량에 따른 결제 비용을 결제 처리하는 결제처리부 및 차량에 실제 주유되는 실주류량을 측정하는 유량센서부를 포함하는 주유기를 구비하고, 속에 든 내용물 수위를 측정하는 수위센서부 및 속에 든 내용품의 성분을 측정하는 성분측정센서부를 포함하는 기름탱크가 개시되며, 트랜잭션처리부는 주유기에서 주유가 종료되는 경우 운전자가 입력한 희망주류량, 유량센서부, 수위센서부 및 성분측정센서부에서 센싱된 실주류량, 수위값 및 성분값을 이용하여 트랜잭션을 생성하는 주유소 장치가 개시된다.
본 발명에 따른 스마트 컨트랙트를 활용한 주유소 장치에 의하면 블록체인을 사용할 경우 정유사 및 한국 석유 관리원에서는 일일이 주유소를 하나씩 사람을 보내 불법 행위가 일어났는지 확인할 필요가 크게 줄어들게 되었다.
The present invention relates to a gas station device utilizing a smart contract.
The present invention is provided with a fueling machine including an input unit for receiving a desired amount of alcohol to be injected from a vehicle driver, a payment processing unit for processing payment according to the desired amount of alcohol, and a flow rate sensor for measuring the actual amount of alcohol actually refueled in the vehicle and an oil tank including a water level sensor unit for measuring the level of the contents contained therein and a component measurement sensor unit for measuring the components of the contents contained in the oil tank is disclosed, and the transaction processing unit is the desired alcoholic beverage entered by the driver when refueling is finished at the fueling machine Disclosed is a gas station device for generating a transaction by using an actual amount of alcohol, a water level value, and a component value sensed by an amount, a flow sensor unit, a water level sensor unit, and a component measurement sensor unit.
According to the gas station device using the smart contract according to the present invention, when the block chain is used, the need for a refinery and the Korea Petroleum Service to send a person to each gas station one by one to check whether an illegal act has occurred is greatly reduced.

Description

스마트 컨트랙트를 활용한 주유소 장치{GAS STATION DEVICE USING SMART CONTRACT}Gas station device using smart contract {GAS STATION DEVICE USING SMART CONTRACT}

본 발명은 스마트 컨트랙트를 활용한 주유소 장치에 관한 것으로서, 보다 구체적으로는 기름탱크 및 주유기에 센서부를 설치하고 센서부에서 측정되는 센서값을 블록체인 네트워크 상에 트랜잭션하여 가짜 석유 판매 및 기름의 정량을 속여서 파는 행위를 방지할 수 있는 스마트 컨트랙트를 활용한 주유소 장치애 관한 것이다.The present invention relates to a gas station device using a smart contract, and more specifically, a sensor unit is installed in an oil tank and a gas station, and the sensor value measured by the sensor unit is transacted on a block chain network to sell fake oil and quantity of oil. It is about a gas station device using a smart contract that can prevent fraudulent sales.

현존하는 기름 판매 검증 프로세스는 정유사에서 주유소로 기름을 판매하는 과정까지는 잘 구축이 되어있다. 그러나 주유소에 기름이 판매가 된 이후 기름을 관리해주는 프로세스는 미흡한 상태이다. 이러한 점을 이용하여 매년 주유소에서는 가짜 석유를 제조하여 판매하는 행위와 기름의 정량을 속여서 파는 불법 행위가 일어나고 있다.The existing oil sales verification process is well established from refineries to selling oil to gas stations. However, the process of managing oil after oil is sold to gas stations is insufficient. Taking advantage of this point, every year at gas stations, illegal acts of manufacturing and selling fake oil and selling the quantity of oil by cheating are taking place.

한국공개특허 제10-2015-0067752호 (2015.06.18, 공개)Korean Patent Publication No. 10-2015-0067752 (2015.06.18, published)

본 발명은 상기와 같은 문제점을 해결하고자 하는 것으로서, 주유소에서 일반 소비자에게 판매할 때 정량을 속여서 판매하거나 가짜 기름을 제조하여 판매하는 등의 불법 행위를 방지할 수 있는 주유소 시스템을 제공하는 것을 목적으로 한다. The present invention is intended to solve the above problems, and to provide a gas station system that can prevent illegal acts such as selling fake oil or manufacturing and selling fake oil when selling to general consumers at a gas station. do.

본 발명의 상기 목적은 블록체인 네트워크 상에서 운영되는 주유소 장치로서, 주유기, 기름탱크 및 트랜잭션처리부를 포함하며, 주유기는 차량 운전자로부터 주입할 희망주류량을 입력받는 입력부와, 희망주류량에 따른 결제 비용을 결제 처리하는 결제처리부 및 차량에 실제 주유되는 실주류량을 측정하는 유량센서부를 포함하며, 기름탱크는 속에 든 내용물 수위를 측정하는 수위센서부 및 속에 든 내용품의 성분을 측정하는 성분측정센서부를 포함하며, 트랜잭션처리부는 상기 주유기에서 주유가 종료되는 경우 상기 운전자가 입력한 희망주류량, 유량센서부, 수위센서부 및 성분측정센서부에서 센싱된 실주류량, 수위값 및 성분값을 이용하여 트랜잭션을 생성하는 것을 특징으로 하는 주유소 장치에 의해서 달성 가능하다.The above object of the present invention is a gas station device operated on a blockchain network, including a gas station, an oil tank, and a transaction processing unit. It includes a payment processing unit for payment processing and a flow rate sensor unit for measuring the actual amount of alcohol actually refueled in the vehicle, and the oil tank has a water level sensor unit for measuring the level of contents contained in the oil tank and a component measuring sensor for measuring the components of the contents contained in the oil tank The transaction processing unit uses the desired amount of alcohol input by the driver, the actual amount of alcohol sensed by the flow sensor unit, the water level sensor unit, and the component measurement sensor unit, the water level value, and the component value when the fueling is finished in the fueling machine. This can be achieved by the gas station device, characterized in that it generates a transaction.

제안하는 주유소 장치에서 주유소 장치를 상기 블록체인망에 연결되는 타 주유소 장치와 식별하기 위한 주유소 식별자를 더 구비하고 트랜잭션 생성시 상기 주유소 식별자도 이용하여 트랜잭션을 생성하는 것을 특징으로 한다.The proposed gas station device further includes a gas station identifier for identifying the gas station device with other gas station devices connected to the block chain network, and generating a transaction using the gas station identifier when generating a transaction.

제안하는 주유소 장치에서 트랜잭션처리부에는 상기 주유기를 이용하여 주유하지 않는 시간을 카운트하는 시간측정부를 더 구비하고, 상기 카운트값이 미리 정한 제1일정시간을 초과하는 경우에도 희망주류량과, 상기 주유소 식별자와, 유량센서부, 수위센서부 및 성분측정센서부에서 센싱된 실주류량, 수위값 및 성분값을 이용하여 트랜잭션을 추가적으로 생성하는 것을 특징으로 한다.In the proposed gas station apparatus, the transaction processing unit further includes a time measuring unit for counting the time not to refuel using the gas station, and even if the count value exceeds a first predetermined time period, the desired amount of alcohol and the gas station identifier And, it is characterized in that the transaction is additionally generated using the amount of real liquor sensed by the flow sensor unit, the water level sensor unit, and the component measurement sensor unit, the water level value, and the component value.

본 발명의 또 다른 목적은 블록체인 네트워크 상에서 운영되는 주유소 장치로서, 주유기, 기름탱크 및 트랜잭션처리부를 포함하며, 주유소 장치를 블록체인망에 연결되는 타 주유소 장치와 식별하기 위한 주유소 식별자를 포함하며, 주유기는 차량 운전자로부터 주입할 희망주류량을 입력받는 입력부와, 희망주류량에 따른 결제 비용을 결제 처리하는 결제처리부 및 차량에 실제 주유되는 실주류량을 측정하는 유량센서부를 포함하며, 기름탱크는 속에 든 내용물 수위를 측정하는 수위센서부 및 속에 든 내용품의 성분을 측정하는 성분측정센서부를 포함하며, 트랜잭션처리부는 주유기에서 주유가 종료되는 경우 운전자가 입력한 희망주류량, 유량센서부, 수위센서부 및 성분측정센서부에서 센싱된 실주류량, 수위값 및 성분값을 이용하여 트랜잭션을 생성하거나, 주유기를 이용하여 주유하지 않는 시간이 제1일정시간을 초과할 경우에도 희망주류량과, 유량센서부, 수위센서부 및 성분측정센서부에서 센싱된 실주류량, 수위값 및 성분값을 이용하여 트랜잭션을 생성하는 것을 특징으로 한다.Another object of the present invention is a gas station device operated on a blockchain network, including a gas station, an oil tank, and a transaction processing unit, and includes a gas station identifier for identifying the gas station device from other gas station devices connected to the blockchain network. includes an input unit for receiving an input of the desired amount of alcohol to be injected from the vehicle driver, a payment processing unit for processing payment according to the desired amount of alcohol, and a flow rate sensor unit for measuring the actual amount of alcohol actually refueled in the vehicle, and the oil tank is It includes a water level sensor unit that measures the level of all contents and a component measurement sensor unit that measures the components of the contents inside, and the transaction processing unit includes a desired amount of alcohol input by the driver when refueling is finished at the fueling machine, a flow rate sensor unit, and a water level sensor Even if a transaction is created using the actual amount, water level, and component value sensed by the sub and component measurement sensor unit, or when the period of not refueling using the lubricator exceeds the first predetermined time, the desired amount and flow rate It is characterized in that the transaction is generated by using the actual liquor amount, the water level value, and the component value sensed by the sensor unit, the water level sensor unit, and the component measurement sensor unit.

본 발명에 따른 주유소 장치에서 주유소 장치를 상기 블록체인망에 연결되는 타 주유소 장치와 식별하기 위한 주유소 식별자를 더 구비하고 상기 트랜잭션처리부는 트랜잭션 생성시 상기 주유소 식별자도 이용하는 것을 특징으로 한다.The gas station device according to the present invention further includes a gas station identifier for identifying the gas station device from other gas station devices connected to the block chain network, wherein the transaction processing unit also uses the gas station identifier when generating a transaction.

본 발명에서 블록체인 네트망은 허가(permissioned)형이면서 합의 방식은 PoA(Proof of Authority) 방식을 적용하는 것을 특징으로 한다.In the present invention, the blockchain network is a permissioned type, and the consensus method is a PoA (Proof of Authority) method.

현재는 주유소에서 불법적인 행위가 발생했다는 것을 확인하는 검증 프로세서가 없어 주유소에서 가짜 기름을 판매하거나 정량보다 적은 량으로 판매하는 등의 불법적인 행위를 파악하기 어려운 실정이었다. Currently, there is no verification processor that confirms that an illegal activity occurred at a gas station, so it was difficult to identify illegal activities such as selling fake oil or selling less than the specified amount at a gas station.

본 발명에 따른 스마트 컨트랙트를 활용한 주유소 장치에 의하면 블록체인을 사용할 경우 정유사 및 한국 석유 관리원에서는 일일이 주유소를 하나씩 사람을 보내 불법 행위가 일어났는지 확인할 필요가 크게 줄어들며, 사용자들은 믿고 사용할 수 있는 주유소의 위치를 알 수 있게 된다. 이러한 시스템을 도입할 경우 가짜 석유 및 정량을 속여 파는 행위에 피해를 입는 사람들이 크게 줄어들 것으로 예상된다.According to the gas station device using the smart contract according to the present invention, when using the block chain, the need for refiners and the Korea Petroleum Administration to send people to each gas station one by one to check whether an illegal act has occurred is greatly reduced, and users can trust and use the gas station. location can be found. The introduction of such a system is expected to significantly reduce the number of victims of fraudulent sales of fake oil and quantity.

본 발명에 따른 스마트 컨트랙트를 활용한 주유소 장치에 의하면 주유소에서 빠져나가고 들어오는 기름의 양을 센서 값으로 측정하여 블록체인에 등록을 하게 되면 해당 데이터는 3자의 개입이 아닌 센서로 바로 측정하여 블록체인 네트워크에 올리기 때문에 데이터에 대한 신뢰를 할 수 있다. 또한 측정된 센서 값을 갖고 정상적인 방식으로 기름이 변동이 있었는지 확인하는 연산을 스마트 컨트랙트에서 진행하기 때문에 검증 결과에 대한 연산을 믿을 수 있다. 이렇게 측정된 결과를 사용자가 볼 수 있는 UI를 제공하여 특정 주유소를 이용하기 전에 해당 주유소에서 불법적인 행위가 발생했었는지 미리 알 수가 있고 이를 통해 주유소를 신뢰하고 사용할 수 있게 된다. 정직하게 기름을 판매하는 주유소 또한 고객들에게 신용을 줄 수 있는 데이터를 제공하게 되기 때문에 불법 행위를 한 주유소와는 차별을 두고 기름을 판매할 수 있게 되었다.According to the gas station device using the smart contract according to the present invention, the amount of oil coming out of the gas station is measured with a sensor value and registered in the block chain. Because it is uploaded to the , you can trust the data. In addition, the operation of the verification result can be trusted because the smart contract performs the operation to check whether the oil has changed in a normal way with the measured sensor value. By providing a UI where the user can see the measured results, it is possible to know in advance whether an illegal act has occurred at a specific gas station before using it, and through this, it is possible to trust and use a gas station. Gas stations that sell oil honestly will also provide customers with data that can give them credit, so they can sell oil in a way that is different from those that have done illegal things.

도 1은 본 발명에 따른 일실시예인 주유소 장치를 노드로 구성하는 블록체인 네트워크의 구성도.
도 2는 주유소에 설치되는 주유기, 기름탱크 및 제어부의 설치예를 도시한 도면.
도 3은 본 발명에 따른 노드를 구성하는 주유소 장치의 블록 구성도.
도 4는 본 발명의 주유 장치에서 처리되는 흐름을 표시하는 흐름도.
도 5는 본 발명에 따른 블록체인 네트워크 상에서 수행되는 스마트 컨트랙트의 처리 흐름을 설명하는 흐름도.
1 is a block diagram of a block chain network in which a gas station device, which is an embodiment according to the present invention, is configured as a node.
Figure 2 is a view showing an example of the installation of the fueling machine, the oil tank and the control unit installed in the gas station.
3 is a block diagram of a gas station apparatus constituting a node according to the present invention.
Figure 4 is a flow chart showing a flow processed in the refueling device of the present invention.
5 is a flowchart illustrating the processing flow of a smart contract performed on a blockchain network according to the present invention.

본 발명에서 사용하는 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terms used in the present invention are only used to describe specific embodiments, and are not intended to limit the present invention. The singular expression includes the plural expression unless the context clearly dictates otherwise. In the present specification, terms such as “comprise” or “have” are intended to designate that a feature, number, step, operation, component, part, or combination thereof described in the specification exists, but one or more other features It should be understood that this does not preclude the existence or addition of numbers, steps, operations, components, parts, or combinations thereof.

또한, 본 명세서에서, "~ 상에 또는 ~ 상부에" 라 함은 대상 부분의 위 또는 아래에 위치함을 의미하는 것이며, 반드시 중력 방향을 기준으로 상 측에 위치하는 것을 의미하는 것은 아니다. 또한, 영역, 판 등의 부분이 다른 부분 "상에 또는 상부에" 있다고 할 때, 이는 다른 부분 "바로 상에 또는 상부에" 접촉하여 있거나 간격을 두고 있는 경우뿐 아니라 그 중간에 또 다른 부분이 있는 경우도 포함한다.In addition, in this specification, "on or on top of" means to be located above or below the target part, and does not necessarily mean to be located above the direction of gravity. Also, when a part of a region, plate, etc. is said to be “on or on” another part, it is not only when another part is in contact with or spaced “on or on” the other part, but also when another part is in the middle. Including cases where there is

또한, 본 명세서에서, 일 구성요소가 다른 구성요소와 "연결된다" 거나 "접속된다" 등으로 언급된 때에는, 상기 일 구성요소가 상기 다른 구성요소와 직접 연결되거나 또는 직접 접속될 수도 있지만, 특별히 반대되는 기재가 존재하지 않는 이상, 중간에 또 다른 구성요소를 매개하여 연결되거나 또는 접속될 수도 있다고 이해되어야 할 것이다.In addition, in this specification, when a component is referred to as “connected” or “connected” with another component, the component may be directly connected or directly connected to the other component, but in particular It should be understood that, unless there is a description to the contrary, it may be connected or connected through another element in the middle.

또한, 본 명세서에서, 제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다.Also, in this specification, terms such as first, second, etc. may be used to describe various elements, but the elements should not be limited by the terms. The above terms are used only for the purpose of distinguishing one component from another.

도 1은 본 발명에 따른 일실시예인 주유소 장치를 노드로 구성하는 블록체인 네트워크의 구성도이다. 블록체인 네트워크에는 클라이언트(250)와 노드(200)가 연결되며, 블록체인의 블록을 생성하고 합의를 진행하는 검사기(validator)로 형성된다.1 is a block diagram of a block chain network in which a gas station device, which is an embodiment according to the present invention, is configured as a node. In the blockchain network, the client 250 and the node 200 are connected, and it is formed as a validator that creates a block of the blockchain and proceeds with consensus.

클라이언트(250)는 블록체인 네트워크에 접근하여 방문을 원하는 주유소의 운영상태를 쿼리를 통해 체크할 수 있는 컴퓨팅 장치이다. 본 발명에 따른 블록체인 네트워크는 프라이빗(private) 방식을 적용하므로 필요한 장치 사양을 갖춘 주유소를 제외한 컴퓨팅 장치는 클라이언트로 블록체인 네트워크에 연결되어 필요한 주유소 정보를 서치할 수 있게 된다.The client 250 is a computing device that can access the block chain network and check the operating status of the gas station desired to be visited through a query. Since the blockchain network according to the present invention applies a private method, a computing device excluding a gas station having the necessary device specifications is connected to the blockchain network as a client and can search for necessary gas station information.

노드(200)는 도 1에서 블록체인 네트워크에 연결된 까만 점으로 구성된 컴퓨팅 장치를 표시하는 것으로서, 도 2 및 도 3에 제시된 바와 같은 구성을 갖는 주유소에 구비되는 주유기 장치를 의미한다. 주유소 장치는 컴퓨팅 장치로 구성된다고 표현하였으나, 도 3에 도시된 센서부를 갖는 주유기(240), 기름탱크(220) 및 각 센서부의 데이트를 획득하고 이를 트랜잭션할 수 있는 구성으로 형성하면 된다. 예를 들어, 도 3에 제시된 모든 센서부마다 IoT 기능을 부여하고 간단한 제어 연산부를 구비하여 센서부에서 직접 센싱값을 이용하여 트랜잭션을 생성하고 브로드캐스팅하도록 구현할 수 있다.The node 200 represents a computing device composed of black dots connected to the block chain network in FIG. 1 , and refers to a gas station provided in a gas station having the configuration shown in FIGS. 2 and 3 . Although it is expressed that the gas station device is composed of a computing device, it is sufficient to obtain the data of the fueling machine 240 having the sensor unit shown in FIG. 3 , the oil tank 220 and each sensor unit and form it in a configuration that can make a transaction. For example, each sensor unit shown in FIG. 3 may be implemented to provide an IoT function and to provide a simple control operation unit to generate and broadcast a transaction using the sensing value directly from the sensor unit.

본 발명에서 사용하는 블록체인 네트워크는 PoA(Power of Authority)라는 합의 알고리즘을 사용한다. PoA 기반 네트워크에서 신뢰 가능한 일부 노드에 블록을 생성할 권한을 부여하고 생성된 블록이 일치하지 않을 경우 어느 블록을 합당한 블록으로 정하가는 합의의 권한을 부여하며, 이러한 기능을 담당하는 노드를 검사기(validators)라고 한다. PoA 합의 방식ㅇ느 노드 수를 줄여 유효성 검사에 필요한 시간을 줄일 수가 있으며, 블록 생성주기를 짧게하여 빠른 트랜잭션 처리가 가능하지만 블록체인의 핵심 개념인 ‘탈 중앙화’와는 비교적 멀어지는 단점이 있다.The blockchain network used in the present invention uses a consensus algorithm called PoA (Power of Authority). In a PoA-based network, some trusted nodes are given the authority to create a block, and when the generated blocks do not match, the authority of consensus is given to determine which block is a valid block. ) is called The PoA consensus method can reduce the number of nodes and reduce the time required for validation, and shorten the block generation cycle to enable fast transaction processing, but has the disadvantage of being relatively far from ‘decentralization’, the core concept of blockchain.

도 2는 주유소에 설치되는 주유기, 기름탱크 및 제어부의 설치예를 도시한 도면이다. 지표면(210) 하부에는 유입관(221)과 유출관(227)를 갖는 기름탱크(220)가 매립된다. 기름탱크(220)에는 수위센서부(223)와 성분측정센서부(229)가 구비된다. 유출관(227)에는 복수 개 주유기(240)가 연력되며, 주유기(240)를 구성하는 주유노즐 말단엔느 유량센서부(225)가 구비되어 차량에 주유되는 실주유량을 측정하게 된다. 주유소 장치(200)에는 연산 및 제어 기능을 수행하는 제어부(250)가 구비되는데 제어부(250)는 후술하는 바와 같이 주유 이벤트가 발생할 때마다 복수 개 센서부를 센싱하고, 센싱된 센서값을 트랜잭션으로 처리하여 블록체인 네트워크 상으로 전송한다.2 is a view showing an example of the installation of the fueling machine, the oil tank, and the control unit installed in the gas station. An oil tank 220 having an inlet pipe 221 and an outlet pipe 227 is buried under the ground surface 210 . The oil tank 220 is provided with a water level sensor unit 223 and a component measurement sensor unit 229 . A plurality of lubricators 240 are connected to the outlet pipe 227 , and a flow rate sensor unit 225 is provided at the end of the lubrication nozzle constituting the lubricator 240 to measure the actual fuel flow rate supplied to the vehicle. The gas station apparatus 200 is provided with a control unit 250 that performs calculation and control functions. As described below, the control unit 250 senses a plurality of sensor units whenever a refueling event occurs, and processes the sensed sensor values as transactions. and transmit it over the blockchain network.

도 3은 본 발명에 따른 노드를 구성하는 주유소 장치의 블록 구성도이다. 주유소 장치는 기름탱크(220), 주유기(240) 및 트랜잭션처리부(250)로 구성된다. 3 is a block diagram of a gas station apparatus constituting a node according to the present invention. The gas station apparatus includes an oil tank 220 , a fueling machine 240 , and a transaction processing unit 250 .

기름탱크(220)는 자동차에 주유할 기름을 일시 저장하는 곳으로서, 기름탱크(220)에는 유입관(221), 유출관(227), 수위센서부(223) 및 성분측정센서부(229)가 구비된다. 유입관(221)은 기름 탱크로리로부터 공급되는 기름을 기름탱크로 유입시킬 때 이용하는 관이며, 유출관(227)은 주유기(240)와 연결되어 기름탱크(220) 내부에 채워진 기름을 주유기(240)로 유출시키는 통로로 사용되는 관이다. 기름탱크(220)에는 내부에 채워진 기름 수위를 감지하는 수위센서부(223)와 채워진 기름의 성분을 분석하기 위한 성분측정센서부(229)가 구비된다.The oil tank 220 is a place for temporarily storing oil to be refueled in a vehicle, and the oil tank 220 has an inlet pipe 221 , an outlet pipe 227 , a water level sensor unit 223 and a component measurement sensor unit 229 . is provided The inlet pipe 221 is a pipe used to introduce oil supplied from the oil tank lorry into the oil tank, and the outlet pipe 227 is connected to the lubricator 240 to supply the oil filled in the oil tank 220 to the lubricator 240 . It is a pipe used as a passage for outflow to The oil tank 220 is provided with a water level sensor unit 223 for detecting the oil level filled therein and a component measuring sensor unit 229 for analyzing the components of the oil filled therein.

주유기(240)는 급유를 원하는 운행자의 지시에 따라 자동차에 구비된 기름탱크에 기름을 공급하는 장치로서, 주유기(240)에는 입력부, 표시부, 결제처리부, 주유노즐 및 유량센서부가 구비된다. 입력부는 운행자로부터 유종선택, 주유량 또는 주유금액을 입력받는 모듈이며, 표시부는 운행자에게 선택할 내용 또는 주유 진행 사항 등을 표시하기 위한 모듈이다. 결제처리부는 현금 투입구 또는 신용카드 결제부를 구비하고 운행자가 급유하는 기름값을 결제하는 모듈이다. 주유노즐은 차량의 주유 주입구에 꽂은 상태에서 주유기로부터 공급되는 기름을 차량에 공급하기 위한 노즐로서, 일명 주유건으로도 불린다. 유량센서부(225)는 주유노즐에 장착되어 주유노즐을 통해 차량 기름탱크에 들어가는 주유량을 측정하는 센서부이다. 또한 주유기(240)는 차량에 주유가 종료될 때마다 주유가 종료되었다는 이벤트를 생성하여 이번트생성부로 통지하게 된다.The lubricator 240 is a device for supplying oil to an oil tank provided in a vehicle according to the instructions of a driver who wants to refuel, and the lubricator 240 is provided with an input unit, a display unit, a payment processing unit, an oiling nozzle and a flow rate sensor. The input unit is a module for receiving oil type selection, fueling amount, or fueling amount from the operator, and the display unit is a module for displaying information to be selected or refueling progress to the operator. The payment processing unit is a module that has a cash slot or a credit card payment unit and pays the price of oil refueled by the operator. A fueling nozzle is a nozzle for supplying oil supplied from an oiling machine to a vehicle in a state of being plugged into an oiling inlet of a vehicle, and is also called a fueling gun. The flow rate sensor unit 225 is a sensor unit that is mounted on the refueling nozzle and measures the amount of oil entering the vehicle oil tank through the refueling nozzle. In addition, whenever the fueling of the vehicle is finished, the fueling machine 240 generates an event indicating that the fueling is finished and notifies the event generator.

트랜잭션처리부(250)는 시간측정부, 식별자저장부, 이벤트생성부, 센서데이터획득부 및 트랜잭션생성부로 구성된다. The transaction processing unit 250 includes a time measurement unit, an identifier storage unit, an event generation unit, a sensor data acquisition unit, and a transaction generation unit.

시간측정부는 주유기를 통해서 주유되지 않는 시간을 카운트하고, 주유되지 않는 시간이 제1일정시간을 초과할 때마다 트랜잭션을 생성하라는 이벤트를 발생하여 이벤트생성부로 출력하는 모듈이다. 식별자저장부는 해당 주유장치가 블록체인 네트워크 상에 연결되는 타 주유장치와 식별하기 위한 식별자를 저장하는 모듈이다. 이벤트생성부는 주유기(240) 또는 시간측정부로부터 이벤트가 발생하는지 여부를 체크하고, 이벤트가 발생될 경우 유량센서부(225), 수위센서부(223) 및 성분측정센서부(229)를 센싱하여 주유노즐을 통해 차량에 실제 주유된 실주유량, 기름탱크에 남아 있는 기름의 수위값 및 기름탱크에 저장된 기름의 성분값을 센서데이터획득부로 입력하고, 트랜잭션생성부에 트랜잭션을 생성하여 블록체인 네트워크로 전송하라는 제어신호를 생성한다. 트랜잭션생성부는 센서데이터획득부에 일시 저장된 실주유량, 수위값 및 성분값과 더불어 주유기의 입력부를 통해 운행자가 입력한 주유하기를 원하는 주유량(금액을 입력할 경우 이를 주유량으로 환산함)인 희망주유량을 이용하여 트랜잭션을 생성하여 블록체인 네트워크 망으로 제공하는 모듈이다.The time measuring unit is a module that counts the non-refueling time through the lubricator, generates an event to generate a transaction whenever the non-refueling time exceeds a first predetermined time, and outputs the generated event to the event generating unit. The identifier storage unit is a module that stores an identifier for identifying the fueling device with other fueling devices connected to the block chain network. The event generation unit checks whether an event occurs from the lubricator 240 or the time measurement unit, and when an event occurs, the flow sensor unit 225, the water level sensor unit 223 and the component measurement sensor unit 229 are sensed. The actual fueling amount actually refueled in the vehicle through the fueling nozzle, the level of oil remaining in the oil tank, and the component value of the oil stored in the oil tank are input to the sensor data acquisition unit, and a transaction is created in the transaction generation unit to create a blockchain network. Generates a control signal to transmit. In addition to the actual fuel flow, water level, and component values temporarily stored in the sensor data acquisition unit, the transaction generator calculates the desired fueling amount, which is the desired fueling amount (if an amount is entered, it is converted to the fueling amount) entered by the operator through the input part of the lubricator. It is a module that creates a transaction by using it and provides it to the blockchain network network.

도 4는 본 발명의 주유 장치에서 처리되는 흐름을 표시하는 흐름도이다. 도 4를 이용하여 노드를 형성하는 주유 장치에서 처리되는 흐름에 대해 설명하기로 한다. 4 is a flowchart showing a flow processed in the refueling device of the present invention. A flow processed in a gas refueling device forming a node will be described with reference to FIG. 4 .

차량 운행자가 주유를 했는지 여부를 체크하고(ST110), 주유를 한 경우에는 해당 주유소의 식별자와 함께 주유기를 통해 운행자가 입력한 희망주유량과 유량센서부를 통해 측정된 실주유량 및 기름탱크의 수위센서부 및 성분측정센서부에서 측정된 수위값 및 성분값을 획득한 후(ST120), 이를 이용하여 트랜잭션을 생성하고 블록체인 네트워크 상으로 전송하게 된다(ST170).It is checked whether the vehicle driver has refueled (ST110), and if refueled, the desired refueling amount input by the operator through the gas pump along with the identifier of the corresponding gas station, the actual refueling amount measured through the flow rate sensor unit, and the water level sensor unit of the oil tank And after acquiring the water level value and the component value measured by the component measurement sensor unit (ST120), a transaction is generated using it and transmitted over the block chain network (ST170).

ST110 단계에서 주유가 발생하지 않을 경우 비주유 시간(주유가 하지 않는 지속 시간, 이하 '비주유 기간'이라 함)을 측정하고(ST130), 비주유 기간이 제1일정시간을 넘는지 여부를 체크한다(ST140). ST140 단계에서 제1일정시간을 초과할 경우 주유소 장치의 제어부는 해당 주유소의 희망주유량 및 실주유량을 '0'값으로 설정하면서(ST150) 식별자와 함께 기름탱크의 수위센서부 및 성분측정센서부에서 측정된 수위값 및 성분값을 획득하여(ST160) 트랜잭션을 생성하고 이를 전송하게 된다(ST170). 물론 ST130 및 ST140 단계 중에서 어느 단계에서나 주유하는 이벤트가 발생되면 ST120 단계를 수행하게 된다.If refueling does not occur in step ST110, measure the non-refueling time (the duration of not refueling, hereinafter referred to as the 'non-refueling period') (ST130), and check whether the non-refueling period exceeds the first predetermined time do (ST140). When the first predetermined time is exceeded in step ST140, the control unit of the gas station device sets the desired and actual fueling rates of the gas station to '0' values (ST150), while A transaction is generated by acquiring the measured water level value and component value (ST160) and transmitted (ST170). Of course, when an event for refueling occurs in any of steps ST130 and ST140, step ST120 is performed.

ST170단계 이후 예외사항이 발생하였는지 여부를 체크한다. 예외사항이란 탱크로리를 통해서 기름탱크에 새로운 기름이 급유되는 경우와 기름탱크를 청소하는 경우를 들 수 있다. After step ST170, it is checked whether an exception has occurred. Exceptions include the case where new oil is supplied to the oil tank through the tank lorry and the case of cleaning the oil tank.

먼저 기름이 급유되는 예외 경우에 대해 설명하기로 한다. 탱크로리로부터 기름탱크에 기름이 유입되면 기름탱크의 기름 수위가 상승하게 된다. 급유가 종료되면 주유소 장치 운영자는 '급유'라는 예외 사항이 발생하였음을 입력한다. 주유소 장치의 제어부는 주유소의 희망주유량 및 실주유량을 '0'값으로 설정하고(ST150), 식별자와 함께 탱크로리로부터 급유한 계약급유량(측정치가 아닌 상거래를 통한 계약상 급유량), 기름탱크의 수위센서부 및 성분측정센서부에서 측정된 수위값 및 성분값을 획득하여(ST160) 예외 상황인 '급유'라는 값과 함께 해당 센서값을 이용하여 트랜잭션을 생성하고 이를 전송하게 된다(ST170).First, an exception case in which oil is supplied will be described. When oil flows into the oil tank from the tank lorry, the oil level in the oil tank rises. When refueling is finished, the gas station device operator inputs that an exception of 'refueling' has occurred. The control unit of the gas station device sets the desired and actual fuel flow at the gas station to a value of '0' (ST150), the contract refueling amount supplied from the tank lorry along with the identifier (contractual refueling amount through commerce rather than the measured value), and the The water level and component values measured by the water level sensor unit and the component measurement sensor unit are obtained (ST160), and a transaction is generated using the corresponding sensor value together with the value of 'refueling', which is an exception, and transmitted (ST170).

다음으로 기름탱크를 청소하는 예외 경우에 대해 설명하기로 한다. 기름탱크 청소는 탱크로리에 채워진 기름을 펌프를 이용하여 외부로 빼낸 후 청소를 한 후 다시 빼낸 기름을 채워놓는 작업순으로 진행된다. 청소가 종료되면 주유소 장치 운영자는 '청소'라는 예외 사항이 발생하였음을 입력한다. 주유소 장치의 제어부는 주유소의 희망주유량 및 실주유량을 '0'값으로 설정하면서(ST150) 식별자와 함께 기름탱크의 수위센서부 및 성분측정센서부에서 측정된 수위값 및 성분값을 획득하여(ST160) 예외 상황인 '청소'라는 값과 함께 해당 센서값을 이용하여 트랜잭션을 생성하고 이를 전송하게 된다(ST170).Next, an exception case of cleaning the oil tank will be described. Oil tank cleaning is carried out in the order of pumping out the oil filled in the tank lorry to the outside, cleaning and then refilling the drained oil. When cleaning is finished, the gas station device operator inputs that an exception called 'cleaning' has occurred. The control unit of the gas station device obtains the water level and component values measured by the water level sensor unit and the component measurement sensor unit of the oil tank together with the identifier while setting the desired fuel flow rate and the actual fuel flow rate of the gas station to a '0' value (ST160). ), a transaction is created using the sensor value along with the value of 'cleaning', which is an exception, and transmitted (ST170).

도 5는 본 발명에 따른 블록체인 네트워크 상에서 수행되는 스마트 컨트랙트의 처리 흐름을 설명하는 흐름도이다. 트랜잭션이 입력되면(ST210), 희망주유값 및 실주유값이 '0'값인지 여부를 체크하고(ST220), ST220 체크 결과가 참인 경우에는 예외 상황인지 여부를 다시 체크한다(ST230). 5 is a flowchart illustrating the processing flow of a smart contract performed on a blockchain network according to the present invention. When a transaction is input (ST210), it is checked whether the desired fueling value and the actual fueling value are '0' (ST220), and if the ST220 check result is true, it is checked again whether an exception is made (ST230).

ST230 체크 결과가 참인 경우, 예외 상황 중 '급유'에 해당하는지 여부를 판별하고(ST235), '급유'에 해당할 경우에는 수학식 1에 따라 정상적으로 급유가 되었는지 파악한다.If the ST230 check result is true, it is determined whether or not it corresponds to 'lubrication' among the exceptional situations (ST235), and if it corresponds to 'lubrication', it is determined whether fueling is normally performed according to Equation 1.

Figure 112019090745638-pat00001
Figure 112019090745638-pat00001

수위값과 성분값이 오차 범위 내에서 수학식 1을 만족하면 주유소 상태값을 '정상 급유'로 표시하고, 최신 수위값과 최신 성분값을 이용하여 기존 수위값과 기존 성분값을 업데이트하면서 급유 예외 상황을 처리하고(ST240). 다음 트랜잭션 입력을 처리한다(ST210). 만약 급유 상황에서 오차 범위 내에서 수학식 1을 만족하지 않을 경우에는 '비정상 급유'으로 표시하고, 최신 수위값과 최신 성분값을 이용하여 기존 수위값과 기존 성분값을 업데이트하고(ST240), 다음 트랜잭션 입력을 처리한다(ST210).If the water level value and the component value satisfy Equation 1 within the error range, the gas station status value is displayed as 'normal refueling', and the existing water level value and the existing component value are updated using the latest water level value and the latest component value. Handle the situation (ST240). The next transaction input is processed (ST210). If Equation 1 is not satisfied within the error range in the lubrication situation, 'abnormal lubrication' is displayed, and the existing water level value and the existing component value are updated using the latest water level value and the latest component value (ST240), and then The transaction input is processed (ST210).

ST235 체크 결과가 거짓인 경우에는 '청소'에 해당할 경우에는 수학식 2에 따라 정상적으로 급유가 되었는지 파악한다.If the ST235 check result is false, if it corresponds to 'cleaning', it is determined whether oil is normally supplied according to Equation (2).

Figure 112019090745638-pat00002
Figure 112019090745638-pat00002

수위값과 성분값이 오차 범위 내에서 수학식 2를 만족하면 주유소 상태값을 '정상 청소'로 표시하고, 최신 수위값과 최신 성분값을 이용하여 기존 수위값과 기존 성분값을 업데이트하면서 청소 예외 상황을 처리하고(ST250). 다음 트랜잭션 입력을 처리한다(ST210). 만약 청소 상황에서 오차 범위 내에서 수학식 2를 만족하지 않을 경우에는 '비정상 청소'로 표시하고, 최신 수위값과 최신 성분값을 이용하여 기존 수위값과 기존 성분값을 업데이트하고(ST250), 다음 트랜잭션 입력을 처리한다(ST210).If the water level value and the component value satisfy Equation 2 within the error range, the gas station status value is displayed as 'normal cleaning', and the existing water level value and the existing component value are updated using the latest water level value and the new component value, cleaning exception Handle the situation (ST250). The next transaction input is processed (ST210). If Equation 2 is not satisfied within the error range in the cleaning situation, 'abnormal cleaning' is displayed, and the existing water level value and the existing component value are updated using the latest water level value and the latest component value (ST250), and then The transaction input is processed (ST210).

ST220 단계 및 ST230 단계 중 어느 하나의 단계라도 만족하지 않으면, 주유소 운행 상황을 수학식 3에 따라 주유소 운영 상황을 연산한다(ST255).If any one of steps ST220 and ST230 is not satisfied, the gas station operation condition is calculated according to Equation 3 (ST255).

Figure 112019090745638-pat00003
Figure 112019090745638-pat00003

ST255 단계 연산 후, 수학식 3에 제시된 세 가지 조건을 모두 오차 범위내에서 만족하는지 여부를 이용하여 '정상운영'인지 여부를 판별한다(ST260). '정상운영'으로 판별될 경우 최신 수위값과 최신 성분값을 이용하여 기존 수위값과 기존 성분값을 업데이트하고 주유소 운영상태를 '정상'이라는 트랜잭션을 발생시키고(ST280), 다음 트랜잭션의 입력을 대기한다(ST210).After the ST255 operation, it is determined whether the operation is 'normal operation' using whether all three conditions presented in Equation 3 are satisfied within the error range (ST260). If it is determined as 'normal operation', the existing water level value and the existing component value are updated using the latest water level value and the latest component value, and a transaction called 'normal' is generated for the gas station operation state (ST280), and the input of the next transaction is waited do (ST210).

ST260 단계를 만족하지 않는 경우에는 최신 수위값과 최신 성분값을 이용하여 기존 수위값과 기존 성분값을 업데이트하고 주유소 운영상태를 '비정상'이라는 트랜잭션을 발생시키고(ST280), 다음 트랜잭션의 입력을 대기한다(ST210).If the ST260 step is not satisfied, the existing water level value and the existing component value are updated using the latest water level value and the latest component value, and a transaction called 'abnormal' is generated for the gas station operation status (ST280), and the input of the next transaction is waited do (ST210).

비정상 운영은 보다 구체적으로 분석하기로 한다. 수학식 3의 첫번째 조건 '희망 주유량 = 실주유량'과 같지 않을 경우는 일반적으로 '희망 주유량 > 실주유량'보다 적은 경우로서 정량보다 적은 양의 기름을 주유한 것에 해당될 것이다. Abnormal operation will be analyzed in more detail. When the first condition of Equation 3 is not equal to 'desired fueling amount = actual fueling flow', it is generally less than 'desired fueling amount > actual fueling flow', which corresponds to refueling of less oil than the specified amount.

수학식 3의 두번째 조건 '최신 수위값 = 기존 수위값 + 실주유량'과 같지 않을 경우는 '최신 수위값 > 기존 수위값 + 실주유량'와 '최신 수위값 < 기존 수위값 + 실주유량'로 나눌 수 있다. '최신 수위값 > 기존 수위값 + 실주유량'인 경우에는 기름탱크에 물 등과 같은 이물질이 들어가서 희석된 상태로 추정할 수 있다. '최신 수위값 < 기존 수위값 + 실주유량'는 주유가 진행되는 동안 별도로 기름이 유출된 것(도둑 맞은 것)으로 추정할 수 있다.If the second condition of Equation 3 is not the same as 'Newest water level = Existing water level + Actual irrigation flow', it is divided into 'Newest water level > Existing water level + Actual irrigation flow' and 'Newest water level < Existing water level + Actual irrigation flow rate' can In the case of 'Latest water level value > Existing level value + Actual fuel flow', it can be estimated that foreign substances such as water have entered the oil tank and are in a diluted state. The 'latest water level value < existing water level value + actual fuel flow rate' can be estimated as a separate oil leak (stolen) while refueling is in progress.

수학식 3의 세번째 조건 '최신 성분값 = 기존 수위값'과 같지 않을 경우는 최신 성분값과 기존 성분값의 비교를 통해서 물 등의 이물질이 유입되어 희석되었는지 아니면 성분이 확연이 다른 기름이 유입되었는지 여부를 판별하는데 사용될 수 있는 것이다.If the third condition of Equation 3 is not the same as 'newest component value = existing water level value', it is possible to determine whether foreign substances such as water were introduced and diluted or oil with distinctly different components was introduced by comparing the latest component value with the existing component value. It can be used to determine whether

지금까지 설명한 바와 같이 다양한 센서부에서 입력되는 센서값은 변경이 될 때마다 또는 주기적으로 트랜잭션을 생성하여 블록체인 네트워크 상에 기록되게 되며, 주유소를 사용하는 사람들(클라이언트)에게 웹페이지 혹은 핸드폰 앱으로 전송을 하거나 쿼리를 통한 조회시 결과를 통보함음로써 사용자들은 해당 기록을 보고 신뢰할 수 있는 주유소를 선택하여 이용할 수 있게 되는 것이다.As described so far, the sensor values input from the various sensor units are recorded on the blockchain network by generating a transaction whenever there is a change or periodically, and are sent to the people (clients) who use the gas station as a web page or mobile phone app. By notifying the results when sending or querying, users can view the records and select and use reliable gas stations.

또한 센서의 고장 등에 의해 발생한 데이터들에 대한 수정을 위해 정유사들과 한국 석유 관리 위원회에서 컨소시엄을 형성하여 블록 체인 네트워크를 운영하는 것으로 한다. 이를 통해 다른 정유사들에 대한 감찰 효과 또한 기대할 수 있다.In addition, in order to correct data caused by sensor failure, etc., a consortium is formed between refineries and the Korea Petroleum Management Committee to operate a blockchain network. Through this, the effect of inspection on other refiners can also be expected.

본 발명에서는 주유소 기름 검증 시스템에 사용되는 시스템은 다음과 같다. 먼저 제안하는 시스템에서는 블록체인을 사용한다. 블록체인을 사용하는 까닭은 블록체인의 가장 큰 특징인 데이터에 대한 조작이 어렵다는 점을 활용하기 위함이다. 이러한 특성을 이용해 데이터에 대한 무결성을 보장할 수 있게 된다. 또한 블록체인은 Permissioned 형식을 사용한다. 이러한 이유는 Public 형식의 블록체인을 사용하면 블록체인에 기록된 내용에 대한 수정을 누구나 제안할 수 있지만 지금 제안하는 시스템에서는 데이터 수정 등에 대한 권한을 특정 기관들의 컨소시엄에서 결정을 하기 때문에 Public을 사용하지 않는다. 또한 Public을 사용하게 되면 작업 증명이라는 연산을 거쳐야 하지만 제안하는 시스템은 기업에서 사용하는 시스템이기 때문에 이러한 불필요한 연산을 거칠 필요가 없다. 하여 권한 증명 방식을 사용하여 블록 체인에 블록을 형성하기로 한다.In the present invention, the system used in the gas station oil verification system is as follows. The first proposed system uses a blockchain. The reason for using blockchain is to take advantage of the fact that it is difficult to manipulate data, which is the biggest characteristic of blockchain. By using these characteristics, the integrity of data can be guaranteed. Also, the blockchain uses the Permissioned format. For this reason, anyone can propose corrections to the contents recorded in the blockchain using a public-type blockchain. does not In addition, when using Public, it is necessary to go through an operation called proof of work, but since the proposed system is a system used by companies, there is no need to go through such unnecessary operation. to form a block on the blockchain using the proof-of-authority method.

상기에서 본 발명의 바람직한 실시예가 특정 용어들을 사용하여 설명되었지만 그러한 용어는 오로지 본 발명을 명확히 설명하기 위한 것일 뿐이며, 본 발명의 실시예 및 기술된 용어는 다음의 청구범위의 기술적 사상 및 범위로부터 이탈되지 않고서 여러가지 변경 및 변화가 가해질 수 있는 것은 자명한 일이다. 이와 같이 변형된 실시예들은 본 발명의 사상 및 범위로부터 개별적으로 이해되어져서는 안되며, 본 발명의 청구범위 안에 속한다고 해야 할 것이다.Although preferred embodiments of the present invention have been described above using specific terms, such terms are only for clearly describing the present invention, and the embodiments and described terms of the present invention depart from the spirit and scope of the following claims. It is self-evident that various changes and changes can be made without being performed. Such modified embodiments should not be separately understood from the spirit and scope of the present invention, but should be considered to fall within the scope of the claims of the present invention.

200: 주유소 장치 210: 지표면
220: 기름탱크 221: 유입관
223: 수위센서부 225: 유량센서부
227: 유출관 229: 성분측정센서부
240: 주유기 250: 제어부
200: gas station device 210: surface
220: oil tank 221: inlet pipe
223: water level sensor unit 225: flow sensor unit
227: outlet pipe 229: component measurement sensor unit
240: lubricator 250: control unit

Claims (7)

블록체인 네트워크 상에서 운영되는 주유소 장치로서,
주유기, 기름탱크 및 트랜잭션처리부를 포함하며,
상기 주유기는
차량 운전자로부터 주입할 희망주류량을 입력받는 입력부와,
상기 희망주류량에 따른 결제 비용을 결제 처리하는 결제처리부 및
상기 차량에 실제 주유되는 실주류량을 측정하는 유량센서부
를 포함하며,
상기 기름탱크는
속에 든 내용물 수위를 측정하는 수위센서부 및
속에 든 내용품의 성분을 측정하는 성분측정센서부
를 포함하며,
상기 트랜잭션처리부는 상기 주유기에서 주유가 종료되는 경우 상기 운전자가 입력한 희망주류량, 유량센서부, 수위센서부 및 성분측정센서부에서 센싱된 실주류량, 수위값 및 성분값을 이용하여 트랜잭션을 생성하는 것을 특징으로 하는 주유소 장치.
As a gas station device operating on a blockchain network,
Including a lubricator, an oil tank, and a transaction processing unit,
the lubricator
an input unit for receiving an input of a desired amount of alcohol to be injected from a vehicle driver;
a payment processing unit for processing payment according to the desired amount of alcohol; and
A flow sensor unit for measuring the actual amount of alcohol actually refueled in the vehicle
includes,
the oil tank
A water level sensor that measures the level of the contents contained in it, and
Ingredient measurement sensor unit that measures the ingredients of the contents inside
includes,
The transaction processing unit performs a transaction by using the desired amount of alcohol input by the driver, the actual amount of alcohol sensed by the flow sensor unit, the water level sensor unit, and the component measurement sensor unit, when the fueling is finished in the lubricator. Gas station device, characterized in that it generates.
제1항에 있어서,
상기 주유소 장치를 상기 블록체인 네트워크 상에서 운영되는 타 주유소 장치와 식별하기 위한 주유소 식별자를 더 구비하고 상기 트랜잭션처리부는 트랜잭션 생성시 상기 주유소 식별자도 이용하여 트랜잭션을 생성하는 것을 특징으로 하는 주유소 장치.
According to claim 1,
A gas station device, further comprising a gas station identifier for identifying the gas station device from other gas station devices operating on the block chain network, wherein the transaction processing unit generates a transaction using the gas station identifier when generating a transaction.
제2항에 있어서,
상기 트랜잭션처리부에는 상기 주유기를 이용하여 주유하지 않는 시간을 카운트하는 시간측정부를 더 구비하고, 상기 시간측정부에서 측정된 카운트값이 미리 정한 제1일정시간을 초과하는 경우에도 희망주류량과, 상기 주유소 식별자와, 유량센서부, 수위센서부 및 성분측정센서부에서 센싱된 실주류량, 수위값 및 성분값을 이용하여 트랜잭션을 추가적으로 생성하는 것을 특징으로 하는 주유소 장치.
3. The method of claim 2,
The transaction processing unit further includes a time measuring unit for counting the time not to refuel by using the gas lubricator, and even when the count value measured by the time measuring unit exceeds a first predetermined time period, the desired amount of alcohol and the A gas station device, characterized in that the transaction is additionally generated using the gas station identifier, the actual amount of alcohol sensed by the flow sensor unit, the water level sensor unit, and the component measurement sensor unit, the water level value, and the component value.
블록체인 네트워크 상에서 운영되는 주유소 장치로서,
주유기, 기름탱크 및 트랜잭션처리부를 포함하며,
상기 주유소 장치를 상기 블록체인 네트워크 상에서 운영되는 타 주유소 장치와 식별하기 위한 주유소 식별자를 포함하며,
상기 주유기는
차량 운전자로부터 주입할 희망주류량을 입력받는 입력부와,
상기 희망주류량에 따른 결제 비용을 결제 처리하는 결제처리부 및
상기 차량에 실제 주유되는 실주류량을 측정하는 유량센서부
를 포함하며,
상기 기름탱크는
속에 든 내용물 수위를 측정하는 수위센서부 및
속에 든 내용품의 성분을 측정하는 성분측정센서부
를 포함하며,
상기 트랜잭션처리부는 상기 주유기에서 주유가 종료되는 경우 상기 운전자가 입력한 희망주류량, 유량센서부, 수위센서부 및 성분측정센서부에서 센싱된 실주류량, 수위값 및 성분값을 이용하여 트랜잭션을 생성하거나, 상기 주유기를 이용하여 주유하지 않는 시간이 제1일정시간을 초과할 경우에도 희망주류량과, 유량센서부, 수위센서부 및 성분측정센서부에서 센싱된 실주류량, 수위값 및 성분값을 이용하여 트랜잭션을 생성하는 것을 특징으로 하는 주유소 장치.
As a gas station device operating on a blockchain network,
Including a lubricator, an oil tank, and a transaction processing unit,
and a gas station identifier for identifying the gas station device from other gas station devices operating on the blockchain network,
the lubricator
an input unit for receiving an input of a desired amount of alcohol to be injected from a vehicle driver;
a payment processing unit for processing payment according to the desired amount of alcohol; and
A flow sensor unit that measures the actual amount of alcohol actually refueled in the vehicle
includes,
the oil tank
A water level sensor that measures the level of the contents and
Ingredient measurement sensor unit that measures the ingredients of the contents inside
includes,
The transaction processing unit performs a transaction by using the desired amount of alcohol input by the driver, the actual amount of alcohol sensed by the flow sensor unit, the water level sensor unit, and the component measurement sensor unit, when the fueling is finished in the lubricator. Even when the amount of time not generated or refueling using the lubricator exceeds the first predetermined time, the desired amount of alcohol, the actual amount of alcohol sensed by the flow sensor unit, the water level sensor unit, and the component measurement sensor unit, the water level value and the component A gas station device, characterized in that it creates a transaction using the value.
제4항에 있어서,
상기 트랜잭션처리부는 트랜잭션 생성시 상기 주유소 식별자도 이용하는 것을 특징으로 하는 주유소 장치.
5. The method of claim 4,
The gas station apparatus of claim 1, wherein the transaction processing unit also uses the gas station identifier when generating a transaction.
제3항 또는 제5항에 있어서,
상기 블록체인 네트망은 허가(permissioned)형 블록체인 네트워크인 것을 특징으로 하는 주유소 장치.
6. The method of claim 3 or 5,
The block chain network is a gas station device, characterized in that it is a permissioned block chain network.
제6항에 있어서,
상기 블록체인 네트망은 PoA(Proof of Authority) 방식의 허가형 블록체인 네트워크인 것을 특징으로 하는 주유소 장치.
7. The method of claim 6,
The block chain network is a gas station device, characterized in that it is a PoA (Proof of Authority) type permission type block chain network.
KR1020190108958A 2019-09-03 2019-09-03 Gas station device using smart contract KR102383830B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190108958A KR102383830B1 (en) 2019-09-03 2019-09-03 Gas station device using smart contract

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190108958A KR102383830B1 (en) 2019-09-03 2019-09-03 Gas station device using smart contract

Publications (2)

Publication Number Publication Date
KR20210027907A KR20210027907A (en) 2021-03-11
KR102383830B1 true KR102383830B1 (en) 2022-04-06

Family

ID=75143295

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190108958A KR102383830B1 (en) 2019-09-03 2019-09-03 Gas station device using smart contract

Country Status (1)

Country Link
KR (1) KR102383830B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101225518B1 (en) * 2011-07-18 2013-01-23 주식회사 한국포스밴시스템 Apparatus for controlling self-lubricator and self-lubricator therewith
KR101677098B1 (en) 2015-06-01 2016-11-29 주식회사 유노비젼 INTERGRATION MANAGEMENT SYSTEM OF OIL STATION USING IoT SMART BASED AND METHOD THEREOF

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150067752A (en) 2012-07-19 2015-06-18 조주현 An apparatus for inspecting manipulation of a lubricator and the inspecting method thereof
KR101585115B1 (en) * 2012-12-04 2016-01-15 박재덕 Dishonest Receipt Check System of Fuel Subsidies
KR101941651B1 (en) * 2017-02-14 2019-01-23 신영세미콘(주) Method for preventing illegal receipt of fuel subsidy

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101225518B1 (en) * 2011-07-18 2013-01-23 주식회사 한국포스밴시스템 Apparatus for controlling self-lubricator and self-lubricator therewith
KR101677098B1 (en) 2015-06-01 2016-11-29 주식회사 유노비젼 INTERGRATION MANAGEMENT SYSTEM OF OIL STATION USING IoT SMART BASED AND METHOD THEREOF

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
이현우, 이더리움 스마트컨트랙트를 활용한 신뢰받는 주유소 시스템 구축, 2018.09.30 1부.*

Also Published As

Publication number Publication date
KR20210027907A (en) 2021-03-11

Similar Documents

Publication Publication Date Title
US7552865B2 (en) System and method for deep interaction modeling for fraud detection
US9536387B2 (en) Gaming machine systems and methods for accepting various currencies
US20190102966A1 (en) Methods and systems of liquefied petroleum gas distribution
US6929018B2 (en) Underground storage tank metering system in a service station environment
JP2014520320A5 (en)
KR101585115B1 (en) Dishonest Receipt Check System of Fuel Subsidies
US11688251B1 (en) Systems and methods for detecting compromised ATMs
AU654424B2 (en) Vend transaction control means
JP2009064127A (en) Automatic transaction system, server, and automatic transaction device
KR102383830B1 (en) Gas station device using smart contract
KR101677098B1 (en) INTERGRATION MANAGEMENT SYSTEM OF OIL STATION USING IoT SMART BASED AND METHOD THEREOF
KR20120017122A (en) Filling service station management system and method
JP2009157572A (en) Service station system
KR101891995B1 (en) System for monitoring petroleum transactions without authentic documentation using measurement apparatus of storage quantity
JP2007075348A (en) Game medium dispensing system, method and program using debit settlement
JP6497970B2 (en) Abnormality detection method and abnormality detection device
KR102058582B1 (en) Method and apparatus for monitoring the modulation of a lubricator
KR101891996B1 (en) System for monitoring petroleum transactions without authentic documentation
KR101644009B1 (en) A fuel subsidy verification system or its method
KR102074782B1 (en) Point auto-earning system using payment approval message and app location information contrast
KR20200059945A (en) Gasoline information monitoring system using block chain and monitoring method using the same
KR20020079145A (en) Oil providing system having on-line extempore lottery ticket function and the method for providing on-line extempore lottery ticket function
JP2016156700A (en) Abnormality detecting method and abnormality detecting device
KR20130013351A (en) Pump and fuel dispenser having ingredient analyzer
KR102605902B1 (en) Acquisition of mileage from wireless terminals and service methods through it

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