KR20060058309A - Method for generating seceret key - Google Patents

Method for generating seceret key Download PDF

Info

Publication number
KR20060058309A
KR20060058309A KR1020040097287A KR20040097287A KR20060058309A KR 20060058309 A KR20060058309 A KR 20060058309A KR 1020040097287 A KR1020040097287 A KR 1020040097287A KR 20040097287 A KR20040097287 A KR 20040097287A KR 20060058309 A KR20060058309 A KR 20060058309A
Authority
KR
South Korea
Prior art keywords
value
encryption key
image
pixels
image data
Prior art date
Application number
KR1020040097287A
Other languages
Korean (ko)
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 KR1020040097287A priority Critical patent/KR20060058309A/en
Publication of KR20060058309A publication Critical patent/KR20060058309A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1238Secure printing, e.g. user identification, user rights for device usage, unallowed content, blanking portions or fields of a page, releasing held jobs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0819Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
    • H04L9/0822Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) using key encryption key

Abstract

본 발명은 암호키 생성방법에 관한 것이다. 본 발명에 따른 암호키 생성방법은 이동형 저장장치로부터 이미지 데이터를 입력 받는 단계와, 입력된 이미지 데이터에서 고주파 성분의 픽셀을 추출하는 단계와, 추출된 고주파 성분의 픽셀 중에서 이미지값이 소정의 임계값 이상인 픽셀을 구하는 단계와, 소정의 임계값 이상인 픽셀의 좌표값을 이용하여 암호키값을 산출하는 단계 및 산출된 암호키값을 저장하는 단계를 포함한다. 이에 의해, 이동용 저장장치에 저장되어 있는 이미지 데이터에 대해서 간단한 이미지 처리를 통해 산출된 암호키값만을 화상형성장치에 저장하여 사용자 인증에 사용하므로 화상형성장치의 메모리를 효율적으로 사용할 수 있다는 장점이 있고, 또한, 사용자 인증시마다 이동용 저장장치에 저장되어 있는 이미지 데이터를 갱신하여 새로운 암호키값을 산출하므로 보안성이 높다는 장점이 있다.The present invention relates to a method for generating an encryption key. According to the present invention, a method for generating an encryption key includes receiving image data from a removable storage device, extracting a pixel of a high frequency component from the input image data, and a predetermined threshold value of an image value among the pixels of the extracted high frequency component. Calculating an encryption key value using the coordinate values of the pixel that is equal to or greater than a predetermined threshold value, and storing the calculated encryption key value. Accordingly, since only the encryption key value calculated through simple image processing on the image data stored in the mobile storage device is used for user authentication by storing in the image forming apparatus, the memory of the image forming apparatus can be efficiently used. In addition, the new encryption key value is calculated by updating the image data stored in the mobile storage device every time user authentication has the advantage of high security.

암호키, 임계값, 이미지값, 웨이블렛, 고주파Encryption key, threshold, image, wavelet, high frequency

Description

암호키 생성방법{Method for generating seceret key}Method for generating seceret key

도 1은 본 발명에 따른 암호키 생성 시스템의 블록도,1 is a block diagram of an encryption key generation system according to the present invention;

도 2는 본 발명의 제1 실시예에 따른 암호키 생성부의 블록도,2 is a block diagram of an encryption key generation unit according to a first embodiment of the present invention;

도 3은 이미지 데이터에서 고주파성분 및 저주파성분을 설명하기 위한 도면,3 is a diagram for explaining a high frequency component and a low frequency component in image data;

도 4는 본 발명의 제1 실시예에 따른 암호키 생성방법의 흐름도,4 is a flowchart of a method for generating an encryption key according to a first embodiment of the present invention;

도 5는 도 2의 비교부(232)에서 구해진 소정의 임계값 이상인 픽셀들로 이루어진 이미지의 일예를 나타내는 도면,FIG. 5 is a diagram illustrating an example of an image including pixels that are equal to or larger than a predetermined threshold value obtained by the comparing unit 232 of FIG. 2.

도 6은 본 발명의 제2 실시예에 따른 암호키 생성부의 블록도, 그리고6 is a block diagram of an encryption key generation unit according to a second embodiment of the present invention; and

도 7은 본 발명의 제2 실시예에 따른 암호키 생성방법의 흐름도이다.7 is a flowchart of a method for generating an encryption key according to a second embodiment of the present invention.

* 도면의 주요 부분에 대한 간단한 설명 *Brief description of the main parts of the drawing

100: 이동용 저장장치 200: 화상형성장치100: portable storage device 200: image forming apparatus

210: 저장부 220: 인증부210: storage unit 220: authentication unit

230: 암호키생성부 231: 고주파성분 추출부230: encryption key generation unit 231: high frequency component extraction unit

232: 비교부 233: 암호키값 산출부232: comparison unit 233: encryption key value calculation unit

240: 입력부 250: 제어부 240: input unit 250: control unit

본 발명은 암호키 생성방법에 관한 것으로, 특히 이동용 저장장치에 저장되어 있는 이미지 데이터를 이용하여 암호키값을 산출하는 암호키 생성방법에 관한 것이다.The present invention relates to an encryption key generation method, and more particularly, to an encryption key generation method for calculating an encryption key value using image data stored in a mobile storage device.

