




도 1은 본 발명의 근간이 되는 암호화기/복호화기의 이용 원리를 나타낸 도면.BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 shows the principle of use of an encryptor / decryptor which is the basis of the present invention.
도 2는 본 발명의 근간이 되는 공개키 암호화 시스템의 이용 원리를 나타낸 도면.2 is a diagram illustrating a principle of use of a public key cryptographic system underlying the present invention.
도 3은 본 발명에 따른 디지털 전자복권 시스템을 나타낸 도면.3 illustrates a digital electronic lottery system according to the present invention.
도 4는 본 발명에 따른 디지털 전자복권의 추첨측 상세 구성을 나타낸 도면.Figure 4 is a view showing the detailed configuration of the lottery side of the digital lottery in accordance with the present invention.
도 5는 본 발명의 따른 구매자측의 당첨여부 확인 절차를 나타낸 도면.5 is a view showing a winning confirmation of the buyer side according to the present invention.
*도면의 주요 부분에 대한 부호 설명** Description of symbols on the main parts of the drawings *
100 : 제1 웹 서버100: first web server
110 : 제2 웹 서버 120 : 제3 웹 서버110: second web server 120: third web server
본 발명은 복권 서비스 및 시스템에 관한 것으로, 특히 인터넷과 같은 통신망을 통해 서비스되는 디지털 전자복권에 보다 높은 신뢰성을 부여하는데 적당한 디지털 전자복권의 추첨 방법 및 그를 위한 시스템에 관한 것이다.BACKGROUND OF THE
현재 네트워크를 기반으로 하는 전자상거래나 전자지불, 또는 전자복권에 관련된 서비스들은 보안과 신뢰성에 많은 문제를 안고 있는 실정이다.Currently, services related to electronic commerce, electronic payment, or electronic lottery based on the network have many problems with security and reliability.
네트워크 기반 서비스의 보안과 신뢰성 보장을 위해, 최근에는 네트워크 시스템 및 네트워크상의 정보를 보호하기 위한 암호화 기술 및 그에 관련된 표준이 많이 소개되고 있다.In order to ensure the security and reliability of network-based services, recently, a number of encryption technologies and related standards for protecting network systems and information on a network have been introduced.
그럼에도 불구하고, 종래에는 다음에 나열되는 여러 해킹의 위험이 존재한다.Nevertheless, there are several risks of hacking listed in the prior art.
첫 째, 네트워크(인터넷, 온라인 또는 무선통신)로 전송되는 암호화되지 않은 모든 정보가 불법 사용자인 해커(hacker)에 의해 도청될 가능성이 많다. 이는 시스템 로그인 시에 개인의 식별자(ID : Identifier)와 비밀번호(Password)의 도청 가능성이 있다는 것과, 하이퍼텍스트 전송 프로토콜(HTTP) 등 웹 프로토콜을 도청하여 고객 정보를 취득할 가능성이 있다는 것이다.First, all unencrypted information transmitted over a network (Internet, online or wireless communication) is likely to be tapped by a hacker who is an illegal user. This means that there is a possibility of eavesdropping on the personal identifier (ID) and password (Password) when logging in to the system, and to obtain customer information by eavesdropping on web protocols such as hypertext transfer protocol (HTTP).
둘 째, 인터넷 주소(IP Address)나 호스트 이름에 기반하여 인증 시스템을 공격할 가능성이 많다. 이는 인터넷 주소(IP address)의 스프핑(spoofing) 가능성, 도메인 네임 시스템(DNS : Domain Name System)의 스프핑 가능성이 있다는 것과, 또는 외부의 해커가 마치 내부의 인증 받은 컴퓨터에서 접근한 것처럼 속일 가능성이 있다는 것이다. 여기서 도메인 네임 시스템의 스프핑은 호스트 이름을 묻는 패킷을 가로채서 해커의 컴퓨터가 마치 내부 관리자의 컴퓨터인 것처럼 속이는 것이다. 또한 인터넷 주소 스프핑은 거짓된 인터넷 주소를 담은 패킷을 공격 대상 서버 에 보내서 마치 내부 관리자 컴퓨터에서 보내는 명령처럼 속이는 것이다.Second, it is more likely to attack the authentication system based on IP address or host name. This could mean spoofing the IP address, spoofing the Domain Name System (DNS), or deceiving an external hacker as if accessed from an internal, authenticated computer. Is that there is. The spoofing of a domain name system here intercepts a packet that asks for a hostname and deceives a hacker's computer as if it were an internal administrator's computer. In addition, Internet address spoofing sends a packet containing a false Internet address to the target server, which deceives it like a command from an internal administrator computer.
세 째, 외부 인터넷에서 고객용 웹 서버만을 접근할 수 있도록 구성된 방화벽 시스템을 해커가 웹 서버의 각종 약점을 찾아 뚫고 들어갈 가능성이 많다.Third, hackers are likely to penetrate and find various weaknesses of web servers through firewall systems configured to access only customer web servers from the external Internet.
네 째, 인터넷의 기반 프로토콜인 전송제어프로토콜/인터넷프로토콜(TCP/IP) 약점을 이용하여 허가되지 않은 시스템에 접근할 가능성이 많다. 텔넷(TELNET) 세션 하이재킹이나, 각종 서비스 거부(denial-of-service) 공격이 그의 일 예들이다. 이를 통해 해커는 인증 받은 사용자의 세션을 마비시키고, 그 세션을 가로채서 시스템에 치명적인 명령어를 보낸다.Fourth, it is possible to access unauthorized systems by using transmission control protocol / Internet protocol (TCP / IP) weaknesses, which are Internet-based protocols. TELNET session hijacking or various denial-of-service attacks are examples. The hacker paralyzes the session of the authenticated user, intercepts the session, and sends a critical command to the system.
상기와 같이 나열된 불법행위를 방지하기 위한 네트워크 보안은, 크게 시스템 보안과 정보 보안의 두 가지로 대별된다.Network security for preventing the illegal activities listed above are largely classified into two types, system security and information security.
시스템 보안은 컴퓨터 시스템의 운영체계 및 응용프로그램, 그리고 서버 등의 보안 허점을 뚫고 불법 사용자가 침입하여, 그 컴퓨터 시스템을 불법으로 이용하는 것을 방지하는 것이다.System security is to prevent illegal users from invading and illegally using the computer system through security holes such as operating systems and applications of the computer system and servers.
정보 보안은 컴퓨터 시스템 내부에 들어있는 정보(information=data)를 보호하는 것으로, 특히 네트워크 상으로 전송되고 있는 정보를 중간에 가로채거나, 몰래 수정한 뒤에 재전송하는 등의 불법행위를 방지하여, 정보를 보다 안전하고 신뢰성있게 전달하기 위한 것이다.Information security protects the information (information = data) inside a computer system. In particular, information security prevents illegal acts such as intercepting information transmitted over a network, retransmitting it after secret modification, and so on. To deliver more safely and reliably.
이러한 시스템 보안과 정보 보안은, 현재 널리 확대되고 있는 디지털 전자복권 서비스에서도 특히 요구되는 기술이다. 상기한 보안들을 위해서, 종래에는 암호화 및 전자서명 등의 방식이 디지털 전자복권 서비스에 이용되었지만, 대개 복권번 호에 대해서만 암호화 기술이 적용되었다.Such system security and information security are particularly required in the digital e-lottery service that is being widely expanded. For the above-mentioned security, in the past, methods such as encryption and digital signature have been used for digital electronic lottery services, but encryption techniques have been generally applied only to lottery numbers.
따라서 현재 보안 기술을 사용하더라도 디지털 전자복권의 위조 및 불법복제, 그리고 추첨 후 위조의 문제들이 항상 내제한다.Therefore, even with current security technology, the problems of counterfeiting and illegal copying of digital lottery, and counterfeiting after lottery are always present.
보다 상세히 설명하면, 디지털 전자복권을 발권하는 서비스 제공자측에서, 내부 해커가 발권키를 텝핑(tapping)하여 불법복권을 다량 복제할 가능성이 있다. 또한 내부 해커가 추첨 이후에, 그 추첨을 통해 공개되는 당첨복권과 동일한 당첨복권을 재구성할 가능성이 있다.In more detail, there is a possibility that an internal hacker taps a ticketing key and copies a large number of illegal lotteries on the service provider side that issues the digital electronic lottery. There is also a possibility that an internal hacker may reconstruct the winning lottery ticket after the lottery, which is the same as the winning lottery ticket that is revealed through the lottery.
결국 점진적으로 그 응용의 폭이 확대되고 있는 디지털 전자복권에 대해, 그 디지털 전자복권의 네트워크를 통한 발권, 발매 및 추첨의 보다 확고한 신뢰성이 요구되고 있는 실정이다.As a result, the digital electronic lottery, which is gradually expanding its application, is required to have more reliable reliability of ticketing, release, and drawing through the network of the digital electronic lottery.
특히 인터넷, 온라인 또는 무선통신망을 통해 서비스 가능한 디지털 전자복권의 발권, 발매 및 추첨에 대해 보다 확고한 신뢰성을 부여해 줄 수 있도록, 운영 시스템의 개발과 그 운영에 필요한 컨텐츠(디지털 전자복권)의 포맷 개발이 요구된다.In particular, the development of the operating system and the format of the contents (digital electronic lottery) necessary for its operation are provided in order to give more credibility to the ticketing, release and drawing of digital lottery tickets that can be serviced through the Internet, online or wireless communication network. Required.
본 발명의 목적은 상기한 문제점들을 감안하여 안출한 것으로, 특히 디지털 전자복권을 발권하는 서비스 제공자측에서, 실제 복권의 추첨번호 생성을 조작하거나 위조할 수 없도록 해주는 디지털 전자복권 추첨 방법 및 그를 위한 시스템을 제공하는데 있다.An object of the present invention has been made in view of the above-mentioned problems, and in particular, the digital electronic lottery method and system for allowing the service provider to issue a digital lottery ticket cannot manipulate or forge the actual lottery number generation. To provide.
상기한 목적을 달성하기 위한 본 발명에 따른 디지털 전자복권 추첨 시스템 의 특징은, 디지털 전자복권의 발권하고, 그에 따른 발권된 전자복권토큰 정보를 생성하기 위한 키관리-디바이스를 구비하는 제1 웹 서버와; 상기 제1 웹 서버에서 발권된 전자복권토큰을 근거로 한 전자복권 표를 발매하고, 그에 따라 이미 발매된 복권들의 관련 자료들을 출력하는 제2 웹 서버와; 상기 제2 웹 서버로부터 복권들의 관련 자료들을 입력받아, 추첨번호 생성을 위해 상기 제1 웹 서버의 키관리-디바이스로 그 입력 값들을 출력시키는 제3 웹 서버로 구성된다.A feature of the digital electronic lottery system according to the present invention for achieving the above object is a first web server having a key management-device for issuing a digital lottery ticket and generating the issued electronic lottery token information accordingly. Wow; A second web server for releasing an electronic lottery ticket based on the electronic lottery token issued by the first web server, and outputting relevant data of lotteries already released accordingly; And a third web server that receives the relevant data of the lotteries from the second web server and outputs the input values to the key management device of the first web server for generating a lottery number.
상기 제3 웹 서버는, 상기 제2 웹 서버로부터 복권 관련 자료들로써, 마지막으로 발매된 전자복권의 고유한 발행번호(LSN-Final) 값과, 마지막 발매된 전자복권 및 이전에 발매된 전자복권들의 각 전자복권 이름(L-ID)과, 발권기관명(LIN)과, 복권의 유효기간(LVD)과, 당첨금(LBM)이 포함된 복권정보를 전달받아, 그 복권정보를 상기 제1 웹 서버의 키관리-디바이스로 전달하는 것이 바람직하다.The third web server is a lottery-related data from the second web server, the unique issue number (LSN-Final) value of the last released lottery ticket, the last released lottery ticket and previously released lottery ticket Receive the lottery information including each electronic lottery name (L-ID), the ticketing authority name (LIN), the expiration date (LVD) and the winnings (LBM) of the lottery, and the lottery information of the first web server It is desirable to pass it to the key management-device.
특히 상기 키관리-디바이스는, 상기 전달된 복권정보들을 해쉬함수로 압축한 결과와, 상기 제1 웹 서버가 각각의 복권정보(LT-Info) 및 전자복권토큰(LT-Token)을 삽입시켜 프레이밍(framing)을 가한 결과로써 생성된, 전자복권 프레임 번들(frame bundle)의 값들을 비교하고, 그 비교 결과에서, 서로 일치되는 경우에, 내부에 구비된 추첨번호 생성을 위한 생성기를 구동시키는 것이 바람직하다.In particular, the key management device is configured to frame the result of compressing the delivered lottery information into a hash function and inserting the lottery information (LT-Info) and the electronic lottery token (LT-Token) by the first web server. It is preferable to compare the values of the electronic lottery frame bundles generated as a result of applying the framing, and to drive the generator for generating the lottery numbers provided therein when the comparison results match each other. Do.
또한 키관리-디바이스는, 발권 당시에 저장된 추첨번호 생성의 초기값들을 추출하여 제1의 입력으로하고, 상기 마지막으로 발매된 전자복권의 고유한 발행번호(LSN-Final) 값에 영향을 받아 생성되는 무작위 번호를 제2 입력으로 하여, 그들을 자신의 비밀-개인키로 전자서명한 추첨번호를 상기 제3 웹 서버로 출력시킨다. 여기서 상기 발권 당시에 저장된 추첨번호 생성의 초기값들은, 무작위번호생성블록(RNG)으로부터 무작위로 생성된 일회용 발권키와, 또하나의 무작위번호생성블록(RNG)으로부터 무작위로 생성된 키임이 바람직하다.In addition, the key management device, which is generated by being extracted from the initial values of the lottery number generation stored at the time of ticketing as a first input, and influenced by the unique issue number (LSN-Final) of the last released lottery ticket. Using the random numbers as the second input, the lottery numbers digitally signed with their secret-private keys are output to the third web server. Here, the initial values of the lottery number generation stored at the time of ticketing are preferably a one-time ticketing key randomly generated from a random number generation block (RNG) and a key randomly generated from another random number generation block (RNG).
마지막으로 제3 웹 서버는, 상기 키관리-디바이스로부터 출력된 값들을 내부 데이터베이스에 저장시킴과 동시에 상기 제2 웹 서버로 전달하고, 그에 따른 제2 웹 서버는 구매자측에 추첨번호 정보을 공지하는 것이 바람직하다.Finally, the third web server stores the values output from the key management device in an internal database and simultaneously delivers the lottery number information to the buyer. desirable.
이하 본 발명에 따른 디지털 전자복권 추첨 방법 및 그를 위한 시스템에 대한 바람직한 일 실시 예를 첨부된 도면을 참조하여 설명한다.Hereinafter, a preferred embodiment of a digital electronic lottery method and a system therefor will be described with reference to the accompanying drawings.
본 발명은 전자복권 당첨번호의 생성을 구매자 측면에서 신뢰할 수 있도록 보다 안전하게 설계된 시스템이다. 즉 당첨번호에 대한 신뢰성을 체크할 수 있는 소프트웨어가 전자복권 구매자측에 구비된다.The present invention is a system designed more securely so that the generation of the electronic lottery winning number can be trusted from the buyer side. That is, software that can check the reliability of the winning number is provided on the side of the electronic lottery buyer.
또한 본 발명에서는 복권 당첨번호가 자동적이면서 신뢰성있게 생성되며, 디지털 전자복권을 발권하는 부분과 발매하는 부분의 내부 담합에 의한 인위적 당첨번호 생성이 불가능하다.In addition, in the present invention, the lottery winning number is generated automatically and reliably, and it is impossible to generate an artificial winning number by internal fixing of a portion for issuing and releasing a digital electronic lottery.
이들을 위해, 다음은 본 발명의 방법 실현 및 시스템 구축에 근간이 되는 요소들에 대해 먼저 설명한다.For these purposes, the following describes the elements underlying the method realization and system construction of the present invention.
1. 암호화기/복호화기(Encrypter/Decrypter)1.Encrypter / Decrypter
암호화기(Encrypter)는, 사용자만이 알고 있는 비밀키가 특정 암호화 알고리즘과 함께 디지털 전자복권과 같은 디지털 컨텐츠에 작용하여, 새로운 암호화된 컨 텐츠로 변환시켜 주는 것이다. 이 때 변환된 컨텐츠를 원래대로 복구하기 위해서는 반드시 비밀키가 요구되며, 또한 컨텐츠 복구를 위해서는 암호화기의 대응되는 복호화기(Decrypter)가 사용된다. 이는 대칭키 암호화 방식으로, 도 1은 이러한 암호화기/복호화기의 이용 원리를 나타낸다.Encrypter is a secret key that only the user knows and works with digital encryption contents such as digital electronic lottery with specific encryption algorithm, and converts it into new encrypted content. At this time, a secret key is required to recover the converted content as it is, and a corresponding decryptor of the encryptor is used to recover the content. This is a symmetric key encryption scheme, and FIG. 1 shows a principle of using such an encryptor / decryptor.
2. 공개키 암호화 시스템(Public Key Cryptosystem)2. Public Key Cryptosystem
공개키 암호화 시스템은, 전술된 암호화기/복호화기의 이용 원리(대칭형 암호화)와 달리, 디지털 데이터를 암호화하고 복호화하는데 서로 다른 한 쌍의 키가 작용되도록 하는 것이다. 이 때 사용되는 한 쌍의 키는 서로 다른 수학적인 연관성을 갖도록 생성된 것으로, 하나는 공개해도 되는 공개키(Public Key)이고, 다른 하나는 공개해서는 안되는 개인키(Private Key=비밀키)이다. 이는 비대칭키 암호화 방식으로, 도 2는 이러한 공개키 암호화 시스템의 이용 원리를 나타낸다.The public key cryptography system, unlike the above-described principle of use of the encryptor / decryptor (symmetric encryption), allows a pair of different keys to be used to encrypt and decrypt digital data. The pair of keys used at this time is generated to have different mathematical associations, one is a public key that can be disclosed and the other is a private key that is not to be disclosed. This is an asymmetric key encryption method, Figure 2 shows the principle of use of such a public key encryption system.
3. 해쉬 함수(Hash Function)3. Hash Function
해쉬 함수는 데이터 압축 알고리즘으로, 디지털 데이터에 대한 무결성(Integrity)을 체크하기 위한 것이다. 이러한 해쉬 함수를 사용할 경우에는, 압축된 데이터만으로 원래 압축 이전의 정보를 복원할 수 없다. 이러한 특징 때문에, 일방향 함수(One-Way Function)라고 한다. 특히 해쉬 함수는, 일정 크기 이상의 데이터에 대한 전자서명을 부여하는 시스템에서, 전체 데이터의 무결성을 보장하면서도 훨씬 축소된 데이터에 대한 서명 값을 계산하기에 용이하므로, 대부분의 전자서명 메커니즘에 자주 사용된다.The hash function is a data compression algorithm that checks the integrity of digital data. When using such a hash function, the compressed data alone cannot restore the information before the original compression. Because of this feature, it is called a one-way function. In particular, hash functions are frequently used in most digital signature mechanisms, as they are easy to calculate the signature values for much smaller data while ensuring the integrity of the entire data in systems that provide digital signatures for data above a certain size. .
4. 전자서명 알고리즘(Digital Signature Algorithm)4. Digital Signature Algorithm
전자서명 알고리즘은, 무인식 증명기술(zero-knowledge proof)을 이론적 기반으로 하여, 그 안전도를 실질적 차원에서 제공할 수 있는 전자서명 방식들(RSA 방식의 전자서명이나 DSA 방식의 전자서명 등)이 널리 쓰이고 있다. 본 발명에서는 전자서명 방식을 공개키 암호화 방식에 근거한 것으로 그 종류를 제한하지 않는다.Digital signature algorithms are based on the theory of zero-knowledge proof, and digital signature methods (such as RSA-based digital signatures or DSA-based digital signatures) that can provide a practical level of safety. It is widely used. In the present invention, the electronic signature method is based on the public key encryption method, and the type thereof is not limited.
상기 나열된 네 가지 기술 요소들에 근간한 본 발명에 따른 디지털 전자복권 추첨 방법 및 시스템에 대해 보다 상세히 설명한다.The digital electronic lottery method and system according to the present invention based on the four technical elements listed above will be described in more detail.
본 발명에서는 보다 효율적인 설명을 위해 다음의 표 1에 나타낸 공개키 암호화(PKI) 관련 기호 및 표 2에 나타낸 본 발명의 전자복권 관련 기호를 사용한다.In the present invention, the public key cryptography (PKI) related symbol shown in Table 1 below and the electronic lottery related symbol shown in Table 2 are used for more efficient explanation.
도 3은 본 발명에 따른 디지털 전자복권 시스템을 나타낸 도면이다.3 is a diagram illustrating a digital electronic lottery system according to the present invention.
도 3을 참조하면, 본 발명의 시스템의 디지털 전자복권을 발권하는 제1 웹 서버(100)와, 제1 웹 서버(100)로부터 발권된 디지털 전자복권을 발매하기 위한 제2 웹 서버(110)와, 발매된 디지털 전자복권을 추첨하기 위한 제3 웹 서버(120)로 구성된다. 이들 제1 및 제2 웹 서버(100,110)는 공개키 암호화 기반 보안 채널(PKI-based secure channel)을 통해 통신한다. 또한 이들 제1 웹 서버(100)와 제2 웹 서버(110)는 각각 공개키 암호화 라이브러리(PKI-Library)(101,111)를 내장하며, 또lwjss 건과 동한 발권키와 발매키를 안전하게 관리하기 위한 보안키 관리 모듈(secure-key managing module)(102,112)을 운영한다.Referring to FIG. 3, a
본 발명의 시스템은, 제1 웹 서버(100), 제2 웹 서버(110) 및 제3 웹 서버(120)와 네트워크 사이에 하나의 방화벽(firewall)들이 구축되고, 또한 각 웹 서버들(100,110,120)의 사이에도 하나의 방화벽들이 구축된다. 이들 방화벽은 상호 전송되는 패킷(특히 인터넷 패킷이다. 실제 인터넷에서는 점대점(point-to-point) 간의 정보가 인터넷 패킷으로 전송된다)에 대해 필터링을 가하여 물리적으로 일부 접근을 통제한다. 이들 방화벽은 이미 기존 시스템에서도 이용되며, 본 발명의 시스템에는 기본적인 구성 요소이다.In the system of the present invention, one firewall is established between the
디지털 전자복권의 발권측에는, 제1 웹 서버(100)와 함께, 그 제1 웹 서버(100)와 연동하면서 그 제1 웹 서버(100)와 독립적으로 보호되는 발권 데이터베이스(issuing-DB)(104)와, 추첨 데이터베이스(105)가 구비되며, 이들(104,105)의 보호를 위해 제1 웹 서버(100)는 데이터베이스 보안관리 모듈(103)을 더 운영한다.On the ticketing side of the digital electronic lottery, a ticketing database (issuing-DB) 104 that is independently protected with the
디지털 전자복권의 발매측에는, 제2 웹 서버(110)와 함께, 그 제2 웹 서버(110)와 연동하면서 그 제2 웹 서버(110)와 독립적으로 보호되는 발매 데이터베이스(selling-DB)(114)와, 적립 데이터베이스(deposit-DB)(115)가 구비되며, 이들(114,115)의 보호를 위해 제2 웹 서버(110)도 데이터베이스 보안관리 모듈(113)을 더 운영한다.On the release side of the digital electronic lottery, a selling database (selling-DB) 114 that is independently protected with the
상기의 데이터베이스(104,105,114,115)를 보호 관리하기 위한 데이터베이스 보안관리 모듈(103,113)은, 데이터베이스(104,105,114,115)가 노출되는 것을 막거나, 그 데이터베이스(104,105,114,115)가 노출되어 정보가 불법적으로 빠져나갔다 할지라도 그 빠져나간 정보만으로는 어떠한 이익을 얻을 수 없도록 한다. 즉 데이터베이스 보안관리 모듈(103)은 각 데이터베이스에 저장된 정보를 전자서명 및 암호화하여 각 웹 서버(100,110)에 전달한다.The database
상기한 도 3의 구성에서 발권측과 발매측의 각 웹 서버(100,110)는 함께 운영될 수도 있다.In the configuration of FIG. 3, the
특히 디지털 전자복권의 발권측인 제1 웹 서버(100)는, 발권책임자에 의해 운용되며, 전자복권 추첨을 위한 키관리-디바이스(key-device)(106)를 내장한다. 키관리-디바이스(106)는 전자복권토큰(LT-Token)의 정보를 생성한다.In particular, the
그리고 본 발명의 시스템은, 제3 웹 서버(120)가 제1 웹 서버(100)의 키관리-디바이스(106)에서 생성된 전자복권토큰(LT-Token)의 정보와, 각 전자복권을 구매한 고객(구매자)의 능동적인 정보에 의해 영향을 받도록 설계된다. 그러나 본 발명의 시스템이, 경마나 경륜과 같이 게임(game) 결과에 의해 추첨이 종속됨으로써 복표를 발권한 책임자와 고객 양쪽에 모두 기본적으로 영향을 미칠 수 없는 경우에 적용된다면, 다시 말해서 발권과 추첨이 제3의 물리적인 상황에 의해 신뢰성이 보장되는 경우라면 제3 웹 서버(120)에는 고객(구매자)의 능동적인 정보가 작용하기 않도록 한다.In the system of the present invention, the
도 4는 본 발명에 따른 디지털 전자복권의 추첨측 상세 구성을 나타낸 도면이다.4 is a view showing the detailed configuration of the lottery side of the digital lottery in accordance with the present invention.
도 4를 참조하면, 디지털 전자복권의 추첨측인 제3 웹 서버(120)는, 전자복권의 발매측인 제2 웹 서버(110)로부터 발매된 복권 관련 자료들을 전달받는다.Referring to FIG. 4, the
그리고 제3 웹 서버(120)는, 그 전달받은 전자복권 관련 자료들 중에서, 마지막으로 발매된 전자복권의 고유한 발행번호(LSN : Lottery Serial Number)인 "LSN-Final" 값과, 마지막 발매된 전자복권의 정보를 포함하여 이전 발매된 전자복권들의 복권정보(LT-Info)들을 제1 웹 서버(100)에 전달한다. 그 전달되는 복권정보로는, 전자복권 이름(L-ID)과, 발권기관명(LIN)과, 복권의 유효기간(LVD)과, 당첨금(LBM)이다.In addition, the
상기에서 전달된 "LSN-Final" 값과 복권정보(LT-Info)들은 제1 웹 서버(100)의 키관리-디바이스(106)에 입력된다.The "LSN-Final" value and the lottery information (LT-Info) delivered above are input to the key management device 106 of the
키관리-디바이스(106)는 입력된 값들 중에서, 복권정보(LT-Info)들을 해쉬함수로 압축한 결과와, 이후에 설명될 전자복권 프레임 번들(frame bundle)의 값들을 비교한다. 여기서 전자복권 프레임 번들은, 전자복권 발권측인 제1 웹 서버(100)가 각 디지털 전자복권을 발급할 때, 복권정보(LT-Info)와 전자복권토큰(LT-Token)을 삽입시켜 전자복권 프레이밍(lottery-framing)을 가한 결과로써 생성된 것이다.The key management device 106 compares the result of compressing the lottery information (LT-Info) with a hash function among the input values and the values of the electronic lottery frame bundle to be described later. Herein, the electronic lottery frame bundle inserts the lottery information (LT-Info) and the electronic lottery token (LT-Token) when the
이 때 키관리-디바이스(106)는, 만약 복권정보(LT-Info)들을 해쉬함수로 압축한 결과와, 이후에 설명될 전자복권 프레임 번들(frame bundle)의 값들이 일치하지 않으면, BID 번호(Bliended-ID Number ; 이하, BN 이라 약칭함) 생성 실패(BN-generating failure-sign)를 출력한다.At this time, the key management device 106, if the result of compressing the lottery information (LT-Info) into a hash function and the values of the electronic lottery frame bundle to be described later does not match, BID number ( Bliended-ID Number (hereinafter abbreviated as BN). A BN-generating failure-sign is output.
반면에 서로 일치되면, 키-관리 디바이스(106)에 구비된 BN 생성기(BN-Generator)가 구동된다. 그 BN 생성기는, 발권 당시에 저장해 놓았던 BN 생성의 초기값인 {K, N}을 데이터베이스에서 추출하여 전달받고, "LSN-Final" 값에 영향을 받아 생성되는 무작위 번호(R)를 무작위번호생성기(RNG)로부터 전달받은 후 그들({K,N,R/LSN-Final})을 출력시킨다.On the other hand, if they match with each other, the BN generator (BN-Generator) provided in the key-management device 106 is driven. The BN generator extracts and transfers {K, N}, the initial value of BN generation, which was stored at the time of ticketing, from the database, and receives a random number generator (R) generated under the influence of the "LSN-Final" value. After receiving from RNG, they output {K, N, R / LSN-Final}.
최종적으로 키관리-디바이스(106)는 BN 생성기의 출력({K,N,R/LSN-Final})을 자신의 비밀-개인키로 전자서명을 한 후 제3 웹 서버(120)로 출력시킨다. 여기서, {K}는 무작위번호생성블록(RNG)으로부터 무작위로 생성된 일회용 발권키이며, {N}도 무작위번호생성블록(RNG)으로부터 무작위로 생성된 키이다.Finally, the key management device 106 digitally signs the output of the BN generator {K, N, R / LSN-Final} with its secret-private key and outputs it to the
제3 웹 서버(120)는 키관리-디바이스(106)로부터 전달받은 값들을 들어오는 즉시 자신의 데이터베이스에 저장시키고, 동시에 발매를 위한 제2 웹 서버(110)로 전달하고, 또한 제2 웹 서버(110)는 구매자들에게 BN(추첨번호 정보)을 브로드캐스팅(Broadcasting)하거나, 메일을 통해 공지한다. 이를 위해 제3 웹 서버(120)는 BN을 저장하기 위한 BN 데이터베이스가 구비된다.The
이상에서 알 수 있듯이, 발권을 위한 제1 웹 서버(100)의 관리자도 실제 전자복권의 추첨번호 생성을 조작하거나 위조할 수 없도록 설계된다.As can be seen from the above, the administrator of the
보다 상세하게는, 먼저 발권 당시에 키관리-디바이스(106)로부터 제1 웹 서버(100)에 보내진 값들 중에서, 무작위번호생성기(RNG)으로부터 무작위로 생성된 일회용 발권키(K)를 암호화한 값(K*)과, 무작위번호생성기(RNG)으로부터 무작위로 생성된 키(N)를 상기한 일회용 발권키(K)로 암호화한 값(N* = ENC(N::K))들만을 가지고, K와 N을 찾아내는 것은, 기본적으로 공개키 암호화 내지 암호화 알고리즘, 해쉬함수의 이론적 특성으로서 명증된다. 다음 추첨번호의 생성에는, 마지막으로 발매된 전자복권의 고유한 발행번호(LSN : Lottery Serial Number)인 "LSN-Final" 값도 영향을 미친다. 그 "LSN-Fianl"은 발매를 위한 제2 웹 서버(110)에서 판매된 전자복권의 발행번호의 마지막 번호가 되며, 그 번호는 제2 웹 서버(110)가 추후에 전자복권 판매액 정산을 위해서 위조할 수 없는 값이다. 왜냐하면 제2 웹 서버(110)측에서 정확히 몇 개의 전자복권이 판매될 것인가를 예측하기는 불가능하기 때문이다.More specifically, first, among the values sent from the key management-device 106 to the
결국, 본 발명의 추첨 시스템을 해킹 또는 크랙킹(Cracking)하기 위해서, 다 음 표 3에 나타낸 접근들이 있을 수 있다. 그러나 그들에 대비한 안전성 체크도 표 3에 나타낸 것과 같이 본 발명에서는 보장된다.As a result, in order to hack or crack the lottery system of the present invention, there may be approaches shown in Table 3 below. However, safety checks against them are also guaranteed in the present invention as shown in Table 3.
다음은 구매자측에 구비되는 구매자측 디바이스의 동작에 대해 설명한다. 이는 발매 서버인 제2 웹 서버(110)로부터 전자복권 표가 전달됨에 따라, 이후에 제2 웹 서버(110)로부터 추첨번호 정보를 공지 받아서, 이를 통해 당첨 여부를 확인하는 절차에 대한 것이다.The following describes the operation of the buyer device provided on the buyer side. As the electronic lottery ticket is transmitted from the
공개키 암호화(PKI)에 기반한 경우, 구매자 디바이스는, 발권을 위한 제1 웹 서버(100) 및 발매를 위한 제2 웹 서버(110)의 공개키 값과, 제1 웹 서버(100)의 키관리-디바이스(106)의 공개키 값, 그리고 각 웹 서버(100 또는 110)들과 키관리-디바이스(106)의 인증서(certificate)가 탑재된다.When based on public key cryptography (PKI), the purchaser device may include public key values of the
구매자 디바이스를 통해 당첨여부를 확인하는 절차를 도 5를 참조하여 설명한다.A procedure of confirming the winning through the purchaser device will be described with reference to FIG. 5.
도 5는 본 발명의 따른 구매자측의 당첨여부 확인 절차를 나타낸 도면으로, 도 5는 전체적으로 복권 등의 사업자가 전자복권의 배팅번호를 각 전자복권마다 유일하게 운영할 경우를 나타낸 것이다. 즉 구매자가 여러 전자복권을 구매할 경우에, 그 구매된 복권의 번호들이 모두 서로 다르게 선택되도록 하는 경우의 절차이 다.Figure 5 is a view showing a buyer's winning confirmation procedure according to the present invention, Figure 5 shows a case in which operators such as lottery as a whole operates only the betting number of each electronic lottery. In other words, when a buyer purchases several lotteries, the number of the purchased lottery numbers is selected differently.
도 5를 통해, 확률적 추첨방식을 택하여서 구매자들 사이에 얼마든지 같은 배팅번호의 선택도 허용할 경우는, 비교 동작을 수행하는 부분(Compare 부분)에 입력되는 데이터인 배팅번호가 해쉬함수에 의해 한 번 압축되도록 조절된다.5, when a probabilistic lottery method is used to allow selection of the same betting number among buyers, a betting number, which is data input to a portion performing a comparison operation (Compare portion), is inserted into the hash function. To be compressed once.
이상에서 설명된 본 발명에 따르면, 본 발명에서는 전자복권을 발권하는 부분과 발매하는 부분을 구분하여 시스템 및 알고리즘을 설계함으로써, 발권자와 발매자의 내부 담합에 의한 인위적으로 당첨번호를 조작하여 생성하거나, 그 당첨번호를 추첨 후 위조하는 것이 사실상 불가능하다.According to the present invention described above, in the present invention, by designing a system and algorithm by dividing the ticketing portion and the release portion of the electronic lottery, by artificially manipulating the winning number by internal fixing of the issuer and the publisher or It is virtually impossible to forge a winning number after the draw.
또한 본 발명에서는 복권 당첨번호가 자동적이면서 신뢰성있게 생성되어, 기존 기술에 비해 복권 추첨에 따른 부대비용을 줄일 수 있다.In addition, in the present invention, the lottery winning number is automatically and reliably generated, thereby reducing the accompanying cost of the lottery drawing compared to the existing technology.
추가로 본 발명의 방법 및 시스템은, 즉석복권 형식의 서비스에도 적용이 가능하며, 차후 각종 디지털 복권 기반 게임을 보다 안전하게 제공하기 위한 기반이 될 것이다.In addition, the method and system of the present invention can be applied to an instant lottery-type service, and will be the basis for providing various digital lottery-based games more safely in the future.
이상 설명한 내용을 통해 당업자라면 본 발명의 기술 사상을 일탈하지 아니하는 범위에서 다양한 변경 및 수정이 가능함을 알 수 있을 것이다.Those skilled in the art will appreciate that various changes and modifications can be made without departing from the spirit of the present invention.
따라서, 본 발명의 기술적 범위는 실시 예에 기재된 내용으로 한정하는 것이 아니라 특허 청구 범위에 의해서 정해져야 한다.Therefore, the technical scope of the present invention should not be limited to the contents described in the embodiments, but should be defined by the claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020010006235AKR100761532B1 (en) | 2001-02-08 | 2001-02-08 | Lottery method of digital lottery and system for him |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020010006235AKR100761532B1 (en) | 2001-02-08 | 2001-02-08 | Lottery method of digital lottery and system for him |
| Publication Number | Publication Date |
|---|---|
| KR20020066053A KR20020066053A (en) | 2002-08-14 |
| KR100761532B1true KR100761532B1 (en) | 2007-09-27 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| KR1020010006235AExpired - Fee RelatedKR100761532B1 (en) | 2001-02-08 | 2001-02-08 | Lottery method of digital lottery and system for him |
| Country | Link |
|---|---|
| KR (1) | KR100761532B1 (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| RU2419156C2 (en)* | 2009-06-10 | 2011-05-20 | Общество с ограниченной ответственностью "МОМОЛОТ" | System and method to organise and draw lottery |
| CN108597091B (en)* | 2018-04-27 | 2022-01-25 | 深圳市丰巢科技有限公司 | Express cabinet and implementation method for selling instant lottery based on same |
| KR102460230B1 (en)* | 2020-07-21 | 2022-10-28 | 배병우 | The printed lottery production system, and method thereof |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20010002648A (en)* | 1999-06-16 | 2001-01-15 | 문오형 | Digital lottery(instant lottery issuing,selling,purchasing system through internet) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20010002648A (en)* | 1999-06-16 | 2001-01-15 | 문오형 | Digital lottery(instant lottery issuing,selling,purchasing system through internet) |
| Title |
|---|
| 1020010002648 |
| Publication number | Publication date |
|---|---|
| KR20020066053A (en) | 2002-08-14 |
| Publication | Publication Date | Title |
|---|---|---|
| US8023657B2 (en) | Cryptography and certificate authorities in gaming machines | |
| AU2004288540B2 (en) | Portable security transaction protocol | |
| CN101421968B (en) | Authentication system for networked computer applications | |
| US7178027B2 (en) | System and method for securely copying a cryptographic key | |
| US5956404A (en) | Digital signature with auditing bits | |
| JP3595109B2 (en) | Authentication device, terminal device, authentication method in those devices, and storage medium | |
| JP2004509399A (en) | System for protecting objects distributed over a network | |
| JPH06223041A (en) | Rarge-area environment user certification system | |
| EP1129541A1 (en) | Method and system for authenticating and utilizing secure resources in a computer system | |
| WO2002017539A2 (en) | Distributed information system and protocol for affixing electronic signatures and authenticating documents | |
| CN1447269A (en) | Certificate authentication system and method based on hardware characteristics | |
| Dandash et al. | Fraudulent Internet Banking Payments Prevention using Dynamic Key. | |
| KR100761531B1 (en) | Digital Electronic Lottery Sales System | |
| EP1092182A2 (en) | Apparatus and method for end-to-end authentication using biometric data | |
| KR100761532B1 (en) | Lottery method of digital lottery and system for him | |
| JPH09305661A (en) | Source authentication method | |
| Kuacharoen | Design and implementation of a secure online lottery system | |
| JP4282272B2 (en) | Privacy protection type multiple authority confirmation system, privacy protection type multiple authority confirmation method, and program thereof | |
| Bruschi et al. | A protocol for anonymous and accurate e-polling | |
| EP1689120A1 (en) | An authentication method for information storing application and a ic card authentication hardware | |
| JP3870927B2 (en) | Access credential authentication apparatus and method | |
| CN120342664A (en) | Electronic bill processing method, device and electronic equipment | |
| Khelifi et al. | Open Source Cryptographic Algorithm to Better Secure E-Banking Services and Enhance its Protection Techniques | |
| Vrbanec et al. | DATA PROTECTION; IDENTIFICATION AND AUTHENTICATION IN APPLICATIONS AND PROTOCOLS | |
| Oberholster | An Audit Model for the Analysis and Evaluation of Encryption with Reference to RSA |
| Date | Code | Title | Description |
|---|---|---|---|
| PA0109 | Patent application | St.27 status event code:A-0-1-A10-A12-nap-PA0109 | |
| R18-X000 | Changes to party contact information recorded | St.27 status event code:A-3-3-R10-R18-oth-X000 | |
| PG1501 | Laying open of application | St.27 status event code:A-1-1-Q10-Q12-nap-PG1501 | |
| R18-X000 | Changes to party contact information recorded | St.27 status event code:A-3-3-R10-R18-oth-X000 | |
| A201 | Request for examination | ||
| PA0201 | Request for examination | St.27 status event code:A-1-2-D10-D11-exm-PA0201 | |
| R17-X000 | Change to representative recorded | St.27 status event code:A-3-3-R10-R17-oth-X000 | |
| E902 | Notification of reason for refusal | ||
| PE0902 | Notice of grounds for rejection | St.27 status event code:A-1-2-D10-D21-exm-PE0902 | |
| E13-X000 | Pre-grant limitation requested | St.27 status event code:A-2-3-E10-E13-lim-X000 | |
| P11-X000 | Amendment of application requested | St.27 status event code:A-2-2-P10-P11-nap-X000 | |
| P13-X000 | Application amended | St.27 status event code:A-2-2-P10-P13-nap-X000 | |
| E701 | Decision to grant or registration of patent right | ||
| PE0701 | Decision of registration | St.27 status event code:A-1-2-D10-D22-exm-PE0701 | |
| GRNT | Written decision to grant | ||
| PR0701 | Registration of establishment | St.27 status event code:A-2-4-F10-F11-exm-PR0701 | |
| PR1002 | Payment of registration fee | St.27 status event code:A-2-2-U10-U11-oth-PR1002 Fee payment year number:1 | |
| PG1601 | Publication of registration | St.27 status event code:A-4-4-Q10-Q13-nap-PG1601 | |
| P22-X000 | Classification modified | St.27 status event code:A-4-4-P10-P22-nap-X000 | |
| LAPS | Lapse due to unpaid annual fee | ||
| PC1903 | Unpaid annual fee | St.27 status event code:A-4-4-U10-U13-oth-PC1903 Not in force date:20100919 Payment event data comment text:Termination Category : DEFAULT_OF_REGISTRATION_FEE | |
| PC1903 | Unpaid annual fee | St.27 status event code:N-4-6-H10-H13-oth-PC1903 Ip right cessation event data comment text:Termination Category : DEFAULT_OF_REGISTRATION_FEE Not in force date:20100919 | |
| R18-X000 | Changes to party contact information recorded | St.27 status event code:A-5-5-R10-R18-oth-X000 | |
| P22-X000 | Classification modified | St.27 status event code:A-4-4-P10-P22-nap-X000 | |
| P22-X000 | Classification modified | St.27 status event code:A-4-4-P10-P22-nap-X000 | |
| PN2301 | Change of applicant | St.27 status event code:A-5-5-R10-R13-asn-PN2301 St.27 status event code:A-5-5-R10-R11-asn-PN2301 | |
| R18-X000 | Changes to party contact information recorded | St.27 status event code:A-5-5-R10-R18-oth-X000 | |
| R18-X000 | Changes to party contact information recorded | St.27 status event code:A-5-5-R10-R18-oth-X000 | |
| R18-X000 | Changes to party contact information recorded | St.27 status event code:A-5-5-R10-R18-oth-X000 | |
| PN2301 | Change of applicant | St.27 status event code:A-5-5-R10-R13-asn-PN2301 St.27 status event code:A-5-5-R10-R11-asn-PN2301 |