KR20180120863A - 2d barcode processing - Google Patents

2d barcode processing Download PDF

Info

Publication number
KR20180120863A
KR20180120863A KR1020170054464A KR20170054464A KR20180120863A KR 20180120863 A KR20180120863 A KR 20180120863A KR 1020170054464 A KR1020170054464 A KR 1020170054464A KR 20170054464 A KR20170054464 A KR 20170054464A KR 20180120863 A KR20180120863 A KR 20180120863A
Authority
KR
South Korea
Prior art keywords
authentication code
authentication
electronic device
code
server
Prior art date
Application number
KR1020170054464A
Other languages
Korean (ko)
Other versions
KR101979295B1 (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 KR1020170054464A priority Critical patent/KR101979295B1/en
Publication of KR20180120863A publication Critical patent/KR20180120863A/en
Application granted granted Critical
Publication of KR101979295B1 publication Critical patent/KR101979295B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • H04L51/14
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • 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/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • H04L9/3242Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving keyed hash functions, e.g. message authentication codes [MACs], CBC-MAC or HMAC

Abstract

According to the present invention, a 2D barcode processing method includes the steps of: recognizing a 2D barcode; extracting an encrypted authentication code from uniform resource locator (URL) information corresponding to the 2D barcode; and transmitting the authentication code to an authentication server. Accordingly, the present invention can provide continuity of generation and use of the 2D barcode.

Description

2 차원 바코드 처리{2D BARCODE PROCESSING}2D barcode processing {2D BARCODE PROCESSING}

본 명세서는 2D 바코드 처리에 관한 것이다.This specification relates to 2D barcode processing.

QR 코드는 흑백 격자 무늬 패턴에 정보를 기록하는 2차원 바코드이다. 오늘날 대부분의 스마트폰은 QR 코드를 스캔할 수 있는 어플리케이션을 내장하고 있거나, 인터넷을 통하여 쉽게 무료로 다운로드할 수 있다. 이러한 QR 코드는 쉽게 생성 및 복제가 가능하다. 하지만, QR 코드가 위조되거나 QR 코드에 의해서 이동되는 랜딩 페이지가 위조되는 경우, 정품 인증과 관련되는 보안상의 문제가 발생한다.The QR code is a two-dimensional bar code that records information in a black and white plaid pattern. Most smartphones today have built-in applications that can scan QR codes, or they can easily be downloaded for free through the Internet. These QR codes are easy to create and duplicate. However, when a landing page forged or forged by a QR code is forged, security problems associated with activation occur.

본 명세서에 개시된 기술은 2차원 바코드를 인식하여 전용 어플리케이션을 쉽게 설치하도록 유도할 수 있다.The techniques disclosed herein can recognize a two-dimensional barcode and guide it to easily install a dedicated application.

또한, 본 명세서에 개시된 기술은 전용 어플리케이션을 이용하여 2차원 바코드에 숨겨진 암호화된 인증 코드를 처리함으로써, 보안을 강화할 수 있다.In addition, the techniques disclosed herein can enhance security by processing encrypted authentication codes hidden in two-dimensional bar codes using dedicated applications.

본 명세서에 개시된 2 차원 바코드 처리 방법은 2 차원 바코드를 인식하는 단계; 상기 2 차원 바코드에 대응되는 URL(Uniform Resource Locator) 정보로부터 암호화된 인증 코드를 추출하는 단계; 및 상기 인증 코드를 인증 서버로 전송하는 단계를 포함할 수 있다.The two-dimensional bar code processing method disclosed herein includes: recognizing a two-dimensional bar code; Extracting an encrypted authentication code from URL (Uniform Resource Locator) information corresponding to the two-dimensional bar code; And transmitting the authentication code to an authentication server.

또한, 상기 URL 정보는 상기 URL 정보로부터 상기 인증 코드를 추출하는 어플리케이션의 다운로드를 위한 다운로드 URL 정보를 포함할 수 있다.The URL information may include download URL information for downloading an application that extracts the authentication code from the URL information.

또한, 상기 인증 코드에 대한 응답 정보를 수신하는 단계; 및 상기 응답 정보에 기초하여 상기 인증 코드 처리 결과를 디스플레이하는 단계를 포함할 수 있다.Receiving response information for the authentication code; And displaying the authentication code processing result based on the response information.

또한, 상기 응답 정보는 상기 인증 코드에 대한 처리 결과를 지시하는 성공 메시지 또는 실패 메시지를 포함할 수 있다.In addition, the response information may include a success message or a failure message indicating a processing result of the authentication code.

또한, 상기 성공 메시지는 상기 인증 코드가 상기 인증 서버에 성공적으로 등록되었음을 지시할 수 있다.In addition, the success message may indicate that the authentication code has been successfully registered with the authentication server.

또한, 상기 실패 메시지는 상기 인증 코드가 상기 인증 서버에 이미 등록되어 있음을 지시할 수 있다.The failure message may also indicate that the authentication code is already registered with the authentication server.

또한, 상기 성공 메시지는 상기 인증 코드가 상기 인증 서버에 미리 저장된 인증 코드 목록에 포함된 것을 확인하였음을 지시할 수 있다.The success message may indicate that the authentication code has been confirmed to be included in the authentication code list stored in advance in the authentication server.

또한, 상기 실패 메시지는 상기 인증 코드가 상기 인증 서버에 미리 저장된 인증 코드 목록에 포함되어 있지 않거나, 인증 코드 목록에 포함되었는지 여부가 적어도 한 번 확인되었음을 지시할 수 있다.In addition, the failure message may indicate that the authentication code is not included in the authentication code list stored in advance in the authentication server, or whether it is included in the authentication code list at least once.

본 명세서에 개시된 인증 서버의 제어 방법은 암호화된 인증 코드를 수신하는 단계; 상기 수신된 인증 코드와 동일한 인증 코드가 등록되어 있는지 여부를 판단하는 단계; 상기 인증 코드에 대한 응답 정보를 생성하는 단계; 및 상기 응답 정보를 전송하는 단계를 포함할 수 있다.The control method of an authentication server disclosed in this specification includes: receiving an encrypted authentication code; Determining whether an authentication code identical to the received authentication code is registered; Generating response information for the authentication code; And transmitting the response information.

또한, 상기 인증 코드를 등록하는 단계를 더 포함하되, 상기 응답 정보는 상기 인증 코드가 상기 인증 서버에 성공적으로 등록되었음을 지시하는 성공 메시지를 포함할 수 있다.The method may further include registering the authentication code, wherein the response information may include a success message indicating that the authentication code has been successfully registered with the authentication server.

또한, 상기 응답 정보는 상기 인증 코드가 상기 인증 서버에 이미 등록되어 있음을 지시하는 실패 메시지를 포함할 수 있다.In addition, the response information may include a failure message indicating that the authentication code is already registered with the authentication server.

또한, 상기 응답 정보는 상기 인증 코드에 대한 처리 결과를 지시하는 성공 메시지 또는 실패 메시지를 포함하고, 상기 성공 메시지는 상기 인증 코드가 상기 인증 서버에 미리 저장된 인증 코드 목록에 포함된 것을 확인하였음을 지시하고, 상기 실패 메시지는 상기 인증 코드가 상기 인증 서버에 미리 저장된 인증 코드 목록에 포함되어 있지 않거나, 인증 코드 목록에 포함되었는지 여부가 적어도 한 번 확인되었음을 지시할 수 있다.In addition, the response information includes a success message indicating a processing result of the authentication code or a failure message, and the success message indicates that the authentication code has been confirmed to be included in the authentication code list stored in advance in the authentication server And the failure message may indicate that the authentication code is not included in the authentication code list stored in advance in the authentication server, or whether it is included in the authentication code list at least once.

본 명세서에 개시된 2 차원 바코드 생성 방법은 어플리케이션의 다운로드를 위한 다운로드 URL 정보를 획득하는 단계, 상기 어플리케이션은 2 차원 바코드에 대응되는 URL(Uniform Resource Locator) 정보로부터 암호화된 인증 코드를 추출하고; 상기 암호화된 인증 코드를 획득하는 단계; 및 상기 다운로드 URL 정보 및 상기 인증 코드를 기초로 상기 2 차원 바코드를 생성하는 단계를 포함할 수 있다.The two-dimensional bar code generating method disclosed in this specification includes the steps of obtaining download URL information for downloading an application, the application extracting an encrypted authentication code from URL (Uniform Resource Locator) information corresponding to a two-dimensional bar code; Obtaining the encrypted authentication code; And generating the two-dimensional bar code based on the download URL information and the authentication code.

본 명세서에 개시된 2 차원 바코드를 인식하는 인식부; 상기 2 차원 바코드에 대응되는 URL(Uniform Resource Locator) 정보로부터 암호화된 인증 코드를 추출하는 프로세서; 및 상기 인증 코드를 인증 서버로 전송하는 통신 모듈을 포함할 수 있다.A recognition unit for recognizing the two-dimensional bar code disclosed in this specification; A processor for extracting an encrypted authentication code from URL (Uniform Resource Locator) information corresponding to the two-dimensional bar code; And a communication module for transmitting the authentication code to an authentication server.

본 명세서에 개시된 인증 서버는 암호화된 인증 코드를 수신하는 통신 모듈; 및 상기 인증 코드와 동일한 인증 코드가 등록되어 있는지 여부를 판단하고, 상기 인증 코드에 대한 응답 정보를 생성하는 프로세서를 포함하되, 상기 통신 모듈은 상기 응답 정보를 전송하는 것을 더 포함할 수 있다.The authentication server disclosed herein includes a communication module for receiving an encrypted authentication code; And a processor for determining whether or not an authentication code identical to the authentication code is registered, and generating response information for the authentication code, wherein the communication module may further comprise transmitting the response information.

본 명세서에 개시된 기술은 2 차원 바코드를 활용하여 전용 어플리케이션을 설치하므로, 2 차원 바코드를 생성하는 생산자에게 2 차원 바코드 생성의 연속성을 제공할 수 있다. 또한, 2 차원 바코드를 사용하는 사용자에게 2 차원 바코드 사용의 연속성을 제공할 수 있다.The technique disclosed in this specification can provide a continuity of generation of a two-dimensional barcode to a producer who generates a two-dimensional barcode by installing a dedicated application utilizing a two-dimensional barcode. Further, it is possible to provide continuity of the use of the two-dimensional bar code to the user using the two-dimensional bar code.

또한, 본 명세서에 개시된 기술은 전용 어플리케이션의 설치를 위한 추가적인 2 차원 바코드의 부착에 대한 필요성을 제거하므로, 생산자의 비용을 절감시킬 수 있다.In addition, the techniques disclosed herein eliminate the need for the attachment of additional two-dimensional bar codes for the installation of dedicated applications, thereby reducing the cost of the producer.

또한, 본 명세서에 개시된 기술은 암호화된 인증 코드를 인식하므로, 기존의 2 차원 바코드 만을 사용했을 때 발생하는 보안상의 취약성을 극복할 수 있다.In addition, since the technology disclosed in this specification recognizes an encrypted authentication code, it can overcome the security vulnerability caused by using only a conventional two-dimensional bar code.

도 1은 본 발명의 일 실시예에 따른 전자 시스템을 나타낸 도면이다.
도 2는 본 발명의 일 실시예에 따른 전자 장치를 나타내는 블록도이다.
도 3은 본 발명의 일 실시예에 따른 프로그램 모듈의 블록도이다.
도 4는 예시적인 2 차원 바코드를 이용한 인증 방법의 개념을 나타내는 도면이다.
도 5는 예시적인 전용 어플리케이션의 제어 방법을 나타내는 도면이다.
도 6은 예시적인 전용 어플리케이션을 이용하여 인증 코드를 추출하는 방법을전자 나타내는 도면이다.
도 7은 예시적인 전용 어플리케이션을 이용하여 인증 코드를 인증 서버로 전송하는 방법을 나타내는 도면이다.
도 8은 예시적인 공용 어플리케이션 및 전용 어플리케이션의 제어 방법을 나타낸 도면이다.
도 9는 예시적인 URL 정보를 기초로 전용 어플리케이션을 획득하는 방법을 나타내는 도면이다.
도 10은 예시적인 인증 서버의 제어 방법을 나타내는 도면이다.
도 11은 예시적인 2 차원 바코드를 생성하는 방법을 나타내는 도면이다.
도 12는 예시적인 전자 장치의 구성을 나타낸 도면이다.
도 13은 예시적인 인증 서버의 구성을 나타낸 도면이다.
1 is a diagram illustrating an electronic system according to an embodiment of the present invention.
2 is a block diagram illustrating an electronic device according to an embodiment of the present invention.
3 is a block diagram of a program module in accordance with an embodiment of the present invention.
4 is a diagram showing a concept of an authentication method using an exemplary two-dimensional bar code.
5 is a diagram showing a control method of an exemplary dedicated application.
FIG. 6 is a diagram illustrating a method of extracting an authentication code using an exemplary dedicated application.
7 is a diagram illustrating a method of transmitting an authentication code to an authentication server using an exemplary dedicated application.
8 is a diagram showing a control method of an exemplary common application and a dedicated application.
9 is a diagram showing a method for acquiring a dedicated application based on exemplary URL information.
10 is a diagram showing a control method of an exemplary authentication server.
11 is a diagram illustrating a method for generating an exemplary two-dimensional bar code.
12 is a diagram showing a configuration of an exemplary electronic device.
13 is a diagram showing a configuration of an exemplary authentication server.

본 명세서에서 사용되는 기술적 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 본 명세서에 개시된 기술의 사상을 한정하려는 의도가 아님을 유의해야 한다. 또한, 본 명세서에서 사용되는 기술적 용어는 본 명세서에서 특별히 다른 의미로 정의되지 않는 한, 본 명세서에 개시된 기술이 속하는 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 의미로 해석되어야 하며, 과도하게 포괄적인 의미로 해석되거나, 과도하게 축소된 의미로 해석되지 않아야 한다. 또한, 본 명세서에서 사용되는 기술적인 용어가 본 명세서에 개시된 기술의 사상을 정확하게 표현하지 못하는 잘못된 기술적 용어일 때에는, 본 명세서에 개시된 기술이 속하는 분야에서 통상의 지식을 가진 자가 올바르게 이해할 수 있는 기술적 용어로 대체되어 이해되어야 할 것이다. 또한, 본 명세서에서 사용되는 일반적인 용어는 사전에 정의되어 있는 바에 따라, 또는 전후 문맥 상에 따라 해석되어야 하며, 과도하게 축소된 의미로 해석되지 않아야 한다.It is noted that the technical terms used herein are used only to describe specific embodiments and are not intended to limit the scope of the technology disclosed herein. Also, the technical terms used herein should be interpreted as being generally understood by those skilled in the art to which the presently disclosed subject matter belongs, unless the context clearly dictates otherwise in this specification, Should not be construed in a broader sense, or interpreted in an oversimplified sense. It is also to be understood that the technical terms used herein are erroneous technical terms that do not accurately represent the spirit of the technology disclosed herein, it is to be understood that the technical terms used herein may be understood by those of ordinary skill in the art to which this disclosure belongs And it should be understood. Also, the general terms used in the present specification should be interpreted in accordance with the predefined or prior context, and should not be construed as being excessively reduced in meaning.

본 명세서에서 사용되는 제1, 제2 등과 같이 서수를 포함하는 용어는 다양한 구성 요소들을 설명하는데 사용될 수 있지만, 상기 구성 요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 기술의 권리 범위를 벗어나지 않으면서 제1 구성 요소는 제2 구성 요소로 명명될 수 있고, 유사하게 제2 구성 요소도 제1 구성 요소로 명명될 수 있다.As used herein, terms including ordinals, such as first, second, etc., may be used to describe various elements, but the elements should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the description of the technology, the first component may be referred to as a second component, and similarly, the second component may also be referred to as a first component.

이하, 첨부된 도면을 참조하여 본 명세서에 개시된 실시 예들을 상세히 설명하되, 도면 부호에 관계없이 동일하거나 유사한 구성 요소는 동일한 참조 번호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings, wherein like reference numerals denote like or similar elements, and redundant description thereof will be omitted.

또한, 본 명세서에 개시된 기술을 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 명세서에 개시된 기술의 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. 또한, 첨부된 도면은 본 명세서에 개시된 기술의 사상을 쉽게 이해할 수 있도록 하기 위한 것일 뿐, 첨부된 도면에 의해 그 기술의 사상이 제한되는 것으로 해석되어서는 아니 됨을 유의해야 한다.Further, in the description of the technology disclosed in this specification, a detailed description of related arts will be omitted if it is determined that the gist of the technology disclosed in this specification may be obscured. It is to be noted that the attached drawings are only for the purpose of easily understanding the concept of the technology disclosed in the present specification, and should not be construed as limiting the spirit of the technology by the attached drawings.

도 1은 본 발명의 일 실시예에 따른 전자 시스템을 나타낸 도면이다.1 is a diagram illustrating an electronic system according to an embodiment of the present invention.

도 1을 참조하면, 전자 시스템(100)은 적어도 하나의 전자 장치(101, 102, 104), 서버(106) 및/또는 네트워크(162)를 포함할 수 있다.Referring to FIG. 1, an electronic system 100 may include at least one electronic device 101, 102, 104, a server 106, and / or a network 162.

본 개시에 따른 전자 장치는, 통신 기능이 포함된 장치일 수 있다. 예를 들어, 전자 장치는 스마트 폰(smart phone), 태블릿 PC(tablet personal computer), 이동 전화기(mobile phone), 화상전화기, 전자북 리더기(ebook reader), 데스크탑 PC(desktop personal computer), 랩탑 PC(laptop personal computer), 넷북 컴퓨터(netbook computer), PDA(personal digital assistant), PMP(portable multimedia player), MP3 플레이어, 모바일 의료기기, 카메라(camera), 또는 웨어러블 장치(wearable device)(예: 전자 안경과 같은 head-mounteddevice(HMD), 전자 의복, 전자 팔찌, 전자 목걸이, 전자 앱세서리(appcessory), 전자 신문, 또는 스마트 와치(smartwatch))중 적어도 하나를 포함할 수 있다.The electronic device according to the present disclosure may be a device including a communication function. For example, the electronic device can be a smart phone, a tablet personal computer, a mobile phone, a videophone, an ebook reader, a desktop personal computer, a laptop PC such as a laptop personal computer, a netbook computer, a personal digital assistant (PDA), a portable multimedia player (PMP), an MP3 player, a mobile medical device, a camera, or a wearable device Such as a head-mounteddevice (HMD) such as eyeglasses, an electronic garment, an electronic bracelet, an electronic necklace, an electronic app apparel, an electronic newspaper, or a smartwatch.

어떤 실시 예들에 따르면, 전자 장치는 통신 기능을 갖춘 스마트 가전 제품(smart home appliance)일 수 있다. 스마트 가전 제품은, 예를 들자면, 전자 장치는 텔레비전, DVD(digital video disk) 플레이어, 오디오, 냉장고, 에어컨, 청소기, 오븐, 전자레인지, 세탁기, 공기 청정기, 셋톱 박스(set-top box), TV 박스(예를 들어, 삼성 HomeSyncTM, 애플TVTM, 또는 구글 TVTM), 게임 콘솔(game consoles), 전자 사전, 전자 키, 캠코더(camcorder), 또는 전자 액자 중 적어도 하나를 포함할 수 있다.According to some embodiments, the electronic device may be a smart home appliance with communication capabilities. [0003] Smart household appliances, such as electronic devices, are widely used in the fields of television, digital video disk (DVD) player, audio, refrigerator, air conditioner, vacuum cleaner, oven, microwave oven, washing machine, air cleaner, set- (E.g., Samsung HomeSync, Apple TV, or Google TV), game consoles, an electronic dictionary, an electronic key, a camcorder, or an electronic photo frame.

어떤 실시 예들에 따르면, 전자 장치는 각종 의료기기(예: MRA(magnetic resonance angiography), MRI(magnetic resonance imaging), CT(computed tomography), 촬영기, 초음파기 등), 네비게이션(navigation) 장치, GPS 수신기(global positioning system receiver), EDR(event data recorder), FDR(flight data recorder), 자동차 인포테인먼트(infotainment) 장치, 선박용 전자 장비(예: 선박용 항법 장치 및 자이로 콤파스 등), 항공 전자기기(avionics), 보안 기기, 차량용 헤드 유닛, 산업용 또는 가정용 로봇, 금융 기관의 ATM(automatic teller?s machine) 또는 상점의 POS(point of sales) 중 적어도 하나를 포함할 수 있다.According to some embodiments, the electronic device may be implemented in a variety of medical devices (e.g., magnetic resonance angiography (MRA), magnetic resonance imaging (MRI), computed tomography (CT), camera, ultrasound, global positioning system receiver, EDR (event data recorder), flight data recorder (FDR), automotive infotainment device, marine electronic equipment (eg marine navigation device and gyro compass), avionics, security An automotive head unit, an industrial or home robot, an ATM (automatic teller? S machine) of a financial institution, or a POS (point of sale) of a shop.

어떤 실시 예들에 따르면, 전자 장치는 통신 기능을 포함한 가구(furniture) 또는 건물/구조물의 일부, 전자 보드(electronic board), 전자 사인 입력장치(electronic signature receiving device), 프로젝터(projector), 또는 각종 계측기기(예: 수도, 전기, 가스, 또는 전파 계측 기기 등) 중 적어도 하나를 포함할 수 있다. 본 개시에 따른 전자 장치는 전술한 다양한 장치들 중 하나 또는 그 이상의 조합일 수 있다. 또한, 본 개시에 따른 전자 장치는 플렉서블 장치일 수 있다. 또한, 본 개시에 따른 전자 장치는 전술한 기기들에 한정되지 않음은 당업자에게 자명하다.According to some embodiments, the electronic device may be a piece of furniture or a structure / structure including a communication function, an electronic board, an electronic signature receiving device, a projector, (E.g., water, electricity, gas, or radio wave measuring instruments, etc.). An electronic device according to the present disclosure may be one or more of the various devices described above. Further, the electronic device according to the present disclosure may be a flexible device. It should also be apparent to those skilled in the art that the electronic device according to the present disclosure is not limited to the above-described devices.

전자 장치(101)는 버스(110), 프로세서(120), 메모리(130), 입출력 인터페이스(150), 디스플레이(160), 및/또는 통신 인터페이스(170)를 포함할 수 있다.The electronic device 101 may include a bus 110, a processor 120, a memory 130, an input / output interface 150, a display 160, and / or a communication interface 170.

이때, 네트워크(162)는 유선으로 연결된 LAN 과 케이블채널망, 무선으로 연결된 가능한 모든 방법을 포함할 수 있다.At this time, the network 162 may include a wired LAN, a cable channel network, and all wirelessly connected methods.

어떤 실시예에서, 상기 전자 장치(101)는 구성요소들 중 적어도 하나를 생략하거나 다른 구성요소를 추가적으로 구비할 수 있다.In some embodiments, the electronic device 101 may omit at least one of the components or further comprise other components.

상기 버스(110)는, 예를 들어, 구성요소들(110-170)을 서로 연결하고, 구성요소들 간의 통신(예: 제어 메시지 및/또는 데이터)을 전달하는 회로를 포함할 수 있다.The bus 110 may include circuitry, for example, to connect components 110-170 to one another and to communicate communications (e.g., control messages and / or data) between the components.

상기 프로세서(120)는 중앙처리장치(Central Processing Unit; CPU), 어플리케이션 프로세서(Application Processor; AP), 또는 커뮤니케이션 프로세서(Communication Processor; CP) 중 하나 또는 그 이상을 포함할 수 있다. 상기 프로세서(120)는, 예를 들어, 상기 전자 장치(101)의 적어도 하나의 다른 구성요소들의 제어 및/또는 통신에 관한 연산이나 데이터 처리를 실행할 수 있다.The processor 120 may include one or more of a central processing unit (CPU), an application processor (AP), or a communication processor (CP). The processor 120 may perform, for example, operations or data processing relating to the control and / or communication of at least one other component of the electronic device 101. For example,

상기 메모리(130)는 휘발성(volatile) 및/또는 비휘발성(non-volatile) 메모리를 포함할 수 있다. 상기 메모리(130)는, 예를 들어, 상기 전자 장치(101)의 적어도 하나의 다른 구성요소에 관계된 명령 또는 데이터를 저장할 수 있다. 한 실시예에 따르면, 상기 메모리(130)는 소프트웨어 및/또는 프로그램(140)을 저장할 수 있다. 상기 프로그램(140)은, 예를 들어, 커널(141), 미들웨어(143), 어플리케이션 프로그래밍 인터페이스(Application Programming Interface; API)(145), 및/또는 어플리케이션 프로그램(또는 "어플리케이션")(147) 등을 포함할 수 있다. 상기 커널(141), 상기 미들웨어(143), 또는 상기 API(145)의 적어도 일부는, 운영체제 (Operating System; OS)로 지칭될 수 있다.The memory 130 may include volatile and / or non-volatile memory. The memory 130 may store instructions or data related to at least one other component of the electronic device 101, for example. According to one embodiment, the memory 130 may store software and / or programs 140. The program 140 may be stored in a memory such as, for example, a kernel 141, a middleware 143, an application programming interface (API) 145, an application program . ≪ / RTI > At least a part of the kernel 141, the middleware 143, or the API 145 may be referred to as an operating system (OS).

상기 커널(141)은, 예를 들어, 다른 프로그램들(예: 상기 미들웨어(143), 상기 API(145), 또는 상기 어플리케이션 프로그램(147))에 구현된 동작 또는 기능을 실행하는 데 사용되는 시스템 리소스들(예: 상기 버스(110), 상기 프로세서(120), 또는 상기 메모리(130) 등)을 제어 또는 관리할 수 있다. 또한, 상기 커널(141)은 상기 미들웨어(143), 상기 API(145), 또는 상기 어플리케이션 프로그램(147)에서 상기 전자 장치(101)의 개별 구성요소에 접근함으로써, 시스템 리소스들을 제어 또는 관리할 수 있는 인터페이스를 제공할 수 있다.The kernel 141 is a system that is used to execute an operation or function implemented in other programs (e.g., the middleware 143, the API 145, or the application program 147) Resources (e.g., the bus 110, the processor 120, or the memory 130, etc.). The kernel 141 can also control or manage system resources by accessing individual components of the electronic device 101 at the middleware 143, the API 145, or the application program 147 You can provide an interface.

상기 미들웨어(143)는, 예를 들어, 상기 API(145) 또는 상기 어플리케이션 프로그램(147)이 상기 커널(141)과 통신하여 데이터를 주고받을 수 있도록 중개 역할을 수행할 수 있다.The middleware 143 may perform an intermediary function such that the API 145 or the application program 147 can communicate with the kernel 141 to exchange data.

또한, 상기 미들웨어(143)는 상기 어플리케이션 프로그램(147)으로부터 수신된 하나 이상의 작업 요청들을 우선 순위에 따라 처리할 수 있다. 예를 들어, 상기 미들웨어(143)는 상기 어플리케이션 프로그램(147) 중 적어도 하나에 상기 전자 장치(101)의 시스템 리소스(예: 상기 버스(110), 상기 프로세서(120), 또는 상기 메모리(130) 등)를 사용할 수 있는 우선 순위를 부여할 수 있다. 예컨대, 상기 미들웨어(143)는 상기 적어도 하나에 부여된 우선 순위에 따라 상기 하나 이상의 작업 요청들을 처리함으로써, 상기 하나 이상의 작업 요청들에 대한 스케쥴링 또는 로드 밸런싱 등을 수행할 수 있다.In addition, the middleware 143 may process one or more task requests received from the application program 147 according to a priority order. For example, the middleware 143 may access system resources (e.g., the bus 110, the processor 120, or the memory 130) of the electronic device 101 in at least one of the application programs 147, Etc.) can be given priority. For example, the middleware 143 may perform the scheduling or load balancing of the one or more task requests by processing the one or more task requests according to the priority assigned to the at least one task.

상기 API(145)는, 예를 들어, 상기 어플리케이션(147)이 상기 커널(141) 또는 상기 미들웨어(143)가 제공하는 기능을 제어하기 위한 인터페이스로, 예를 들어, 파일 제어, 창 제어, 영상 처리, 또는 문자 제어 등을 위한 적어도 하나의 인터페이스 또는 함수(예: 명령어)를 포함할 수 있다.The API 145 is an interface for the application 147 to control the functions provided by the kernel 141 or the middleware 143. For example, At least one interface or function (e.g., command) for processing, character control, or the like.

상기 입출력 인터페이스(150)는, 예를 들어, 사용자 또는 다른 외부 기기로부터 입력된 명령 또는 데이터를 상기 전자 장치(101)의 다른 구성요소(들)에 전달할 수 있는 인터페이스의 역할을 할 수 있다. 또한, 상기 입출력 인터페이스(150)은 상기 전자 장치(101)의 다른 구성요소(들)로부터 수신된 명령 또는 데이터를 사용자 또는 다른 외부 기기로 출력할 수 있다.The input / output interface 150 may serve as an interface through which commands or data input from, for example, a user or other external device can be transmitted to the other component (s) of the electronic device 101. The input / output interface 150 may output commands or data received from other component (s) of the electronic device 101 to a user or other external device.

상기 디스플레이(160)는, 예를 들어, 액정 디스플레이(Liquid Crystal Display; LCD), 발광 다이오드(Light Emitting Diode; LED) 디스플레이, 유기 발광 다이오드(Organic Light-Emitting Diode; OLED) 디스플레이, 또는 마이크로 전자기계 시스템(Micro-Electro-Mechanical Systems; MEMS) 디스플레이, 또는 전자종이(electronic paper) 디스플레이를 포함할 수 있다. 상기 디스플레이(160)는, 예를 들어, 사용자에게 각종 컨텐츠(예: 텍스트, 이미지, 비디오, 아이콘, 또는 심볼 등)을 표시할 수 있다. 상기 디스플레이(160)는, 터치 스크린을 포함할 수 있으며, 예를 들어, 전자 펜 또는 사용자의 신체의 일부를 이용한 터치, 제스쳐, 근접, 또는 호버링 입력을 수신할 수 있다.The display 160 may be, for example, a liquid crystal display (LCD), a light emitting diode (LED) display, an organic light-emitting diode (OLED) Micro-electro-mechanical systems (MEMS) displays, or electronic paper displays. The display 160 may display various content (e.g., text, images, video, icons, symbols, etc.) to a user, for example. The display 160 may include a touch screen and may receive a touch, gesture, proximity, or hovering input using, for example, an electronic pen or a portion of the user's body.

상기 통신 인터페이스(170)는, 예를 들어, 상기 전자 장치(101)와 외부 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(106)) 간의 통신을 설정할 수 있다. 예를 들어, 상기 통신 인터페이스(170)는 무선 통신 또는 유선 통신을 통해서 네트워크(162)에 연결되어 외부 장치(예: 전자 장치(104) 또는 서버(106))와 통신할 수 있다.The communication interface 170 may establish communication between the electronic device 101 and an external device such as the electronic device 102, the electronic device 104, or the server 106, for example. For example, the communication interface 170 may be connected to the network 162 via wireless or wired communication to communicate with an external device (e.g., the electronic device 104 or the server 106).