최근 들어, 보안이나 기타 사유로 인해 사무실 내에 구비되어 있는 프린터, 복합기 및 팩시밀리장치 등과 같은 화상형성장치의 사용이나 일부 기능수행에 제한을 가하는 방법이 다양하게 개시되고 있다.Recently, various methods have been disclosed for restricting the use of an image forming apparatus such as a printer, a multifunction printer, a facsimile apparatus, or the like to perform some functions due to security or other reasons.

일반적으로, 화상형성장치에 암호를 저장시켜 놓고, 사용자가 화상형성장치 사용전에 키패드와 같은 입력수단을 통해 암호를 입력하여 인증을 받도록 하거나, 사용자의 얼굴이나 지문에 대한 화상정보를 화상형성장치에 미리 원본화상정보로써 저장해두고, 사용자가 화상형성장치의 사용을 원할 때 사용자의 얼굴이나 지문을 새롭게 입력 받아, 화상형성장치에 기 저장되어 있던 원본 화상정보와 유사성이 높은지를 판단하여 정당한 권한을 가진 사용자 여부를 인증하도록 하는 방법이 개시되어 있다. In general, a password is stored in the image forming apparatus, and a user inputs a password through an input means such as a keypad to authenticate the user before using the image forming apparatus, or sends image information of a user's face or fingerprint to the image forming apparatus. It is saved as original image information in advance, and when a user wants to use the image forming apparatus, the user receives a new face or fingerprint and judges whether the similarity with the original image information stored in the image forming apparatus is high. A method for authenticating a user is disclosed.

그러나, 종래의 화상형성장치에 암호를 저장하는 방법은 암호가 누출되면 정당한 권한이 없는자도 자유롭게 사용할 수 있는 문제점이 있고, 종래의 원본화상정보와 새롭게 입력된 화상정보의 유사도를 판단하여 인증을 수행하는 방법은 원본 화상정보를 화상형성장치에 모두 저장시켜 놓아야 하므로 저장해야할 데이터량이 많아지게 되어 화상형성장치의 메모리를 비효율적으로 사용하게 되는 단점이 있다. However, the conventional method of storing a password in the image forming apparatus has a problem that even if the password is leaked, even a person without proper authority can freely use it, and perform authentication by judging the similarity between the conventional original image information and the newly input image information. In this method, since the original image information must be stored in the image forming apparatus, the amount of data to be stored increases, thereby inefficiently using the memory of the image forming apparatus.

또한, 사용자의 얼굴이나 지문을 화상형성장치에 입력시키기 위해서 웹 카메 라, 스캐너와 같은 이미지 데이터 입력 수단이 별도로 더 요구되는 단점이 있다.In addition, in order to input a user's face or fingerprint to the image forming apparatus, image data input means such as a web camera and a scanner are additionally required.

따라서, 본 발명의 목적은 이동용 저장장치에 저장되어 있는 일반적인 이미지 데이터에 대해서 간단한 이미지 처리를 통해 구해진 고주파성분 픽셀의 좌표값을 이용하여 암호키값을 산출하는 암호키 생성방법을 제공하는데 있다.Accordingly, an object of the present invention is to provide an encryption key generation method for calculating an encryption key value using coordinate values of high frequency component pixels obtained through simple image processing on general image data stored in a mobile storage device.

상기 목적을 달성하기 위한 본 발명에 따른 암호키 생성방법은, 이동형 저장장치로부터 이미지 데이터를 입력 받는 단계와, 상기 입력된 이미지 데이터에서 고주파 성분의 픽셀을 추출하는 단계와, 상기 추출된 고주파 성분의 계수와 임계값을 비교하여 임계값 이상의 픽셀들을 구하거나 추출된 고주파 성분의 픽셀 중에서 이미지값이 소정의 임계값 이상인 픽셀들을 구하는 단계와, 상기 소정의 임계값 이상인 픽셀의 좌표값을 이용하여 암호키값을 산출하는 단계 및 상기 산출된 암호키값을 저장하는 단계를 포함한다.In accordance with another aspect of the present invention, a method for generating an encryption key includes receiving image data from a mobile storage device, extracting a pixel of a high frequency component from the input image data, and extracting the extracted high frequency component. Comparing coefficients and threshold values to obtain pixels above a threshold value or obtaining pixels having an image value equal to or greater than a predetermined threshold value from pixels of the extracted high frequency component, and using an encryption key value using coordinate values of pixels equal to or greater than the predetermined threshold value. Calculating a value and storing the calculated encryption key value.

상기 목적을 달성하기 위한 본 발명에 따른 또 다른 암호키 생성방법은, 이동형 저장장치로부터 이미지 데이터를 입력 받는 단계와, 상기 입력된 이미지 데이터의 소정 좌표의 픽셀이 가지는 이미지 값을 임의의 이미지 값으로 변경하는 단계와, 상기 변경된 이미지 데이터에서 고주파 성분의 픽셀을 추출하는 단계와, 웨이블렛을 사용한 경우 추출된 고주파 성분의 계수값 중 소정의 임계값 이상인 픽셀을 구하거나 고주파 필터를 사용한 경우 추출된 고주파 성분의 픽셀 중에서 이미지값이 소정의 임계값 이상인 픽셀을 구하는 단계와, 상기 소정의 임계값 이상인 픽셀 의 좌표값을 이용하여 암호키값을 산출하는 단계 및 상기 산출된 암호키값과 변경된 이미지 데이터를 저장하는 단계를 포함한다.Another encryption key generation method according to the present invention for achieving the above object, the step of receiving the image data from the removable storage device, and the image value of the pixel of the predetermined coordinates of the input image data as an arbitrary image value A step of changing, extracting a pixel of a high frequency component from the changed image data, and obtaining a pixel having a predetermined threshold value or more among coefficient values of the extracted high frequency component when using a wavelet or extracting a high frequency component when using a high frequency filter Obtaining a pixel having an image value greater than or equal to a predetermined threshold value among pixels of the pixel; calculating an encryption key value using coordinate values of the pixel greater than or equal to the predetermined threshold value; and storing the calculated encryption key value and the changed image data It includes.

여기서, 상기 암호키값은 상기 소정의 임계값 이상인 픽셀의 좌표값을 합산하여 산출될 수 있다.Here, the encryption key value may be calculated by summing coordinate values of pixels that are greater than or equal to the predetermined threshold value.

또한, 상기 암호키값은 다음 수학식을 통해 산출될 수 있다.In addition, the encryption key value may be calculated through the following equation.

Figure 112004055218469-PAT00001
Figure 112004055218469-PAT00001

여기서, Key는 암호키값이고, n은 소정의 임계값 이상인 픽셀의 수이며, (Xi, Yi)는 소정의 임계값 이상인 픽셀의 좌표를 의미한다.Here, Key is an encryption key value, n is the number of pixels that are greater than or equal to a predetermined threshold, and (X i , Y i ) means coordinates of pixels that are greater than or equal to a predetermined threshold.

여기서, 상기 이미지값은 명암값, RGB 색상값 및 YCbCr 색상값 중 어느 하나인 것이 바람직하다.Here, the image value is preferably any one of a contrast value, an RGB color value, and a YCbCr color value.

여기서, 상기 고주파 성분의 픽셀을 추출하는 단계는 상기 입력 받은 이미지에 대하여 웨이블렛 변환을 통하여 고주파 성분과 저주파 성분을 분리하는 단계를 포함하는 것이 바람직하다.The extracting the pixels of the high frequency component may include separating the high frequency component and the low frequency component by wavelet transform on the received image.

이하에서는 예시된 첨부도면을 참조하여 본 발명에 대해 설명한다.Hereinafter, the present invention will be described with reference to the accompanying drawings.

도 1은 본 발명에 따른 암호키 생성 시스템의 블록도이다.1 is a block diagram of an encryption key generation system according to the present invention.

도 1을 참조하면, 본 발명에 따른 암호키 생성 시스템은 이동용 저장장치(100)와 화상형성장치(200)를 포함한다. 화상형성장치(200)는 저장부(210), 인증부(220), 암호키 생성부(230), 입력부(240), 표시부(260) 및 제어부(250)를 포함한 다.Referring to FIG. 1, an encryption key generation system according to the present invention includes a mobile storage device 100 and an image forming device 200. The image forming apparatus 200 includes a storage unit 210, an authentication unit 220, an encryption key generation unit 230, an input unit 240, a display unit 260, and a controller 250.

이동용 저장장치(100)는 USB 메모리와 같은 외장형 메모리로 구현될 수 있다. 본 발명에 따르면, 이동용 저장장치(100)는 암호키 생성을 위한 이미지 데이터및 암호키 생성부(230)에서 변경된 이미지 데이터를 저장한다.The mobile storage device 100 may be implemented as an external memory such as a USB memory. According to the present invention, the mobile storage device 100 stores the image data for generating the encryption key and the image data changed in the encryption key generator 230.

저장부(210)는 화상형성장치(200)의 기능을 구현하는데 필요한 각종 제어프로그램, 프로그램 수행 중에 발생되는 데이터 및 인쇄대상 문서 등이 저장될 수 있다. 본 발명에 따르면, 암호키 생성부(230)에서 생성된 암호키값 및 소정의 임계값을 저장한다.The storage unit 210 may store various control programs necessary for implementing the functions of the image forming apparatus 200, data generated during program execution, documents to be printed, and the like. According to the present invention, an encryption key value generated by the encryption key generation unit 230 and a predetermined threshold value are stored.

암호키 생성부(230)는 제어부(240)의 제어에 따라 이동용 저장장치(100)로부터 입력된 이미지 데이터를 기초로 암호키값을 생성하여 저장부(210)에 저장한다. 암호키 생성부(230)에 대해서는 아래에서 자세하게 설명하기로 한다.The encryption key generator 230 generates an encryption key value based on the image data input from the mobile storage device 100 under the control of the controller 240 and stores the encryption key value in the storage 210. The encryption key generator 230 will be described in detail below.

인증부(220)는 저장부(210)에 기 저장되어 있는 암호키값과 이동용 저장장치(100)에 저장되어 있는 이미지 데이터에 대해서 새로 산출된 암호키값을 비교하여 일치하면 화상형성장치(200)에 대한 사용허가신호를 제어부(240)로 전달한다.The authentication unit 220 compares the encryption key value pre-stored in the storage unit 210 with the newly calculated encryption key value with respect to the image data stored in the mobile storage device 100 to match the image forming apparatus 200. It transmits the permission signal for the control unit 240.