상기 무선 통신은, 예를 들어, 셀룰러 통신을 포함할 수 있다. 상기 셀룰러 통신은, 예를 들어, LTE(long-term evolution), LTE-A(LTE Advance), CDMA(code division multiple access), WCDMA(wideband CDMA), UMTS(universal mobile telecommunications system), WiBro(Wireless Broadband), 또는 GSM(Global System for Mobile Communications) 등 중 적어도 하나를 포함할 수 있다. 또한, 상기 무선 통신은, 예를 들어, 근거리 통신(164)을 포함할 수 있다. 상기 근거리 통신(164)은, 예를 들어, Wi-Fi(wireless fidelity), 블루투스(Bluetooth) 또는 NFC(nearfield communication) 등 적어도 하나를 포함할 수 있다. 또한, 상기 무선 통신은 GPS(global positioning system)를 포함할 수 있다. The wireless communication may include, for example, cellular communication. The cellular communication may include, for example, long-term evolution (LTE), LTE Advance, code division multiple access (CDMA), wideband CDMA (WCDMA), universal mobile telecommunications system (UMTS), WiBro Broadband, or Global System for Mobile Communications (GSM). The wireless communication may also include, for example, local area communication 164. The local area communication 164 may include at least one of, for example, wireless fidelity (Wi-Fi), Bluetooth, or near field communication (NFC). Also, the wireless communication may include a global positioning system (GPS).

상기 유선 통신은, 예를 들어, CAN(Controller Area Network), USB(universal serial bus), HDMI(high definition multimedia interface), RS-232(recommended standard232), 또는 POTS(plain old telephone service) 등 중 적어도 하나를 포함할 수 있다. 상기 네트워크(162)는 통신 네트워크(telecommunications network), 예를 들어, 컴퓨터 네트워크(computer network)(예: LAN 또는 WAN), 인터넷, 또는 전화 망(telephone network) 중 적어도 하나를 포함할 수 있다.The wired communication may include at least one of a CAN (Controller Area Network), a universal serial bus (USB), a high definition multimedia interface (HDMI), a recommended standard 232 (RS-232), or a plain old telephone service One can be included. The network 162 may include at least one of a telecommunications network, e.g., a computer network (e.g., LAN or WAN), the Internet, or a telephone network.

전자 장치(102) 및 전자 장치(104) 각각은 상기 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 한 실시 예에 따르면, 상기 서버(106)는 하나 또는 그 이상의 서버들의 그룹을 포함할 수 있다. 다양한 실시예에 따르면, 상기 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 다른 하나 또는 복수의 외부 장치(예: 전자 장치(102, 104), 또는 서버(106))에서 실행될 수 있다. 한 실시예에 따르면, 상기 전자 장치(101)가 어떤 기능이나 서비스를 자동으로 또는 요청에 의하여 수행해야 할 경우에, 상기 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 그와 연관된 적어도 일부 기능을 외부 장치(예: 전자 장치(102, 104), 또는 서버(106))에게 요청할 수 있다. 외부 장치(예: 전자 장치(102, 104), 또는 서버(106))는 요청된 기능 또는 추가 기능을 실행하고, 그 결과를 상기 전자 장치(101)로 전달할 수 있다. 상기 전자 장치(101)는 수신된 결과를 그대로 또는 추가적으로 처리하여 요청된 기능이나 서비스를 제공할 수 있다. 이를 위하여, 예를 들어, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.Each of the electronic device 102 and the electronic device 104 may be the same or a different kind of device as the electronic device 101 described above. According to one embodiment, the server 106 may include one or more groups of servers. According to various embodiments, all or a portion of the operations performed on the electronic device 101 may be performed on another or a plurality of external devices (e.g., the electronic device 102, 104, or the server 106). According to one embodiment, in the event that the electronic device 101 has to perform a function or service automatically or upon request, the electronic device 101 may, instead of or in addition to executing the function or service itself, (E.g., electronic device 102, 104, or server 106) at least some of its associated functionality. An external device (e.g., electronic device 102, 104, or server 106) may execute the requested function or additional function and deliver the result to the electronic device 101. The electronic device 101 can directly or additionally process the received result to provide a requested function or service. For this purpose, for example, cloud computing, distributed computing, or client-server computing technology may be used.