입력부(240)는 화상형성장치(200)에서 지원되는 각종 기능을 설정 또는 선택하는 사용자 명령이 입력되며, 복수의 입력버튼으로 이루어진다.The input unit 240 receives a user command for setting or selecting various functions supported by the image forming apparatus 200, and includes a plurality of input buttons.

표시부(260)에는 LCD 판넬 등이 사용될 수 있으며, 화상형성장치(200)의 동작 상태 등의 정보를 표시하며, 본 발명에 따르면 암호키 생성메뉴 및 이동형 저장장치에 저장되어 있는 이미지 데이터를 표시한다.An LCD panel or the like may be used for the display unit 260 to display information such as an operation state of the image forming apparatus 200, and to display an encryption key generation menu and image data stored in a portable storage device. .

제어부(250)는 화상형성장치(100)의 전반적인 동작을 제어하며, 암호키 생성 부(230)를 제어하여 암호키값을 생성하도록 하고, 인증부(220)의 사용허가신호에 따라 사용자가 화상형성장치(100)의 각종 기능을 실행시킬 수 있도록 한다.The controller 250 controls the overall operation of the image forming apparatus 100, controls the encryption key generation unit 230 to generate an encryption key value, and the user forms an image according to a permission signal of the authentication unit 220. It is possible to execute various functions of the device 100.

도 2는 본 발명의 제1 실시예에 따른 암호키 생성부의 블록도이다.2 is a block diagram of an encryption key generation unit according to a first embodiment of the present invention.

도1 및 도 2를 참조하면, 암호키 생성부(230)는 고주파성분 추출부(231), 비교부(232) 및 암호키값 산출부(233)를 포함한다.1 and 2, the encryption key generator 230 includes a high frequency component extractor 231, a comparator 232, and an encryption key value calculator 233.

고주파성분 추출부(231)는 2가지 방법 중 하나를 이용하여 고주파 성분을 추출할 수 있다. 첫째 방법으로는, 이동용 저장장치(100)로부터 입력된 이미지 데이터를 웨이블렛 변환하여 고주파 성분과 저주파 성분으로 분리하여 고주파 성분을 추출할 수 있다. 둘째 방법으로는, 입력된 이미지 데이터를 그레이 이미지를 변환하고, 변환된 그레이 이미지를 저주파 필터를 이용하여 저주파 성분 이미지를 구한 후 그레이 이미지와 저주파 성분 이미지의 차분 이미지를 구함으로써 고주파 성분을 추출할 수 있다. The high frequency component extractor 231 may extract the high frequency component using one of two methods. In the first method, the high frequency component may be extracted by wavelet transforming the image data input from the mobile storage device 100 into high frequency components and low frequency components. In the second method, high-frequency components can be extracted by converting the input image data to a gray image, obtaining a low-frequency component image using the low-frequency filter, and then obtaining a differential image of the gray image and the low-frequency component image. have.

웨이블렛 변환을 통하면 이미지 데이터에서 고주파 성분과 저주파 성분을 분리함과 동시에 각 주파수 성분의 좌표도 알 수 있다는 장점이 있다. Wavelet transform has the advantage of separating the high frequency and low frequency components from the image data and at the same time knowing the coordinates of each frequency component.

도면 3은 이미지 데이터에서 고주파성분 및 저주파성분을 설명하기 위한 도면이다. 도 3을 참조하면, 저주파 성분은 배경이나 물체내의 픽셀과 같이 주위 픽셀과 비교하여 이미지 값의 변화분이 작은 픽셀을 말하고, 고주파 성분은 도 3에 표시된 픽셀들 (X1,Y1), (X2, Y2), (X3,Y 3), ㆍㆍㆍ, (Xn, Yn)과 같이 물체의 에지 부분에 위치하여 이미지 값의 변화분이 큰 픽셀을 말한다. 여기서, 이미지 값은 밝기 값, RGB 색상값, YCbCr 색상값 중 어느 하나를 사용할 수 있다.3 is a diagram for explaining a high frequency component and a low frequency component in image data. Referring to FIG. 3, a low frequency component refers to a pixel having a small change in an image value compared to surrounding pixels, such as a pixel in a background or an object, and a high frequency component refers to pixels (X 1 , Y 1 ) and (X) shown in FIG. 3. 2 , Y 2 ), (X 3 , Y 3 ),..., And (Xn, Yn) are pixels located at the edge of an object and having a large change in image value. Here, the image value may use any one of a brightness value, an RGB color value, and a YCbCr color value.

비교부(232)는 고주파성분 추출부(231)에서 추출된 고주파 성분 픽셀의 이미지 값과 임계값을 비교하여 임계값 이상의 이미지 값을 가지는 픽셀들을 구한다. 여기서, 임계값은 저장부(210)에 기 저장되어 있거나, 사용자로부터 암호키 생성 전에 입력부(240)를 통해 입력받을 수 있다.The comparator 232 compares an image value of the high frequency component pixel extracted by the high frequency component extractor 231 with a threshold to obtain pixels having an image value equal to or greater than the threshold. Here, the threshold may be previously stored in the storage unit 210 or may be input by the user through the input unit 240 before generating the encryption key.

암호키값 산출부(233)는 비교부(232)에서 구해진 임계값 이상인 고주파성분 픽셀의 좌표값을 이용하여 암호키 값을 산출한다. 암호키값 산출부(233)에서 암호키값을 산출하는 방법에 대해서는 아래에서 자세히 설명하기로 한다.The encryption key value calculation unit 233 calculates the encryption key value using the coordinate values of the high frequency component pixels that are equal to or greater than the threshold value obtained by the comparison unit 232. A method of calculating the encryption key value in the encryption key value calculation unit 233 will be described in detail below.

도 4는 본 발명의 제1 실시예에 따른 암호키 생성방법의 흐름도이다.4 is a flowchart of a cryptographic key generation method according to a first embodiment of the present invention.

도 1, 도2 및 도 4를 참조하면, 먼저, 사용자가 입력부(240)를 통해 암호키 생성을 선택하고 이동형 저장장치(100)에 저장되어 있는 이미지 데이터를 선택하면, 제어부(250)는 선택된 이미지 데이터를 입력 받아 암호키 생성부(230)로 전달한다(S310).1, 2 and 4, first, when a user selects an encryption key generation through the input unit 240 and selects image data stored in the portable storage device 100, the controller 250 selects the selected data. The image data is received and transmitted to the encryption key generator 230 (S310).

이후, 고주파성분 추출부(231)는 입력된 이미지 데이터에 대해 웨이블렛 변환을 통해 고주파성분의 계수를 추출하거나, 입력된 이미지 데이터를 그레이 이미지를 변환하고, 변환된 그레이 이미지를 저주파 필터를 이용하여 저주파 성분 이미지를 구한 후 그레이 이미지와 저주파 성분 이미지의 차분 이미지를 구함으로써 고주파 성분의 픽셀을 추출한다(S320).Thereafter, the high frequency component extractor 231 extracts coefficients of the high frequency components through the wavelet transform on the input image data, converts the input image data into the gray image, and uses the low frequency filter to convert the gray images into the low frequency filter. After obtaining the component image, the pixel of the high frequency component is extracted by obtaining the difference image between the gray image and the low frequency component image (S320).

다음으로, 비교부(232)는 고주파성분 추출부(231)에서 추출된 고주파 성분의 계수와 임계값을 비교하여 임계값 이상의 픽셀들을 구하거나 추출된 고주파 성분 픽셀의 이미지 값과 임계값을 비교하여, 임계값 이상의 이미지 값을 가지는 픽셀들을 구한다(S330). 여기서, 임계값은 이미지 데이터를 입력받는 단계(S310)에서 사용자로부터 입력부(240)를 통해 입력받거나, 저장부(210)에 기 저장되어 있는 값을 사용할 수 있다.Next, the comparator 232 compares the coefficients of the high frequency component extracted by the high frequency component extractor 231 with a threshold to obtain pixels above the threshold or compares the image values of the extracted high frequency component pixels with the threshold. In operation S330, pixels having an image value of a threshold value or more are obtained. Here, the threshold value may be input from the user through the input unit 240 in the step of receiving image data (S310) or may use a value previously stored in the storage unit 210.

이후, 암호키값 산출부(233)는 이미지 값이 소정의 임계값 이상인 픽셀들의 좌표값을 이용하여 암호키값을 생성한다(S340). 암호키값은 아래의 방법 중 하나에 의해 산출될 수 있다.Thereafter, the encryption key value calculator 233 generates an encryption key value using the coordinate values of the pixels whose image value is greater than or equal to a predetermined threshold value (S340). The encryption key value can be calculated by one of the following methods.

첫째, 비교부(232)에서 구해진 이미지 값이 소정의 임계값 이상인 픽셀들의 좌표값들을 모두 합산하여 산출할 수 있다. X좌표값과 Y좌표값 모두를 합산하여 구해진 값을 암호키값으로 하거나, X좌표값과 Y좌표값 각각을 별도로 합산하여 각각 구해진 2개의 합산값을 암호키값으로 할 수도 있다. 또한, 보안성을 높이기 위해 합산된 좌표값에 임계값을 추가로 합산하여 구해진 값을 암호키값으로 할 수도 있다.First, the coordinates of pixels whose image value obtained by the comparator 232 is greater than or equal to a predetermined threshold value may be summed and calculated. A value obtained by summing up both the X and Y coordinate values may be an encryption key value, or two sum values obtained by separately adding each of the X and Y coordinate values may be encryption keys. In addition, in order to increase security, a value obtained by additionally adding a threshold value to the summed coordinate value may be an encryption key value.

둘째, 아래 수학식에 의해 암호키값을 산출할 수도 있다.Second, the encryption key value may be calculated by the following equation.

Figure 112004055218469-PAT00002
Figure 112004055218469-PAT00002

여기서, Key는 암호키값이고, n은 소정의 임계값 이상인 픽셀의 수이며, (Xi, Yi)는 소정의 임계값 이상인 픽셀의 좌표를 의미한다. 수학식 1에 의하면, 소 정의 임계값 이상인 픽셀들이 가로축과 이루는 각도들을 합산한 값이 암호키값으로 산출된다.Here, Key is an encryption key value, n is the number of pixels that are greater than or equal to a predetermined threshold, and (X i , Y i ) means coordinates of pixels that are greater than or equal to a predetermined threshold. According to Equation 1, the sum of the angles formed by the pixels with the horizontal threshold or more is calculated as the encryption key value.