도 2는 본 발명의 일 실시예에 따른 전자 장치를 나타내는 블록도이다.2 is a block diagram illustrating an electronic device according to an embodiment of the present invention.

상기 전자 장치(201)는, 예를 들어, 도 1에 도시된 전자 장치(101)의 전체 또는 일부를 포함할 수 있다. 상기 전자 장치(200)는 하나 이상의 프로세서(예: AP(application processor))(210), 통신 모듈(220), 상기 메모리(230), 센서 모듈(240), 입력 장치(250), 디스플레이(260), 인터페이스(270), 오디오 모듈(280), 카메라 모듈(291), 전력 관리 모듈(295), 배터리(296), 인디케이터(297), 및 모터(298)를 포함할 수 있다.The electronic device 201 may include all or part of the electronic device 101 shown in Fig. 1, for example. The electronic device 200 may include one or more processors (e.g., APs) 210, a communication module 220, a memory 230, a sensor module 240, an input device 250, a display 260 An interface 270, an audio module 280, a camera module 291, a power management module 295, a battery 296, an indicator 297, and a motor 298.

상기 프로세서(210)는, 예를 들어, 운영 체제 또는 응용 프로그램을 구동하여 상기 프로세서(210)에 연결된 다수의 하드웨어 또는 소프트웨어 구성요소들을 제어할 수 있고, 각종 데이터 처리 및 연산을 수행할 수 있다. 상기 프로세서(210)는, 예를 들어, SoC(system on chip) 로 구현될 수 있다. 한 실시예에 따르면, 상기 프로세서(210)는 GPU(graphic processing unit) 및/또는 이미지 신호 프로세서(image signal processor)를 더 포함할 수 있다. 상기 프로세서(210)는 도 2에 도시된 구성요소들 중 적어도 일부(예: 셀룰러 모듈(221))를 포함할 수도 있다. 상기 프로세서(210)는 다른 구성요소들(예: 비휘발성 메모리) 중 적어도 하나로부터 수신된 명령 또는 데이터를 휘발성 메모리에 로드(load)하여 처리하고, 다양한 데이터를 비휘발성 메모리에 저장(store)할 수 있다.The processor 210 may, for example, drive an operating system or an application program to control a plurality of hardware or software components coupled to the processor 210, and may perform various data processing and operations. The processor 210 may be implemented as a system on chip (SoC), for example. According to one embodiment, the processor 210 may further include a graphics processing unit (GPU) and / or an image signal processor. The processor 210 may include at least some of the components shown in FIG. 2 (e.g., a cellular module 221). The processor 210 may load or process instructions or data received from at least one of the other components (e.g., non-volatile memory) into volatile memory and store the various data in non-volatile memory .

상기 통신 모듈(220)은, 도 1의 통신 인터페이스(170)와 동일 또는 유사한 구성을 가질 수 있다. 상기 통신 모듈(220)은, 예를 들어, 셀룰러 모듈(221), Wi-Fi 모듈(223), 블루투스 모듈(225), GPS 모듈(226), NFC 모듈(227), RF(radio frequency) 모듈(228), 및/또는 CAN 트랜시버(229)를 포함할 수 있다.The communication module 220 may have the same or similar configuration as the communication interface 170 of FIG. The communication module 220 may include a cellular module 221, a Wi-Fi module 223, a Bluetooth module 225, a GPS module 226, an NFC module 227, an RF (radio frequency) (228), and / or a CAN transceiver (229).

상기 셀룰러 모듈(221)은, 예를 들어, 통신망을 통해서 음성 통화, 영상 통화, 문자 서비스, 또는 인터넷 서비스 등을 제공할 수 있다. 한 실시예에 따르면, 상기 셀룰러 모듈(221)은 가입자 식별 모듈(예: SIM 카드)(224)을 이용하여 통신 네트워크 내에서 상기 전자 장치(201)의 구별 및 인증을 수행할 수 있다. 한 실시예에 따르면, 상기 셀룰러 모듈(221)은 상기 프로세서(210)가 제공할 수 있는 기능 중 적어도 일부 기능을 수행할 수 있다. 한 실시예에 따르면, 상기 셀룰러 모듈(221)은 커뮤니케이션 프로세서(Communication Processor; CP)를 포함할 수 있다.The cellular module 221 may provide a voice call, a video call, a text service, or an Internet service, for example, through a communication network. According to one embodiment, the cellular module 221 may utilize a subscriber identity module (e.g., a SIM card) 224 to perform the identification and authentication of the electronic device 201 within the communication network. According to one embodiment, the cellular module 221 may perform at least some of the functions that the processor 210 may provide. According to one embodiment, the cellular module 221 may include a communication processor (CP).

GPS 모듈(226)은 GPS 위성으로부터 GPS 신호를 수신할 수 있다. GPS 모듈(226)는 GPS 안테나를 포함할 수 있다.The GPS module 226 may receive GPS signals from GPS satellites. The GPS module 226 may comprise a GPS antenna.

상기 Wi-Fi 모듈(223), 상기 블루투스 모듈(225), 상기 GPS 모듈(226) 또는 상기 NFC 모듈(227) 각각은, 예를 들어, 해당하는 모듈을 통해서 송수신되는 데이터를 처리하기 위한 프로세서를 포함할 수 있다. 어떤 실시예에 따르면, 상기 셀룰러 모듈(221), 상기 Wi-Fi 모듈(223), 상기 블루투스 모듈(225), 상기 GPS 모듈(226) 또는 상기 NFC 모듈(227) 중 적어도 일부(예: 두 개 이상)는 하나의 integrated chip(IC) 또는 IC 패키지 내에 포함될 수 있다.Each of the Wi-Fi module 223, the Bluetooth module 225, the GPS module 226, and the NFC module 227 includes a processor for processing data transmitted and received through a corresponding module . According to some embodiments, at least some of the cellular module 221, the Wi-Fi module 223, the Bluetooth module 225, the GPS module 226, or the NFC module 227 Or more) may be included in one integrated chip (IC) or IC package.

상기 RF 모듈(228)은, 예를 들어, 통신 신호(예: RF 신호)를 송수신할 수 있다. 상기 RF 모듈(228)은, 예를 들어, 트랜시버(transceiver), PAM(power amp module), 주파수 필터(frequency filter), LNA(low noise amplifier) 등을 포함할 수 있다. 또한 상기 RF 모듈(228)은 무선 통신에서 자유 공간 상의 전자파를 송수신하기 위한 부품, 예를 들어, 도체 또는 도선 등을 더 포함할 수 있다. 도 2에서는 상기 셀룰러 모듈(221), 상기 Wi-Fi 모듈(223), 상기 블루투스 모듈(225), 상기 GPS 모듈(226) 또는 상기 NFC 모듈(227)이 하나의 RF 모듈(228)를 서로 공유하는 것으로 도시되어 있으나, 한 실시예에 따르면, 상기 셀룰러 모듈(221), 상기 Wi-Fi 모듈(223), 상기 블루투스 모듈(225), 상기 GPS 모듈(226) 또는 상기 NFC 모듈(227) 중 적어도 하나는 별개의 RF 모듈을 통하여 RF 신호를 송수신할 수 있다.The RF module 228 can, for example, send and receive communication signals (e.g., RF signals). The RF module 228 may include, for example, a transceiver, a power amplifier module (PAM), a frequency filter, a low noise amplifier (LNA), and the like. Further, the RF module 228 may further include a component for transmitting and receiving electromagnetic waves in free space in wireless communication, for example, a conductor or a lead wire. 2, the cellular module 221, the Wi-Fi module 223, the Bluetooth module 225, the GPS module 226, or the NFC module 227 share one RF module 228 At least one of the cellular module 221, the Wi-Fi module 223, the Bluetooth module 225, the GPS module 226, or the NFC module 227, One can transmit and receive RF signals through separate RF modules.

상기 SIM 카드(224)는, 예를 들어, 가입자 식별 모듈을 포함하는 카드 및/또는 내장 SIM(embedded SIM)을 포함할 수 있으며, 고유한 식별 정보(예: ICCID(integrated circuit card identifier)) 또는 가입자 정보(예:IMSI(international mobile subscriber identity))를 포함할 수 있다.The SIM card 224 may include, for example, a card containing a subscriber identity module and / or an embedded SIM, and may include unique identification information (e.g., an integrated circuit card identifier (ICCID) Subscriber information (e.g., international mobile subscriber identity (IMSI)).

CAN 트랜시버(518)는 CAN 버스 신호를 송신 및/또는 수신할 수 있다.CAN transceiver 518 can send and / or receive CAN bus signals.

상기 메모리(230)(예: 메모리(130))는, 예를 들어, 내장 메모리(232) 또는 외장 메모리(234)를 포함할 수 있다. 상기 내장 메모리(232)는, 예를 들어, 휘발성 메모리(예: DRAM(dynamic RAM), SRAM(static RAM), 또는 SDRAM(synchronous dynamic RAM) 등), 비휘발성 메모리(non-volatile Memory)(예: OTPROM(one time programmable ROM), PROM(programmable ROM), EPROM(erasable and programmable ROM), EEPROM(electrically erasable and programmable ROM), mask ROM, flash ROM, 플래시 메모리(예: NAND flash 또는 NOR flash 등), 하드 드라이브, 또는 솔리드 스테이트 드라이브(Solid State Drive; SSD) 중 적어도 하나를 포함할 수 있다.The memory 230 (e.g., memory 130) may include, for example, an internal memory 232 or an external memory 234. The built-in memory 232 may be a volatile memory such as a dynamic RAM (RAM), a static random access memory (SRAM), or a synchronous dynamic RAM (SDRAM), a non-volatile memory : Programmable ROM (PROM), erasable and programmable ROM (EPROM), electrically erasable and programmable ROM (EEPROM), mask ROM, flash ROM, flash memory (e.g., NAND flash or NOR flash) , A hard drive, or a solid state drive (SSD).

상기 외장 메모리(234)는 플래시 드라이브(flash drive), 예를 들어, CF(compact flash), SD(secure digital), Micro-SD(micro secure digital), Mini-SD(mini secure digital), xD(extreme digital), MMC(MultiMediaCard) 또는 메모리 스틱(memory stick) 등을 더 포함할 수 있다. 상기 외장 메모리(234)는 다양한 인터페이스를 통하여 상기 전자 장치(201)와 기능적으로 및/또는 물리적으로 연결될 수 있다.The external memory 234 may be a flash drive, for example, a compact flash (CF), a secure digital (SD), a micro secure digital (SD) extreme digital, an MMC (MultiMediaCard), a memory stick, and the like. The external memory 234 may be functionally and / or physically connected to the electronic device 201 through various interfaces.

상기 센서 모듈(240)은, 예를 들어, 물리량을 계측하거나 상기 전자 장치(201)의 작동 상태를 감지하여, 계측 또는 감지된 정보를 전기 신호로 변환할 수 있다. 상기 센서 모듈(240)은, 예를 들어, 근접 센서(241), 자이로 센서(242), 조도 센서(243), 마그네틱 센서(244), 가속도 센서(245), 그립 센서(246), 제스처 센서(247), 또는 생체 센서(248) 중 적어도 하나를 포함할 수 있다. 추가적으로 또는 대체적으로(additionally or alternatively), 상기 센서 모듈(240)은, 예를 들어, 후각 센서(E-nose sensor), EMG 센서(electromyography sensor), EEG 센서(electroencephalogram sensor), ECG 센서(electrocardiogram sensor), IR(infrared) 센서, 홍채 센서 및/또는 지문 센서를 포함할 수 있다. 상기 센서 모듈(240)은 그 안에 속한 적어도 하나 이상의 센서들을 제어하기 위한 제어 회로를 더 포함할 수 있다. 어떤 실시예에서는, 상기 전자 장치(201)는 상기 프로세서(210)의 일부로서 또는 별도로, 상기 센서 모듈(240)을 제어하도록 구성된 프로세서를 더 포함하여, 상기 프로세서(210)가 슬립(sleep) 상태에 있는 동안, 상기 센서 모듈(240)을 제어할 수 있다.The sensor module 240 may, for example, measure a physical quantity or sense an operating state of the electronic device 201 to convert the measured or sensed information into an electrical signal. The sensor module 240 includes a proximity sensor 241, a gyro sensor 242, an illuminance sensor 243, a magnetic sensor 244, an acceleration sensor 245, a grip sensor 246, A biometric sensor 247, or a biometric sensor 248. Additionally or alternatively, the sensor module 240 can be, for example, an E-nose sensor, an electromyography sensor, an electroencephalogram sensor, an electrocardiogram sensor ), An infrared (IR) sensor, an iris sensor, and / or a fingerprint sensor. The sensor module 240 may further include a control circuit for controlling at least one sensor included therein. In some embodiments, the electronic device 201 further comprises a processor configured to control the sensor module 240, either as part of the processor 210 or separately, such that the processor 210 is in a sleep state The sensor module 240 can be controlled.

상기 입력 장치(250)는, 예를 들어, 터치 패널(touch panel)(252), (디지털) 펜 센서(pen sensor)(254) 또는 키(key)(256)를 포함할 수 있다. 상기 터치 패널(252)은, 예를 들어, 정전식, 감압식, 적외선 방식, 또는 초음파 방식 중 적어도 하나의 방식을 사용할 수 있다. 또한, 터치 패널(252)은 제어 회로를 더 포함할 수도 있다. 상기 터치 패널(252)은 택타일 레이어(tactile layer)를 더 포함하여, 사용자에게 촉각 반응을 제공할 수 있다.The input device 250 may include, for example, a touch panel 252, a (digital) pen sensor 254, or a key 256. The touch panel 252 may employ, for example, at least one of an electrostatic type, a pressure sensitive type, an infrared type, and an ultrasonic type. Further, the touch panel 252 may further include a control circuit. The touch panel 252 may further include a tactile layer to provide a tactile response to the user.

상기 펜 센서(254)는, 예를 들어, 터치 패널의 일부이거나, 별도의 인식용 쉬트(sheet)를 포함할 수 있다. 상기 키(256)는, 예를 들어, 물리적인 버튼, 광학식 키, 또는 키패드를 포함할 수 있다.The pen sensor 254 may be part of, for example, a touch panel or may include a separate recognition sheet. The key 256 may include, for example, a physical button, an optical key, or a keypad.

상기 디스플레이(260)(예: 디스플레이(160))는 패널(262), 홀로그램 장치(264), 또는 프로젝터(266)를 포함할 수 있다. 상기 패널(262)은, 도 1의 상기 디스플레이(160)와 동일 또는 유사한 구성을 포함할 수 있다. 상기 패널(262)은, 예를 들어, 유연하게(flexible), 투명하게(transparent), 또는 착용할 수 있게(wearable) 구현될 수 있다. 상기 패널(262)은 상기 터치 패널(252)과 하나의 모듈로 구성될 수도 있다. 상기 홀로그램 장치(264)는 빛의 간섭을 이용하여 입체영상을 허공에 보여줄 수 있다. 상기 프로젝터(266)는 스크린에 빛을 투사하여 영상을 표시할 수 있다. 스크린은, 예를 들어, 상기 전자 장치(201)의 내부 또는 외부에 위치할 수 있다. 한 실시예에 따르면, 상기 디스플레이(260)는 상기 패널(262), 상기 홀로그램 장치(264), 또는 상기 프로젝터(266)를 제어하기 위한 제어 회로를 더 포함할 수 있다.The display 260 (e.g., display 160) may include a panel 262, a hologram device 264, or a projector 266. The panel 262 may include the same or similar configuration as the display 160 of FIG. The panel 262 may be embodied, for example, flexible, transparent, or wearable. The panel 262 may be configured as one module with the touch panel 252. The hologram device 264 can display a stereoscopic image in the air using interference of light. The projector 266 can display an image by projecting light onto a screen. The screen may be located, for example, inside or outside the electronic device 201. According to one embodiment, the display 260 may further include control circuitry for controlling the panel 262, the hologram device 264, or the projector 266.

상기 인터페이스(270)는, 예를 들어, HDMI(high-definition multimedia interface), 또는 USB(universal serial bus)를 포함할 수 있다. 상기 인터페이스(270)는, 예를 들어, 도 1에 도시된 상기 통신 인터페이스(170)에 포함될 수 있다. 추가적으로 또는 대체적으로(additionally and alternatively), 상기 인터페이스(270)는, 예를 들어, 광 인터페이스(optical interface), D-sub(D-subminiature), MHL(mobile high-definition link) 인터페이스, SD(secure digital) 카드/MMC(multi-media card) 인터페이스, 또는 IrDA(infrared data association) 규격 인터페이스를 포함할 수 있다.The interface 270 may include, for example, a high-definition multimedia interface (HDMI), or a universal serial bus (USB). The interface 270 may, for example, be included in the communication interface 170 shown in FIG. Additionally or alternatively, the interface 270 can be, for example, an optical interface, a D-subminiature, a mobile high-definition link (MHL) interface, a secure digital card / MMC (multi-media card) interface, or IrDA (infrared data association) interface.

상기 오디오 모듈(280)은, 예를 들어, 소리(sound)와 전기 신호를 쌍방향으로 변환시킬 수 있다. 상기 오디오 모듈(280)의 적어도 일부 구성요소는, 예를 들어, 도 1 에 도시된 입출력 인터페이스(150)에 포함될 수 있다. 상기 오디오 모듈(280)은, 예를 들어, 스피커(282), 리시버(284), 이어폰(286), 또는 마이크(288) 등을 통해 입력 또는 출력되는 소리 정보를 처리할 수 있다.The audio module 280 may, for example, convert sound and electrical signals in both directions. At least some components of the audio module 280 may be included, for example, in the input / output interface 150 shown in FIG. The audio module 280 may process sound information input or output through, for example, a speaker 282, a receiver 284, an earphone 286, a microphone 288, or the like.

상기 카메라 모듈(291)은, 예를 들어, 정지 영상 및 동영상을 촬영할 수 있는 장치로서, 한 실시예에 따르면, 하나 이상의 이미지 센서(예: 전면 센서 또는 후면 센서), 렌즈, ISP(image signal processor), 또는 플래시(flash)(예: LED 또는 xenon lamp 등)를 포함할 수 있다.The camera module 291 may be, for example, a device capable of capturing a still image and a moving image, and may include one or more image sensors (e.g., a front sensor or a rear sensor), a lens, an image signal processor ), Or a flash (e.g., an LED or xenon lamp, etc.).