본 실시예에서는 비교부(232)에서 구해진 픽셀의 좌표값을 모두 이용하여 암호키값을 산출하였으나, 비교부(232)에서 구해진 픽셀 중 일부만을 선택하여 암호키값을 산출하는데 이용할 수도 있다. 이에 대해, 도 5를 참조하여 상세히 설명하기로 한다.In the present exemplary embodiment, the encryption key value is calculated by using all the coordinate values of the pixels obtained by the comparison unit 232. However, only some of the pixels obtained by the comparison unit 232 may be selected and used to calculate the encryption key value. This will be described in detail with reference to FIG. 5.

도 5는 도 2의 비교부(232)에서 구해진 소정의 임계값 이상인 픽셀들로 이루어진 이미지의 일예를 나타내는 도면이다.FIG. 5 is a diagram illustrating an example of an image including pixels that are equal to or greater than a predetermined threshold value obtained by the comparator 232 of FIG. 2.

도 5를 참조하면, 암호키값 산출부(233)는 소정의 임계값 이상인 픽셀들로 이루어진 이미지를 좌에서 우로 라인별로 스캐닝하면서 연속된 픽셀들 중 마지막 픽셀들만을 선택하여 암호키값을 산출하는데 이용할 수 있다. 이에 의하면, 픽셀 'C', 'E', 'I' 및 'L'이 선택되어 암호키값을 산출하는데 이용될 수 있다. 물론, 우에서 좌로 스캐닝하면서, 연속된 픽셀들을 구하고 이 중 마지막 픽셀들만을 선택하여 암호키값을 산출하는데 이용할 수도 있다. 이에 의하면, 픽셀 'A', 'D', 'G' 및 'K'가 선택되어 암호키값을 산출하는데 이용될 수 있다. 만일, 해당 라인에 연속된 픽셀이 없는 경우에는 해당 라인의 모든 픽셀을 선택하여 암호키값 산출에 이용하도록 할 수도 있다. 이에 의하면, 앞서 선택된 픽셀들에 더하여 픽셀 'N'및 'O'가 더 선택되어 암호키값 산출에 이용될 수 있다.Referring to FIG. 5, the encryption key value calculator 233 may scan an image composed of pixels having a predetermined threshold or more from left to right, and select only the last pixels of consecutive pixels to calculate an encryption key value. have. According to this, pixels 'C', 'E', 'I' and 'L' may be selected and used to calculate an encryption key value. Of course, scanning from right to left, successive pixels may be obtained, and only the last pixels of the pixels may be selected and used to calculate an encryption key value. According to this, pixels 'A', 'D', 'G' and 'K' may be selected and used to calculate an encryption key value. If there are no consecutive pixels on the line, all pixels of the line may be selected and used to calculate the encryption key value. According to this, in addition to the previously selected pixels, pixels 'N' and 'O' may be further selected and used to calculate an encryption key value.

이후, 제어부(250)는 S340 단계에서 생성된 암호키값을 저장부(210)에 저장시킴으로써 암호키 생성을 종료한다(S350). Thereafter, the controller 250 ends the generation of the encryption key by storing the encryption key value generated in the operation S340 in the storage 210 (S350).                     

도 6은 본 발명의 제2 실시예에 따른 암호키 생성부의 블록도이다.6 is a block diagram of an encryption key generation unit according to a second embodiment of the present invention.

도 1 및 도 6을 참조하면, 암호키 생성부(230)는 이미지 갱신부(234), 고주파성분 추출부(231), 비교부(232) 및 암호키값 산출부(233)를 포함한다.1 and 6, the encryption key generator 230 includes an image updater 234, a high frequency component extractor 231, a comparator 232, and an encryption key value calculator 233.

이미지 변경부(234)는 이동용 저장장치(100)로부터 입력된 이미지 데이터의 소정 픽셀의 이미지 값을 변경시켜 새로운 이미지 데이터로 변경한다. 예를 들어, 입력된 이미지 데이터의 소정 픽셀의 RGB 색상값을 새로운 RGB 색상값으로 변경할 수 있다. 여기서, 이미지 변경부(234)는 이미지 값이 변경되는 픽셀을 랜덤하게 선택할 수 있으며, 변경되는 이미지 값도 랜덤하게 선택될 수 있다.The image changing unit 234 changes the image value of a predetermined pixel of the image data input from the mobile storage device 100 and changes the image value into new image data. For example, an RGB color value of a predetermined pixel of the input image data may be changed into a new RGB color value. Here, the image changing unit 234 may randomly select the pixel whose image value changes, and may also randomly select the image value that changes.

고주파성분 추출부(231)는 이미지 변경부(234)에서 변경된 이미지 데이터에 대해 고주파 성분을 추출한다. 비교부(232) 및 암호키값 산출부(233)는 도 2의 제1 실시예에서 설명한 것과 동일하다.The high frequency component extractor 231 extracts a high frequency component with respect to the image data changed by the image changer 234. The comparison unit 232 and the encryption key value calculation unit 233 are the same as those described in the first embodiment of FIG. 2.

도 7은 본 발명의 제2 실시예에 따른 암호키 생성방법의 흐름도이다.7 is a flowchart of a method for generating an encryption key according to a second embodiment of the present invention.

도 1, 도6 및 도 7을 참조하면, 먼저, 사용자가 입력부(240)를 통해 암호키 생성을 선택하고 이동형 저장장치(100)에 저장되어 있는 이미지 데이터를 선택하면, 제어부(250)는 선택된 이미지 데이터를 입력 받아 암호키 생성부(230)로 전달한다(S410). 이후, 이미지 변경부(234)는 입력된 이미지 데이터의 소정 좌표의 픽셀이 가지는 이미지 값을 임의의 이미지 값으로 변경한다(S415). 1, 6, and 7, first, when a user selects an encryption key generation through the input unit 240 and selects image data stored in the portable storage device 100, the controller 250 selects the selected image data. The image data is input and transmitted to the encryption key generator 230 (S410). Thereafter, the image changing unit 234 changes the image value of the pixel having the predetermined coordinate of the input image data into an arbitrary image value (S415).

다음으로, 고주파성분 추출부(231)는 이미지 변경부(234)에서 변경된 이미지 데이터로부터 고주파 성분을 추출한다(S420). 이후, S430 및 S440 단계는 도 4의 S330 및 S340 단계와 동일하다. 마지막으로, 제어부(250)는 S440 단계에서 생성된 암호키값을 저장부(210)에 저장시키고, S415 단계에서 변경된 이미지 데이터를 이동용 저장장치(100)에 저장시킴으로써 암호키 생성을 종료한다(S450).Next, the high frequency component extractor 231 extracts the high frequency component from the image data changed by the image changer 234 (S420). Thereafter, steps S430 and S440 are the same as steps S330 and S340 of FIG. 4. Finally, the control unit 250 stores the encryption key value generated in the step S440 in the storage unit 210, and ends the encryption key generation by storing the image data changed in the step S415 in the mobile storage device 100 (S450). .

이에 의해, 암호키 생성시마다 이동용 저장장치(100)에 저장되어 있는 이미지 데이터를 새로운 이미지 데이터로 갱신시킴으로써 보안성을 높일 수 있게 된다.Accordingly, security can be improved by updating the image data stored in the mobile storage device 100 with new image data every time the encryption key is generated.

이상에서 설명한 바와 같이, 본 발명에 의하면, 원본 화상정보를 화상형성장치에 모두 저장할 필요 없이, 외장형 저장장치에 저장되어 있는 이미지 데이터에 대해서 간단한 이미지 처리를 통해 산출된 암호키값만을 저장시키고 사용자 인증을 수행하므로, 화상형성장치의 메모리를 효율적으로 사용할 수 있는 장점이 있다.As described above, according to the present invention, without storing all the original image information in the image forming apparatus, only the encryption key value calculated through simple image processing is stored for the image data stored in the external storage device and user authentication is performed. As a result, the memory of the image forming apparatus can be efficiently used.

또한, 사용자 인증시마다 이동용 저장장치에 저장되어 있는 이미지 데이터를 갱신하여 새로운 암호키값을 산출하므로 보안성이 높다는 장점이 있다.In addition, the new encryption key value is calculated by updating the image data stored in the mobile storage device every time user authentication has the advantage of high security.

이상에서는 본 발명의 바람직한 실시예에 대해서 도시하고 설명하였으나, 본 발명은 상술한 특정의 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자라면 누구든지 다양한 변형 실시가 가능한 것은 물론이고, 그와 같은 변경은 청구범위 기재의 범위 내에 있게 된다.Although the preferred embodiments of the present invention have been illustrated and described above, the present invention is not limited to the specific embodiments described above, and the present invention is not limited to the specific embodiments of the present invention without departing from the spirit of the present invention as claimed in the claims. Anyone skilled in the art can make various modifications, as well as such modifications are within the scope of the claims.

Claims (5)