상기 전력 관리 모듈(295)은, 예를 들어, 상기 전자 장치(201)의 전력을 관리할 수 있다. 한 실시예에 따르면, 상기 전력 관리 모듈(295)은 PMIC(power management integrated circuit), 충전 IC(charger integrated circuit), 또는 배터리 또는 연료 게이지(battery or fuel gauge)를 포함할 수 있다. 상기 PMIC는, 유선 및/또는 무선 충전 방식을 가질 수 있다. 무선 충전 방식은, 예를 들어, 자기공명 방식, 자기유도 방식 또는 전자기파 방식 등을 포함하며, 무선 충전을 위한 부가적인 회로, 예를 들어, 코일 루프, 공진 회로, 또는 정류기 등을 더 포함할 수 있다. 상기 배터리 게이지는, 예를 들어, 상기 배터리(296)의 잔량, 충전 중 전압, 전류, 또는 온도를 측정할 수 있다. 상기 배터리(296)는, 예를 들어, 충전식 전지(rechargeable battery) 및/또는 태양 전지(solar battery)를 포함할 수 있다.The power management module 295 may manage the power of the electronic device 201, for example. According to one embodiment, the power management module 295 may include a power management integrated circuit (PMIC), a charger integrated circuit (PMIC), or a battery or fuel gauge. The PMIC may have a wired and / or wireless charging scheme. The wireless charging scheme may include, for example, a magnetic resonance scheme, a magnetic induction scheme or an electromagnetic wave scheme, and may further include an additional circuit for wireless charging, for example, a coil loop, a resonant circuit, have. The battery gauge may measure, for example, the remaining amount of the battery 296, the voltage during charging, the current, or the temperature. The battery 296 may include, for example, a rechargeable battery and / or a solar battery.

상기 인디케이터(297)는 상기 전자 장치(201) 또는 그 일부(예: 상기 프로세서(210))의 특정 상태, 예를 들어, 부팅 상태, 메시지 상태 또는 충전 상태 등을 표시할 수 있다. 상기 모터(298)는 전기적 신호를 기계적 진동으로 변환할 수 있고, 진동(vibration), 또는 햅틱(haptic) 효과 등을 발생시킬 수 있다. 도시되지는 않았으나, 상기 전자 장치(201)는 모바일 TV 지원을 위한 처리 장치(예: GPU)를 포함할 수 있다. 모바일 TV 지원을 위한 처리 장치는, 예를 들어, DMB(digital multimedia broadcasting), DVB(digital video broadcasting), 또는 미디어플로(MediaFloTM)등의 규격에 따른 미디어 데이터를 처리할 수 있다.The indicator 297 may indicate a particular state of the electronic device 201 or a portion thereof (e.g., the processor 210), e.g., a boot state, a message state, or a state of charge. The motor 298 can convert an electrical signal to mechanical vibration and can cause vibration, haptic effects, and the like. Although not shown, the electronic device 201 may include a processing unit (e.g., a GPU) for mobile TV support. The processing device for mobile TV support can process media data according to standards such as digital multimedia broadcasting (DMB), digital video broadcasting (DVB), or MediaFlo ( TM ), for example.

본 문서에서 기술된 구성요소들 각각은 하나 또는 그 이상의 부품(component)으로 구성될 수 있으며, 해당 구성요소의 명칭은 전자 장치의 종류에 따라서 달라질 수 있다. 다양한 실시예에서, 전자 장치는 본 문서에서 기술된 구성요소 중 적어도 하나를 포함하여 구성될 수 있으며, 일부 구성요소가 생략되거나 또는 추가적인 다른 구성요소를 더 포함할 수 있다. 또한, 다양한 실시예에 따른 전자 장치의 구성요소들 중 일부가 결합되어 하나의 개체(entity)로 구성됨으로써, 결합되기 이전의 해당 구성요소들의 기능을 동일하게 수행할 수 있다.Each of the components described in this document may be composed of one or more components, and the name of the component may be changed according to the type of the electronic device. In various embodiments, the electronic device may comprise at least one of the components described herein, some components may be omitted, or may further include additional other components. In addition, some of the components of the electronic device according to various embodiments may be combined into one entity, so that the functions of the components before being combined can be performed in the same manner.

도 3은 본 발명의 일 실시예에 따른 프로그램 모듈의 블록도이다.3 is a block diagram of a program module in accordance with an embodiment of the present invention.

한 실시예에 따르면, 프로그램 모듈(300)(예: 프로그램(140))은 전자 장치(예: 상기 전자 장치(101))에 관련된 자원을 제어하는 운영 체제(Operating System; OS) 및/또는 운영 체제 상에서 구동되는 다양한 어플리케이션(예: 상기 어플리케이션 프로그램(147))을 포함할 수 있다. 운영 체제는, 예를 들어, 안드로이드(android), iOS, 윈도우즈(windows), 심비안(symbian), RTOS(Realtime OS), 리눅스(Linux), 웹오에스(webOS), P2P(Peer to Peer)기반의 특징을 가지는 OS, 또는 타이젠(tizen) 등이 될 수 있다.According to one embodiment, the program module 300 (e.g., program 140) includes an operating system (OS) and / or an operating system (OS) that controls resources associated with an electronic device (E. G., The application program 147) running on the system. The operating system can be, for example, android, iOS, windows, symbian, RTOS, Linux, webOS, peer to peer An OS having a characteristic, a tizen, or the like.

상기 프로그램 모듈(300)은 커널(320), 미들웨어(330), 어플리케이션 프로그래밍 인터페이스(application programming interface (API))(360), 및/또는 어플리케이션(370)을 포함할 수 있다. 상기 프로그램 모듈(300)의 적어도 일부는 전자 장치 상에 프리로드(preload) 되거나, 외부 전자 장치(예: 외부 전자 장치(102, 104), 서버(106)등)로부터 다운로드(download) 가능하다.The program module 300 may include a kernel 320, a middleware 330, an application programming interface (API) 360, and / or an application 370. At least a portion of the program module 300 may be preloaded on an electronic device or downloaded from an external electronic device such as an external electronic device 102 or 104 or a server 106 or the like.

상기 커널(320)(예: 상기 커널(141))은, 예를 들어, 시스템 리소스 매니저(321) 및/또는 디바이스 드라이버(323)를 포함할 수 있다. 상기 시스템 리소스 매니저(321)는 시스템 리소스의 제어, 할당, 또는 회수 등을 수행할 수 있다. 한 실시 예에 따르면, 상기 시스템 리소스 매니저(321)는 프로세스 관리부, 메모리 관리부, 또는 파일 시스템 관리부 등을 포함할 수 있다. 상기 디바이스 드라이버(323)는, 예를 들어, 디스플레이 드라이버, 카메라 드라이버, 블루투스 드라이버, 공유 메모리 드라이버, USB 드라이버, 키패드 드라이버, Wi-Fi 드라이버, 오디오 드라이버, 또는 IPC(inter process communication) 드라이버를 포함할 수 있다.The kernel 320 (e.g., the kernel 141) may include, for example, a system resource manager 321 and / or a device driver 323. The system resource manager 321 can perform control, assignment, or recovery of system resources. According to one embodiment, the system resource manager 321 may include a process management unit, a memory management unit, or a file system management unit. The device driver 323 may include, for example, a display driver, a camera driver, a Bluetooth driver, a shared memory driver, a USB driver, a keypad driver, a Wi-Fi driver, an audio driver, or an interprocess communication .

상기 미들웨어(330)는, 예를 들어, 상기 어플리케이션(370)이 공통적으로 필요로 하는 기능을 제공하거나, 상기 어플리케이션(370)이 전자 장치 내부의 제한된 시스템 자원을 효율적으로 사용할 수 있도록 상기 API(360)를 통해 다양한 기능들을 상기 어플리케이션(370)으로 제공할 수 있다. 한 실시 예에 따르면, 상기 미들웨어(330)(예: 미들웨어(143))는 런타임라이브러리(335), 어플리케이션 매니저(application manager)(341), 윈도우 매니저(window manager)(342), 멀티미디어 매니저(multimedia manager)(343), 리소스 매니저(resource manager)(344), 파워 매니저(power manager)(345), 데이터베이스 매니저(database manager)(346), 패키지 매니저(package manager)(347), 연결 매니저(connectivity manager)(348), 통지 매니저(notification manager)(349), 위치 매니저(location manager)(350), 그래픽 매니저(graphic manager)(351), 또는 보안 매니저(security manager)(352) 중 적어도 하나를 포함할 수 있다.The middleware 330 may provide the functionality commonly required by the application 370 or may be provided to the application 370 in order to allow the application 370 to efficiently use limited system resources within the electronic device. The various functions can be provided to the application 370. [ According to one embodiment, the middleware 330 (e.g., middleware 143) includes a runtime library 335, an application manager 341, a window manager 342, a multimedia manager a manager 343, a resource manager 344, a power manager 345, a database manager 346, a package manager 347, a connectivity manager 344, at least one of a manager 348, a notification manager 349, a location manager 350, a graphic manager 351, or a security manager 352 .

상기 런타임 라이브러리(335)는, 예를 들어, 상기 어플리케이션(370)이 실행되는 동안에 프로그래밍 언어를 통해 새로운 기능을 추가하기 위해 컴파일러가 사용하는 라이브러리 모듈을 포함할 수 있다. 상기 런타임 라이브러리(335)는 입출력 관리, 메모리 관리, 또는 산술 함수에 대한 기능 등을 수행할 수 있다.The runtime library 335 may include, for example, a library module that the compiler uses to add new functionality via a programming language while the application 370 is running. The runtime library 335 may perform input / output management, memory management, or functions for arithmetic functions.

상기 어플리케이션 매니저(341)는, 예를 들어, 상기 어플리케이션(370) 중 적어도 하나의 어플리케이션의 생명 주기(lifecycle)를 관리할 수 있다. 상기 윈도우 매니저(342)는 화면에서 사용하는 GUI 자원을 관리할 수 있다. 상기 멀티미디어 매니저(343)는 다양한 미디어 파일들의 재생에 필요한 포맷을 파악하고, 해당 포맷에 맞는 코덱(codec)을 이용하여 미디어 파일의 인코딩(encoding) 또는 디코딩(decoding)을 수행할 수 있다. 상기 리소스 매니저(344)는 상기 어플리케이션(370) 중 적어도 어느 하나의 어플리케이션의 소스 코드, 메모리 또는 저장 공간 등의 자원을 관리할 수 있다.The application manager 341 may manage the lifecycle of at least one of the applications 370, for example. The window manager 342 can manage GUI resources used in the screen. The multimedia manager 343 can recognize a format required for reproducing various media files and can encode or decode a media file using a codec suitable for the format. The resource manager 344 may manage resources such as a source code, a memory, or a storage space of at least one of the applications 370.

상기 파워 매니저(345)는, 예를 들어, 바이오스(BIOS: basic input/output system) 등과 함께 동작하여 배터리(battery) 또는 전원을 관리하고, 전자 장치의 동작에 필요한 전력 정보 등을 제공할 수 있다. 상기 데이터베이스 매니저(346)는 상기 어플리케이션(370) 중 적어도 하나의 어플리케이션에서 사용할 데이터베이스를 생성, 검색, 또는 변경할 수 있다. 상기 패키지 매니저(347)는 패키지 파일의 형태로 배포되는 어플리케이션의 설치 또는 업데이트를 관리할 수 있다.The power manager 345 operates together with a basic input / output system (BIOS), for example, to manage a battery or a power source, and can provide power information and the like necessary for the operation of the electronic device . The database manager 346 may create, search, or modify a database for use in at least one of the applications 370. The package manager 347 can manage installation or update of an application distributed in the form of a package file.

상기 연결 매니저(348)는, 예를 들어, Wi-Fi 또는 블루투스 등의 무선 연결을 관리할 수 있다. 상기 통지 매니저(349)는 도착 메시지, 약속, 근접성 알림 등의 사건(event)을 사용자에게 방해되지 않는 방식으로 표시 또는 통지할 수 있다. 상기 위치 매니저(350)는 전자 장치의 위치 정보를 관리할 수 있다. 본 발명에서 표현하는 위치정보는 GPS(Global Positioning System) 정보 뿐만아니라, 가속도 센서 정보, 자이로 센서 정보, LBS(Location Based Service)를 위한 실내 좌표 센서 정보, 네트워크 기반으로 추정되는 위치 정보, 통신망을 이용한 위치 정보, 및 그 외 신규 전자 장치로부터 전달받은 움직임과 관련된 위치 정보를 포함할 수 있다. 상기 그래픽 매니저(351)는 사용자에게 제공될 그래픽 효과 또는 이와 관련된 사용자 인터페이스를 관리할 수 있다. 상기 보안 매니저(352)는 시스템 보안 또는 사용자 인증 등에 필요한 제반 보안 기능을 제공할 수 있다. 한 실시예에 따르면, 전자 장치(예: 상기 전자 장치(101))가 전화 기능을 포함한 경우, 상기 미들웨어(330)는 전자 장치의 음성 또는 영상 통화 기능을 관리하기 위한 통화 매니저(telephony manager)를 더 포함할 수 있다.The connection manager 348 may manage wireless connections, such as, for example, Wi-Fi or Bluetooth. The notification manager 349 may display or notify events such as arrival messages, appointments, proximity notifications, etc. in a manner that does not interfere with the user. The location manager 350 may manage the location information of the electronic device. The position information represented by the present invention may include not only GPS (Global Positioning System) information but also acceleration sensor information, gyro sensor information, indoor coordinate sensor information for LBS (location based service), position information estimated on a network basis, Location information, and location information associated with movement received from the new electronic device. The graphic manager 351 may manage a graphic effect to be provided to the user or a user interface related thereto. The security manager 352 may provide security functions necessary for system security or user authentication. According to one embodiment, when the electronic device (e.g., the electronic device 101) includes a telephone function, the middleware 330 may include a telephony manager for managing the voice or video call function of the electronic device .

상기 미들웨어(330)는 전술된 구성요소들의 다양한 기능의 조합을 형성하는 미들웨어 모듈을 포함할 수 있다. 상기 미들웨어(330)는 차별화된 기능을 제공하기 위해 운영 체제의 종류 별로 특화된 모듈을 제공할 수 있다. 또한, 상기 미들웨어(330)는 동적으로 기존의 구성요소를 일부 삭제하거나 새로운 구성요소들을 추가할 수 있다.The middleware 330 may include a middleware module that forms a combination of various functions of the above-described components. The middleware 330 may provide a module specialized for each type of operating system to provide a differentiated function. In addition, the middleware 330 may dynamically delete some existing components or add new components.

상기 API(360)(예: API(145))는, 예를 들어, API 프로그래밍 함수들의 집합으로, 운영 체제에 따라 다른 구성으로 제공될 수 있다. 예를 들어, 안드로이드 또는 iOS의 경우, 플랫폼 별로 하나의 API 셋을 제공할 수 있으며, 타이젠(tizen)의 경우, 플랫폼 별로 두 개 이상의 API 셋을 제공할 수 있다.The API 360 (e.g., API 145) may be provided in a different configuration depending on the operating system, for example, as a set of API programming functions. For example, for Android or iOS, you can provide one API set per platform, and for tizen, you can provide more than one API set per platform.

상기 어플리케이션(370)(예: 상기 어플리케이션 프로그램(147))은, 예를 들어, 홈(371), 다이얼러(dialer)(372), SMS/MMS(373), IM(instant message)(374), 브라우저(375), 카메라(376), 알람(377), 컨택트(378), 음성 다이얼(379), 이메일(380), 달력(381), 미디어 플레이어(382), 앨범(383), 또는 시계(384), 건강 관리(health care)(예: 운동량 또는 혈당 등을 측정), 또는 환경 정보 제공(예: 기압, 습도, 또는 온도 정보 등을 제공) 등의 기능을 수행할 수 있는 하나 이상의 어플리케이션을 포함할 수 있다.The application 370 (e.g., the application program 147) may include, for example, a home 371, a dialer 372, an SMS / MMS 373, an instant message 374, A calendar 378, a camera 376, an alarm 377, a contact 378, a voice dial 379, an email 380, a calendar 381, a media player 382, an album 383, 384), one or more applications capable of performing functions such as health care (e.g., measuring exercise or blood glucose), or providing environmental information (e.g., providing atmospheric pressure, humidity, or temperature information) .

한 실시예에 따르면, 상기 어플리케이션(370)은 전자 장치(예: 상기 전자 장치(101))와 외부 장치(예: 전자 장치(102, 104)) 사이의 정보 교환을 지원하는 어플리케이션(이하, 설명의 편의 상, "정보 교환 어플리케이션")을 포함할 수 있다. 정보 교환 어플리케이션은, 예를 들어, 외부 장치에 특정 정보를 전달하기 위한 알림 전달(notification relay) 어플리케이션, 또는 외부 장치를 관리하기 위한 장치 관리(device management) 어플리케이션을 포함할 수 있다.According to one embodiment, the application 370 is an application (hereinafter referred to as an application) that supports information exchange between an electronic device (e.g., the electronic device 101) and an external device (e.g., electronic devices 102 and 104) Quot; information exchange application " for convenience of description). The information exchange application may include, for example, a notification relay application for transferring specific information to an external device, or a device management application for managing an external device.

예를 들어, 상기 알림 전달 어플리케이션은 전자 장치의 다른 어플리케이션(예: SMS/MMS 어플리케이션, 이메일 어플리케이션, 건강 관리 어플리케이션, 또는 환경 정보 어플리케이션 등)에서 발생된 알림 정보를 외부 장치(예: 전자 장치(102, 104))로 전달하는 기능을 포함할 수 있다. 또한, 상기 알림 전달 어플리케이션은, 예를 들어, 외부 전자 장치로부터 알림 정보를 수신하여 사용자에게 제공할 수 있다.For example, the notification delivery application may transmit notification information generated by another application (e.g., an SMS / MMS application, an email application, a healthcare application, or an environment information application) of the electronic device to an external device , 104), respectively. In addition, the notification delivery application may receive notification information from, for example, an external electronic device and provide the notification information to the user.

상기 장치 관리 어플리케이션은, 예를 들어, 전자 장치와 통신하는 외부 장치(예: 전자 장치(102, 104))의 적어도 하나의 기능(예: 외부 장치 자체(또는 일부 구성 부품)의 턴-온/턴-오프 또는 디스플레이의 밝기(또는 해상도) 조절), 외부 장치에서 동작하는 어플리케이션 또는 외부 장치에서 제공되는 서비스(예: 통화 서비스 또는 메시지 서비스 등)를 관리(예: 설치, 삭제, 또는 업데이트)할 수 있다.The device management application may include at least one function (e.g., turn-on / turn-off) of an external device itself (or some component) (Eg, install, delete, or update) an application running on an external device or services provided by an external device (such as a call service or a message service) .

한 실시예에 따르면, 상기 어플리케이션(370)은 외부 장치(예: 전자 장치(102, 104))의 속성(에 따라 지정된 어플리케이션(예: 모바일 의료 기기의 건강 관리 어플리케이션 등)을 포함할 수 있다. 한 실시예에 따르면, 상기 어플리케이션(370)은 외부 장치(예: 서버(106) 또는 전자 장치(102, 104))로부터 수신된 어플리케이션을 포함할 수 있다. 한 실시예에 따르면, 상기 어플리케이션(370)은 프리로드 어플리케이션(preloaded application) 또는 서버로부터 다운로드 가능한 제3자 어플리케이션(third party application)을 포함할 수 있다. 도시된 실시 예에 따른 상기 프로그램 모듈(310)의 구성요소들의 명칭은 운영 체제의 종류에 따라서 달라질 수 있다.According to one embodiment, the application 370 may include an application (e.g., a healthcare application of a mobile medical device, etc.) designated according to an attribute of an external device (e.g., electronic device 102, 104). According to one embodiment, the application 370 may include an application received from an external device (e.g., server 106 or electronic device 102, 104). According to one embodiment, the application 370 May include a preloaded application or a third party application downloadable from a server. The names of the components of the program module 310 according to the illustrated embodiment include the name of the operating system Depending on the type.

다양한 실시예에 따르면, 상기 프로그램 모듈(310)의 적어도 일부는 소프트웨어, 펌웨어, 하드웨어, 또는 이들 중 적어도 둘 이상의 조합으로 구현될 수 있다. 상기 프로그램 모듈(300)의 적어도 일부는, 예를 들어, 프로세서(예: 상기 프로세서(210))에 의해 구현(implement)(예: 실행)될 수 있다. 상기 프로그램 모듈(300)의 적어도 일부는 하나 이상의 기능을 수행하기 위한, 예를 들어, 모듈, 프로그램, 루틴, 명령어 세트(sets of instructions) 또는 프로세스 등을 포함할 수 있다.According to various embodiments, at least some of the program modules 310 may be implemented in software, firmware, hardware, or a combination of at least two of them. At least some of the program modules 300 may be implemented (e.g., executed) by, for example, a processor (e.g., the processor 210). At least some of the program modules 300 may include, for example, modules, programs, routines, sets of instructions or processes, etc. to perform one or more functions.

본 문서에서 사용된 용어 "모듈"은, 예를 들어, 하드웨어, 소프트웨어 또는 펌웨어(firmware) 중 하나 또는 둘이상의 조합을 포함하는 단위(unit)를 의미할 수 있다. "모듈"은, 예를 들어, 유닛(unit), 로직(logic), 논리블록(logical block), 부품(component), 또는 회로(circuit) 등의 용어와 바꾸어 사용(interchangeably use)될 수 있다. "모듈"은, 일체로 구성된 부품의 최소 단위 또는 그 일부가 될 수 있다. "모듈"은 하나 또는 그 이상의 기능을 수행하는 최소 단위 또는 그 일부가 될 수도 있다. "모듈"은 기계적으로 또는 전자적으로 구현될 수 있다. 예를 들어,"모듈"은, 알려졌거나 앞으로 개발될, 어떤 동작들을 수행하는 ASIC(application-specific integrated circuit) 칩, FPGAs(field-programmable gate arrays) 또는 프로그램 가능 논리 장치(programmable-logic device) 중 적어도 하나를 포함할 수 있다.As used herein, the term " module " may refer to a unit comprising, for example, one or more combinations of hardware, software or firmware. &Quot; Module " may be interchangeably used with terms such as, for example, unit, logic, logical block, component, or circuit. A " module " may be a minimum unit or a portion of an integrally constructed component. A " module " may be a minimum unit or a portion thereof that performs one or more functions. &Quot; Modules " may be implemented either mechanically or electronically. For example, a " module " may be an application-specific integrated circuit (ASIC) chip, field-programmable gate arrays (FPGAs) or programmable-logic devices that perform known or later- And may include at least one.

다양한 실시예에 따른 장치(예: 모듈들 또는 그 기능들) 또는 방법(예: 동작들)의 적어도 일부는, 예컨대, 프로그램 모듈의 형태로 컴퓨터로 읽을 수 있는 저장매체(computer-readable storage media)에 저장된 명령어로 구현될 수 있다. 상기 명령어가 프로세서(예: 상기 프로세서(120))에 의해 실행될 경우, 상기 하나 이상의 프로세서가상기 명령어에 해당하는 기능을 수행할 수 있다. 컴퓨터로 읽을 수 있는 저장매체는, 예를 들어, 상기 메모리(130)가 될 수 있다.At least a portion of a device (e.g., modules or functions thereof) or a method (e.g., operations) according to various embodiments may include, for example, computer-readable storage media in the form of program modules, As shown in FIG. When the instruction is executed by a processor (e.g., the processor 120), the one or more processors may perform a function corresponding to the instruction. The computer readable storage medium may be, for example, the memory 130. [

컴퓨터로 판독 가능한 기록 매체는, 하드디스크, 플로피디스크, 마그네틱 매체(magnetic media)(예: 자기테이프), 광기록 매체(optical media)(예: CD-ROM(compact disc read only memory), DVD(digitalversatile disc), 자기-광 매체(magneto-optical media)(예: 플롭티컬 디스크(floptical disk)), 하드웨어 장치(예: ROM(read only memory), RAM(random access memory), 또는 플래시 메모리 등) 등을 포함할 수 있다. 또한, 프로그램 명령에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함할 수 있다. 상술한 하드웨어 장치는 다양한 실시예의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지다.The computer readable recording medium may be a hard disk, a floppy disk, a magnetic media (e.g., a magnetic tape), an optical media (e.g., a compact disc read only memory (CD-ROM) a magneto-optical media (e.g., a floptical disk), a hardware device (e.g., read only memory (ROM), random access memory (RAM) Etc. Also, the program instructions may include machine language code such as those produced by a compiler, as well as high-level language code that may be executed by a computer using an interpreter, etc. The above- May be configured to operate as one or more software modules to perform exemplary operations, and vice versa.

다양한 실시예에 따른 모듈 또는 프로그램 모듈은 전술된 구성요소들 중 적어도 하나 이상을 포함하거나, 일부가 생략되거나, 또는 추가적인 다른 구성요소를 더 포함할 수 있다. 다양한 실시예에 따른 모듈, 프로그램 모듈 또는 다른 구성요소에 의해 수행되는 동작들은 순차적, 병렬적, 반복적 또는 휴리스틱(heuristic)한 방법으로 실행될 수 있다. 또한, 일부 동작은 다른 순서로 실행되거나, 생략되거나, 또는 다른 동작이 추가될 수 있다.Modules or program modules according to various embodiments may include at least one or more of the components described above, some of which may be omitted, or may further include other additional components. Operations performed by modules, program modules, or other components in accordance with various embodiments may be performed in a sequential, parallel, iterative, or heuristic manner. Also, some operations may be performed in a different order, omitted, or other operations may be added.

도 4는 예시적인 2 차원 바코드를 이용한 인증 방법의 개념을 나타내는 도면이다.4 is a diagram showing a concept of an authentication method using an exemplary two-dimensional bar code.

한 실시예에 따르면, 전자 장치는 2 차원 바코드를 인식할 수 있다. 예를 들어, 2 차원 바코드는 QR 코드(QR code, Quick Response code)를 포함할 수 있다. 전자 장치에 대한 구체적인 내용은 전술한 전자 장치에 관련되는 내용을 모두 포함할 수 있다.According to one embodiment, the electronic device is capable of recognizing a two-dimensional barcode. For example, the two-dimensional bar code may include a QR code (QR code). The details of the electronic device may include all contents related to the electronic device described above.

QR 코드는 흑백 격자 무늬 패턴으로 정보를 나타내는 매트릭스 형식의 2 차원 바코드이다. 일반 바코드는 단방향(1 차원)으로 숫자나 문자 정보를 저장할 수 있는데, QR 코드는 종횡으로 2 차원 형태를 가져서 더 많은 정보를 가질 수 있으며, 사진, 동영상, 지도, 명함, 텍스트, 및 URL(Uniform Resource Locator) 정보 등 다양한 정보를 더 편리하게 담아낼 수 있다. QR 코드는 제품 또는 화면에 표시될 수 있다.The QR code is a two-dimensional bar code in the form of a matrix representing information in a black and white plaid pattern. Normal bar codes can store numeric or textual information in one direction (1D). QR codes can have more information with vertical and horizontal two-dimensional form and can contain more information such as pictures, videos, maps, business cards, Resource Locator) information and so on. The QR code can be displayed on the product or on the screen.

사용자는 2 차원 바코드를 전자 장치로 인식하고, 2 차원 바코드에 포함된 정보를 추출할 수 있다. 예를 들어, 2 차원 바코드에 포함된 정보가 URL 정보인 경우, 전자 장치는 2 차원 바코드에 대응되는 URL 정보를 기초로 인터넷을 통하여 특정 웹 사이트에 접속할 수 있다.The user can recognize the two-dimensional bar code as an electronic device and extract information contained in the two-dimensional bar code. For example, when the information contained in the two-dimensional bar code is URL information, the electronic device can access a specific web site through the Internet based on the URL information corresponding to the two-dimensional bar code.

본 명세서에 개시된 기술은 전자 장치를 이용하여 2 차원 바코드(410)를 인식할 수 있다. 2 차원 바코드(410)는 전술한 QR 코드의 특징을 모두 포함할 수 있다. 2 차원 바코드(410)에 대응되는 URL 정보(415)는 전용 어플리케이션(440)의 다운로드를 위한 다운로드 URL 정보(425) 및 암호화된 인증 코드(445)를 포함할 수 있다. 전용 어플리케이션(440), 인증 코드, 및 다운로드 URL 정보 등에 대하여는 이하에서 구체적으로 설명한다. 2 차원 바코드(410)는 외관 상으로는 QR 코드와 동일한 형식일 수 있으며, 내용 상으로는 다운로드 URL 정보 및 인증 코드 등의 정보를 포함할 수 있다.The techniques disclosed herein can recognize a two-dimensional bar code 410 using an electronic device. The two-dimensional bar code 410 may include all the features of the QR code described above. The URL information 415 corresponding to the two-dimensional bar code 410 may include download URL information 425 for downloading the dedicated application 440 and an encrypted authentication code 445. The dedicated application 440, authentication code, download URL information, and the like will be described in detail below. The two-dimensional bar code 410 may be in the same format as the QR code in appearance, and may include information such as download URL information and authentication code in content.

전자 장치는 공용 어플리케이션(420)을 통하여 2 차원 바코드를 인식할 수 있다. 공용 어플리케이션(420)이 2 차원 바코드(410)를 인식하는 경우, 공용 어플리케이션(420)은 다운로드 URL 정보(425) 및 인증 코드(445)가 포함된 URL 정보(415)를 그대로 다운로드 서버(430)으로 전송할 수 있다. 다운로드 서버(430)에서는 URL 정보(415) 중에서 다운로드 URL 정보(425)만 인식되므로, 공용 어플리케이션(420)을 통하여 다운로드 URL 정보(425)만 다운로드 서버(430)로 전송되는 것처럼 보일 수 있다.The electronic device can recognize the two-dimensional bar code through the common application 420. [ When the public application 420 recognizes the two-dimensional bar code 410, the public application 420 directly downloads the URL information 415 including the download URL information 425 and the authentication code 445 to the download server 430, As shown in FIG. Only the download URL information 425 is recognized from the URL information 415 in the download server 430 so that only the download URL information 425 may be transmitted to the download server 430 through the common application 420.

다운로드 URL 정보(425)는 다운로드 서버(430) 상에서 전용 어플리케이션의 획득을 위한 위치를 지시할 수 있다. 예를 들어, 다운로드 URL 정보(425)는 다운로드 서버(430) 상에서 전용 어플리케이션이 저장된 위치 및/또는 전용 어플리케이션을 다운로드할 수 있는 페이지의 위치를 지시할 수 있다. 전자 장치는, 공용 어플리케이션(420)을 이용하여, 다운로드 URL 정보(425)를 기초로 다운로드 서버(430)에 접속할 수 있다. 그리고 나서, 전자 장치는 전용 어플리케이션을 다운로드하고, 설치할 수 있다.The download URL information 425 may indicate a location for acquiring a dedicated application on the download server 430. [ For example, the download URL information 425 may indicate the location where the dedicated application is stored on the download server 430 and / or the page where the dedicated application can be downloaded. The electronic device can access the download server 430 based on the download URL information 425 using the common application 420. [ The electronic device can then download and install a dedicated application.

다운로드 서버(430)는 적어도 하나의 어플리케이션을 저장할 수 있다. 예를 들어, 다운로드 서버(430)는 전용 어플리케이션을 저장할 수 있다. 또한, 다운로드 서버(430)는 전자 장치에게 전용 어플리케이션(440)을 제공할 수 있다.The download server 430 may store at least one application. For example, the download server 430 may store a dedicated application. In addition, the download server 430 may provide a dedicated application 440 to the electronic device.

예를 들어, 다운로드 서버(430)는 전자 장치로부터 공용 어플리케이션(420)을 통하여 다운로드 URL 정보(425) 및 인증 코드(445)가 포함된 URL 정보(415)를 수신할 수 있다. 이 경우, 다운로드 서버(430)는 전용 어플리케이션(440)의 제공을 위한 다운로드 URL 정보(425)를 인식하고, 암호화된 인증 코드(445)는 무시할 수 있다. 예를 들어, 다운로드 서버(430)는 URL 정보(415) 중에서 다운로드 URL 정보(425)만을 인식하고, 전용 어플리케이션의 위치 정보 및/또는 전용 어플리케이션을 다운로드할 수 있는 페이지의 위치 정보를 전자 장치에 제공할 수 있다. 또한, 다운로드 서버(430)는 전자 장치의 요청을 기초로 전용 어플리케이션(440)을 전자 장치로 전송할 수 있다.For example, the download server 430 may receive the URL information 415 including the download URL information 425 and the authentication code 445 from the electronic device through the public application 420. [ In this case, the download server 430 recognizes the download URL information 425 for providing the dedicated application 440, and can ignore the encrypted authentication code 445. For example, the download server 430 recognizes only the download URL information 425 from the URL information 415, and provides location information of a dedicated application and / or location information of a page from which a dedicated application can be downloaded to an electronic device can do. In addition, the download server 430 may send the dedicated application 440 to the electronic device based on the request of the electronic device.

전자 장치는 전용 어플리케이션(440)을 통하여 2 차원 바코드(410)를 인식하고, 2 차원 바코드(410)에 대응되는 URL 정보에 포함된 암호화된 인증 코드가 인증 서버(450)에 이미 등록되어 있는지 여부에 대한 정보를 제공할 수 있다. 전용 어플리케이션(440)은 URL 정보 중에서 암호화된 인증 코드를 인식함으로써 종래의 2 차원 바코드 및/또는 공용 어플리케이션(420)이 가진 보안상의 약점을 극복할 수 있다.The electronic device recognizes the two-dimensional bar code 410 through the dedicated application 440 and determines whether the encrypted authentication code included in the URL information corresponding to the two-dimensional bar code 410 is already registered in the authentication server 450 Can be provided. The dedicated application 440 can overcome the security weakness of the conventional two-dimensional bar code and / or common application 420 by recognizing the encrypted authentication code in the URL information.

2 차원 바코드(410)가 URL 정보(415)를 포함하고 있는 경우, 전용 어플리케이션(440)은 2 차원 바코드(440)에 대응되는 URL 정보를 획득할 수 있다. 전용 어플리케이션(440)은 2 차원 바코드에 대응되는 URL 정보에 포함된 다운로드 URL 정보 및 암호화된 인증 코드(445)를 모두 획득할 수 있다. 암호화된 인증 코드(445)는 다운로드 URL 정보(425)에 HTTP(HyperText Transfer Protocol) GET 파라미터로 추가될 수 있다.When the two-dimensional bar code 410 includes the URL information 415, the dedicated application 440 can obtain the URL information corresponding to the two-dimensional bar code 440. The dedicated application 440 can obtain both the download URL information included in the URL information corresponding to the two-dimensional bar code and the encrypted authentication code 445. [ The encrypted authentication code 445 may be added to the download URL information 425 as a HTTP (HyperText Transfer Protocol) GET parameter.

암호화된 인증 코드(445)는 전용 어플리케이션(440)이 저장된 다운로드 서버(430)에서는 무시되고, 전용 어플리케이션(440)에서만 인식되는 파라미터일 수 있다. 예를 들어, 암호화된 인증 코드의 파라미터 네임은 "acode"이고, 파라미터 벨류는 "1#@%&^98*$"일 수 있다. 암호화된 인증 코드의 파리미터 네임 및 파라미터 벨류는 다른 값을 가질 수 있다.The encrypted authentication code 445 may be ignored by the download server 430 in which the dedicated application 440 is stored and may be a parameter recognized only in the dedicated application 440. [ For example, the parameter name of the encrypted authentication code may be "acode" and the parameter value may be "1 # @% & ^ 98 * $". The parameter name and parameter value of the encrypted authentication code may have different values.

전용 어플리케이션(440)은 인증 코드를 전송할 인증 서버(450)를 등록할 수 있다. 인증 서버(450)는 전용 어플리케이션(440)에 미리 등록되어 있을 수도 있고, 전자 장치에 설치된 이후에 전용 어플리케이션(440)에 의해서 등록 및/또는 업데이트될 수도 있다.Dedicated application 440 may register an authentication server 450 to send an authentication code. The authentication server 450 may be previously registered in the dedicated application 440 or may be registered and / or updated by the dedicated application 440 after it is installed in the electronic device.

그리고 나서, 전용 어플리케이션(440)은 암호화된 인증 코드(445)를 인증 서버(450)로 전송할 수 있다. 인증 서버(450)는 전용 어플리케이션(440)에 등록된 서버를 포함할 수 있다. 전용 어플리케이션(445)는 적어도 하나의 인증 서버(450)의 주소를 저장할 수 있다. 전용 어플리케이션(440)은 암호화된 인증 코드(445)를 기초로 대응되는 인증 서버(450)를 결정할 수 있다. 그리고 나서, 전용 어플리케이션(440)은 등록된 인증 서버(450)의 주소를 기초로 암호화된 인증 코드를 대응되는 인증 서버(450)로 전송할 수 있다.The dedicated application 440 may then send the encrypted authentication code 445 to the authentication server 450. The authentication server 450 may include a server registered in the dedicated application 440. The dedicated application 445 may store the address of at least one authentication server 450. The dedicated application 440 can determine the corresponding authentication server 450 based on the encrypted authentication code 445. [ The dedicated application 440 may then send the encrypted authentication code to the corresponding authentication server 450 based on the address of the registered authentication server 450.

인증 서버(450)는 전자 장치의 전용 어플리케이션(440)으로부터 암호화된 인증 코드(445)를 수신할 수 있다. 또한, 인증 서버(450)는 암호화된 인증 코드(445)를 해석할 수 있다. 또한, 인증 서버(450)는 암호화된 인증 코드(445)가 인증 서버(450)에 이미 등록된 인증 코드인지 아니면, 아직 등록되지 않은 새로운 인증 코드인지 여부를 판단할 수 있다.The authentication server 450 may receive the encrypted authentication code 445 from the dedicated application 440 of the electronic device. In addition, the authentication server 450 may interpret the encrypted authentication code 445. In addition, the authentication server 450 can determine whether the encrypted authentication code 445 is not an authentication code that has already been registered with the authentication server 450, or a new authentication code that has not yet been registered.

그리고 나서, 인증 서버(450)는 인증 코드에 대한 응답 정보를 전용 어플리케이션(440)으로 전송할 수 있다. 예를 들어, 응답 정보는 인증 코드(445)가 인증 서버(450)에 최초로 등록되는지 아니면 인증 서버(450)에 이미 등록된 동일한 인증 코드(445)가 존재하는지 여부를 지시할 수 있다.The authentication server 450 may then send the response information for the authentication code to the dedicated application 440. [ For example, the response information may indicate whether the authentication code 445 is initially registered with the authentication server 450 or if the same authentication code 445 already registered with the authentication server 450 exists.

전자 장치는 전용 어플리케이션(440)을 통하여 인증 서버(450)로부터 응답 정보를 수신하고, 응답 정보를 사용자에게 제공할 수 있다. 예를 들어, 전용 어플리케이션(440)은 진동, 오디오, 및/또는 디스플레이를 이용하여 응답 정보를 사용자에게 제공할 수 있다.The electronic device can receive the response information from the authentication server 450 through the dedicated application 440 and provide the response information to the user. For example, dedicated application 440 may provide response information to a user using vibration, audio, and / or display.

이와 같이, 2 차원 바코드(410)는 전용 어플리케이션(440)에 의해서만 인식이 가능한 암호화된 인증 코드(445)를 제공함으로써, 보안을 강화할 수 있다.Thus, the two-dimensional barcode 410 can provide security by providing an encrypted authentication code 445 that can be recognized only by the dedicated application 440.

또한, 2 차원 바코드(410)는 하나의 바코드로 두 가지 정보를 제공하기 때문에, 2 차원 바코드의 생성자는 두 개의 바코드를 별도로 생성할 필요 없이 하나의 2 차원 바코드 만을 생성해도 된다. 또한, 2 차원 바코드의 사용자는 두 개의 바코드를 별도로 인식할 필요 없이 하나의 2 차원 바코드만 인식해도 된다. 이러한 점에서 2 차원 바코드는 생성자 및 사용자에게 생성 및 사용 상의 편의를 제공할 수 있다.In addition, since the two-dimensional bar code 410 provides two types of information with one bar code, the producer of the two-dimensional bar code may generate only one two-dimensional bar code without generating two bar codes separately. Further, the user of the two-dimensional bar code may recognize only one two-dimensional bar code without having to recognize the two bar codes separately. In this respect, the two-dimensional barcode can provide convenience to the creator and user for creation and use.

도 5는 예시적인 전용 어플리케이션의 제어 방법을 나타내는 도면이다.5 is a diagram showing a control method of an exemplary dedicated application.

전자 장치는, 전용 어플리케이션을 이용하여, 2 차원 바코드를 인식할 수 있다(S510). 전용 어플리케이션은 공용 어플리케이션을 통하여 다운로드 서버로부터 수신되는 어플리케이션이다. 예를 들어, 전자 장치는, 전용 어플리케이션을 이용하여, 사용자의 입력을 기초로 2 차원 바코드를 촬영할 수 있다. 또한, 전자 장치는 공용 어플리케이션을 이용하여 촬영된 2 차원 바코드를 재사용할 수 있다.The electronic device can recognize the two-dimensional bar code using a dedicated application (S510). A dedicated application is an application received from a download server through a common application. For example, an electronic device can shoot a two-dimensional bar code based on a user's input using a dedicated application. Further, the electronic device can reuse the photographed two-dimensional bar code using a common application.

그리고 나서, 전자 장치는 2 차원 바코드에 대응되는 URL 정보로부터 암호화된 인증 코드를 추출할 수 있다(S520). URL 정보는 URL 정보로부터 인증 코드를 추출하는 어플리케이션의 다운로드를 위한 다운로드 URL 정보 및 암호화된 인증 코드를 포함할 수 있다. 전자 장치는 인증 코드를 식별하는 파라미터 네임을 확인할 수 있다. 또한, 전자 장치는 파라미터 네임을 기초로 URL 정보에 인증 코드가 존재하는지 여부를 판단할 수 있다. 인증 코드가 존재하는 경우, 전자 장치는 URL 정보로부터 파라미터 네임 및 파라미터 네임에 대응되는 파라미터 벨류를 획득할 수 있다.Then, the electronic device can extract the encrypted authentication code from the URL information corresponding to the two-dimensional bar code (S520). The URL information may include download URL information for downloading an application for extracting an authentication code from the URL information and an encrypted authentication code. The electronic device can identify the parameter name identifying the authentication code. Further, the electronic device can determine whether or not the authentication code exists in the URL information based on the parameter name. If an authentication code is present, the electronic device may obtain a parameter value corresponding to the parameter name and parameter name from the URL information.

그리고 나서, 전자 장치는 상기 인증 코드를 인증 서버로 전송할 수 있다(S530). 예를 들어, 전자 장치는 인증 코드를 해석할 수 있는 적어도 하나의 인증 서버를 탐색할 수 있다. 또한, 전자 장치는 탐색된 적어도 하나의 인증 서버를 등록할 수 있다. 전자 장치는 등록된 인증 서버들 중에서 추출된 인증 코드에 대응되는 인증 서버를 결정하고, 결정된 인증 서버로 추출된 인증 코드를 전송할 수 있다.Then, the electronic device can transmit the authentication code to the authentication server (S530). For example, the electronic device can search for at least one authentication server that can interpret the authentication code. Further, the electronic device may register at least one authentication server that has been searched. The electronic device can determine an authentication server corresponding to the extracted authentication code among the registered authentication servers and transmit the extracted authentication code to the determined authentication server.

그리고 나서, 전자 장치는 인증 코드에 대한 응답 정보를 수신할 수 있다(S540). 그리고 나서, 전자 장치는 응답 정보에 기초하여 인증 코드 처리 결과를 디스플레이할 수 있다(S550). 응답 정보는 인증 서버로 전송된 인증 코드와 동일한 인증 코드가 인증 서버에 이미 등록되어 있는지 여부를 지시할 수 있다. 응답 정보는 인증 코드에 대한 처리 결과를 지시하는 성공 메시지 및/또는 실패 메시지를 포함할 수 있다.The electronic device may then receive response information for the authentication code (S540). Then, the electronic device can display the authentication code processing result based on the response information (S550). The response information may indicate whether or not an authentication code identical to the authentication code transmitted to the authentication server has already been registered in the authentication server. The response information may include a success message and / or a failure message indicating a processing result for the authentication code.

일 실시예로, 인증 서버 또는 인증 코드 목록에 미리 저장된 인증 코드가 존재하지 않은 경우, 응답 정보는 인증 코드가 인증 서버 또는 인증 코드 목록에 성공적으로 등록되었음을 지시하는 성공 메시지, 및/또는 인증 코드가 인증 서버 또는 인증 코드 목록에 이미 등록되어 있음을 지시하는 실패 메시지를 포함할 수 있다.In one embodiment, if there is no authentication code pre-stored in the authentication server or in the authentication code list, the response information may include a success message indicating that the authentication code was successfully registered in the authentication server or authentication code list, and / A failure message indicating that it is already registered in the authentication server or the authentication code list.

다른 실시예로, 인증 서버의 인증 코드 목록에 미리 저장된 인증 코드가 존재하는 경우, 응답 정보는 인증 코드가 인증 서버에 미리 저장된 인증 코드 목록에 포함된 것을 확인하였음을 지시하는 성공 메시지, 및/또는 인증 코드가 인증 서버에 미리 저장된 인증 코드 목록에 포함되어 있지 않거나, 인증 코드 목록에 포함되었는지 여부가 적어도 한 번 확인되었음을 지시하는 실패 메시지를 포함할 수 있다. 인증 코드 목록에 미리 저장된 적어도 하나의 인증 코드는 인증 및/또는 등록이 가능한 것으로 미리 설정된 것일 수 있다. 따라서, 성공 메시지는 인증 서버에 수신된 인증 코드가 인증 서버의 인증 코드 목록에 존재하는 인증 코드와 매칭이 된다는 것을 지시하고, 실패 메시지는 인증 서버에 수신된 인증 코드가 인증 서버의 인증 코드 목록에 존재하는 인증 코드와 매칭이 안된다는 것을 지시할 수 있다.In another embodiment, if there is a pre-stored authentication code in the authentication code list of the authentication server, the response information includes a success message indicating that the authentication code has been confirmed to be included in the authentication code list stored in advance in the authentication server, and / A failure message indicating that the authentication code is not included in the authentication code list pre-stored in the authentication server, or whether it has been confirmed in the authentication code list at least once. The at least one authentication code pre-stored in the authentication code list may be one that has been previously set to be capable of authentication and / or registration. Therefore, the success message indicates that the authentication code received at the authentication server matches with the authentication code present in the authentication code list of the authentication server, and the failure message indicates that the authentication code received at the authentication server is included in the authentication code list of the authentication server And can not be matched with an existing authentication code.

예를 들어, 응답 정보는 인증 코드가 인증 서버에 최초로 등록되었다고 지시하는 성공 메시지를 포함할 수 있다. 또한, 응답 정보는 인증 코드와 동일한 인증 코드가 인증 서버에 이미 등록되어 있고, 인증 코드에 대한 인증이 적어도 한번 수행되었다고 지시하는 실패 메시지를 포함할 수 있다.For example, the response information may include a success message indicating that the authentication code was first registered with the authentication server. The response information may also include a failure message indicating that the same authentication code as the authentication code has already been registered with the authentication server and authentication for the authentication code has been performed at least once.

도 6은 예시적인 전용 어플리케이션을 이용하여 인증 코드를 추출하는 방법을 나타내는 도면이다.6 is a diagram showing a method of extracting an authentication code using an exemplary dedicated application.

전자 장치는 인증 코드를 식별하는 파라미터 네임을 확인할 수 있다(S610). 상기 인증 코드는 상기 전용 어플리케이션을 통해서 추출되고, 상기 전용 어플리케이션이 저장된 다운로드 서버에서는 무시될 수 있다. 따라서, 인증 코드를 식별하는 파라미터 네임은 오직 전용 어플리케이션에서만 인식할 수 있도록 결정될 수 있다. 인증 코드를 식별하는 파라미터 네임은 전자 장치 및/또는 전용 어플리케이션에 미리 설정되어 있거나, 인터넷을 통해서 업데이트될 수 있다.The electronic device can identify the parameter name identifying the authentication code (S610). The authentication code may be extracted through the dedicated application and ignored in the download server where the dedicated application is stored. Thus, the parameter name identifying the authentication code can be determined to be recognizable only to the dedicated application. The parameter name identifying the authentication code may be preset in the electronic device and / or the dedicated application, or may be updated via the Internet.

그리고 나서, 전자 장치는 파라미터 네임을 기초로 URL 정보에 인증 코드가 존재하는지 여부를 판단할 수 있다(S620). 예를 들어, 전자 장치는 인증 코드를 식별하는 파라미터 네임을 기초로 URL 정보에 포함된 적어도 하나의 파라미터들 중에서 인증 코드가 존재하는지 여부를 판단할 수 있다.Then, the electronic device can determine whether or not the authentication code exists in the URL information based on the parameter name (S620). For example, the electronic device may determine whether an authentication code is present among at least one parameter included in the URL information based on a parameter name that identifies the authentication code.

그리고 나서, 전자 장치는 URL 정보로부터 인증 코드를 식별하는 파라미터 네임 및 파라미터 네임에 대응되는 파라미터 벨류를 획득할 수 있다(S630). 또한, 전자 장치는 URL 정보로부터 다운로드 URL 정보를 인식하고, 다운로드 URL 정보를 제외한 나머지 부분을 획득함으로써 인증 코드를 추출할 수 있다. 또한, 전자 장치는 URL 정보 중에서 공간적으로 가장 처음에 위치하는 인증 코드를 인식하고, 첫 번째 인증 코드 이전의 내용을 제외한 나머지 부분을 획득함으로써 인증 코드를 추출할 수 있다.Then, the electronic device can obtain the parameter name corresponding to the parameter name and the parameter name for identifying the authentication code from the URL information (S630). Further, the electronic device can extract the authentication code by recognizing the download URL information from the URL information and acquiring the remaining part excluding the download URL information. Further, the electronic device can extract the authentication code by recognizing the authentication code located at the earliest position in the URL information and acquiring the remaining portion excluding the contents before the first authentication code.

도 7은 예시적인 전용 어플리케이션을 이용하여 인증 코드를 인증 서버로 전송하는 방법을 나타내는 도면이다.7 is a diagram illustrating a method of transmitting an authentication code to an authentication server using an exemplary dedicated application.

전자 장치는, 전용 어플리케이션을 이용하여, 적어도 하나의 인증 서버를 탐색할 수 있다(S710). 적어도 하나의 인증 서버는 전용 어플리케이션에 미리 등록되어 있을 수도 있고, 전용 어플리케이션에 의하여 차후적으로 등록될 수도 있다. 적어도 하나의 방식으로 암호화된 인증 코드가 존재하는 경우, 전자 장치는 대응되는 적어도 하나의 인증 서버를 탐색할 수 있다.The electronic device can search at least one authentication server using a dedicated application (S710). At least one authentication server may be registered in advance in a dedicated application or may be registered later by a dedicated application. If there is an authentication code encrypted in at least one way, the electronic device can search for the corresponding at least one authentication server.

그리고 나서, 전자 장치는 적어도 하나의 인증 서버를 등록할 수 있다(S720). 전자 장치는 탐색된 적어도 하나의 인증 서버 중에서 인증 코드를 해석할 수 있는 적어도 하나의 인증 서버를 등록할 수 있다. 적어도 하나의 방식으로 암호화된 인증 코드를 해석할 수 있는 적어도 하나의 인증 서버가 탐색되는 경우, 전자 장치는 인증 서버를 종류별로 구분하여 등록할 수 있다.Then, the electronic device can register at least one authentication server (S720). The electronic device may register at least one authentication server capable of interpreting the authentication code among the at least one authentication server searched. When at least one authentication server capable of interpreting the encrypted authentication code in at least one manner is searched, the electronic device can register the authentication server by classifying the authentication server.

그리고 나서, 전자 장치는 추출된 인증 코드에 대응되는 인증 서버를 결정할 수 있다(S730). 전자 장치는 추출된 인증 코드를 기초로 대응되는 인증 서버를 결정할 수 있다. 예를 들어, 인증 코드가 암호화되는 방식에 따라서 대응되는 인증 서버가 결정될 수 있다. 대응되는 인증 서버가 복수 개 존재하는 경우, 전자 장치는 네트워크 환경 및 인증 서버의 성능 등 전반적인 상황을 고려하여 최적의 인증 서버를 결정할 수 있다.Then, the electronic device can determine an authentication server corresponding to the extracted authentication code (S730). The electronic device can determine a corresponding authentication server based on the extracted authentication code. For example, a corresponding authentication server may be determined according to how authentication codes are encrypted. When there are a plurality of authentication servers corresponding to each other, the electronic device can determine an optimal authentication server considering overall conditions such as the network environment and the performance of the authentication server.

도 8은 예시적인 공용 어플리케이션 및 전용 어플리케이션의 제어 방법을 나타낸 도면이다.8 is a diagram showing a control method of an exemplary common application and a dedicated application.

전자 장치는 공용 어플리케이션을 통하여 2 차원 바코드를 인식할 수 있다(S810). 예를 들어, 전자 장치는, 공용 어플리케이션을 이용하여, 사용자의 입력을 기초로 2 차원 바코드를 촬영할 수 있다.The electronic device can recognize the two-dimensional bar code through a common application (S810). For example, an electronic device can shoot a two-dimensional barcode based on a user's input using a common application.

그리고 나서, 전자 장치는 공용 어플리케이션을 통하여 상기 URL을 기초로 전용 어플리케이션을 획득할 수 있다(S820). 예를 들어, 전자 장치는 공용 어플리케이션을 통하여 2 차원 바코드로부터 URL 정보를 추출할 수 있다. 또한, 전자 장치는 공용 어플리케이션을 통하여 URL 정보를 기초로 전용 어플리케이션이 저장된 다운로드 서버에 접속할 수 있다. 또한, 전자 장치는 공용 어플리케이션을 통하여 다운로드 서버부터 전용 어플리케이션을 수신할 수 있다.Then, the electronic device can acquire a dedicated application based on the URL through a common application (S820). For example, an electronic device can extract URL information from a two-dimensional barcode through a common application. Further, the electronic device can access the download server storing the dedicated application based on the URL information through the common application. Further, the electronic device can receive a dedicated application from a download server through a common application.

그리고 나서, 전자 장치는 전용 어플리케이션을 통하여 2 차원 바코드를 인식할 수 있다(S830). 예를 들어, 전자 장치는, 전용 어플리케이션을 이용하여, 사용자의 입력을 기초로 2 차원 바코드를 촬영할 수 있다. 또한, 전자 장치는 공용 어플리케이션에 의하여 촬영된 2 차원 바코드를 다시 인식할 수 있다.Then, the electronic device can recognize the two-dimensional bar code through a dedicated application (S830). For example, an electronic device can shoot a two-dimensional bar code based on a user's input using a dedicated application. Further, the electronic device can recognize again the two-dimensional barcode photographed by the common application.

그리고 나서, 전자 장치는 전용 어플리케이션을 통하여 2 차원 바코드에 대응되는 URL 정보로부터 암호화된 인증 코드를 추출할 수 있다(S840). 예를 들어, 전자 장치는 인증 코드를 식별하는 파라미터 네임을 확인할 수 있다. 또한, 전자 장치는 파라미터 네임을 기초로 URL 정보에 인증 코드가 존재하는지 여부를 판단할 수 있다. 인증 코드가 존재하는 경우, 전자 장치는 URL 정보로부터 파라미터 네임 및 파라미터 네임에 대응되는 파라미터 벨류를 획득할 수 있다.Then, the electronic device can extract the encrypted authentication code from the URL information corresponding to the two-dimensional bar code through the dedicated application (S840). For example, the electronic device can identify a parameter name that identifies the authentication code. Further, the electronic device can determine whether or not the authentication code exists in the URL information based on the parameter name. If an authentication code is present, the electronic device may obtain a parameter value corresponding to the parameter name and parameter name from the URL information.

그리고 나서, 전자 장치는 전용 어플리케이션을 통하여 인증 코드를 인증 서버로 전송할 수 있다(S850). 예를 들어, 전자 장치는 인증 코드를 인증할 수 있는 적어도 하나의 인증 서버를 탐색할 수 있다. 또한, 전자 장치는 탐색된 적어도 하나의 인증 서버를 등록할 수 있다. 전자 장치는 등록된 인증 서버들 중에서 추출된 인증 코드에 대응되는 인증 서버를 결정하고, 결정된 인증 서버로 추출된 인증 코드를 전송할 수 있다.Then, the electronic device can transmit the authentication code to the authentication server through the dedicated application (S850). For example, the electronic device can search for at least one authentication server that can authenticate the authentication code. Further, the electronic device may register at least one authentication server that has been searched. The electronic device can determine an authentication server corresponding to the extracted authentication code among the registered authentication servers and transmit the extracted authentication code to the determined authentication server.

도 9는 예시적인 URL 정보를 기초로 전용 어플리케이션을 획득하는 방법을 나타내는 도면이다.9 is a diagram showing a method for acquiring a dedicated application based on exemplary URL information.

전자 장치는 공용 어플리케이션을 통하여 2 차원 바코드로부터 URL 정보를 추출할 수 있다(S910). URL 정보는 다운로드 URL 정보 및 인증 코드를 포함할 수 있다. 하지만, 인증 코드는 전용 어플리케이션을 통해서만 획득되고, 전용 어플리케이션 이외의 앱 서비스 서버에서는 무시될 수 있다.The electronic device can extract the URL information from the two-dimensional barcode through a common application (S910). The URL information may include download URL information and an authentication code. However, the authentication code is obtained only through a dedicated application, and may be ignored by an app service server other than the dedicated application.

그리고 나서, 전자 장치는 공용 어플리케이션을 통하여 URL 정보를 기초로 전용 어플리케이션이 저장된 다운로드 서버에 접속할 수 있다(S920). 전자 장치가 공용 어플리케이션을 통하여 URL 정보를 다운로드 서버로 전송하면, 다운로드 서버는 URL 정보 중에서 다운로드 URL 정보만을 인식할 수 있다. 다운로드 서버는 다운로드 URL 정보를 기초로 전용 어플리케이션이 저장된 위치 정보 및/또는 전용 어플리케이션을 다운로드할 수 있는 페이지의 위치 정보를 제공할 수 있다.Then, the electronic device can access the download server storing the dedicated application based on the URL information through the common application (S920). When the electronic device transmits the URL information to the download server through a common application, the download server can recognize only the download URL information from the URL information. The download server can provide the location information of the dedicated application and / or the location of the page where the dedicated application can be downloaded based on the download URL information.

그리고 나서, 전자 장치는 다운로드 서버부터 전용 어플리케이션을 수신할 수 있다(S930). 전자 장치는 다운로드된 전용 어플리케이션을 설치할 수 있다. 전자 장치가 공용 어플리케이션 및 전용 어플리케이션을 제어하는 방법은 전술한 관련된 내용을 모두 포함할 수 있다.Then, the electronic device can receive the dedicated application from the download server (S930). The electronic device can install the downloaded dedicated application. The manner in which the electronic device controls the public application and the dedicated application may include all of the above-mentioned related contents.

도 10은 예시적인 인증 서버의 제어 방법을 나타내는 도면이다.10 is a diagram showing a control method of an exemplary authentication server.

일 실시예로, 인증 서버 또는 인증 코드 목록에 등록이 가능한 인증 코드로 미리 저장된 인증 코드가 존재하지 않은 경우, 인증 서버는 수신된 인증 코드가 인증 서버에 등록되어 있는지 여부를 판단할 수 있다.In one embodiment, if the authentication code stored in advance in the authentication server or the authentication code list does not exist, the authentication server can determine whether the received authentication code is registered in the authentication server.

인증 서버는, 통신 모듈을 이용하여, 전용 어플리케이션으로부터 2 차원 바코드로부터 추출된 인증 코드를 수신할 수 있다(S1010). 예를 들어, 인증 서버는 전자 장치에 의하여 등록 및/또는 결정된 서버일 수 있다. 또한, 전용 어플리케이션 및/또는 2 차원 바코드의 구체적인 내용은 전술한 관련된 내용을 모두 포함할 수 있다.The authentication server can receive the authentication code extracted from the two-dimensional barcode from the dedicated application using the communication module (S1010). For example, the authentication server may be a server that is registered and / or determined by the electronic device. Further, the specific contents of the dedicated application and / or the two-dimensional barcode may include all of the above-mentioned related contents.

그리고 나서, 인증 서버는, 프로세서를 이용하여, 수신된 인증 코드와 동일한 인증 코드가 인증 서버에 등록되어 있는지 여부를 판단할 수 있다(S1020). 인증 서버는 인증 코드를 해석할 수 있다. 또한, 인증 서버는 해석된 인증 코드가 인증 서버에 처음으로 등록되는 것인지 아니면 이전에 이미 등록된 것인지 여부를 판단할 수 있다. 예를 들어, 인증 서버는 인증 서버에 저장된 적어도 하나의 인증 코드와 수신된 인증 코드를 비교할 수 있다.Then, the authentication server can use the processor to determine whether the same authentication code as the received authentication code is registered in the authentication server (S1020). The authentication server can interpret the authentication code. In addition, the authentication server can determine whether the interpreted authentication code is to be registered in the authentication server for the first time or previously registered. For example, the authentication server may compare the received authentication code with at least one authentication code stored in the authentication server.

인증 서버에 동일한 인증 코드가 등록되어 있지 않으면, 인증 서버는 프로세서를 이용하여 수신된 인증 코드를 등록할 수 있다(S1030). 예를 들어, 인증 서버는 저장부의 인증 코드 목록에 수신된 인증 코드를 저장할 수 있다. 그리고 나서, 인증 서버는 인증 코드에 대한 응답 정보를 생성할 수 있다(S1045). 예를 들어, 응답 정보는 인증 서버로 전송된 인증 코드와 동일한 인증 코드가 인증 서버에 이미 등록되어 있는지 여부를 지시할 수 있다. 응답 정보는 인증 코드에 대한 처리 결과를 지시하는 성공 메시지를 포함할 수 있고, 성공 메시지는 인증 코드가 인증 서버 또는 인증 코드 목록에 성공적으로 등록되었음을 지시할 수 있다. If the same authentication code is not registered in the authentication server, the authentication server can register the received authentication code using the processor (S1030). For example, the authentication server may store the received authentication code in the authentication code list of the storage unit. Then, the authentication server can generate response information for the authentication code (S1045). For example, the response information may indicate whether or not an authentication code identical to the authentication code transmitted to the authentication server has already been registered with the authentication server. The response information may include a success message indicating a processing result for the authentication code, and the success message may indicate that the authentication code has been successfully registered in the authentication server or the authentication code list.

인증 서버에 동일한 인증 코드가 이미 등록되어 있으면, 인증 서버는 프로세서를 이용하여 인증 코드에 대한 응답 코드를 생성할 수 있다(S1043). 예를 들어, 응답 정보는 인증 코드에 대한 처리 결과를 지시하는 실패 메시지를 포함할 수 있고, 실패 메시지는 인증 코드가 인증 서버 또는 인증 코드 목록에 이미 등록되어 있음을 지시할 수 있다.If the same authentication code is already registered in the authentication server, the authentication server can generate a response code for the authentication code using the processor (S1043). For example, the response information may include a failure message indicating a processing result for the authentication code, and the failure message may indicate that the authentication code is already registered in the authentication server or the authentication code list.

그리고 나서, 인증 서버는, 통신 모듈을 이용하여, 인증 코드에 대한 응답 정보를 전용 어플리케이션에 전송할 수 있다(S1050).Then, the authentication server can transmit response information to the authentication code to the dedicated application using the communication module (S1050).

다른 실시예로, 인증 서버 또는 인증 코드 목록에 등록이 가능한 인증 코드로 미리 저장된 인증 코드가 존재하는 경우, 인증 서버는 수신된 인증 코드가 인증 서버 또는 인증 코드 목록에 존재하는 인증 코드와 매칭이 되는지 여부를 판단할 수 있다. 이 경우, 응답 정보는 인증 코드가 인증 서버에 미리 저장된 인증 코드 목록에 포함된 것을 확인하였음을 지시하는 성공 메시지를 포함할 수 있다. 또한, 응답 정보는 인증 코드가 인증 서버에 미리 저장된 인증 코드 목록에 포함되어 있지 않거나, 인증 코드 목록에 포함되었는지 여부가 적어도 한 번 확인되었음을 지시하는 실패 메시지를 포함할 수 있다. 인증 코드 목록에 미리 저장된 적어도 하나의 인증 코드는 인증 및/또는 등록이 가능한 것으로 미리 설정된 것일 수 있다. 따라서, 성공 메시지는 인증 서버에 수신된 인증 코드가 인증 서버의 인증 코드 목록에 존재하는 인증 코드와 매칭이 된다는 것을 지시하고, 실패 메시지는 인증 서버에 수신된 인증 코드가 인증 서버의 인증 코드 목록에 존재하는 인증 코드와 매칭이 안된다는 것을 지시할 수 있다.In another embodiment, if there is an authentication code stored in advance in the authentication server or in the authentication code list, the authentication server checks whether the received authentication code matches the authentication code in the authentication server or the authentication code list Can be determined. In this case, the response information may include a success message indicating that the authentication code has been confirmed to be included in the authentication code list stored in advance in the authentication server. In addition, the response information may include a failure message indicating that the authentication code is not included in the authentication code list stored in advance in the authentication server, or that it has been confirmed at least once whether it is included in the authentication code list. The at least one authentication code pre-stored in the authentication code list may be one that has been previously set to be capable of authentication and / or registration. Therefore, the success message indicates that the authentication code received at the authentication server matches with the authentication code present in the authentication code list of the authentication server, and the failure message indicates that the authentication code received at the authentication server is included in the authentication code list of the authentication server And can not be matched with an existing authentication code.

도 11은 예시적인 2 차원 바코드를 생성하는 방법을 나타내는 도면이다.11 is a diagram illustrating a method for generating an exemplary two-dimensional bar code.

전자 장치는 2 차원 바코드를 생성할 수 있다. 2 차원 바코드와 관련된 구체적인 내용은 전술한 관련된 내용을 모두 포함할 수 있다. 먼저, 전자 장치는 전용 어플리케이션의 획득을 위한 위치를 지시하는 다운로드 URL 정보를 획득할 수 있다(S1110). 예를 들어, 전자 장치는 다운로드 URL 정보를 사용자, 인터넷, 전자 장치의 저장부를 통해서 획득할 수 있다.The electronic device can generate a two-dimensional barcode. The specific contents relating to the two-dimensional bar code may include all the above-mentioned related contents. First, the electronic device can obtain download URL information indicating a location for acquiring a dedicated application (S1110). For example, the electronic device can obtain download URL information through a storage unit of a user, the Internet, and an electronic device.

그리고 나서, 전자 장치는 암호화된 인증 코드를 획득할 수 있다(S1120). 예를 들어, 전자 장치는 적어도 하나의 인증 코드를 생성하고, 적어도 하나의 방식으로 적어도 하나의 인증 코드를 암호화할 수 있다. 각각의 인증 코드는 인증 코드를 식별하는 파라미터 네임 및/또는 파라미터 벨류를 포함할 수 있다. 또한, 인증 코드는 전용 어플리케이션을 통해서만 획득되고, 전용 어플리케이션 이외의 다운로드 서버에서는 무시되도록 생성될 수 있다. 생성된 인증 코드와 관련되는 구체적인 내용은 전술한 인증 코드와 관련된 내용을 모두 포함할 수 있다.Then, the electronic device can acquire the encrypted authentication code (S1120). For example, the electronic device may generate at least one authentication code and may encrypt at least one authentication code in at least one manner. Each authentication code may include a parameter name and / or a parameter value that identifies the authentication code. In addition, the authentication code may be obtained only through a dedicated application, and may be generated to be ignored in a download server other than the dedicated application. The specific contents related to the generated authentication code may include all the contents related to the above-mentioned authentication code.

그리고 나서, 전자 장치는 다운로드 URL 정보 및 인증 코드를 기초로 2 차원 바코드를 생성할 수 있다(S1130). 전자 장치는 다운로드 URL 정보에 인증 코드를 HTTP GET 파라미터로 추가함으로써 URL 정보를 생성할 수 있다. 또한, 전자 장치는 생성된 URL 정보에 대응되는 2 차원 바코드를 생성할 수 있다.Then, the electronic device can generate a two-dimensional barcode based on the download URL information and the authentication code (S1130). The electronic device can generate URL information by adding an authentication code to the download URL information as an HTTP GET parameter. Further, the electronic device can generate a two-dimensional barcode corresponding to the generated URL information.

그리고 나서, 전자 장치는 2 차원 바코드를 표시할 수 있다. 예를 들어, 전자 장치는 디스플레이를 이용하여 2 차원 바코드를 화면에 표시할 수 있다. 또한, 전자 장치는 인쇄부를 이용하여 제품에 2 차원 바코드를 인쇄할 수 있다.Then, the electronic device can display a two-dimensional bar code. For example, an electronic device can display a two-dimensional bar code on a screen using a display. Further, the electronic device can print the two-dimensional barcode on the product using the printing unit.

도 12는 예시적인 전자 장치의 구성을 나타낸 도면이다.12 is a diagram showing a configuration of an exemplary electronic device.

예를 들어, 전자 장치(1200)는 인식부(1210), 프로세서(1220), 통신 모듈(1230), 및/또는 디스플레이(1240) 중에서 적어도 하나를 포함할 수 있다. 인식부(1210)는 2 차원 바코드를 인식할 수 있다. 예를 들어, 인식부는 카메라 모듈을 포함할 수 있다. 프로세서(1220)는 2 차원 바코드에 대응되는 URL 정보로부터 암호화된 인증 코드를 추출할 수 있다. 통신 모듈(1230)은 추출된 인증 코드를 인증 서버로 전송하고, 인증 서버로부터 인증 코드에 대한 응답 정보를 수신할 수 있다. 또한, 디스플레이(1240)는 인증 코드에 대한 응답 정보를 디스플레이할 수 있다. 예시적인 전자 장치(1200)는 전술한 전자 장치의 내용을 모두 포함할 수 있다.For example, the electronic device 1200 may include at least one of a recognition unit 1210, a processor 1220, a communication module 1230, and / or a display 1240. The recognition unit 1210 can recognize the two-dimensional barcode. For example, the recognition unit may include a camera module. The processor 1220 can extract the encrypted authentication code from the URL information corresponding to the two-dimensional bar code. The communication module 1230 can transmit the extracted authentication code to the authentication server and receive response information for the authentication code from the authentication server. Display 1240 may also display response information for the authentication code. Exemplary electronic device 1200 may include all of the contents of the electronic device described above.

도 13은 예시적인 인증 서버의 구성을 나타낸 도면이다.13 is a diagram showing a configuration of an exemplary authentication server.

예를 들어, 인증 서버(1300)는 통신 모듈(1310), 프로세서(1320), 및/또는 메모리(1330) 중에서 적어도 하나를 포함할 수 있다. 통신 모듈(1310)은 전용 어플리케이션으로부터 2 차원 바코드로부터 추출된 인증 코드를 수신할 수 있다. 또한, 통신 모듈(1310)은 인증에 대한 인증 결과를 전용 어플리케이션에 전송할 수 있다. 프로세서(1320)는 인증 코드와 동일한 인증 코드가 등록되어 있는지 여부를 판단하고, 인증 코드를 등록하고, 인증 코드에 대한 응답 정보를 생성할 수 있다. 메모리(1330)는 적어도 하나의 인증 코드를 저장할 수 있다. 예시적인 인증 서버(1300)는 전술한 서버 및/또는 인증 서버의 내용을 모두 포함할 수 있다.For example, authentication server 1300 may include at least one of communication module 1310, processor 1320, and / or memory 1330. The communication module 1310 can receive the authentication code extracted from the two-dimensional barcode from the dedicated application. In addition, the communication module 1310 may transmit the authentication result for authentication to the dedicated application. The processor 1320 can determine whether the same authentication code as the authentication code is registered, register the authentication code, and generate response information for the authentication code. The memory 1330 may store at least one authentication code. Exemplary authentication server 1300 may include all of the contents of the server and / or authentication server described above.

이상에서 본 명세서의 기술에 대한 바람직한 실시 예가 첨부된 도면들을 참조하여 설명되었다. 여기서, 본 명세서 및 청구 범위에 사용된 용어나 단어는 통상적이거나 사전적인 의미로 한정해서 해석되어서는 아니되며, 본 기술의 기술적 사상에 부합하는 의미와 개념으로 해석되어야 한다.In the foregoing, preferred embodiments of the present invention have been described with reference to the accompanying drawings. Herein, terms and words used in the present specification and claims should not be construed as limited to ordinary or dictionary terms, and should be construed as meaning and concept consistent with the technical idea of the present technology.

본 기술의 범위는 본 명세서에 개시된 실시 예들로 한정되지 아니하고, 본 기술은 본 기술명의 사상 및 특허청구범위에 기재된 범주 내에서 다양한 형태로 수정, 변경, 또는 개선될 수 있다.The scope of the present technology is not limited to the embodiments disclosed in the present specification, and the present invention may be modified, changed, or improved in various forms within the scope of the present invention.

1210 : 인식부 1220 : 프로세서
1230 : 통신 모듈 1240 : 디스플레이
1210: Recognizer 1220: Processor
1230: Communication module 1240: Display

Claims (15)

2 차원 바코드를 인식하는 단계;
상기 2 차원 바코드에 대응되는 URL(Uniform Resource Locator) 정보로부터 암호화된 인증 코드를 추출하는 단계; 및
상기 인증 코드를 인증 서버로 전송하는 단계를
포함하는 2 차원 바코드 처리 방법.
Recognizing a two-dimensional bar code;
Extracting an encrypted authentication code from URL (Uniform Resource Locator) information corresponding to the two-dimensional bar code; And
Transmitting the authentication code to an authentication server
A method for processing a two-dimensional bar code.
제1항에 있어서,
상기 URL 정보는 상기 URL 정보로부터 상기 인증 코드를 추출하는 어플리케이션의 다운로드를 위한 다운로드 URL 정보를 포함하는 2 차원 바코드 처리 방법.
The method according to claim 1,
And the URL information includes download URL information for downloading an application for extracting the authentication code from the URL information.
제1항에 있어서,
상기 인증 코드에 대한 응답 정보를 수신하는 단계; 및
상기 응답 정보에 기초하여 상기 인증 코드 처리 결과를 디스플레이하는 단계를 포함하는 2 차원 바코드 처리 방법.
The method according to claim 1,
Receiving response information for the authentication code; And
And displaying the result of the authentication code processing based on the response information.
제3항에 있어서,
상기 응답 정보는 상기 인증 코드에 대한 처리 결과를 지시하는 성공 메시지 또는 실패 메시지를 포함하는 2차원 바코드 처리 방법.
The method of claim 3,
Wherein the response information includes a success message or a failure message indicating a processing result of the authentication code.
제4항에 있어서,
상기 성공 메시지는 상기 인증 코드가 상기 인증 서버에 성공적으로 등록되었음을 지시하는 2차원 바코드 처리 방법.
5. The method of claim 4,
Wherein the success message indicates that the authentication code has been successfully registered with the authentication server.
제4항에 있어서,
상기 실패 메시지는 상기 인증 코드가 상기 인증 서버에 이미 등록되어 있음을 지시하는 2차원 바코드 처리 방법.
5. The method of claim 4,
Wherein the failure message indicates that the authentication code is already registered in the authentication server.
제4항에 있어서,
상기 성공 메시지는 상기 인증 코드가 상기 인증 서버에 미리 저장된 인증 코드 목록에 포함된 것을 확인하였음을 지시하는 2차원 바코드 처리 방법.
5. The method of claim 4,
Wherein the success message indicates that the authentication code has been confirmed to be included in the authentication code list stored in advance in the authentication server.
제4항에 있어서,
상기 실패 메시지는 상기 인증 코드가 상기 인증 서버에 미리 저장된 인증 코드 목록에 포함되어 있지 않거나, 인증 코드 목록에 포함되었는지 여부가 적어도 한 번 확인되었음을 지시하는 2차원 바코드 처리 방법.
5. The method of claim 4,
Wherein the failure message indicates that the authentication code is not included in the authentication code list stored in advance in the authentication server, or whether or not the authentication code is included in the authentication code list at least once.
암호화된 인증 코드를 수신하는 단계;
상기 수신된 인증 코드와 동일한 인증 코드가 등록되어 있는지 여부를 판단하는 단계;
상기 인증 코드에 대한 응답 정보를 생성하는 단계; 및
상기 응답 정보를 전송하는 단계를
포함하는 인증 서버의 제어 방법.
Receiving an encrypted authentication code;
Determining whether an authentication code identical to the received authentication code is registered;
Generating response information for the authentication code; And
And transmitting the response information
A method of controlling an authentication server comprising:
제9항에 있어서,
상기 인증 코드를 등록하는 단계를 더 포함하되,
상기 응답 정보는 상기 인증 코드가 상기 인증 서버에 성공적으로 등록되었음을 지시하는 성공 메시지를 포함하는 인증 서버의 제어 방법.
10. The method of claim 9,
Further comprising registering the authentication code,
Wherein the response information includes a success message indicating that the authentication code has been successfully registered in the authentication server.
제9항에 있어서,
상기 응답 정보는 상기 인증 코드가 상기 인증 서버에 이미 등록되어 있음을 지시하는 실패 메시지를 포함하는 인증 서버의 제어 방법.
10. The method of claim 9,
Wherein the response information includes a failure message indicating that the authentication code is already registered in the authentication server.
제9항에 있어서,
상기 응답 정보는 상기 인증 코드에 대한 처리 결과를 지시하는 성공 메시지 또는 실패 메시지를 포함하고,
상기 성공 메시지는 상기 인증 코드가 상기 인증 서버에 미리 저장된 인증 코드 목록에 포함된 것을 확인하였음을 지시하고,
상기 실패 메시지는 상기 인증 코드가 상기 인증 서버에 미리 저장된 인증 코드 목록에 포함되어 있지 않거나, 인증 코드 목록에 포함되었는지 여부가 적어도 한 번 확인되었음을 지시하는 2차원 바코드 처리 방법.
10. The method of claim 9,
Wherein the response information includes a success message or a failure message indicating a processing result for the authentication code,
Wherein the success message indicates that the authentication code has been confirmed to be included in the authentication code list stored in advance in the authentication server,
Wherein the failure message indicates that the authentication code is not included in the authentication code list stored in advance in the authentication server, or whether or not the authentication code is included in the authentication code list at least once.
어플리케이션의 다운로드를 위한 다운로드 URL 정보를 획득하는 단계, 상기 어플리케이션은 2 차원 바코드에 대응되는 URL(Uniform Resource Locator) 정보로부터 암호화된 인증 코드를 추출하고;
상기 암호화된 인증 코드를 획득하는 단계; 및
상기 다운로드 URL 정보 및 상기 인증 코드를 기초로 상기 2 차원 바코드를 생성하는 단계를
포함하는 2 차원 바코드 생성 방법.
Acquiring download URL information for downloading an application, the application extracting an encrypted authentication code from URL (Uniform Resource Locator) information corresponding to a two-dimensional bar code;
Obtaining the encrypted authentication code; And
Generating the two-dimensional barcode based on the download URL information and the authentication code
A method for generating a two-dimensional barcode.
2 차원 바코드를 인식하는 인식부;
상기 2 차원 바코드에 대응되는 URL(Uniform Resource Locator) 정보로부터 암호화된 인증 코드를 추출하는 프로세서; 및
상기 인증 코드를 인증 서버로 전송하는 통신 모듈을
포함하는 전자 장치.
A recognition unit for recognizing a two-dimensional barcode;
A processor for extracting an encrypted authentication code from URL (Uniform Resource Locator) information corresponding to the two-dimensional bar code; And
A communication module for transmitting the authentication code to the authentication server
≪ / RTI >
암호화된 인증 코드를 수신하는 통신 모듈; 및
상기 인증 코드와 동일한 인증 코드가 등록되어 있는지 여부를 판단하고, 상기 인증 코드에 대한 응답 정보를 생성하는 프로세서를 포함하되,
상기 통신 모듈은 상기 응답 정보를 전송하는 것을 더 포함하는 인증 서버.
A communication module for receiving an encrypted authentication code; And
A processor for determining whether an authentication code identical to the authentication code is registered and generating response information for the authentication code,
Wherein the communication module further comprises transmitting the response information.
KR1020170054464A 2017-04-27 2017-04-27 2d barcode processing KR101979295B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020170054464A KR101979295B1 (en) 2017-04-27 2017-04-27 2d barcode processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170054464A KR101979295B1 (en) 2017-04-27 2017-04-27 2d barcode processing

Publications (2)

Publication Number Publication Date
KR20180120863A true KR20180120863A (en) 2018-11-07
KR101979295B1 KR101979295B1 (en) 2019-05-17

Family

ID=64362910

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170054464A KR101979295B1 (en) 2017-04-27 2017-04-27 2d barcode processing

Country Status (1)

Country Link
KR (1) KR101979295B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110033065A (en) * 2019-03-18 2019-07-19 阿里巴巴集团控股有限公司 Fillet two dimensional code, the generation of fillet two dimensional code, recognition methods, device and equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140016121A (en) * 2012-07-17 2014-02-07 석인수 Certification system and method for the honest goods using qr code and computer readable recoding medium for performing it

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140016121A (en) * 2012-07-17 2014-02-07 석인수 Certification system and method for the honest goods using qr code and computer readable recoding medium for performing it

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110033065A (en) * 2019-03-18 2019-07-19 阿里巴巴集团控股有限公司 Fillet two dimensional code, the generation of fillet two dimensional code, recognition methods, device and equipment
CN110033065B (en) * 2019-03-18 2021-04-27 创新先进技术有限公司 Narrow strip two-dimensional code, and generating and identifying method, device and equipment of narrow strip two-dimensional code
US11250230B2 (en) 2019-03-18 2022-02-15 Advanced New Technologies Co., Ltd. Narrow-strip 2-dimensional bar codes, methods, apparatuses, and devices for generating and identifying narrow-strip 2-dimensional bar codes
US11699053B2 (en) 2019-03-18 2023-07-11 Advanced New Technologies Co., Ltd. Narrow-strip 2-dimensional bar codes, methods, apparatuses, and devices for generating and identifying narrow-strip 2-dimensional bar codes

Also Published As

Publication number Publication date
KR101979295B1 (en) 2019-05-17

Similar Documents

Publication Publication Date Title
US10242031B2 (en) Method for providing virtual object and electronic device therefor
US20190028890A1 (en) Electronic device and method for processing data in electronic device
CN107430480B (en) Electronic device and method for processing information in electronic device
US20170147064A1 (en) Method and apparatus for providing information in virtual reality environment
US11151185B2 (en) Content recognition apparatus and method for operating same
KR102303665B1 (en) Method for providing payment service having plug-in service and electronic device therefor
US20150120180A1 (en) Method and apparatus for providing location based service
US10997582B2 (en) Payment transaction method and electronic device therefor
CN109196546B (en) Electronic device and information processing system including the same
KR20160070571A (en) Method for controlling and an electronic device thereof
US10042600B2 (en) Method for controlling display and electronic device thereof
EP3276487B1 (en) Method of detecting similar applications and electronic device adapted to the same
US10366246B2 (en) Electronic device and operating method thereof
US10997268B2 (en) Method for providing push service using web push, and electronic device supporting same
KR20160057101A (en) Method for securing image data and electronic device implementing the same
KR102573725B1 (en) Method for pre-loading content and electronic device supporting the same
US10582156B2 (en) Electronic device for performing video call and computer-readable recording medium
KR102460274B1 (en) Method and apparauts for supplying contact information
US10122958B2 (en) Method for recording execution screen and electronic device for processing the same
KR101979295B1 (en) 2d barcode processing
US10298782B2 (en) Electronic device and method for processing data using first and second processors
US11219081B2 (en) Method and electronic device for network connection
US20180134385A1 (en) Electronic device and method for controlling moving device using the same
US10291601B2 (en) Method for managing contacts in electronic device and electronic device thereof
KR102475167B1 (en) Method for presenting application using external electronic device and device thereof

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right