이동형 저장장치로부터 이미지 데이터를 입력 받는 단계;Receiving image data from a removable storage device; 상기 입력된 이미지 데이터에서 고주파 성분의 픽셀을 추출하는 단계;Extracting a high frequency component pixel from the input image data; 상기 추출된 고주파 성분의 계수와 임계값을 비교하여 임계값 이상의 픽셀들을 구하거나 추출된 고주파 성분의 픽셀들 중에서 이미지값이 소정의 임계값 이상인 픽셀들을 구하는 단계;Comparing pixels of the extracted high frequency component with a threshold value to obtain pixels having a threshold value or higher, or obtaining pixels having an image value of a predetermined threshold value or more among pixels of the extracted high frequency component; 상기 소정의 임계값 이상인 픽셀의 좌표값을 이용하여 암호키값을 산출하는 단계; 및Calculating an encryption key value using coordinate values of pixels that are greater than or equal to the predetermined threshold value; And 상기 산출된 암호키값을 저장하는 단계를 포함하는 것을 특징으로 하는 암호키 생성방법.And storing the calculated encryption key value. 제 1 항에 있어서,The method of claim 1, 상기 암호키값은 상기 소정의 임계값 이상인 픽셀의 좌표값을 합산하여 산출되는 것을 특징으로 하는 암호키 생성방법.The encryption key value is calculated by summing the coordinate values of the pixel that is equal to or greater than the predetermined threshold value. 제 1 항에 있어서,The method of claim 1, 상기 암호키값은, 다음 수학식을 통해 산출되는 것을 특징으로 하는 암호키 생성방법:The encryption key value is a cryptographic key generation method characterized in that it is calculated through the following equation:
Figure 112004055218469-PAT00003
Figure 112004055218469-PAT00003
여기서, Key는 암호키값이고, n은 소정의 임계값 이상인 픽셀의 수이며, (Xi, Yi)는 소정의 임계값 이상인 픽셀의 좌표를 의미한다.Here, Key is an encryption key value, n is the number of pixels that are greater than or equal to a predetermined threshold, and (X i , Y i ) means coordinates of pixels that are greater than or equal to a predetermined threshold.
제 1 항에 있어서,The method of claim 1, 상기 이미지값은 명암값, RGB 색상값 및 YCbCr 색상값 중 어느 하나인 것을 특징으로 하는 암호키 생성방법.And the image value is any one of a contrast value, an RGB color value, and a YCbCr color value. 이동형 저장장치로부터 이미지 데이터를 입력 받는 단계;Receiving image data from a removable storage device; 상기 입력된 이미지 데이터의 소정 좌표의 픽셀이 가지는 이미지 값을 임의의 이미지 값으로 변경하는 단계;Changing an image value of a pixel having a predetermined coordinate of the input image data into an arbitrary image value; 상기 변경된 이미지 데이터에서 고주파 성분의 픽셀을 추출하는 단계;Extracting a pixel of a high frequency component from the modified image data; 상기 추출된 고주파 성분의 픽셀 중에서 이미지값이 소정의 임계값 이상인 픽셀을 구하는 단계;Obtaining a pixel having an image value equal to or greater than a predetermined threshold value among pixels of the extracted high frequency component; 상기 소정의 임계값 이상인 픽셀의 좌표값을 이용하여 암호키값을 산출하는 단계; 및Calculating an encryption key value using coordinate values of pixels that are greater than or equal to the predetermined threshold value; And 상기 산출된 암호키값과 변경된 이미지 데이터를 저장하는 단계를 포함하는 것을 특징으로 하는 암호키 생성방법.And storing the calculated encryption key value and the changed image data.
KR1020040097287A 2004-11-25 2004-11-25 Method for generating seceret key KR20060058309A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040097287A KR20060058309A (en) 2004-11-25 2004-11-25 Method for generating seceret key

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040097287A KR20060058309A (en) 2004-11-25 2004-11-25 Method for generating seceret key

Publications (1)

Publication Number Publication Date
KR20060058309A true KR20060058309A (en) 2006-05-30

Family

ID=37153401

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040097287A KR20060058309A (en) 2004-11-25 2004-11-25 Method for generating seceret key

Country Status (1)

Country Link
KR (1) KR20060058309A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102564618B1 (en) * 2022-04-21 2023-08-08 주식회사 네오패드 Encryption system and method using media content file of sender or receiver

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102564618B1 (en) * 2022-04-21 2023-08-08 주식회사 네오패드 Encryption system and method using media content file of sender or receiver
WO2023204678A1 (en) * 2022-04-21 2023-10-26 주식회사 네오패드 Encryption system and method using media content file of sender or receiver

Similar Documents

Publication Publication Date Title
CN101459751B (en) Control device, image forming apparatus, method of controlling image forming apparatus
JP4924603B2 (en) Face authentication device, face authentication method and program
US8843485B2 (en) Image-processing apparatus, image-processing method, computer program, and computer-readable storage medium
EP3264309B1 (en) Information processing method and terminal, and a computer storage medium
US9094204B2 (en) Image encryption system and image decryption system
JP6028453B2 (en) Image processing apparatus, image processing method, and image processing program
JP4817624B2 (en) Image processing system, image alteration judgment method, computer program, and computer-readable storage medium
US8314955B2 (en) Apparatus and method for requesting password re-entry for external-device display and not requesting password re-entry for image display on display unit of the apparatus
KR101248907B1 (en) Image forming apparatus, and method for generating color table and method for printing color document thereof
JP5213543B2 (en) Information processing apparatus and information processing method
CN108063665B (en) Communication method and terminal device
KR20060058309A (en) Method for generating seceret key
CN111611567B (en) Authentication method and device, electronic whiteboard and computer readable storage medium
JP2015060421A (en) Similar image search method, and similar image search device
US11005647B2 (en) Method for processing an image executed by a terminal forming a “white box” environment
KR101516565B1 (en) Apparatus and method for auhentication using an image
JP6413450B2 (en) Image processing apparatus, image forming apparatus, and program
JP2019168929A (en) Information processor, authentication method in information processor, and program
US20100104131A1 (en) Document processing apparatus and document processing method
Khan et al. Entropy based data hiding in binary document images
CN115242450B (en) Password data input method, device and storage medium
CN111627089B (en) User head portrait picture processing method, device and system and readable storage medium
JP2009152761A (en) Multifunction system
KR20180051742A (en) Face recognition system and method
US20160342783A1 (en) Visual obfuscation security device, method and system

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination